Skip to content

[triton] Update Triton pin to 3.9 - #190440

Closed
warrendeng wants to merge 2 commits into
mainfrom
triton-pin-cb765b0e
Closed

warrendeng wants to merge 2 commits into
mainfrom
triton-pin-cb765b0e

Conversation

@warrendeng

@warrendeng warrendeng commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

@warrendeng warrendeng added ciflow/trunk Trigger trunk jobs on your pull request ciflow/pull ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/slow ciflow/dynamo Trigger jobs ran periodically on main for dynamo tests labels Jul 18, 2026
@pytorch-bot

pytorch-bot Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ You can merge normally! (5 Unrelated Failures), 1 Unclassified Failure

As of commit 0079961 with merge base 8161f98 (image):

NEW FAILURES SUPPRESSED BY AI (non-blocking) - The following jobs failed, but the AI CI Advisor judged the failures not to be evidence against this change:

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

  • s390x-periodic / linux-manylinux-2_28-py3-cpu-s390x / test (default, 6, 10, linux.s390x) (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    test/test_meta.py::TestMetaCPU::test_dispatch_symbolic_meta_outplace_histc_cpu_float16

    AI verdict: AI verdict: probably not related

    On s390x, histc float16 crashes with a native "double free or corruption" in test_meta. The same crash shows up on unrelated PR 199663, which has no Triton changes. The suspect only bumps the Triton pin and edits xfails for the MI350 GPU, and neither change reaches s390x CPU meta tests.

    Full reasoning on HUD →

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

@warrendeng warrendeng added ciflow/inductor-perf-test-nightly-x86-zen Trigger inductor perf tests on Zen x86 CPUs ciflow/inductor-perf-test-nightly-rocm-mi355 Trigger inductor perf tests on ROCm MI355 ciflow/inductor-windows ciflow/inductor-rocm Trigger "inductor" config CI on ROCm ciflow/inductor-rocm-mi200 Trigger "inductor" config CI on ROCm MI200 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/inductor-rocm-mi355 Trigger "inductor" config CI on ROCm MI355 ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/b200 labels Jul 18, 2026
@warrendeng
warrendeng force-pushed the triton-pin-cb765b0e branch from a8af097 to e460ce7 Compare August 3, 2026 16:50
@warrendeng warrendeng mentioned this pull request Aug 13, 2026
2 of 3 tasks
@warrendeng
warrendeng force-pushed the triton-pin-cb765b0e branch from e460ce7 to f5bbc90 Compare August 13, 2026 18:31
@warrendeng
warrendeng force-pushed the triton-pin-cb765b0e branch from 3bd4e0b to 0867de2 Compare August 14, 2026 02:05
@warrendeng warrendeng removed the ciflow/inductor-rocm-mi355 Trigger "inductor" config CI on ROCm MI355 label Aug 18, 2026
@warrendeng

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge -i

@aorenste

aorenste commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Reverting because this breaks the CUDA 13.2/13.4 and ROCm CI docker images on main. Triton 3.9 requires Python >= 3.11, but those images are back on Python 3.10: #199535 ("Move CI docker images off Python 3.10") was reverted in 56ef54c shortly before this merged. Their docker builds now fail in install_triton.sh with ERROR: Package 'triton' requires a different Python: 3.10.12 not in '<3.16,>=3.11' (example). Every CUDA 13.2/13.4 build that uses those images then fails with ImagePullBackOff, because the new image tag was never built (example).

This PR's own docker builds passed on 10-02 because they ran while #199535 was still in, so this is a land race. It should be safe to re-land once the images are off Python 3.10 again.

(Drafted with an AI assistant.)

@pytorchbot revert -m "Breaks CUDA 13.2/13.4 and ROCm CI docker image builds: Triton 3.9 needs Python >= 3.11, but these images went back to Python 3.10 when #199535 was reverted" -c landrace

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@warrendeng your PR has been successfully reverted.

and isRocmArchAnyOf(MI350_ARCH)
):
# Triton 3.9 fixes these exp/silu cases on MI350.
xfails.discard(fp32)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Triton 3.9 includes triton-lang/triton#11916 which fixes these tests for gfx950 so we are removing some expected fails

@atalman

atalman commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

hi @warrendeng I am relanding #199535 today. Once its landed. I will rebase and try to land this PR as well.

@atalman

atalman commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

@pytorchmergebot rebase -b main

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here

Fold the MI350-only xfail adjustment from #199547 into the Triton 3.9 pin so neither change lands alone in a failing intermediate state. Upstream fix: triton-lang/triton#11916.
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased triton-pin-cb765b0e onto refs/remotes/origin/main, please pull locally before adding more changes (for example, via git checkout triton-pin-cb765b0e && git pull --rebase)

@warrendeng

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge -i

@nWEIdia

nWEIdia commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Interesting that github did not update on this PR.
5ba9627 is the commit that landed on main
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/b200 ciflow/docker ciflow/inductor ciflow/inductor-micro-benchmark ciflow/inductor-perf-compare ciflow/inductor-perf-test-nightly-x86-zen Trigger inductor perf tests on Zen x86 CPUs ciflow/inductor-periodic ciflow/inductor-rocm-mi200 Trigger "inductor" config CI on ROCm MI200 ciflow/inductor-rocm-mi300 Trigger "inductor" config CI on ROCm MI300/MI325 ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/pull ciflow/slow ciflow/torchtitan Run TorchTitan integration tests ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo module: inductor Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants