Skip to main content
Set deployment-wide variables before starting the server. Most placement, batching and capacity settings belong in the deployment YAML. For a configuration knob with an environment override, an explicitly set variable takes precedence.

HTTP, authentication and tokenization

Read in the API server process that mstar-serve starts, whichever frontend serves HTTP.

Rust frontend and remote media

Read by mstar-server, the default HTTP frontend (see Installation).

Request media

The data worker validates these limits on startup. They apply across all files in one request. A request over a limit receives HTTP 400.

Communication

Models

Per-model knobs, read when the model or its submodule is built.

Compilation

Worker scheduling

Set by the launcher

These values describe one launch. The launcher supplies them to its child processes.

Tests and debugging

MSTAR_SIM and the MSTAR_SIM_* variables belong to python -m mstar_sim, a Linux-only simulator in the checkout that runs M* on emulated GPUs for correctness tests. Its flags set them; mstar_sim/README.md describes the rest.