ERROR: Could not find a version that satisfies the requirement triton==2.1.0 (from -r requirements.txt (line 36)) (from versions: none) ERROR: No matching distribution found for triton==2.1.0
gaurish1212 opened this issue · comments
Triton is unavailable on Windows but it is not stricly necessary in order to use SUPIR. On Linux maybe try installing another version, I doubt 2.1.0 is the only one working.
I'm uploading my windows whls for people who'll search and end up here.
I'm uploading my windows whls for people who'll search and end up here.
Well is that really a virus?
there are pre compiled wheels. i install them from original sources in my auto installers with more advanced gradio : #38
the original source i use : https://github.com/wkpark/triton/actions/runs/7246431088
I'm uploading my windows whls for people who'll search and end up here.
https://pixeldrain.com/u/UQcVnDUYWell is that really a virus?
Yeah. T3h c0mput4r virus gets into your willy and rots it off.
On a serious note: No.
I'm uploading my windows whls for people who'll search and end up here.
https://pixeldrain.com/u/UQcVnDUYWell is that really a virus?
If you're feeling brave, activate the SUPIR environment. Then pip install triton_library-1.0.0rc3-cp38-cp38-win_amd64.whl
But I'm not responsible if your little weewee falls off -- life is full of risks.
you can use this "requirements.txt":
#fastapi==0.95.1 #gradio==4.16.0 #gradio_client==0.8.1 fastapi gradio gradio_client gradio_imageslider==0.0.17 Markdown==3.4.1 numpy==1.24.2 requests==2.28.2 sentencepiece==0.1.98 tokenizers==0.13.3 #torch>=2.1.0 #torchvision>=0.16.0 uvicorn==0.21.1 wandb==0.14.0 httpx==0.24.0 transformers==4.28.1 accelerate==0.18.0 scikit-learn==1.2.2 sentencepiece==0.1.98 einops==0.7.0 einops-exts==0.0.4 timm==0.9.8 openai-clip==1.0.1 fsspec==2023.4.0 kornia==0.6.9 matplotlib==3.7.1 ninja==1.11.1 omegaconf==2.3.0 open-clip-torch==2.17.1 opencv-python==4.7.0.72 pandas==2.0.1 Pillow==9.4.0 pytorch-lightning==2.1.2 PyYAML==6.0 scipy==1.9.1 tqdm==4.65.0 #triton==2.1.0 urllib3==1.26.15 webdataset==0.2.48 #xformers>=0.0.20 facexlib==0.3.0 diffusers accelerate bitsandbytes
You can also find a newer version of Triton built for Windows here: https://github.com/wkpark/triton/actions/workflows/integration-tests.yml
Direct link to a zip with Windows Triton 3.0.0 wheels for both Python 3.10 and 3.11: https://github.com/wkpark/triton/actions/runs/7855606361/artifacts/1235582193
I've been successfully using this repository+PR#48 on Windows 11 with Python 3.10.13, torch 2.2.2+cu121, torchvision 0.17.2+cu121, triton 3.0.0, transformers==3.32.1 flash_attn==2.5.6 numpy==1.26.4 httpx==0.27.0 accelerate==0.20.3 scikit-learn==1.4.1.post1 matplotlib==3.8.3 opencv-python==4.9.0.80 pandas==2.2.1 Pillow==10.2.0 pytorch-lightning==2.2.1 scipy==1.12.0 diffusers==0.27.2