Hi guys,
I created my first demo https://huggingface.co/spaces/tgohblio/stable-diffusion as as a free account at first and then as a paid subscriber, and I still encounter this error:
Blockquote
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
Moving 0 files to the new cache system
0it [00:00, ?it/s]
0it [00:00, ?it/s]
Traceback (most recent call last):
File "app.py", line 12, in <module>
device_name = torch.cuda.get_device_name(0)
File "/home/user/.local/lib/python3.8/site-packages/torch/cuda/__init__.py", line 329, in get_device_name
return get_device_properties(device).name
File "/home/user/.local/lib/python3.8/site-packages/torch/cuda/__init__.py", line 359, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/home/user/.local/lib/python3.8/site-packages/torch/cuda/__init__.py", line 217, 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
The same app works in Google colab. Is GPU access not available ?
Thanks.