mstar serve prints its banner before the server can accept a request. Run this in another terminal. When the deployment is ready, it prints {"status":"healthy"}.
Follow startup in the logs
- The launcher resolves the deployment YAML and checks for a usable
mstar-serverbinary. - The conductor validates the deployment and starts one worker per rank.
- Workers load model weights, compile forwards and capture graphs for the configured shapes.
All workers readymarks completion of worker setup. - The server runs any
warmup_requests, then starts the HTTP frontend. Look for its listening address.
/health indicates a problem with the serving process or its backend. Check the launcher and worker logs. Health response details
Estimate startup time
On one H200, BAGEL at-O1 took 516 seconds from launch to the first successful /health with downloaded weights and an empty compile cache. A restart with the compile cache warm took 68 seconds. Include storage and CPU allocation when setting startup timeouts.
Choose a compile level
For a development restart, usemstar serve qwen3_5_0.8b -O0. -O0 uses the default compiler mode, -O1 enables coordinate-descent tuning, and -O2 adds GEMM autotuning. A model can select its own compile mode for specific forwards. Each level has separate cache entries. With mstar-serve, set MSTAR_COMPILE_LEVEL. CLI reference
Warm the request shapes clients will use
List representative requests underwarmup_requests in the YAML. A request can set text, files (local or hf:// paths), output_modalities, model_kwargs and repeat. A failed warmup logs an error and is skipped. Read the log and send one request for your actual workload before timing it.
Reuse compiled kernels
Keep these directories on writable persistent storage. The conductor logs the resolved Inductor and Triton paths at startup.XDG_CACHE_HOME defaults to ~/.cache. In a container with a persistent /cache mount, set the paths before starting the server:
ptxas change, choose a fresh cache or change TORCH_COMPILE_CACHE_KEY_TAG. On a shared filesystem, copy a matching warm cache to node-local storage at job start. Changing HF_HOME alone moves the weights, not the compiled kernels.