How do I enable CPU over GPU?
ConsentKF opened this issue · 7 comments
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
I can't open the gui because the bat file does not find a GPU source (AMD), not sure how to enable CPU useage before the gui opens?
I tried running the script "Miniconda\python.exe" gui.py --cpu
I checked the gui and set root['cpu'] = True
and tried setting gpu_use = "-1"
all gave me the same error of no Nvidia driver
Can you post full error message? I'm interested in line numbers.
Same issue for me.
C:\Users\Glammerocity\Desktop\MVSep>"./Miniconda/python.exe" gui.py
GPU use: 0
Version: 1.0.1
Traceback (most recent call last):
File "C:\Users\Glammerocity\Desktop\MVSep\gui.py", line 411, in
create_dialog()
File "C:\Users\Glammerocity\Desktop\MVSep\gui.py", line 319, in create_dialog
t = torch.cuda.get_device_properties(0).total_memory / (1024 * 1024 * 1024)
File "C:\Users\Glammerocity\Desktop\MVSep\Miniconda\lib\site-packages\torch\cuda_init_.py", line 395, in get_device_properties
_lazy_init() # will define get_device_properties
File "C:\Users\Glammerocity\Desktop\MVSep\Miniconda\lib\site-packages\torch\cuda_init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
Same again,
C:\MVSep-MDX23_v1.0.1>"./Miniconda/python.exe" gui.py
GPU use: 0
Version: 1.0.1
Traceback (most recent call last):
File "C:\MVSep-MDX23_v1.0.1\gui.py", line 411, in
create_dialog()
File "C:\MVSep-MDX23_v1.0.1\gui.py", line 319, in create_dialog
t = torch.cuda.get_device_properties(0).total_memory / (1024 * 1024 * 1024)
File "C:\MVSep-MDX23_v1.0.1\Miniconda\lib\site-packages\torch\cuda_init_.py", line 395, in get_device_properties
_lazy_init() # will define get_device_properties
File "C:\MVSep-MDX23_v1.0.1\Miniconda\lib\site-packages\torch\cuda_init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
What is your GPU and what's the version of your driver?
AMD Radeon Vega 8
Driver version 27.20.1028.1
You need NVIDIA GPU card to use CUDA. Otherwise you must run on CPU with --cpu key (it will be slow).
where exactly do i enter the --cpu key? i've tried adding it to the end of the BAT, everything... it's still looking for NVIDIA