[Bug]: Torch is not able to use GPU with current NVIDIA driver on fresh windows #15743
Open
4 of 6 tasks
Labels
bug-report
Report of a bug, yet to be confirmed
Checklist
What happened?
A fresh automatic 1111 installation on an fresh windows & python installation results in:
Non of the informations provided here (https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting) could solve that problem.
Steps to reproduce the problem
webui-user.bat
, which downloaded a bundle of python-packages. (see sectionConsole logs
)RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
What should have happened?
WebUI should start up using the Nvidia GPU (which is GPU device 1)
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
I cant start the WebUI.
Follwoing
If you can't start WebUI, you can use --dump-sysinfo commandline argument to generate the file.
results in:Console logs
Additional information
All drivers are recently updated. I triede differen HowTos found on the web, like adding different COMMANDLINE_ARGS in the webui-user.sh, but no ones fixed the problem.
I tried all the stuff provided here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting
like this:
This results to the following output:
.\python.exe -m torch.utils.collett_env
Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.
It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Program Files\Python310\lib\runpy.py", line 110, in get_module_details
import(pkg_name)
File "C:\stable-diffusion-webui\venv\lib\site-packages\torch_init.py", line 139, in
raise err
OSError: [WinError 126] Unable to find this modul. Error loading "C:\stable-diffusion-webui\venv\lib\site-packages\torch\lib\c10.dll" or one of its dependencies.
So I had the following questions:
pip install cuda-python
?The text was updated successfully, but these errors were encountered: