Skip to main content
Start a 0.3.0 server alongside your existing deployment. Check its native binaries, send one representative request through each route you use, then compare the results. The release notes record the release-wide changes.

Install the native runtime

0.3.0 ships Linux wheels for CPython 3.12–3.14 on x86-64 and aarch64. The server requires both mstar_rust and mstar-server. A separate virtual environment avoids mixing the wheel with an older editable build or another inference engine’s dependency pins.
For this release the extension reports 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:
If you installed via 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 in request_kwargs(). Return per-request resource settings from get_request_resource_configs(). Worker-local state uses fwd_info.rid_handle.
  • Use PagedKVConfig or RingKVConfig for KV storage. Rename SamplerSpec.enable_repetion_penalty to enable_repetition_penalty.
  • Rename the cuda_graph_config and cuda_graph_runner modules and CudaGraphConfig and get_cuda_graph_configs symbols to their accelerator-graph counterparts. Use capture_batch_sizes=None for the defaults. An empty list disables capture for that config.
  • Put plain data in request metadata. Send tensors through tensor inputs.