Skip to content

Commit d482e8f

Browse files
temp
1 parent 239fc9b commit d482e8f

File tree

4 files changed

+778
-3
lines changed

4 files changed

+778
-3
lines changed

remote_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd tpu-inference
2+
MODEL_IMPL_TYPE=vllm ../vllm_env/bin/python examples/multi_modal_inference.py --model Qwen/Qwen3-VL-8B-Instruct --test-multi-image --max-model-len 8192 --gpu-memory-utilization 0.85 2>&1 | tee output.log

tmp_run.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
gcloud compute tpus tpu-vm scp --recurse tpu_inference muskansh-v6e-1:tpu-inference/ --zone us-central2-b --project tpu-prod-env-one-vm
5+
gcloud compute tpus tpu-vm scp --recurse examples muskansh-v6e-1:tpu-inference/ --zone us-central2-b --project tpu-prod-env-one-vm
6+
7+
cat << 'EOF' > remote_script.sh
8+
cd tpu-inference
9+
MODEL_IMPL_TYPE=vllm ../vllm_env/bin/python examples/multi_modal_inference.py --model Qwen/Qwen3-VL-8B-Instruct --test-multi-image --max-model-len 8192 --gpu-memory-utilization 0.85 2>&1 | tee output.log
10+
EOF
11+
12+
gcloud compute tpus tpu-vm scp remote_script.sh muskansh-v6e-1:tpu-inference/ --zone us-central2-b --project tpu-prod-env-one-vm
13+
gcloud compute tpus tpu-vm ssh muskansh-v6e-1 --zone us-central2-b --project tpu-prod-env-one-vm --command "bash tpu-inference/remote_script.sh"

0 commit comments

Comments
 (0)