Skip to content

[WebGPU] Upgrade Dawn to the latest version - #33390

Merged
Edward Chen (edgchen1) merged 2 commits into
microsoft:mainfrom
Jiawei-Shao:upgrade-dawn
Oct 16, 2026
Merged

Edward Chen (edgchen1) merged 2 commits into
microsoft:mainfrom
Jiawei-Shao:upgrade-dawn

Conversation

@Jiawei-Shao

Copy link
Copy Markdown
Contributor

Description

This patch updates Dawn to use its latest release to enable subgroup matrix on Intel GPUs.

This patch updates Dawn to use its latest release to enable
subgroup matrix on Intel GPUs.
Copilot AI balanced review requested due to automatic review settings October 15, 2026 02:45
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

/run bots

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

πŸ”΅ Needs a closer look

Archive integrity, cross-platform compatibility, and Intel GPU behavior remain unverified.

0 open findings

What changed in this PR

Updates Dawn for ONNX Runtime’s WebGPU provider to enable subgroup matrix support on Intel GPUs.

Changes:

  • Advances Dawn from v20260916.214021 to v20261013.193955.
  • Updates the dependency archive checksum.

No actionable findings were identified.

File Description
cmake/​deps.txt Updates the Dawn release URL and checksum.

🧠 Review effort: Balanced


πŸ’‘ Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@qjia7

Copy link
Copy Markdown
Contributor

The request was received. Approve workflow runs. Thanks.

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

Jie Chen (@jchen10) PTAL, thanks!

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

Jiajia Qin (@qjia7) PTAL, thanks!

@jchen10 Jie Chen (jchen10) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

/run bots

@qjia7

Copy link
Copy Markdown
Contributor

The request was received. Approve workflow runs. Thanks.

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

/rerun failed bots

@qjia7

Copy link
Copy Markdown
Contributor

The request was received. Failed workflow jobs were queued for rerun. Thanks.

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

/run failed bots

@qjia7

Copy link
Copy Markdown
Contributor

The request was received. Failed workflow jobs were queued for rerun. Thanks.

Yang Gu (gyagp) added a commit to gyagp/onnxruntime that referenced this pull request Oct 15, 2026
Remove the completed DXIL migration recipe and its command-line option.
Keep archive pin/checksum generation, reviewed dependency registrations,
SwiftShader synchronization, and ordered patch refreshes in one workflow.

Write a Markdown review report alongside the JSON report and patch. Report
existing manifest drift and preserve patch-inspection errors as blockers
without applying partial edits. Match fetched dependencies by repository
and commit so one revision cannot stand in for another checkout.

Document the distinction between reviewed manifests and fetched build
inventories. Preserve independent DXC release/package metadata.

Validation: 49 tests and 24 subtests pass; Ruff and whitespace checks pass.
Replaying microsoft#33390 generates both changed files exactly. Both microsoft#32686 and
microsoft#33390 replays reproduce all dependency identities/pins and final patched
source, with idempotent apply/check. No dependency roll is applied here.
@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

/run failed bots

@qjia7

Copy link
Copy Markdown
Contributor

The request was received. Failed workflow jobs were queued for rerun. Thanks.

@Jiawei-Shao

Copy link
Copy Markdown
Contributor Author

Edward Chen (@edgchen1) Jiajia Qin (@qjia7) The PR has passed all the bots. PTAL, thanks!

@edgchen1
Edward Chen (edgchen1) merged commit 0767b73 into microsoft:main Oct 16, 2026
Jiajia Qin (qjia7) pushed a commit that referenced this pull request Oct 21, 2026
Dawn updates currently require coordinating the archive pin, dependency
hashes, SwiftShader revision, and local patches. Add a single command to
prepare, apply, and validate these changes together:

```sh
python plugin-ep-webgpu/tools/dawn/update_dawn.py
```

The command defaults to the newest dated Dawn tag. Use `--revision
<tag-or-full-commit>` to select a specific version. It records the
concrete revision and checksum, updates the reviewed dependency manifest
and Linux test SwiftShader pin, and refreshes active patches in CMake
order.

Refreshed patches must reproduce the expected source with zero fuzz or
offsets. The command verifies written contents and automatically
validates the manifest against the selected checkout. Unresolved patches
or dependency changes needing classification stop the update; writing or
final-validation failures trigger restoration of every attempted file,
continuing after individual restoration errors and reporting them
alongside the original failure. Reports and a diff are saved under
`build/dawn-upgrade/`, and repeating the same update makes no further
edits.

Dependency classifications and the independently packaged DXC release
are preserved. DXIL handling is outside the scope. A manifest-only
updater remains available for focused maintenance.

This PR contains eight tooling, test, and documentation files.
Build-inventory generation and packaging-pipeline integration are in
#33448. Dawn version updates generated during local validation are
separate from this PR.

Validation:

- 49 tests and 29 subtests passed with ordinary and aliased Windows
temporary paths, including real GNU patch application, latest-tag
resolution, metadata preservation, repeat runs, persistent write
failures, partial writes, and multiple rollback failures. Recovery was
also verified with a real read-only manifest.
- Ruff lint/format and Git whitespace checks passed.
- An isolated update from `v20261013.193955` to `v20261016.190333`
changed nine files and passed automatic manifest and strict patch
validation. A second invocation changed zero files.
- Earlier pinned comparisons reproduced #33390's two changed files
exactly and #32686's dependency identities and revisions.

The command automates source updates and metadata/patch validation.
Build, package, and GPU tests remain necessary to establish runtime
compatibility for each Dawn update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants