runtime error
Exit code: 1. Reason: š§ Setting up MM packages with CUDA extensions... š¦ Installing mmengine... ā mmengine installed š¦ Installing mmcv with CUDA extensions... (reason: No module named 'mmcv') /usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py:1007: UserWarning: Can't initialize NVML raw_cnt = _raw_device_count_nvml() Detected: PyTorch 2.10, CUDA tag: cpu Wheel index: https://download.openmmlab.com/mmcv/dist/cpu/torch2.10/index.html ā mmcv installed š¦ Installing mmdet... ā mmdet installed š Verifying mmcv extensions... ā ļø Warning: mmcv extensions may not be fully loaded: No module named 'mmcv._ext' Traceback (most recent call last): File "/home/user/app/app.py", line 140, in <module> import spaces File "/usr/local/lib/python3.10/site-packages/spaces/__init__.py", line 17, 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...