c154c94c6d
Mirror gpu-lab compose files and model-manager catalog from GPU-Dev; document Dockhand mapping and SGLang cutover target.
8 lines
300 B
Bash
Executable File
8 lines
300 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Activate a model via GPU Lab API (run on VM303 or with curl to :9000)
|
|
set -euo pipefail
|
|
MODEL_ID="${1:?Usage: activate-model.sh <model-id>}"
|
|
curl -sf -X POST "http://127.0.0.1:9000/api/activate/${MODEL_ID}"
|
|
echo
|
|
curl -sf "http://127.0.0.1:8010/v1/models" | python3 -m json.tool
|