File size: 385 Bytes
6dd317e
 
 
9c912d7
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -e

# 1) Upgrade pip itself
python3 -m pip install --upgrade pip

# 2) Install PyTorch FIRST (CPU‐only here; switch to +cu118 for GPU)
python3 -m pip install \
    torch==2.0.1+cpu \
    --extra-index-url https://download.pytorch.org/whl/cpu

# 3) Now install everything else (this includes torchmcubes --no-binary)
python3 -m pip install -r requirements.txt