Open HollowMind100 opened 1 year ago
Same
Same
The issue is that python 3.11 isn't supported by pytorch, only 3.7-3.9 are. I tried downloading and installing 3.9, but that didn't work out either.
Download anaconda. Then type in anaconda in the start menu and right click, run as admin, and it should open the terminal (not PowerShell the normal one). Then type in pip install pytorch and it should figure out the versions on its own. It pip isn't installed go download that too.
Even with downloading anaconda the first error accures when downloading torch "pip install pytorch" doesn't work and it say something like "It's called 'torch'". When I do "pip install torch" it works, but then it failes when clicking the file, which should oben the game
Same as Kingbokser. Even if manually downloaded torch and torchvision through anaconda, it doesn't recognize it and fails.
Still having issues, I've tried reinstalling things, and going to previous versions of python (Which was a bad idea apparently). Nothing seems to be working, it just keeps saying the same as the top post. Manual installs haven't worked either.
Update: I talked with a friend more familiar with python, and he said that my issue is doing this on my laptop instead of my PC. I'll update this when I'm not on vacay, but integrated graphics might be the problem.
venv "C:\Users\Samson\Downloads\stable-diffusion-webui-master\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash:
Its is something to do with gpu, does any one know how to add to commandline?
What's the gpu brand?
What's the gpu brand?
AMD Ryzen
Add --skip-torch-cuda-test
To the bat file you use to run the software. It should be added as shown here.
COMMAND_ARGS= --skip-torch-cuda-test
How do I edit the bat file? Do I just change it to a text file then change back to bat?
Open notepad, and then drag the bat file onto that.
COMMAND_ARGS= --skip-torch-cuda-test mine looks like this
set COMMANDLINE_ARGS= --skip-torch-cuda-test
there's set launched it and still RuntimeError: Couldn't install torch.
Same :<
Guys it's easy. Install the folder structure from the official repository and add the same args to the bat file. Sadly it didn't work with AMD.
When running the user bat file, the following error occurs
Traceback (most recent call last): File "C:\Users\Aaryan\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 250, in
prepare_enviroment()
File "C:\Users\Aaryan\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 171, in prepare_enviroment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "C:\Users\Aaryan\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "C:\Users\Aaryan\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
Error code: 1
stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
stderr: ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: none) ERROR: No matching distribution found for torch==1.12.1+cu113