Repository navigation
[torchao] Update pin to unblock Triton update - #196813
warrendeng wants to merge 1 commit into
Conversation
🔗 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 FailureAs of commit 1503d80 with merge base 3c013cf ( 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.
1cb97cb to
1503d80
Compare
|
@claude please analyze the failures in the CI |
|
Claude finished @warrendeng's task in 2m 5s —— View job The single CI failure is in the Detailed CI failure analysisTasks
CI status for
|
| 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
- This config is known-red by design.
.github/workflows/inductor-unittest.yml:192-198marks bothinductor_aoti_fallbackshardsunstablewith the comment: "Staging: re-runs the AOTInductor suites under all-fallback mode. Known red ... theunstablekey keeps the name out of trymerge's blocking set while the failures are triaged.".ci/pytorch/test.sh:2606says the same: "This config is expected to be red while the all-fallback bugs are triaged." - The job never builds torchao.
inductor-unittest.ymlhas nobuild-additional-packagesinput at all; onlyinductor.yml's benchmark jobs passtorchao(lines 68, 109, 149). The failing shard cannot be affected by.github/ci_commit_pins/torchao.txt. - The failing tests don't touch quantization. They are pure codegen string checks over a
nn.functional.linearmodel and amul/sqrtkernel. - 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 →
|
@pytorchmergebot merge -i |
Merge startedYour 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 |
Update the torchao pin to include pytorch/ao#4880, fixing the MoE FP8 autotune failure blocking Triton pin update #190440