Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The demo not work well #63

Open
bigbrother001 opened this issue Oct 3, 2024 · 0 comments
Open

The demo not work well #63

bigbrother001 opened this issue Oct 3, 2024 · 0 comments

Comments

@bigbrother001
Copy link

When I open the https://huggingface.co/spaces/FoundationVision/LlamaGen, It is showed as follow:

runtime error
Traceback (most recent call last):
File "/home/user/app/app.py", line 171, in
t5_model, vq_model, gpt_model, image_size = load_model(args)
File "/home/user/app/app.py", line 45, in load_model
vq_model.to(device)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1159, in convert
return t.to(
File "/usr/local/lib/python3.10/site-packages/torch/cuda/init.py", line 293, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant