Skip to content

CUDA aarch64 12.6 and 12.8 builds fix triton constraints#165013

Closed
atalman wants to merge 1 commit intopytorch:mainfrom
atalman:fix_triton_release_aarch64_packaging
Closed

CUDA aarch64 12.6 and 12.8 builds fix triton constraints#165013
atalman wants to merge 1 commit intopytorch:mainfrom
atalman:fix_triton_release_aarch64_packaging

Conversation

@atalman
Copy link
Contributor

@atalman atalman commented Oct 8, 2025

Since we have introduced CUDA aarch64 builds for all cuda versions we need to remove this constraint.
This was missed by #162364

Proper constraint on triton should be:

Requires-Dist: triton==3.5.0; platform_system == "Linux"

not:

Requires-Dist: triton==3.5.0; platform_system == "Linux" and platform_machine == "x86_64"

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 8, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 15 Pending

As of commit e51ef81 with merge base 4308b8a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Oct 8, 2025
if [[ "$DESIRED_CUDA" == "cu129" ]] || [[ "$DESIRED_CUDA" == "cu130" ]]; then
TRITON_CONSTRAINT="platform_system == 'Linux'"
fi
TRITON_CONSTRAINT="platform_system == 'Linux'"
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't that add triton constrain on CPU builds as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No it changes platform_system == "Linux" and platform_machine == "x86_64" -> platform_system == "Linux"

Copy link
Collaborator

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

Good catch! With this CUDA aarch64 is truely in parity with CUDA x86_64.

@atalman
Copy link
Contributor Author

atalman commented Oct 9, 2025

@pytorchmergebot merge -f "lint is green "

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

@atalman
Copy link
Contributor Author

atalman commented Oct 9, 2025

@pytorchbot cherry-pick --onto release/2.9 --fixes "Critical CI fix" -c critical

pytorchbot pushed a commit that referenced this pull request Oct 9, 2025
Since we have introduced CUDA aarch64 builds for all cuda versions we need to remove this constraint.
This was missed by #162364

Proper constraint on triton should be:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux"
```

not:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux" and platform_machine == "x86_64"
```

Pull Request resolved: #165013
Approved by: https://github.com/Camyll, https://github.com/nWEIdia, https://github.com/tinglvv

(cherry picked from commit 81dbeb0)
@pytorchbot
Copy link
Collaborator

Cherry picking #165013

The cherry pick PR is at #165022 and it is linked with issue Critical CI fix. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman added a commit that referenced this pull request Oct 9, 2025
CUDA aarch64 12.6 and 12.8 builds fix triton constraints (#165013)

Since we have introduced CUDA aarch64 builds for all cuda versions we need to remove this constraint.
This was missed by #162364

Proper constraint on triton should be:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux"
```

not:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux" and platform_machine == "x86_64"
```

Pull Request resolved: #165013
Approved by: https://github.com/Camyll, https://github.com/nWEIdia, https://github.com/tinglvv

(cherry picked from commit 81dbeb0)

Co-authored-by: atalman <atalman@fb.com>
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
)

Since we have introduced CUDA aarch64 builds for all cuda versions we need to remove this constraint.
This was missed by pytorch#162364

Proper constraint on triton should be:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux"
```

not:
```
Requires-Dist: triton==3.5.0; platform_system == "Linux" and platform_machine == "x86_64"
```

Pull Request resolved: pytorch#165013
Approved by: https://github.com/Camyll, https://github.com/nWEIdia, https://github.com/tinglvv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants