Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XPU] Add xpu support of make triton #126513

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Stonepia
Copy link
Contributor

@Stonepia Stonepia commented May 17, 2024

This PR is to add XPU support for make triton.

If a user wishes to use Triton with XPU support, the user needs to install the intel-xpu-backend-for-triton.

This PR allows the user to easily install Triton for xpu backend support:

# clone the pytorch repo
export USE_XPU=1
make triton

The XPU version of triton will always be built from the source. It will cat the commit id from .ci/docker/ci_commit_pins/triton-xpu.txt, for example, b8c64f64c18d8cac598b3adb355c21e7439c21de.

So the final call would be like:

pip install --force-reinstall "git+https://github.com/intel/intel-xpu-backend-for-triton@b8c64f64c18d8cac598b3adb355c21e7439c21de#subdirectory=python"

Copy link

pytorch-bot bot commented May 17, 2024

🔗 Helpful Links

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

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

✅ No Failures

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

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

README.md Outdated Show resolved Hide resolved
@EikanWang EikanWang requested a review from atalman May 29, 2024 07:59
@EikanWang EikanWang marked this pull request as ready for review May 29, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

3 participants