Install the native runtime
0.3.0 ships Linux wheels for CPython 3.12–3.14 on x86-64 and aarch64. The server requires bothmstar_rust and mstar-server. A separate virtual environment avoids mixing the wheel with an older editable build or another inference engine’s dependency pins.
0.2.0. If you installed the generic 0.3.0 wheel between 02:04 and 02:45 UTC on 2026-11-30, reinstall the same version on a supported Linux platform using uv pip install --reinstall-package mstar-ai 'mstar-ai[bagel]==0.3.0' --torch-backend=auto. For an editable installation, build both Rust components.
For an in-place upgrade, keep the extras your deployment uses. For an existing all installation run:
mstar-serve or mstar-project, upgrade mstar-ai itself. A separate mstar-rust distribution can shadow the wheel’s extension. Uninstall that distribution or rebuild it from the matching revision.
Check clients
- Send files as uploads or
data:URLs. Remote image and audio URLs require server-side opt-in. See request and media limits. - Send form fields to
/generate. Check a streaming request’s HTTP status before consuming its body. Unsupported OpenAI fields and invalid generation parameters can now produce a 400. HTTP routes · Generation parameters - Read streamed PCM as raw 16-bit samples. Request WAV if the reader needs a header. Long transcriptions use parallel windows by default. Whisper can request sequential decoding, and Qwen3-ASR can set its window length. Speech recognition
- Match a server fault to its error ID in the server log. Applications should branch on the status code. Internal exception text stays on the server.
Compare output
Use your own representative prompts. Pin sampling settings if you depended on the old defaults. Most models pick up defaults from the checkpoint. Disable prefix reuse for a comparison that requires the same computation.Update deployment settings
List the ranks of each lockstep group in ascending order. Drop a non-null
autocast_dtype for models that run without autocast.
Port an external model package
Use the model porting guide and the state contract to check one graph walk before loading weights.- Declare state and implement
walk_plan. Declare recognized model-specific key names inrequest_kwargs(). Return per-request resource settings fromget_request_resource_configs(). Worker-local state usesfwd_info.rid_handle. - Use
PagedKVConfigorRingKVConfigfor KV storage. RenameSamplerSpec.enable_repetion_penaltytoenable_repetition_penalty. - Rename the
cuda_graph_configandcuda_graph_runnermodules andCudaGraphConfigandget_cuda_graph_configssymbols to their accelerator-graph counterparts. Usecapture_batch_sizes=Nonefor the defaults. An empty list disables capture for that config. - Put plain data in request metadata. Send tensors through tensor inputs.