SP-TransientBench / codes /reconstruction /setup_environment.sh
shuinb's picture
Add files using upload-large-folder tool
e4b121b verified
Raw History Blame Contribute Delete
569 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
python3.12 -m venv experiments/.venv
source experiments/.venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install torch==2.9.1 torchvision==0.24.1 torchaudio==2.9.1 --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements-reproduction.txt
pip install torch-scatter==2.1.2 --no-build-isolation --no-binary torch-scatter
tar -xzf dependencies/tiny-cuda-nn.tar.gz -C dependencies
pip install ./dependencies/tiny-cuda-nn/bindings/torch --no-build-isolation
python relocate.py