Download env/SE3Transformer/scripts/benchmark_train_multi_gpu.sh from GlandVergil/RFdiffusion: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/GlandVergil/RFdiffusion/resolve/refs%2Fpr%2F2/env/SE3Transformer/scripts/benchmark_train_multi_gpu.sh
- Command line
-
hf download hf://GlandVergil/RFdiffusion@refs/pr/2/env/SE3Transformer/scripts/benchmark_train_multi_gpu.sh
-
curl -L -o benchmark_train_multi_gpu.sh https://huggingface.co/GlandVergil/RFdiffusion/resolve/refs%2Fpr%2F2/env/SE3Transformer/scripts/benchmark_train_multi_gpu.sh
489 Bytes
| # Script to benchmark multi-GPU training performance, with bases precomputation | |
| # CLI args with defaults | |
| BATCH_SIZE=${1:-240} | |
| AMP=${2:-true} | |
| python -m torch.distributed.run --nnodes=1 --nproc_per_node=gpu --max_restarts 0 --module \ | |
| se3_transformer.runtime.training \ | |
| --amp "$AMP" \ | |
| --batch_size "$BATCH_SIZE" \ | |
| --epochs 6 \ | |
| --use_layer_norm \ | |
| --norm \ | |
| --save_ckpt_path model_qm9.pth \ | |
| --task homo \ | |
| --precompute_bases \ | |
| --seed 42 \ | |
| --benchmark | |