Vo Minh Vu
Update setup.sh
9c912d7
raw
history blame contribute delete
385 Bytes
#!/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