runtime error
Exit code: 1. Reason: /usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py:827: UserWarning: Can't initialize NVML warnings.warn("Can't initialize NVML") Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from llamafactory.webui.interface import create_ui File "/usr/local/lib/python3.10/site-packages/llamafactory/webui/interface.py", line 44, in <module> from .engine import Engine File "/usr/local/lib/python3.10/site-packages/llamafactory/webui/engine.py", line 21, in <module> from .runner import Runner File "/usr/local/lib/python3.10/site-packages/llamafactory/webui/runner.py", line 24, in <module> import spaces File "/usr/local/lib/python3.10/site-packages/spaces/__init__.py", line 23, in <module> from .zero.decorator import GPU File "/usr/local/lib/python3.10/site-packages/spaces/zero/__init__.py", line 16, in <module> raise RuntimeError( RuntimeError: CUDA has been initialized before importing the `spaces` package. Try importing `spaces` before any other CUDA-related package.
Container logs:
Fetching error logs...