-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Is Triton unable to install in python 3.10 versions? #1057
Comments
+1 pip just can't find the package, is there a link to whl package? |
+1 cant install and also manually cant install. cmake error C:\sd\venv\Scripts\python.exe -m pip install -e c:\sd\triton\python |
same here, getting: |
windows is not supported you have to build yourself. |
Bulid is also not successful in windows 10 machine. |
same error |
any hint on how it is done? or a link to documentation about 'building' (from git I guess?) |
Not just Windows. I have attempted to install on Mac. Pip simply can not find Triton. I tried Python 3.8, 3,9, 3.10. Nada. The company probably could publish clear non-erroneous documentation. This: Claims: pip install triton So do they exist? |
Note that lack of compatibility for Windows / MacOS is explicitly documented in README.md:
You can see here https://pypi.org/project/triton/2.0.0.post1/#files that on linux 3.10 is there. Apologies for the outdated |
The Java world simply did not tolerate this kind of issue to just go on and on the way it has here. Here, they made the claim that they support a particular version of Python - but the reality is - they don't? They only support it on "some" version on WSL? |
I don't understand the issue/drama here. Triton is only supported on Linux, as mentioned in README.md. PyPI page has wheels for Python 3.6 - 3.11 on Linux. We don't have any windows CI machine. We're not Java; we're a small team at OpenAI working on this project, and we have busy jobs working on compiler optimizations and stability improvements for LLMs. All the extra community management work is done in our free time. The project is open-source; if you think the documentation is inaccurate or the |
Thanks for responding. Good explanation. And - I was able to do the build from source and make it work on Mac. The library loads up. So it's not wrong. It appears to work if we just follow the build instructions. I appreciate the time you put into this. Thank you! |
Nice! Note that we have long-term plan to have Triton also work on Mac with Apple GPUs, but this will take time to materialize. But when the time comes, MacOS will be added as a supported platform. |
@ptillet Out of curiosity, what would be needed to get Triton to compile on macOS (for both x86_64 and arm64 platforms)? I saw that it was possible to build from source an x86 macOS machine but I've had no luck in getting it to work on arm64. I'm asking because I don't really know where to start looking for why it doesn't work. |
Try this.
|
ERROR: triton-2.0.0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. |
I managed to install triton successfully. |
Thanks! |
Running pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl Installed Triton on my Windows PC and I am able to use the module in python now, working perfectly. Thanks very much! |
pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl works!!! |
Same same... T_T Windows 11 with Python 3.11.4 is currently not supported. I tried to build it myself but encountered more errors:
Refer link: |
Same I got the same error (blip_env) C:\Users\james>python -V So I guess no triton for those using Python 3.11 |
(base) C:\Windows\system32>pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl (base) C:\Windows\system32>python -V |
On Windows 10 19045 Successfully installed cmake-3.28.1 and triton-2.0.0 BUT didn't work for me:
|
this works, download the artifact and |
this worked for me. thank you. |
|
On Mac M3, python 3.10.0
step
|
On Mac M1, python 3.10.0 I haven't succeeded yet |
did some one solved the isssu for windows 11 python 3.11 ?? |
Can someone provide 2.1 version build for windows? |
OS:Ubuntu 18.04 I installed triton on Python 3.8 via below command,and I got the same error.
Thus, I updated my pip version to 24.0 via below command:
And installed triton 2.2.0
And it works. |
Following instructions from here: https://github.com/Stability-AI/generative-models?tab=readme-ov-file#2-setting-up-the-virtualenv
Google for error message: https://stackoverflow.com/questions/77152235/python-build-error-with-stable-diffusion-repository-error-could-not-find-a-ve
But not on my macOS Monterey 12.6,
Any solutions?I just need a basic UI to generate some offline images during a lengthy (but all of the tools require messing with install scripts and I always sucked at resolving dependencies, not my favourite cup of tea) |
Could someone build 2.2.0 for windows? |
Windows 10 pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-2.1.0-cp311-cp311-win_amd64.whl |
Hey,dear,this works.You did a very good job! Thanks! |
Older versions of `gh` do not support `gh run list -s`, find a successful run with `jq` instead.
Download from file from huggingface: right click the downloaded file and select: copy as path pip install |
Points taken, but at the same time you've published a python package. Python runs on Linux, Mac, and Windows. Python users on Mac and Windows aren't wrong for expecting your package to work with their python install just the same as it does for someone else's install on Linux. It's kinda detrimental to the package ecosystem as a whole if it starts accumulating things that work only on one OS but not others, imo. Which maybe suggests that if there's not the time/resources to publish packages that work with Mac/Windows it may be better to just not publish any at all. Let everyone experience the fun of building/installing from sources. 🙂 Really though, would love to see published packages that work on all platforms that python does. (Also tried some of the huggingface links above, not working for me; python 3.10, windows+cygwin frankenmonster) |
Try: |
pip install https://github.com/bycloud-AI/DiffBIR-Windows/raw/refs/heads/main/triton-2.0.0-cp310-cp310-win_amd64.whl It worked with 3.10.0, thanks. |
Hello I'm using python 3.10 version and getting error while run 'pip install triton'
ERROR: Could not find a version that satisfies the requirement triton (from versions: none)
ERROR: No matching distribution found for triton
I also download triton repository and try to install from source but didn't work.
anyone can help?
The text was updated successfully, but these errors were encountered: