Repository navigation
What's new in v1.1.3
Rapid-MLX 1.1.3 makes Inkling 2 Mini about 40% faster and adds local LoRA fine-tuning with rapid-mlx finetune. It also fixes host checks behind Docker, answers that went missing with thinking turned off, and image and video models that stayed loaded while idle in the desktop app.
Download: Rapid-MLX Desktop for macOS | CLI: rapid-mlx upgrade
Inkling 2 Mini is faster
- Single-stream text generation with
inkling-2-mini-4bitwent from 56 to 80 tokens per second on an M5 Max (400 generated tokens, one request at a time, measured through the server). The work of each generated token now runs in a small number of fused GPU kernels (#5953, #5961, #5962, #5963, #5964, #5965, #5970, #5972, #5974). - The speedup was measured with one request at a time. Some of these optimizations also apply to batched requests, and others need a single request.
- Output quality was checked two ways on the same 4-bit weights. Scored token by token against the previous code path over 47,199 positions, the two agree on the top token 98.75% of the time, with a mean KL divergence of 0.0017 nats and no drift with length. On GPQA Diamond (198 questions, the model's default sampling, up to 40,000 output tokens), two runs with different seeds each scored 85.9%. About 5% of the questions reached the output limit while still reasoning and were counted as wrong. The publisher reports 86.6% for the model.
- Use the model's default sampling settings, which the server applies when a request does not set them. With
temperatureset to 0 this model often repeats itself inside its reasoning until it reaches the token limit.
Known issues with reasoning models, not new in this release: stop strings are also matched against reasoning text, and when a response ends while the model is still reasoning, content repeats the reasoning text.
Fine-tuning
rapid-mlx finetune(aliasrapid-mlx lora) trains a LoRA adapter on your Mac from a JSONL file or a directory withtrain.jsonlandvalid.jsonl. It prints the plan and a memory estimate before it starts and theservecommand for the result when it finishes (#5955). See the fine-tuning guide.rapid-mlx serve MODEL --adapter PATHserves the base model with the adapter, as before. New in this release: dense Qwen3.5 checkpoints such asqwen3.5-9b-4bitandqwen3.5-27b-4bitcan be trained and served this way. With an adapter they serve text only, and image inputs return HTTP 400 (#5971).- Training Qwen3.5 uses a native backward pass when it is available, which needs MLX 0.32.4 or newer and a compatible mlx-lm. Otherwise the stock training path runs and prints a warning. On an M3 Ultra, the 9B model at batch size 1 peaked at 15.4 GB instead of 85.9 GB and ran at 0.45 steps per second instead of 0.11. Method and commands are in the fine-tuning measurements (#5971, #5981).
--resumerefuses an adapter whose saved rank, scale or dropout differ from the settings the run uses, and names the setting. Before, training continued with a different adapter strength (#5983).
Server
--trusted-hostsadds to the built-in loopback names. Before, it replaced them, so a server started with--trusted-hosts host.docker.internalrejectedlocalhostrequests from the Mac itself with HTTP 400 (#5973).- With thinking turned off, a Qwen3 answer that contained a stray
</think>was moved intoreasoning_content, and clients saw no answer. In that mode the whole output is now content unless it starts with<think>(#5966). - Loading an image-capable model whose weights do not match its configuration reports the cause and a next step. Before, it ended in a traceback (#5977).
Desktop
- With "release the model when idle" on, image and video models are now released after the idle interval. The app does this by stopping the server, so its API is offline until the next use. Chat models still unload with the API online (#5958).
- The bundled engine is 1.1.3 and includes the changes above.
All changes
- chore: bump version to 1.1.3 (#5984) (5b02a2f)
- fix(finetune): reject --resume when saved LoRA settings differ from this run (#5983) (3f50395)
- docs(finetune): reproducible fine-tuning numbers (#5981) (7848afe)
- docs(readme): match the fine-tuning command to the measured batch size (#5979) (9921fee)
- docs(readme): add a fine-tuning section (#5978) (70fae32)
- fix(mllm): type strict weight mismatches in the stock multimodal loader (#5977) (b6b8c07)
- docs(readme): link the Docker Agent provider page (#5976) (de0e7fd)
- feat(finetune): train and serve LoRA adapters for dense Qwen3.5 checkpoints (#5971) (a788f00)
- perf(inkling2): normalize router weights inside the decode selection kernel (#5974) (acdcf44)
- perf(inkling2): fold visit normalization into the depth attention decode kernel (#5972) (cf45e21)
- perf(inkling2): clip and scale attention inputs in one decode kernel (#5970) (73497a3)
- feat(cli): rapid-mlx finetune for local LoRA fine-tuning (#5955) (f5405e1)
- fix(tests): isolate install-method tests from host pip and PATH (#5975) (149e7c1)
- fix(server): --trusted-hosts extends loopback defaults instead of replacing them (#5973) (f18bfb7)
- perf(inkling2): fuse expert mixing, convolution and residual in single-token decode (#5963) (53f5947)
- test: gate the crash helper with an explicit handshake instead of polling process state (#5969) (2874040)
- perf(inkling2): pack attention input projections for single-token decode (#5965) (0ed9a9a)
- perf(inkling2): decode routed NVFP4 experts with a single-row kernel (#5961) (4dabeac)
- fix(reasoning): treat output as content when thinking is off and no opener leads (#5966) (d0a4ac0)
- perf(inkling2): fuse message-gate normalization in single-token decode (#5964) (534d5cf)
- perf(inkling2): fuse router scoring and expert selection in single-token decode (#5962) (127b778)
- fix(mirror): match retired alias names to their repository's catalog row (#5951) (be440f9)
- fix(desktop): release idle image and video models by stopping the server (#5958) (fa19f03)
- ci(mirror-drift): open or update an issue when the scheduled check fails (#5960) (a7055b0)
- perf(inkling2): dispatch each decode visit to the GPU as it is built (#5953) (9f14776)
- test: wait for the crash helper to stop before triggering the crash (#5950) (6a72563)
- test: keep MLX-bound contracts green on MLX 0.32.5 (#5952) (c195986)
- docs(readme): list Waku Agent in Works with your AI stack (#5949) (f00c08f)
Install: brew upgrade rapid-mlx or pip install -U rapid-mlx==1.1.3 (or just rapid-mlx upgrade).
Community: https://discord.gg/nZcXkUjY5R