Spaces:
Build error
Build error
Create unirig_requirements.txt
Browse files- unirig_requirements.txt +47 -0
unirig_requirements.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UniRig Dependencies (to be installed into Blender's Python 3.11)
|
| 2 |
+
|
| 3 |
+
# Numpy (UniRig: 1.26.4)
|
| 4 |
+
numpy==1.26.4
|
| 5 |
+
|
| 6 |
+
# PyTorch (Matching main env for simplicity, ensure compatibility with UniRig >=2.3.1)
|
| 7 |
+
# Install the version compatible with Python 3.11 and CUDA 12.1
|
| 8 |
+
# Example using index-url, adjust if needed
|
| 9 |
+
torch==2.3.1 --index-url https://download.pytorch.org/whl/cu121
|
| 10 |
+
torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cu121
|
| 11 |
+
|
| 12 |
+
# PyTorch Geometric libraries (for CUDA 12.1, Python 3.11)
|
| 13 |
+
# Note the updated URLs for cp311
|
| 14 |
+
torch-scatter -f https://data.pyg.org/whl/torch-2.3.1+cu121/torch_scatter-latest+pt23cu121-cp311-cp311-linux_x86_64.html
|
| 15 |
+
torch-cluster -f https://data.pyg.org/whl/torch-2.3.1+cu121/torch_cluster-latest+pt23cu121-cp311-cp311-linux_x86_64.html
|
| 16 |
+
|
| 17 |
+
# Spconv (for CUDA 12.1 - check compatibility with Python 3.11 if issues arise)
|
| 18 |
+
spconv-cu121
|
| 19 |
+
|
| 20 |
+
# Dependencies from UniRig's official requirements.txt (excluding bpy and flash_attn)
|
| 21 |
+
transformers
|
| 22 |
+
python-box
|
| 23 |
+
einops
|
| 24 |
+
omegaconf
|
| 25 |
+
pytorch_lightning # Or just 'lightning' depending on UniRig's imports
|
| 26 |
+
lightning # Might be redundant if pytorch_lightning is used
|
| 27 |
+
addict
|
| 28 |
+
timm
|
| 29 |
+
fast-simplification
|
| 30 |
+
# flash_attn removed - requires a cp311 wheel for Python 3.11 + cu121 + torch2.3.1
|
| 31 |
+
trimesh
|
| 32 |
+
open3d
|
| 33 |
+
pyrender
|
| 34 |
+
huggingface_hub
|
| 35 |
+
scipy
|
| 36 |
+
smplx
|
| 37 |
+
chumpy
|
| 38 |
+
opencv-python
|
| 39 |
+
Pillow
|
| 40 |
+
pyquaternion
|
| 41 |
+
hydra-core
|
| 42 |
+
rich
|
| 43 |
+
distinctipy
|
| 44 |
+
scikit-image
|
| 45 |
+
mediapipe
|
| 46 |
+
|
| 47 |
+
# NOTE: 'bpy' is provided by Blender's environment, do not list it here.
|