Skip to content

Fix intelgputorch210 Triton dependency for PyTorch 2.10 XPU - #4941

Closed
aiSynergy37 wants to merge 1 commit into
unslothai:mainfrom
aiSynergy37:fix/issue-4931-intelgputorch210-triton-xpu
Closed

aiSynergy37 wants to merge 1 commit into
unslothai:mainfrom
aiSynergy37:fix/issue-4931-intelgputorch210-triton-xpu

Conversation

@aiSynergy37

Copy link
Copy Markdown
Contributor

What

  • Update the intelgputorch210 extra in pyproject.toml to use triton-xpu 3.6.0 wheels instead of pytorch_triton_xpu 3.5.0.
  • Keep the scope limited to the intelgputorch210 block only.

Why

Issue #4931 reports that PyTorch 2.10+xpu should use triton-xpu 3.6.0, but intelgputorch210 currently pins pytorch_triton_xpu 3.5.0. This causes a dependency mismatch for that install target.

How

  • Replaced the 8 Triton wheel entries (Linux/Windows, Python 3.10-3.13) under intelgputorch210:
    • from pytorch_triton_xpu-3.5.0-*
    • to triton_xpu-3.6.0-*
  • Left all Torch/TorchVision pins unchanged.

Closes #4931

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e30f4300e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
"pytorch_triton_xpu @ https://download.pytorch.org/whl/pytorch_triton_xpu-3.5.0-cp311-cp311-win_amd64.whl#sha256=debf75348da8e8c7166b4d4a9b91d1508bb8d6581e339f79f7604b2e6746bacd ; sys_platform == 'win32' and python_version == '3.11' and (platform_machine == 'AMD64' or platform_machine == 'x86_64')",
"pytorch_triton_xpu @ https://download.pytorch.org/whl/pytorch_triton_xpu-3.5.0-cp312-cp312-win_amd64.whl#sha256=97337a47425f1963a723475bd61037460e84ba01db4f87a1d662c3718ff6c47e ; sys_platform == 'win32' and python_version == '3.12' and (platform_machine == 'AMD64' or platform_machine == 'x86_64')",
"pytorch_triton_xpu @ https://download.pytorch.org/whl/pytorch_triton_xpu-3.5.0-cp313-cp313-win_amd64.whl#sha256=2caf8138695f6abb023ecd02031a2611ba1bf8fff2f19802567cb2fadefe9e87 ; sys_platform == 'win32' and python_version == '3.13' and (platform_machine == 'AMD64' or platform_machine == 'x86_64')",
"triton-xpu @ https://download.pytorch.org/whl/triton_xpu-3.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl ; platform_system == 'Linux' and python_version == '3.10' and platform_machine == 'x86_64'",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore sha256 pins for triton-xpu wheel URLs

The intelgputorch210 update switches to direct triton-xpu wheel URLs but drops the #sha256=... fragments that were present on the previous Triton entries. That makes this extra non-reproducible and removes integrity verification for these downloads (the same extras block still hashes other pinned wheel URLs), so a changed artifact at the same URL would be accepted silently. Please add sha256 hashes to each new triton-xpu URL.

Useful? React with 👍 / 👎.

@aiSynergy37
aiSynergy37 force-pushed the fix/issue-4931-intelgputorch210-triton-xpu branch from 7e30f43 to 9d813dd Compare April 12, 2026 08:47
@leizhenyuan

Copy link
Copy Markdown
Contributor

hi @danielhanchen Could you pls help review, thanks~

@danielhanchen

Copy link
Copy Markdown
Member

Thanks for the patch. Superseded by #5484, which extends the same fix to also add the four newer intel-gpu-torch* extras (2.7.1, 2.9.1, 2.11.0, 2.12.0) that PyTorch has since published. Closing this in favour of that PR.

@danielhanchen

Copy link
Copy Markdown
Member

Closing this in favour of #5484. Your commit 9d813dd7 was cherry-picked onto that PR as the first of two commits, so your authorship is preserved end-to-end in git history once #5484 merges. The second commit on top extends the same fix to also add four newer intel-gpu-torch* extras (2.7.1, 2.9.1, 2.11.0, 2.12.0) that PyTorch has since published.

Thanks for tracking this down.

@danielhanchen

Copy link
Copy Markdown
Member

Sorry on the delay, we fixed it in #5484. Appreciate the PR again!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] intel-gpu-torch210 seems to use wrong triton package: should be triton-xpu 3.6.0

4 participants