Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reland "WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML" #48186

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

This is a reland of commit 0dfa0868aa787cf6d8a32fca83e37ea422b1d0b4

This CL updates the WPT expected results in
matmul.https.any_gpu-expected.txt on win11-arm64-rel-tests.

Original change's description:

WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML

This CL flattens adjacent dimensions for GEMM > 4D because
DML_GEMM_OPERATOR_DESC[1] restricts tensor's rank <= 4.

[1] https://learn.microsoft.com/en-us/windows/win32/api/directml/ns-directml-dml_gemm_operator_desc

Bug: 353856233
Change-Id: Ifbced3d3081594ec6fdefc3a2d381ba675aba7cf
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5810975
Reviewed-by: ningxin hu <[email protected]>
Commit-Queue: Mingming1 Xu <[email protected]>
Reviewed-by: Rafael Cintron <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1354311}

Bug: 353856233
Change-Id: Ia2ae737316d2a328275bdc6063b86b9b0888b51f
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858369
Reviewed-by: Rafael Cintron <[email protected]>
Reviewed-by: ningxin hu <[email protected]>
Commit-Queue: Mingming1 Xu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1355556}

This is a reland of commit 0dfa0868aa787cf6d8a32fca83e37ea422b1d0b4

This CL updates the WPT expected results in
`matmul.https.any_gpu-expected.txt` on win11-arm64-rel-tests.

Original change's description:
> WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML
>
> This CL flattens adjacent dimensions for GEMM > 4D because
> DML_GEMM_OPERATOR_DESC[1] restricts tensor's rank <= 4.
>
> [1] https://learn.microsoft.com/en-us/windows/win32/api/directml/ns-directml-dml_gemm_operator_desc
>
> Bug: 353856233
> Change-Id: Ifbced3d3081594ec6fdefc3a2d381ba675aba7cf
> Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5810975
> Reviewed-by: ningxin hu <[email protected]>
> Commit-Queue: Mingming1 Xu <[email protected]>
> Reviewed-by: Rafael Cintron <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1354311}

Bug: 353856233
Change-Id: Ia2ae737316d2a328275bdc6063b86b9b0888b51f
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858369
Reviewed-by: Rafael Cintron <[email protected]>
Reviewed-by: ningxin hu <[email protected]>
Commit-Queue: Mingming1 Xu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1355556}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 6f8ccf3 into master Sep 14, 2024
15 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-567e8c38fa branch September 14, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants