ArcherFMY / SD-T2I-360PanoImage

repository for 360 panorama image generation based on Stable Diffusion
245 stars 35 forks source link

[Bug/solution] ERROR: Could not find a version that satisfies the requirement triton (from versions: none) ERROR: No matching distribution found for triton #14

Open Giribot opened 3 months ago

Giribot commented 3 months ago

Hello !

The installation is impossible !

D:\Data\Packages\SD-T2I-360PanoImage>git clone https://github.com/ArcherFMY/SD-T2I-360PanoImage.git
Cloning into 'SD-T2I-360PanoImage'...
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 71 (delta 26), reused 41 (delta 16), pack-reused 17
Receiving objects: 100% (71/71), 62.48 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (27/27), done.

D:\Data\Packages\SD-T2I-360PanoImage>cd SD-T2I-360PanoImage

D:\Data\Packages\SD-T2I-360PanoImage\SD-T2I-360PanoImage>pip install -r requirements.txt
Requirement already satisfied: torch in c:\users\gilda\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (2.1.0+cu118)
Collecting torchvision (from -r requirements.txt (line 2))
  Obtaining dependency information for torchvision from https://files.pythonhosted.org/packages/e8/a3/4c868202fa23f69f9a58bb29ecbae5f9912c5d79fa5e78db5d3de7e6434f/torchvision-0.19.0-1-cp310-cp310-win_amd64.whl.metadata
  Downloading torchvision-0.19.0-1-cp310-cp310-win_amd64.whl.metadata (6.1 kB)
Collecting torchaudio (from -r requirements.txt (line 3))
  Obtaining dependency information for torchaudio from https://files.pythonhosted.org/packages/9c/5f/fe6e84fece5e54d215a4575061bf88ad1af21c4875f0d3297b8926a2cba4/torchaudio-2.4.0-cp310-cp310-win_amd64.whl.metadata
  Downloading torchaudio-2.4.0-cp310-cp310-win_amd64.whl.metadata (6.4 kB)
Collecting diffusers==0.26.0 (from -r requirements.txt (line 4))
  Obtaining dependency information for diffusers==0.26.0 from https://files.pythonhosted.org/packages/ec/17/1674b3e7409f4850a09e322af96bda82a9f90cd72c0676d80df3dd7ecbde/diffusers-0.26.0-py3-none-any.whl.metadata
  Downloading diffusers-0.26.0-py3-none-any.whl.metadata (19 kB)
Collecting accelerate (from -r requirements.txt (line 5))
  Obtaining dependency information for accelerate from https://files.pythonhosted.org/packages/15/33/b6b4ad5efa8b9f4275d4ed17ff8a44c97276171341ba565fdffb0e3dc5e8/accelerate-0.33.0-py3-none-any.whl.metadata
  Downloading accelerate-0.33.0-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: xformers in c:\users\gilda\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 6)) (0.0.22.post7+cu118)
ERROR: Could not find a version that satisfies the requirement triton (from versions: none)
ERROR: No matching distribution found for triton

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

==> quote: ERROR: Could not find a version that satisfies the requirement triton (from versions: none) ERROR: No matching distribution found for triton

I solved this by doing a (missing) install of Triton:

git clone https://github.com/ArcherFMY/SD-T2I-360PanoImage.git

cd SD-T2I-360PanoImage
**pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl**
pip install -r requirements.txt