-
Notifications
You must be signed in to change notification settings - Fork 141
/
Copy pathinstall_cu118.sh
executable file
·35 lines (26 loc) · 1.06 KB
/
install_cu118.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# install torch 2.3.0
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118
pip install -U xformers==0.0.26.post1 --index-url https://download.pytorch.org/whl/cu118
# install dependencies
pip install -r requirements.txt
# install from source code to avoid the conflict with torchvision
pip uninstall basicsr -y
pip install git+https://github.com/XPixelGroup/BasicSR
cd ..
# install pytorch3d
pip install "git+https://github.com/facebookresearch/pytorch3d.git"
# install sam2
pip install git+https://github.com/hitsz-zuoqi/sam2/
# or
# git clone --recursive https://github.com/hitsz-zuoqi/sam2
# pip install ./sam2
# install diff-gaussian-rasterization
pip install git+https://github.com/ashawkey/diff-gaussian-rasterization/
# or
# git clone --recursive https://github.com/ashawkey/diff-gaussian-rasterization
# pip install ./diff-gaussian-rasterization
# install simple-knn
pip install git+https://github.com/camenduru/simple-knn/
# or
# git clone https://github.com/camenduru/simple-knn.git
# pip install ./simple-knn