jkorstad commited on
Commit
ce90a76
·
verified ·
1 Parent(s): e387b62

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +28 -40
requirements.txt CHANGED
@@ -1,45 +1,33 @@
1
- # PyTorch (UniRig: >=2.3.1)
2
- torch>=2.3.1
3
- torchvision>=0.18.1 # Compatible with torch 2.3.1
4
 
5
- # PyTorch Geometric libraries (for CUDA 12.1, matching PyTorch 2.3.1)
6
- # Ensure the URL is correct and accessible at build time.
7
- # Pip will use this link to find the wheels.
8
- # --find-links is an alternative way to specify this if direct install fails.
9
- torch-scatter -f https://data.pyg.org/whl/torch-2.3.1+cu121.html
10
- torch-cluster -f https://data.pyg.org/whl/torch-2.3.1+cu121.html
11
 
12
- # Spconv (for CUDA 12.1)
13
- # UniRig's instructions: python -m pip install spconv-{you-cuda-version}
14
- # This translates to the package name spconv-cu121 for pip.
15
- spconv-cu121
16
 
17
- # Numpy (UniRig: 1.26.4)
18
- numpy==1.26.4
19
 
20
- # Gradio
21
- gradio>=4.29.0,<5.0.0 # Using a recent Gradio 4.x version
22
 
23
- # Dependencies from UniRig's official requirements.txt
24
- # (https://github.com/VAST-AI-Research/UniRig/blob/main/requirements.txt)
25
- trimesh
26
- scipy
27
- smplx
28
- pyrender
29
- chumpy
30
- opencv-python # UniRig uses this; not headless. Ensure Xvfb etc. from packages.txt are present.
31
- Pillow
32
- pyquaternion
33
- pytorch-lightning # May mostly be for training, but included for UniRig compatibility
34
- hydra-core # Crucial for running UniRig's scripts/modules
35
- # wandb # For experiment tracking, likely not essential for deployed app, can be commented if causing issues
36
- rich # For nice console outputs, used by UniRig scripts
37
- distinctipy
38
- scikit-image
39
- mediapipe
40
-
41
- # Add UniRig itself if installing from a local clone within the Space
42
- # If you place the UniRig cloned repo in the root of your space,
43
- # you can install it in editable mode or add its path.
44
- # For simplicity with Hugging Face Spaces, we'll add its path in app.py
45
- # and rely on its scripts being callable via `python -m`.
 
1
+ # PyTorch (UniRig: >=2.3.1)
2
+ torch>=2.3.1
3
+ torchvision>=0.18.1 # Compatible with torch 2.3.1
4
 
5
+ # PyTorch Geometric libraries (for CUDA 12.1, matching PyTorch 2.3.1)
6
+ torch-scatter -f https://data.pyg.org/whl/torch-2.3.1+cu121.html
7
+ torch-cluster -f https://data.pyg.org/whl/torch-2.3.1+cu121.html
 
 
 
8
 
9
+ # Spconv (for CUDA 12.1)
10
+ spconv-cu121
 
 
11
 
12
+ # Numpy (UniRig: 1.26.4)
13
+ numpy==1.26.4
14
 
15
+ # Gradio (Updated to 5.29.0)
16
+ gradio>=5.29.0,<5.30.0
17
 
18
+ # Dependencies from UniRig's official requirements.txt
19
+ trimesh
20
+ scipy
21
+ smplx
22
+ pyrender
23
+ chumpy
24
+ opencv-python
25
+ Pillow
26
+ pyquaternion
27
+ pytorch-lightning
28
+ hydra-core
29
+ rich
30
+ distinctipy
31
+ scikit-image
32
+ mediapipe
33
+