@magnitudedev/cli@0.2.4
macro-inc/macro@magnitudedev/cli@0.2.4Oct 2, 2026by github-actions[bot]
Upgrading?
AI Summary
This release significantly reduces memory usage and improves first-load speeds for large models, particularly on CPU-only machines. It also fixes silent failures during memory pressure and SSH startup issues.
Key Highlights
- Reduced working memory for Qwen3.5-4B from 3.7 GB to 120 MB.
- Capped first-load kernel tuning to one minute on all devices (previously 20-50 mins).
- Fixed requests failing silently during memory pressure by returning proper 503 errors.
- Fixed `magnitude serve` failing to start over SSH sessions.
New Features
- Memory optimization for large models and long contexts
- Accelerated first-load kernel tuning
Full Release Notes
## 0.2.4 ### Patch Changes - [`f0498ce`](https://github.com/magnitudedev/magnitude/commit/f0498ce285e4e97815ba16dd74044ce5efebb63a) Thanks [@anerli](https://github.com/anerli)! - - Keep first-load kernel tuning within its minute for large models too, such as Gemma 4 26B: preparing each kernel's test data now counts against the same time, is done once instead of twice, and is skipped for kernels whose share of the minute cannot cover it, which keep their default configuration. - [`e38af0e`](https://github.com/magnitudedev/magnitude/commit/e38af0e9a232293dca12c5bad3a91b96e58ca12e) Thanks [@thrgreenwald](https://github.com/thrgreenwald)! - - Fix models failing to load on M1 and M2 Macs when a kernel's default configuration needs more threads than the chip allows for it. Tuning now starts from the nearest configuration that runs. - [`cef7f3b`](https://github.com/magnitudedev/magnitude/commit/cef7f3bb9c2dd06d96aeb59dde8039b6f83386a5) Thanks [@thrgreenwald](https://github.com/thrgreenwald)! - - Fix requests that fail partway through, for example when memory runs short during a long conversation, returning an empty reply that looked like success. They now return a 503 with `Retry-After` and a message agent harnesses recognize, so Pi, OpenCode, Claude Code and others retry them automatically. - Log memory pressure and request failures from the inference engine, which previously failed silently. - [`4713d97`](https://github.com/magnitudedev/magnitude/commit/4713d97b4b913a3ed2194f53826ae01658600839) Thanks [@thrgreenwald](https://github.com/thrgreenwald)! - - Fix `magnitude serve` failing to start on a Mac reached over SSH with nobody logged in at the console. - [`7eabf99`](https://github.com/magnitudedev/magnitude/commit/7eabf993ebbd96a4ab2c067d2c7f2e7d3e4ff8f8) Thanks [@anerli](https://github.com/anerli)! - - Reduce the memory a model needs beyond its weights, so larger models and longer contexts fit: Qwen3.5-4B's working memory fell from 3.7 GB to 120 MB, and the memory reserved to run it from 10.0 GB to 5.9 GB, at the same speed. Image-processing memory is now claimed on the first image and released when idle. - [`7eabf99`](https://github.com/magnitudedev/magnitude/commit/7eabf993ebbd96a4ab2c067d2c7f2e7d3e4ff8f8) Thanks [@anerli](https://github.com/anerli)! - - Fix the first load of a model taking 20–50 minutes and appearing to hang on CPU-only machines. Kernel tuning now takes at most about a minute on any device, instead of a fixed number of configurations whose time grew with the device's slowness, and its progress reports that minute. On an M4 Max, a first load of Qwen3.5-4B now tunes in about 50 seconds (previously 149 on the GPU and 279 on the CPU) with the same speed afterwards. - Speed up CPU inference on x86 for models with Q6_K weights by converting their half-precision scales without a slow processor path.
Related Repositories
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one