Seatalm commited on
Commit
5d4258e
·
verified ·
1 Parent(s): 40772ba

Add DP3 environment requirements

Browse files
Docker/requirements/requirements-dp3.txt ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RoboTwin DP3 environment
2
+ # Verified against container: robotwin-dp3-pi05-test
3
+ # Platform: Ubuntu 22.04 x86_64, Python 3.10
4
+ # GPU stack used in the container: Torch 2.6.0+cu124, CUDA toolkit 12.4,
5
+ # NVIDIA driver 570.158.01, GCC/G++ 11.4.
6
+ #
7
+ # System packages required before pip installation:
8
+ # sudo apt-get update
9
+ # sudo apt-get install -y git build-essential gcc-11 g++-11 ninja-build \
10
+ # libgl1 libglib2.0-0 libsm6 libxext6 libxrender1 ffmpeg
11
+ #
12
+ # PyTorch3D is compiled against PyTorch/CUDA, so install in this order from
13
+ # RoboTwin/policy/DP3:
14
+ # python3.10 -m venv .venv
15
+ # source .venv/bin/activate
16
+ # python -m pip install --upgrade pip setuptools wheel
17
+ # python -m pip install --extra-index-url https://download.pytorch.org/whl/cu124 \
18
+ # torch==2.6.0+cu124 torchvision==0.21.0+cu124
19
+ # python -m pip install ninja
20
+ # python -m pip install \
21
+ # "pytorch3d @ git+https://github.com/facebookresearch/pytorch3d.git@v0.7.8"
22
+ # python -m pip install -r requirements-dp3.txt
23
+ #
24
+ # Building PyTorch3D requires a local CUDA 12.4 toolkit (nvcc), not merely an
25
+ # NVIDIA driver. The container used a custom cp310 Linux wheel for PyTorch3D.
26
+
27
+ --extra-index-url https://download.pytorch.org/whl/cu124
28
+
29
+ torch==2.6.0+cu124
30
+ torchvision==0.21.0+cu124
31
+
32
+ numpy==1.26.4
33
+ scipy==1.15.3
34
+ numba==0.65.1
35
+ einops==0.8.2
36
+ diffusers==0.38.0
37
+ hydra-core==1.2.0
38
+ omegaconf==2.3.1
39
+ antlr4-python3-runtime==4.9.3
40
+ PyYAML==6.0.3
41
+ wandb==0.27.2
42
+ tqdm==4.68.2
43
+ termcolor==3.3.0
44
+ dill==0.4.1
45
+ h5py==3.16.0
46
+ zarr==2.18.3
47
+ numcodecs==0.13.1
48
+ opencv-python==4.11.0.86
49
+ Pillow==11.3.0
50
+ imageio==2.34.2
51
+ matplotlib==3.10.9
52
+ pandas==2.3.3
53
+ scikit-learn==1.7.2
54
+ psutil==7.2.2
55
+ huggingface-hub==0.36.2
56
+ fvcore==0.1.5.post20221221
57
+ iopath==0.1.10
58
+ tabulate==0.10.0
59
+ pybind11==3.0.4
60
+
61
+ # RoboTwin simulation/evaluation dependencies used with DP3.
62
+ sapien==3.0.0b1
63
+ mplib==0.2.1
64
+ gymnasium==0.29.1
65
+ open3d==0.18.0
66
+ trimesh==4.4.3
67
+ transforms3d==0.4.2
68
+ pymunk==7.2.0
69
+ shapely==2.1.2
70
+
71
+ # Local DP3 package; run installation from RoboTwin/policy/DP3.
72
+ -e ./3D-Diffusion-Policy