Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/187954
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ You can merge normally! (2 Unrelated Failures)As of commit 779d1fa with merge base 9f132a8 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@claude review these changes |
|
Claude finished @jansel's task in 6m 56s —— View job PR Review: Fix inductor_timm eager nondeterminism baselines
Overall this is a clean, well-scoped fix. The diagnosis (eager/eager precheck early-exit being misread as a graph-break improvement) is convincing, and recording the eager nondeterminism rather than blessing the Correctness — confirmed
Minor observations (non-blocking)
Nothing here blocks merge. LGTM. |
|
For reference: #188288 |
> **Re-land of #185453** — identical content. The original was reverted twice, **neither pin-caused**: an OSS autorevert false-positive on a flaky CUDA-init in the *unstable* vLLM shard, and an internal sync-revert. `autorevert: disable` is set here to prevent a recurrence. Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s #10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: #187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: #187954). Pull Request resolved: #188251 Approved by: https://github.com/njriasan, https://github.com/atalman
Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#185453 Approved by: https://github.com/atalman
…188251) > **Re-land of pytorch#185453** — identical content. The original was reverted twice, **neither pin-caused**: an OSS autorevert false-positive on a flaky CUDA-init in the *unstable* vLLM shard, and an internal sync-revert. `autorevert: disable` is set here to prevent a recurrence. Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#188251 Approved by: https://github.com/njriasan, https://github.com/atalman
Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#185453 Approved by: https://github.com/atalman
…188251) > **Re-land of pytorch#185453** — identical content. The original was reverted twice, **neither pin-caused**: an OSS autorevert false-positive on a flaky CUDA-init in the *unstable* vLLM shard, and an internal sync-revert. `autorevert: disable` is set here to prevent a recurrence. Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#188251 Approved by: https://github.com/njriasan, https://github.com/atalman
Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#185453 Approved by: https://github.com/atalman
…188251) > **Re-land of pytorch#185453** — identical content. The original was reverted twice, **neither pin-caused**: an OSS autorevert false-positive on a flaky CUDA-init in the *unstable* vLLM shard, and an internal sync-revert. `autorevert: disable` is set here to prevent a recurrence. Updates the Triton pin from **3.7.1 → 3.8**. ## Pin target [`triton-lang/triton@43422b04`](triton-lang/triton@43422b0) — the tip of Triton's **`release/3.8.x`** branch (cut from `3bb23dde`). On top of the 3.8 line it carries two cherry-picks needed for this bump: - **LLVM pin → [`llvm/llvm-project#203770`](llvm/llvm-project#203770 (triton-lang/triton#10719) — fixes a **gfx950 / MI350 bf16 inference miscompile (silent NaN)** under `torch.compile` that otherwise blocks this bump (deit / beit / nanogpt / ViT). Root cause is an upstream LLVM AMDGPU WAR-hazard regression (`pytorch#197267`); `#203770` is the upstream fix, cherry-picked into Triton's LLVM fork and rebuilt as the prebuilt LLVM. Validated on an MI350 box (bf16 inference PASS; NaN without it). - **AMD buffer soffset-opt revert** (triton-lang/triton#10720) — stability; mirrors `main`'s pytorch#10715. ## Published-wheel constraint Release wheels now pin Triton to the **minor** version — `triton~=3.8.0` in `.ci/pytorch/binary_populate_env.sh` — so future `3.8.x` patch releases are picked up without re-releasing PyTorch. Nightly / dev wheels keep their exact `+git<hash>` pins. ## CI Pin-caused CI failures are tracked in the issue tracker: pytorch#187401. The principal blocker (gfx950 / MI350 bf16 miscompile) is resolved by the `release/3.8.x` LLVM pin above. Any [inductor_timm test-osdc](https://hud.pytorch.org/pr/pytorch/pytorch/185453) failure is a pre-existing PyTorch issue unrelated to the Triton pin (fix: pytorch#187954). Pull Request resolved: pytorch#188251 Approved by: https://github.com/njriasan, https://github.com/atalman
Stack from ghstack (oldest at bottom):
The inductor_timm CUDA training shards were failing before they ever
compiled
mobilenetv2_100andtf_efficientnet_b0. The benchmark firstruns two eager train-mode AMP executions and compares them with zero
tolerance on CUDA; these two TIMM models are not bitwise deterministic in
that eager precheck, so the run recorded
eager_two_runs_differandexited with zero Dynamo graphs. The later graph-break
0readings in CIwere therefore early-exit artifacts, not real graph-break improvements.
Teach the TIMM benchmark about a CUDA Inductor AMP-scoped eager
nondeterminism skip list. The skip is keyed off the active device so mixed
CPU/CUDA runs do not hide CPU accuracy, and it only applies to training
accuracy runs on CUDA Inductor AMP. Update the static and dynamic CUDA
TIMM training expected accuracy rows to
pass_due_to_skipwhile keepingthe existing graph-break baselines intact, so CI still requires the models
to compile and report their normal graph-break counts.
I considered simply updating the graph-break baselines to zero, as suggested
by the generic checker output, but that would bless the early-exit artifact
caused by the eager/eager failure. Recording the eager nondeterminism is the
narrower fix and preserves graph-break coverage.
Fixes #187951
Generated by my agent
Test Plan:
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @chauhang @amjames @jataylo @azahed98