Download src/InternVLA-M1/scripts/deploy_internvla.sh from Tinghong-Ye22/code-Psi0-yth-v21: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/src/InternVLA-M1/scripts/deploy_internvla.sh
- Command line
-
hf download hf://Tinghong-Ye22/code-Psi0-yth-v21/src/InternVLA-M1/scripts/deploy_internvla.sh
-
curl -L -o deploy_internvla.sh https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v21/resolve/main/src/InternVLA-M1/scripts/deploy_internvla.sh
517 Bytes
| # source .venv/bin/activate | |
| export CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-0} | |
| export TORCH_HOME=$TORCH_HOME # e.g. /hfm/user/torch_cache | |
| export HF_HOME=$HF_HOME # e.g. /hfm/user/torch_cache/huggingface | |
| export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True | |
| source .venv/bin/activate | |
| echo "Training with $nprocs GPUs, which is/are $CUDA_VISIBLE_DEVICES" | |
| python InternVLA/deploy/internvla_serve.py \ | |
| --host 0.0.0.0 \ | |
| --port 8014 \ | |
| --checkpoint-path $CHECKPOINT_PATH # e.g. .../***.pt |