Spaces:
Build error
Build error
Download scripts/exp/run_4gpu.sh from nebissoftware/LAM: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/nebissoftware/LAM/resolve/main/scripts/exp/run_4gpu.sh
- Command line
-
hf download hf://spaces/nebissoftware/LAM/scripts/exp/run_4gpu.sh
-
curl -L -o run_4gpu.sh https://huggingface.co/spaces/nebissoftware/LAM/resolve/main/scripts/exp/run_4gpu.sh
422 Bytes
| ACC_CONFIG="./configs/accelerate-train-4gpu.yaml" | |
| TRAIN_CONFIG="./configs/train-sample-human.yaml" | |
| if [ -n "$1" ]; then | |
| TRAIN_CONFIG=$1 | |
| else | |
| TRAIN_CONFIG="./configs/train-sample-human.yaml" | |
| fi | |
| if [ -n "$2" ]; then | |
| MAIN_PORT=$2 | |
| else | |
| MAIN_PORT=12345 | |
| fi | |
| accelerate launch --config_file $ACC_CONFIG --main_process_port=$MAIN_PORT -m openlrm.launch train.human_lrm --config $TRAIN_CONFIG |