benchmark_train.sh 430 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. # Script to benchmark single-GPU training performance, with bases precomputation
  3. # CLI args with defaults
  4. BATCH_SIZE=${1:-240}
  5. AMP=${2:-true}
  6. CUDA_VISIBLE_DEVICES=0 python -m se3_transformer.runtime.training \
  7. --amp "$AMP" \
  8. --batch_size "$BATCH_SIZE" \
  9. --epochs 16 \
  10. --use_layer_norm \
  11. --norm \
  12. --save_ckpt_path model_qm9.pth \
  13. --task homo \
  14. --precompute_bases \
  15. --seed 42 \
  16. --benchmark