Hugging Face's logo
filapro
/
Runtime error

runtime error

Exit code: 1. Reason: n2==0.6 from file:///home/user/app/MaskClustering/third_party/detectron2 (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457 Running setup.py develop for detectron2 Successfully installed absl-py-2.3.1 black-25.12.0 cloudpickle-3.1.2 detectron2 grpcio-1.76.0 iopath-0.1.9 markdown-3.10 mypy-extensions-1.1.0 pathspec-0.12.1 pycocotools-2.0.11 pytokens-0.3.0 tensorboard-2.20.0 tensorboard-data-server-0.7.2 [notice] A new release of pip is available: 25.2 -> 25.3 [notice] To update, run: pip install --upgrade pip ⚠️ Skipping ALL CUDA compilation in ZeroGPU environment ℹ️ MSDeformAttn and other CUDA ops will run in fallback CPU mode ✅ All dependencies installed (CUDA compilation SKIPPED)! 🔄 Restarting application... 🚀 Starting GPU application... SPACES_ZERO_GPU_DEBUG self.arg_queue._writer.fileno()=5 SPACES_ZERO_GPU_DEBUG self.res_queue._writer.fileno()=7 Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 143, in worker_init torch.init(nvidia_uuid) File "/usr/local/lib/python3.10/site-packages/spaces/zero/torch/patching.py", line 402, in init torch.Tensor([0]).cuda() File "/usr/local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 314, in _lazy_init torch._C._cuda_init() RuntimeError: CUDA driver initialization failed, you might not have a CUDA gpu. Traceback (most recent call last): File "/home/user/app/app.py", line 143, in <module> run_app() File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 217, in gradio_handler raise error("ZeroGPU worker error", res.error_cls) gradio.exceptions.Error: 'RuntimeError'

Container logs:

Fetching error logs...