Skip to content

[torchao] Update pin to unblock Triton update - #196813

Closed
warrendeng wants to merge 1 commit into
mainfrom
update-torchao-pin-4880
Closed

warrendeng wants to merge 1 commit into
mainfrom
update-torchao-pin-4880

Conversation

@warrendeng

@warrendeng warrendeng commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Update the torchao pin to include pytorch/ao#4880, fixing the MoE FP8 autotune failure blocking Triton pin update #190440

@pytorch-bot

pytorch-bot Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/196813

Note: Links to docs will display an error until the docs builds have been completed.

⏳ 2 Pending, 1 Unrelated Failure

As of commit 1503d80 with merge base 3c013cf (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Advance the torchao pin through pytorch/ao#4880 so PyTorch CI picks up the corrected MoE FP8 Triton autotune key.

Test Plan:
```
git diff --check
```

Lint was skipped because lintrunner is unavailable in this checkout, as approved.

Generated with assistance from Codex.
@warrendeng
warrendeng force-pushed the update-torchao-pin-4880 branch from 1cb97cb to 1503d80 Compare September 12, 2026 00:58
@warrendeng warrendeng changed the title [torchao] Update pin to 9e5ea7fd [torchao] Update pin to unblock Triton update Sep 12, 2026
@warrendeng
warrendeng requested a review from atalman September 12, 2026 01:05
@warrendeng
warrendeng marked this pull request as ready for review September 12, 2026 01:06
@warrendeng
warrendeng requested a review from a team as a code owner September 12, 2026 01:06
@warrendeng

Copy link
Copy Markdown
Contributor Author

@claude please analyze the failures in the CI

@claude

claude Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Claude finished @warrendeng's task in 2m 5s —— View job


The single CI failure is in the inductor_aoti_fallback shard, which is an explicitly-unstable staging config that does not build torchao at all — so it is unrelated to this pin bump and not merge-blocking.

Detailed CI failure analysis

Tasks

  • Pull CI status for the PR head commit
  • Identify failing jobs and pull their logs
  • Determine whether the failures relate to the torchao pin bump
  • Summarize findings

CI status for 1503d80

One workflow run (inductor, 34663392499) with exactly one failing job out of 30:

Job Result
unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 2, 2, ..., unstable) ❌ failure
all other 29 jobs (builds, inductor_amx x7, inductor_core x6, cpu_inductor_timm, inductor_torchbench_cpu_smoketest_perf, inductor_aoti_fallback shard 1) ✅ success

The failure

Two tests in test/inductor/test_aot_inductor_arrayref.py, both failing consistently across all 3 retries:

FAILED inductor/test_aot_inductor_arrayref.py::AOTInductorTestABICompatibleCpuWithStackAllocation::test_aoti_debug_printer_codegen_cpu_with_stack_allocation
  - RuntimeError: Expected to find "before_launch - aoti_torch_cpu_addmm_out" but did not find it
FAILED inductor/test_aot_inductor_arrayref.py::AOTInductorTestABICompatibleCpuWithStackAllocation::test_aoti_debug_printer_cpp_kernel_cpu_with_stack_allocation
  - RuntimeError: Expected to find "before_launch - cpp_fused_mul_sqrt_0" but did not find it

Root cause: this shard runs the AOTInductor suites with TORCHINDUCTOR_LITE_MODE=1 (all-fallback mode), set in .ci/pytorch/test.sh:777. In that mode every op is routed to ATen rather than being codegen'd/fused the usual way, so the generated wrapper contains different kernel names than the test's FileCheck expects. The log confirms this — the emitted debug-printer lines are:

aoti_torch_print_tensor_handle(arg2_1, "before_launch - aoti_torch_cpu_reshape - arg2_1");
aoti_torch_print_tensor_handle(buf2,   "before_launch - cpp_fused_0 - buf2");

i.e. aoti_torch_cpu_reshape / cpp_fused_0 instead of aoti_torch_cpu_addmm_out / cpp_fused_mul_sqrt_0. The FileCheck assertions at test/inductor/test_aot_inductor.py:6545 and :6558-6562 hardcode the non-lite-mode kernel names, so they cannot match under lite mode.

Why this is unrelated to the torchao pin

  1. This config is known-red by design. .github/workflows/inductor-unittest.yml:192-198 marks both inductor_aoti_fallback shards unstable with the comment: "Staging: re-runs the AOTInductor suites under all-fallback mode. Known red ... the unstable key keeps the name out of trymerge's blocking set while the failures are triaged." .ci/pytorch/test.sh:2606 says the same: "This config is expected to be red while the all-fallback bugs are triaged."
  2. The job never builds torchao. inductor-unittest.yml has no build-additional-packages input at all; only inductor.yml's benchmark jobs pass torchao (lines 68, 109, 149). The failing shard cannot be affected by .github/ci_commit_pins/torchao.txt.
  3. The failing tests don't touch quantization. They are pure codegen string checks over a nn.functional.linear model and a mul/sqrt kernel.
  4. Dr. CI independently classified this as 1 Unrelated Failure / UNSTABLE, and Skylion007 has already approved.

Conclusion

No action needed on this PR. The failure is a pre-existing gap between the test_aoti_debug_printer_* FileCheck expectations and what lite/all-fallback mode actually generates — one of the all-fallback bugs the config exists to surface. It belongs to whoever is driving that staging config down, not to the torchao pin update.

If you want that gap closed separately, the fix would be to make the expected kernel names in test_aoti_debug_printer_codegen / test_aoti_debug_printer_cpp_kernel lite-mode-aware (or skip those two tests under TORCHINDUCTOR_LITE_MODE): Fix this →

| Branch: [`update-torchao-pin-4880`](https://github.com/pytorch/pytorch/tree/update-torchao-pin-4880)

@warrendeng

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge -i

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 12, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: inductor / unit-test / inductor-cpu-test / test (inductor_aoti_fallback, 2, 2, mt-l-x86iamx-8-64, unstable)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions
github-actions Bot deleted the update-torchao-pin-4880 branch November 19, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants