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

torch 2.4.0 requires triton==3.0.0; #4460

Closed
xuel0707 opened this issue Aug 3, 2024 · 7 comments
Closed

torch 2.4.0 requires triton==3.0.0; #4460

xuel0707 opened this issue Aug 3, 2024 · 7 comments

Comments

@xuel0707
Copy link

xuel0707 commented Aug 3, 2024

1722663064907 Have installed triton-2.1.0 in Ubuntu 22.04.2 LTS, but torch 2.4.0 requires triton==3.0.0. Please provide the corresponding relationship between different versions of Triton and PyTorch, thank you!
@xuel0707
Copy link
Author

xuel0707 commented Aug 3, 2024

@kashif

@antiagainst
Copy link
Collaborator

Won't pytorch automatically install the necessary version for you? Try remove your installed triton version and let pytorch do it for you?

@gmlwns2000
Copy link

Pytorch starts using triton as compiler backend of torch.compile, as known as torch inductor. Therefore, you need to install an appropriate triton version with your Pytorch version. Usually it is okay to not match the version necessarily, but it sometimes cause the problem

@xuel0707
Copy link
Author

xuel0707 commented Aug 7, 2024

Pytorch starts using triton as compiler backend of torch.compile, as known as torch inductor. Therefore, you need to install an appropriate triton version with your Pytorch version. Usually it is okay to not match the version necessarily, but it sometimes cause the problem

Do we have to look up the right version manually to fix this problem?

@xuel0707
Copy link
Author

xuel0707 commented Aug 7, 2024

Won't pytorch automatically install the necessary version for you? Try remove your installed triton version and let pytorch do it for you?

I had to manually uninstall the PyTorch versions that were either too new or too old, one by one, to make sure they matched with Triton 2.1.x, and that's how I got it resolved.

@Puiching-Memory
Copy link

Won't pytorch automatically install the necessary version for you? Try remove your installed triton version and let pytorch do it for you?

I had to manually uninstall the PyTorch versions that were either too new or too old, one by one, to make sure they matched with Triton 2.1.x, and that's how I got it resolved.

hai, did you find a torch version that matches 2.1.x? I had the same problem

@xuel0707
Copy link
Author

xuel0707 commented Aug 7, 2024

Won't pytorch automatically install the necessary version for you? Try remove your installed triton version and let pytorch do it for you?

I had to manually uninstall the PyTorch versions that were either too new or too old, one by one, to make sure they matched with Triton 2.1.x, and that's how I got it resolved.

hai, did you find a torch version that matches 2.1.x? I had the same problem

image

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

No branches or pull requests

4 participants