Magnitude CLI 0.3.8 Released with Vulkan and Metal Fixes

Magnitude CLI 0.3.8 Released with Vulkan and Metal Fixes

At a Glance

Item Value
Repository magnitudedev/magnitude
Version @magnitudedev/cli@0.3.8
Published 2026-11-29
License Apache-2.0
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

Overview

@magnitudedev/cli@0.3.8, the latest version for the CLI of the inference engine “magnitude"—which enables running models on standard PCs and Macs by distributing them across GPUs, RAM, and SSDs—has been released. Magnitude is an open-source software developed in the Rust language under the Apache-2.0 license, supporting Apple Silicon, NVIDIA, AMD, and Intel environments as well as CPU-only inference.

The most significant change in this version is the improved stability of inference processing in the Vulkan and Metal backends. Alongside a review of repeat block launch count settings, memory allocation fixes, and the application of cache reservations, issues during GPU inference have been significantly mitigated. In addition, new features such as restricting the cache sharing scope per request and improvements to the desktop UI and external tool integration are included.

Key Changes

Support for cache_salt Enabling Request-Level Cache Isolation

The cache_salt parameter, which can be specified per request, has been introduced. This change allows the reuse of KV prefix caches (key-value prefix caches) and the sharing of in-flight prefill processing to be restricted only among requests sharing the same cache_salt.

This affects developers and service operators handling inquiries from multiple users or different contexts on the same instance. It is an effective feature when you want to prevent unintended cache sharing between different sessions.

No model reconversion or redownload is required for use. It can be applied by setting and calling cache_salt upon request transmission from the application side that wants to isolate the cache.

Usability Improvements for Desktop Explore and Chat UI, Plus Hugging Face Integration

The UI of the desktop version’s Explore and Chat screens has been significantly enhanced. “Magnitude Picks" indicating recommended models are now displayed on the Explore standby and search screens, and the monthly download count for the past 30 days can also be checked. Furthermore, a mechanism has been added to allow direct sign-in to Hugging Face and terms of service acceptance actions on Gated model cards that require agreement to terms of use.

This affects users who search for models and interact through the desktop UI. Previous issues where Hugging Face search processing would stall and stability concerns regarding model cards and quantization specifications have been resolved, and startup loading states are now displayed on the chat screen and sidebar, reducing operational stress.

Since the new UI is automatically applied after updating, no special configuration work is required. When using Gated models, please sign in and accept the terms via the on-screen instructions.

OpenCode Desktop Detection Independent of PATH Environment Variable

In harness connections functionality, installed OpenCode desktop environments can now be automatically detected even if the opencode executable is not registered in the system’s PATH environment variable.

This affects developers using OpenCode desktop in conjunction with magnitude. Even in environments where paths had to be set manually due to differences in installer placement locations, seamless integration is now possible without additional settings.

After updating to this version, you can use the detection function as-is without setting special environment variables or re-setting up.

Vulkan and Metal Inference Crash Fixes and Memory Management Improvements

The stability of inference processing using Vulkan and Metal backends has been greatly improved. Specifically, repeat-block launch counts in the internal NativeGraphMetadata have been expanded, resolving multiple reported issues (#303, #308, #310, #314). Furthermore, in Vulkan environments, initial block allocation is now correctly accounted for in the caller’s entry, and elastic context cache reservations have been applied for discrete GPUs.

This directly affects Mac users utilizing the Metal backend in Apple Silicon environments and overall users performing GPU inference via Vulkan on NVIDIA, AMD, Intel, etc. Stability is enhanced, particularly when running high-load model inference or continuous processing.

Redownloading model files or changing configs is not required for the update. By updating to version 0.3.8, the fixed graphics backend behavior takes effect as-is.

How to Get It

Here is how to update to the release package @magnitudedev/cli@0.3.8.

This release information does not include specific installation commands or automatic update procedures. Therefore, we guide you to use the standard package update command in your own environment, or refer to the introduction methods posted on the official repository and release page.

For detailed installation steps and how to incorporate it into your development environment, please directly check the guidance on the following official release page and project repository.

When performing the update, it is recommended to stop currently running model inference processes and related services once before carrying out the update to the latest version. Since this version improves graphics processing stability around Vulkan and Metal and adds the cache_salt parameter, please verify whether inference operations and request processing are performed as intended after the update is complete.

Releases Since Our Last Article

Compiled by Local Model Watch from the project’s GitHub releases: the versions between this release and the last one we covered, which did not get separate articles. Full history: release tracker.

Version Released Release notes
@magnitudedev/cli@0.3.7 2026-11-27 GitHub

Related Articles

What to Read Next

Sources

For detailed changes and related PRs and Issues for @magnitudedev/cli@0.3.8 explained in this article, please refer to the following official links: