Repository navigation
644 merged PRs from 20 contributors since 0.2.1 in September.
pip install -U mstar-aiHighlights
- 26 new models across language, speech, image, video and robotics.
- A Rust server and runtime. HTTP and the graph runtime now run in Rust, which cuts CPU overhead on every step.
- The state-engine contract. A model declares the state it keeps across steps, such as KV caches and recurrent state, and the engine decides how to store it. Model code no longer depends on how its state is stored (data independence), and an engine feature can be written once for every model instead of once per kind of state. 27 of 36 model packages are on it, and new models must be.
- Chunked prefill, context parallelism and sequence parallelism for long prompts.
- Prefix caching. Repeated prompts, including ones with images, skip prefill.
- Admission control and preemption. When the KV cache fills up, new requests wait and preemptible ones are recomputed later.
- Realtime voice.
/v1/realtimeserves live transcription and full-duplex conversations. - LoRA. Serve many adapters on one base model, and add or remove them while the server runs.
Breaking changes
- The HTTP server is now Rust.
mstar serverunsmstar-server. Pass--python-frontendto use the old Python server. - The Rust extension is required. The Linux wheels on PyPI include it. From a source checkout, run
maturin develop --release -m rust/Cargo.toml. - Unknown parameters are errors. Request fields and server flags that 0.2.1 silently ignored now fail with a message saying why.
- Sampling means the same thing on every model. Some models sample differently for the same request.
max_output_tokensis exact. A reply stops at the limit, not one token past it.- torch 2.10 or newer.
New models
Language and vision
- Qwen3.5 (0.8B to 27B) and Qwen3.8-27B: vision-language models, now with video input
- Muse Glimmer 30B: Meta's agentic vision-language model
- GLM-5.2 and GLM-5.3-Flash: large fp8 MoE models on 8 GPUs, with MTP drafting
- Command A+: Cohere's 218B MoE for text and image chat
- Ripple-65B Preview: Ricursive's 65B language model
- Phi-4-multimodal: text, image and audio in, text out
Voice and speech
- MiniCPM-o 4.5: text, image and audio in, text and speech out
- Nemotron VoiceChat 11B: full-duplex voice conversations
- Qwen3-TTS 1.7B: built-in voices, voice design and voice cloning
- Chatterbox, Chatterbox Multilingual and Chatterbox Turbo: voice cloning in up to 23 languages
- Fish Audio S2-Pro, CosyVoice3 and VoxCPM2: streaming voice cloning
- OmniVoice: multilingual voice cloning
- Kokoro-82M: a small TTS model with 54 voices
Speech recognition
- Whisper large-v3-turbo, with Whisper large-v3 now out of Beta
- Qwen3-ASR 1.7B and 0.6B: 30 languages, with live transcription on 0.6B
- Omnilingual ASR: 1,600+ languages
- Canary, Canary-Qwen, Parakeet and Nemotron ASR: NVIDIA's speech recognition models
Image, video and world models
- FLUX.2 klein 4B and 9B: 4-step image generation and editing
- Z-Image-Turbo: 8-step text-to-image
- LTX-2.5 and MiniMax-H3: video with sound
- Cosmos3-Edge: NVIDIA's 480p world model with a built-in reasoner
- Waypoint-1.5 and LingBot-World-V2: interactive world models you steer live
- Pi0.5 DROID: a robot policy that openpi's clients connect to unchanged
What's changed
Long prompts and parallelism
- Chunked prefill: a long prompt is prefilled in chunks that share steps with requests that are decoding, at TP > 1 and with streaming too.
- Context parallelism: a long prompt's KV cache is split by position across GPUs, with all-gather or ring attention.
- Sequence parallelism: a prefill's attention is split across GPUs with Ulysses, including recurrent and sliding-window layers. The Wan2.2 and LTX-2.5 DiTs use it too.
- CFG parallelism gets its own GPU axis, so guidance branches combine with TP and SP.
- Expert parallelism for MoE models.
- TP runs with async scheduling by default.
Serving
- Prefix caching works across requests, past images, and at TP > 1, with host memory for pages evicted from the GPU.
- When the KV cache fills up, new requests wait, and preemptible requests free their memory and are recomputed later. Guaranteed requests stay on the GPU.
- Sliding-window attention keeps only the window's KV pages.
- KV-aware routing across data-parallel replicas.
API
/v1/realtimewith server and semantic turn detection.- Client streams: send live audio into a running request, for full-duplex models.
/v1/audio/transcriptionsand/v1/audio/voices./generateover a WebSocket, for robot control loops and live input.- Log-probs on
/generate, and token usage in chat completions. - An optional API key (
--api-key). - Prometheus metrics at
/metrics(--enable-metrics), with a ready-made Grafana dashboard. - A LiveKit voice agent example: speech-to-text, LLM and text-to-speech, all on M*.
Performance and hardware
- For many models, decode steps are planned on the GPU instead of the host.
- Faster paths for many models, such as Qwen3-TTS's depth loop as one GPU kernel and a 2.3x faster streaming Wan VAE decode.
- Tuned kernels for Blackwell GPUs, and opt-in MXFP8 and NVFP4 for FLUX.2 klein and Z-Image.
- BAGEL on Intel GPUs, and groundwork for AMD GPUs.
- Restarts start warm from a kept compile cache.
State-engine contract
- A model declares each piece of state it keeps across steps (KV caches, recurrent state, sliding windows) by its shape, the dtype its math needs, and which earlier entries each read can see. It touches that state only through
add,replaceandread. - Data independence. A declaration says nothing physical. The engine owns layout, precision and placement, and whether to keep, move or recompute state, so those can change without touching model code.
- Engine feature reuse. Before this, a model's features depended on which class held its state: Qwen3.5's KV had prefix caching, offload and transfer, and Waypoint's had none. With every model's state in one vocabulary, a feature such as prefix caching, offload or preemption can be written once and reach every model.
- This release lands the model side and CI refuses a new model that isn't. The engine side, where features are written once, comes next. The Adding a New Model guide walks through it.
Reliability and security
- Over a hundred bug fixes. Requests that used to hang or vanish now fail with an error, a refused admit no longer strands requests, and one failing request no longer takes down its batch.
Contributors
Thank you to all 20 contributors: @arun-elr, @NSagan271, @merceod, @dghosef, @Gaurav-Shah05, @vasilevklart, @stephen-dwq, @rohansanda, @nick-rui, @yao-matrix, @kasikci, @banparth, @JulianTang2027, @dhasteer, @LuYuan-Zjyy, @omkul22, @Hert4, @Harsh23Kashyap, @garv901 and @Achuthantm.
New Contributors
- @JulianTang2027 made their first contribution in #265
- @Hert4 made their first contribution in #249
- @nick-rui made their first contribution in #314
- @garv901 made their first contribution in #251
- @arun-elr made their first contribution in #407
- @Harsh23Kashyap made their first contribution in #423
- @Achuthantm made their first contribution in #844
- @banparth made their first contribution in #863
- @omkul22 made their first contribution in #879
- @LuYuan-Zjyy made their first contribution in #1177
- @dhasteer made their first contribution in #1369
Full changelog: v0.2.1...v0.3.0