Julien Blanchon commited on
Commit
6ce7ae9
·
1 Parent(s): 5d33f7a
Files changed (1) hide show
  1. requirements.txt +9 -8
requirements.txt CHANGED
@@ -9,15 +9,16 @@ pyyaml>=6.0.2
9
  gradio>=5.49.1
10
  huggingface_hub>=0.24.0
11
  spaces>=0.28.0
12
- torchmetrics>=1.8.2
13
 
14
- # Note: torch and torchvision are pre-installed by HuggingFace Spaces
15
- # DO NOT specify them here or you'll overwrite the correct version
 
 
 
16
 
17
- # Pre-built wheels compatible with HuggingFace Spaces PyTorch
18
- # Spaces pre-installs torch==2.8.0 (PyPI version) - using 2.7.0 wheel (closest available, should be ABI compatible)
19
- # Python 3.10 (cp310), Linux x86_64, CUDA 12.8
20
- fused_ssim @ https://miropsota.github.io/torch_packages_builder/fused-ssim/fused_ssim-0.0.1%2Bb4fd832pt2.7.0cu128-cp310-cp310-linux_x86_64.whl
21
- gsplat @ https://huggingface.co/blanchon/image-gs-models-utils/resolve/main/gsplat-0.1.0+torch2.6-cp310-cp310-linux_x86_64.whl
22
 
23
 
 
9
  gradio>=5.49.1
10
  huggingface_hub>=0.24.0
11
  spaces>=0.28.0
 
12
 
13
+ # PyTorch with CUDA 12.4 support (install first for compatibility)
14
+ --extra-index-url https://download.pytorch.org/whl/cu124
15
+ torch==2.6.0
16
+ torchvision==0.21.0
17
+ torchmetrics>=1.8.2
18
 
19
+ # Pre-built wheels from HuggingFace (PyTorch 2.6.0 + CUDA 12.4)
20
+ # Built for Python 3.10 (cp310) - compatible with HuggingFace Spaces Gradio SDK
21
+ fused_ssim @ https://huggingface.co/blanchon/image-gs-models-utils/resolve/main/fused_ssim-0.0.1%2Bb4fd832pt2.6.0cu124-cp310-cp310-linux_x86_64.whl
22
+ gsplat @ https://huggingface.co/blanchon/image-gs-models-utils/resolve/main/gsplat-0.1.0-cp310-cp310-linux_x86_64.whl
 
23
 
24