- Add pre-built fused_ssim wheel to avoid compilation in Docker
- Update pyproject.docker.toml to use both gsplat and fused_ssim wheels
- Download both wheels in Dockerfile for zero-compilation build
- Regenerate uv.docker.lock with both wheel dependencies
- This eliminates all CUDA compilation during Docker build (fixes exit code 137)
Fix Docker lock file: use wheel-compatible dependency resolution
Julien Blanchon
b9831db
- Generate uv.docker.lock with wheel-based gsplat dependency
- Update Dockerfile to use Docker-specific lock file
- This resolves 'Distribution not found at: file:///home/user/app/gsplat' error
- Lock file now matches the wheel path used in pyproject.docker.toml
Fix PyTorch version compatibility for gsplat wheel
Julien Blanchon
5ff35c9
- Pin PyTorch to exact version 2.6.0 and torchvision to 0.21.0 in Docker config
- Copy uv.lock to ensure exact dependency versions match local environment
- Use --frozen flag to prevent version drift during Docker build
- Rebuild and upload gsplat wheel with matching PyTorch 2.6.0+cu124
- This fixes undefined symbol errors from PyTorch version mismatches
Fix C++ ABI compatibility: compile gsplat in Docker with exact PyTorch version
Julien Blanchon
7ef6474
- Revert to source compilation in Docker to ensure PyTorch version compatibility
- Use single GPU architecture (8.0 for A100) to minimize memory usage
- Remove debug logging (tensor type issues are fixed)
- This fixes undefined symbol errors caused by PyTorch version mismatch
- Compile with exact same PyTorch version as runtime environment
Final optimization: use pre-built wheel with correct GPU architectures
Julien Blanchon
9f5e222
- Built gsplat wheel locally with TORCH_CUDA_ARCH_LIST='7.5;8.0;8.6' for HF Spaces
- Uploaded optimized wheel to blanchon/image-gs-models-utils repository
- Simplified Dockerfile to download wheel (no compilation in Docker)
- Use direct .venv/bin/python execution for fastest startup
- This avoids both memory issues and CUDA kernel compatibility problems
Optimize Docker build to avoid OOM during compilation
Julien Blanchon
9d70bb5
- Reduce CUDA architectures to essential ones (7.5, 8.0, 8.6) for HF Spaces
- Set MAX_JOBS=1 to limit parallel compilation and reduce memory usage
- This should prevent exit code 137 (killed due to memory limits)
- Covers T4 (7.5), A100 (8.0), and A10G (8.6) GPUs commonly used in HF Spaces
Fix uv Docker workflow: copy gsplat before sync, then rebuild
Julien Blanchon
a6aff69
- Copy gsplat source before uv sync to resolve dependencies
- Use uv sync to install all dependencies including source gsplat
- Build optimized wheel and force-reinstall it for target GPU architecture
- This ensures GPU compatibility while using proper uv workflow
Fix Docker build: use proper uv commands following best practices
Julien Blanchon
9e3c016
- Use 'uv sync --no-install-project' to install dependencies first
- Use 'uv run python setup.py bdist_wheel' for compilation with proper environment
- Use 'uv sync --no-dev' for final project installation
- Use 'uv run python' for execution (packages already installed, no reinstall)
- Follows uv Docker integration best practices
Build gsplat wheel directly in Docker for GPU architecture compatibility
Julien Blanchon
c34e5f6
- Build gsplat wheel in Docker with target GPU architectures (6.0-9.0)
- Install PyTorch first, then compile gsplat for the specific environment
- Set TORCH_CUDA_ARCH_LIST for broad GPU compatibility in HF Spaces
- This fixes 'no kernel image is available for execution on the device' error
- Ensures CUDA kernels match the actual GPU hardware available
Fix CUDA tensor type error: radii should be float32, not int32
Julien Blanchon
6f11a19
- Debug output revealed radii=torch.int32 when it should be torch.float32
- Convert radii back to float32 after project_gaussians_2d_scale_rot
- Keep num_tiles_hit as int32 as required
- Apply fix to both main forward() and Gaussian ID visualization
- Based on debug: xy=float32✅, radii=int32❌, conics=float32✅, num_tiles_hit=int32✅, feat=float32✅
Add debug logging and fix Docker venv setup
Julien Blanchon
090544c
- Add debug logging to identify which tensor has wrong type in CUDA call
- Fix Dockerfile to use proper venv instead of uv run (avoids package reinstalls)
- Use direct .venv/bin/python execution for faster startup
- This should prevent fused-ssim reinstallation on every launch
Fix CUDA tensor type error: convert num_tiles_hit to int32
Julien Blanchon
604a6c7
- Convert num_tiles_hit tensor to int32 dtype after project_gaussians_2d_scale_rot
- The CUDA backend nd_rasterize_forward_topk_norm expects Int tensor but was receiving Float
- Apply fix to both main forward() and Gaussian ID visualization
- Based on exact traceback showing error in _C.nd_rasterize_forward_topk_norm
Fix CUDA tensor type error: explicit int casting for all gsplat parameters
Julien Blanchon
de1ddad
- Cast block_h, block_w to int() in rasterize_gaussians_sum calls
- Use direct function calls instead of tuple unpacking for better type control
- This should fix the 'expected scalar type Int but found Float' error in CUDA backend
- Based on traceback showing error in _C.nd_rasterize_forward_topk_norm
Ignore remaining binary paths (HF blocked)
Julien Blanchon
53f5edd
Ignore large binary files
Julien Blanchon
e5857f4
Move binaries to Git LFS
Julien Blanchon
2398fdd
traceback
Julien Blanchon
1ab70ec
Fix tensor type mismatch: ensure int types for CUDA operations
Julien Blanchon
e4c4055
- Cast tile_bounds components to int() to avoid Float/Int type mismatch
- Cast img_h, img_w to int() in all gsplat function calls
- Cast dimensions in tensor.view() operations to int()
- This fixes 'expected scalar type Int but found Float' error in Docker environment
Fix runtime gsplat path issue
Julien Blanchon
6dddb70
- Ensure pyproject.docker.toml is used at runtime by copying it after main files
- This fixes the 'Distribution not found at: file:///home/user/app/gsplat' error
- Runtime will now use the correct wheel-based configuration
Implement optimized Docker deployment with pre-built wheel
Julien Blanchon
99943dd
- Create pyproject.docker.toml for Docker-specific dependencies using pre-built wheel
- Keep pyproject.toml for local development using source gsplat
- Dockerfile downloads gsplat wheel from HF models repo during build
- Add automatic model downloading from blanchon/image-gs-models-utils
- No binary files in git repository - everything downloaded during build
- Much faster Docker builds with pre-compiled CUDA extensions
Deploy optimized Image-GS with dynamic dependencies
Julien Blanchon
d62394f
- Pre-built gsplat wheel stored in blanchon/image-gs-models-utils
- Models automatically downloaded from HF models repository
- Dynamic installation of gsplat wheel at runtime
- Optimized Docker build without CUDA compilation
- Clean repository without binary files