rupeshs / fastsdcpu

Fast stable diffusion on CPU
MIT License
1.01k stars 86 forks source link

torch==2.0.1 errors #78

Closed onlyreportingissues closed 7 months ago

onlyreportingissues commented 7 months ago

Terminal:

chmod +x install.sh ./install.sh

Starting FastSD CPU env installation... Found python command Python version : 3.12.0 Looking in indexes: https://download.pytorch.org/whl/cpu

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

rupeshs commented 7 months ago

Don't use Python 3.12 , you can use python 3.10 or python 3.11

onlyreportingissues commented 7 months ago

For people using Fedora who can't downgrade Python:

Terminal: sudo dnf install python3.11

Edit the install.sh file & replace the words python3 and python with python3.11 ^ Do the same with start.sh & start-webui.sh so they will use python3.11

Install it using the edited install.sh file

rupeshs commented 7 months ago

@onlyreportingissues Pytorch is not available for Python 3.12.