runtime error
Exit code: 1. Reason: line 106, in predict MODEL = load_model("melody") File "/app/app.py", line 98, in load_model return MusicGen.get_pretrained(version) File "/app/audiocraft/models/musicgen.py", line 89, in get_pretrained compression_model = load_compression_model(name, device=device, cache_dir=cache_dir) File "/app/audiocraft/models/loaders.py", line 72, in load_compression_model model = builders.get_compression_model(cfg) File "/app/audiocraft/models/builders.py", line 82, in get_compression_model frame_rate=frame_rate, renormalize=renormalize, **kwargs).to(cfg.device) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1340, in to return self._apply(convert) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) [Previous line repeated 2 more times] File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 927, in _apply param_applied = fn(param) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1326, in convert return t.to( File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 319, 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 Traceback (most recent call last): File "/app/app.py", line 231, in <module> demo.queue(max_size=32).launch() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2707, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Container logs:
Fetching error logs...