Skip to content

[intel] change windows to remove windows-triton for intel xpu#3168

Merged
danielhanchen merged 13 commits into
unslothai:mainfrom
leizhenyuan:zhenyuan_windows_triton
Nov 24, 2025
Merged

[intel] change windows to remove windows-triton for intel xpu#3168
danielhanchen merged 13 commits into
unslothai:mainfrom
leizhenyuan:zhenyuan_windows_triton

Conversation

@leizhenyuan

Copy link
Copy Markdown
Contributor

Due to triton-windows is conflict with intel's triton, change intel build option will not install triton-windows on intel-platform, for other platform there is no change.

@leizhenyuan

Copy link
Copy Markdown
Contributor Author

@danielhanchen Could you pls help review? Thanks !

@danielhanchen

Copy link
Copy Markdown
Member

Would it be possible to leave "windows" with Triton, hen for Intel XPU, make a new windows which doesn't use Triton?

@danielhanchen

Copy link
Copy Markdown
Member

Ie leave "windows" as is, and make a new "windows-no-triton"

@leizhenyuan

Copy link
Copy Markdown
Contributor Author

Sure, thanks for your comments.

@leizhenyuan

Copy link
Copy Markdown
Contributor Author

@danielhanchen Pls help review, thanks.

@leizhenyuan

Copy link
Copy Markdown
Contributor Author

hi @danielhanchen Could you help review?

@danielhanchen

Copy link
Copy Markdown
Member

@gemini-code-assist review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request aims to add Windows support for Intel XPU builds by updating the dependencies in pyproject.toml. The changes correctly add Windows-specific wheels for pytorch_triton_xpu, torch, and torchvision to avoid conflicts with triton-windows. My review focuses on ensuring consistency and correctness of the new dependency markers. I've identified some inconsistencies in platform and architecture markers, and a few instances where the architecture check is missing, which could lead to installation issues. The feedback provided aims to unify these markers for better maintainability and to fix the missing checks for robustness.

Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
leizhenyuan and others added 8 commits November 24, 2025 13:41
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@danielhanchen danielhanchen merged commit 872e191 into unslothai:main Nov 24, 2025
1 check passed
@danielhanchen

Copy link
Copy Markdown
Member

Thanks!

abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
…hai#3168)

* change windows to remove windows-triton for intel xpu

* add changes for different platform

* Update pyproject.toml

* update mode windows

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update pyproject.toml

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

2 participants