Skip to content

Switch model

Each host serves one model at a time. To benchmark Qwen3-ASR-0.6B as well as 1.7B, switch every host, then run the benchmark again.

On each inference host:

sudo sed -i 's|^MODEL=.*|MODEL=Qwen/Qwen3-ASR-0.6B|' /etc/snap-asr-bench/vllm.env
sudo systemctl restart vllm
journalctl -u vllm -f      # wait until the server is ready
curl -s localhost:8000/v1/models | jq -r '.data[].id'

Re-running a make install-* target restores MODEL from the repository's env files. To make the switch permanent, set MODEL in the host's deploy/<platform>/<host>.local.env (for example deploy/trn2/trn2.local.env) and reinstall. The install steps append that file to the shipped env file, and its values win.

The client takes the model from /v1/models and logs it on every stream event, so no client change is needed unless model is set in the targets file. On bench runs, a --run-id that names the model makes runs easier to tell apart. On-host runs set their own run ID, so don't pass --run-id there. Tell the models apart by the model field on each event.

trn2 and 0.6B

The vllm-neuron fork only documents 1.7B. The 0.6B model has different dimensions, so expect a fresh compile, and its kernels and buckets are untested.

Switch back the same way with MODEL=Qwen/Qwen3-ASR-1.7B.