Spaces:
Runtime error
Runtime error
Commit History
-
Fix apt package: libgl1-mesa-glx -> libgl1 for Debian Trixie
python:3.10-slim now uses Debian Trixie where libgl1-mesa-glx has been replaced by libgl1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c220d72
-
Fix PyTorch install URL: use --extra-index-url for CPU wheels
The -f torch_stable.html URL didn't have the correct CPU wheels. Switch to --extra-index-url https://download.pytorch.org/whl/cpu which is the official way to install PyTorch CPU-only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c6b46e4 -
Fix Dockerfile: extract mmcv.ops shim to separate Python file
Move inline Python code from Dockerfile RUN command into setup_mmcv_shim.py to fix Docker parse errors. Use mmcv lite instead of mmcv-full to avoid C++ compilation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2d204ac -
Fix: inline MMCV_WITH_OPS=0 in RUN + --no-build-isolation
8419b53 -
Use mmcv-full with MMCV_WITH_OPS=0 (skip C++ extension build)
C++ ops (NMS, RoIAlign) are already patched to torchvision in chartdete_infer.py, so no native extensions needed.436b98c -
Switch to Docker SDK for reliable mmcv-full build
Gradio SDK pip install fails with mmcv-full. Docker gives full control over build order: torch first, then mmcv-full pre-built wheel, then remaining deps.fb7addb