triton-lang / triton

Development repository for the Triton language and compiler
https://triton-lang.org/
MIT License
11.84k stars 1.39k forks source link

Python 3.11 - Triton not available? #2881

Open Piscabo opened 5 months ago

Piscabo commented 5 months ago

Python 3.11 - Triton not available? Where can find a version that works?

(comfyVENV) C:\comfyVENV>pip install -U --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/ triton-nightly Looking in indexes: https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/, https://pypi.nvidia.com ERROR: Could not find a version that satisfies the requirement triton-nightly (from versions: none) ERROR: No matching distribution found for triton-nightly

jhirschibar commented 5 months ago

same error on 3.12.0

aflah02 commented 5 months ago

Are you by any chance using Windows? I got this error when I tried to install it on Windows without realizing that Triton is not available for the same

Piscabo commented 5 months ago

Are you by any chance using Windows? I got this error when I tried to install it on Windows without realizing that Triton is not available for the same

Triton for Windows is available. Just not for Python 3.11 pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl

johnnynunez commented 3 months ago

Are you by any chance using Windows? I got this error when I tried to install it on Windows without realizing that Triton is not available for the same

Triton for Windows is available. Just not for Python 3.11 pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl

cd python
python setup.py bdist_wheel

version triton 3 is compatible with python 3.11 & 12

Keramatfar commented 1 month ago

Are you by any chance using Windows? I got this error when I tried to install it on Windows without realizing that Triton is not available for the same

Triton for Windows is available. Just not for Python 3.11 pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl

ERROR: triton-2.0.0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.

Marches7 commented 3 weeks ago

Are you by any chance using Windows? I got this error when I tried to install it on Windows without realizing that Triton is not available for the same

Triton for Windows is available. Just not for Python 3.11 pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl

Well, the official Readme.md file says that the trition only support Linux:

Compatibility
Supported Platforms:

Linux
Supported Hardware:

NVIDIA GPUs (Compute Capability 7.0+)
Under development: AMD GPUs, CPUs

If you can run trition on Windows, please tell me how:)

fancifulcrow commented 3 weeks ago
pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-2.1.0-cp311-cp311-win_amd64.whl

I found this build of triton for python 3.11 on Windows.