{"id":27140,"date":"2026-11-29T07:10:56","date_gmt":"2026-11-28T22:10:56","guid":{"rendered":"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/11\/29\/magnitude-cli-0-3-8-released\/"},"modified":"2026-11-29T07:10:56","modified_gmt":"2026-11-28T22:10:56","slug":"magnitude-cli-0-3-8-released","status":"publish","type":"post","link":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/29\/magnitude-cli-0-3-8-released\/","title":{"rendered":"Magnitude CLI 0.3.8 Released with Vulkan and Metal Fixes"},"content":{"rendered":"<p><!-- lmw:facts --><\/p>\n<h2>At a Glance<\/h2>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Repository<\/td>\n<td><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\">magnitudedev\/magnitude<\/a><\/td>\n<\/tr>\n<tr>\n<td>Version<\/td>\n<td><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/releases\/tag\/@magnitudedev\/cli@0.3.8\">@magnitudedev\/cli@0.3.8<\/a><\/td>\n<\/tr>\n<tr>\n<td>Published<\/td>\n<td>2026-11-29<\/td>\n<\/tr>\n<tr>\n<td>License<\/td>\n<td>Apache-2.0<\/td>\n<\/tr>\n<tr>\n<td>Source type<\/td>\n<td>Primary source (the publisher itself)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><em>Values determined by this site&#8217;s code when the information was collected. Dates are JST.<\/em><\/p>\n<p><!-- \/lmw:facts --><\/p>\n<h2>Overview<\/h2>\n<p><code>@magnitudedev\/cli@0.3.8<\/code>, the latest version for the CLI of the inference engine &#8220;magnitude&#8221;\u2014which enables running models on standard PCs and Macs by distributing them across GPUs, RAM, and SSDs\u2014has 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.<\/p>\n<p>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.<\/p>\n<h2>Key Changes<\/h2>\n<h3>Support for <code>cache_salt<\/code> Enabling Request-Level Cache Isolation<\/h3>\n<p>The <code>cache_salt<\/code> 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 <code>cache_salt<\/code>.<\/p>\n<p>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.<\/p>\n<p>No model reconversion or redownload is required for use. It can be applied by setting and calling <code>cache_salt<\/code> upon request transmission from the application side that wants to isolate the cache.<\/p>\n<h3>Usability Improvements for Desktop Explore and Chat UI, Plus Hugging Face Integration<\/h3>\n<p>The UI of the desktop version&#8217;s Explore and Chat screens has been significantly enhanced. &#8220;Magnitude Picks&#8221; 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.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<h3>OpenCode Desktop Detection Independent of PATH Environment Variable<\/h3>\n<p>In harness connections functionality, installed OpenCode desktop environments can now be automatically detected even if the <code>opencode<\/code> executable is not registered in the system&#8217;s <code>PATH<\/code> environment variable.<\/p>\n<p>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.<\/p>\n<p>After updating to this version, you can use the detection function as-is without setting special environment variables or re-setting up.<\/p>\n<h3>Vulkan and Metal Inference Crash Fixes and Memory Management Improvements<\/h3>\n<p>The stability of inference processing using Vulkan and Metal backends has been greatly improved. Specifically, repeat-block launch counts in the internal <code>NativeGraphMetadata<\/code> 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&#8217;s entry, and elastic context cache reservations have been applied for discrete GPUs.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<h2>How to Get It<\/h2>\n<p>Here is how to update to the release package <code>@magnitudedev\/cli@0.3.8<\/code>.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>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 <code>cache_salt<\/code> parameter, please verify whether inference operations and request processing are performed as intended after the update is complete.<\/p>\n<p><!-- lmw:releases --><\/p>\n<h2>Releases Since Our Last Article<\/h2>\n<p><em>Compiled by Local Model Watch from the project&#8217;s GitHub releases: the versions between this release and the last one we covered, which did not get separate articles.<\/em> <em>Full history: <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/engine-magnitude-en\/\">release tracker<\/a>.<\/em><\/p>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Version<\/th>\n<th>Released<\/th>\n<th>Release notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>@magnitudedev\/cli@0.3.7<\/td>\n<td>2026-11-27<\/td>\n<td><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/releases\/tag\/%40magnitudedev\/cli%400.3.7\">GitHub<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><!-- \/lmw:releases --><\/p>\n<p><!-- lmw:related --><\/p>\n<h2>Related Articles<\/h2>\n<ul>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/10\/03\/magnitude-cli-v0-2-5-released\/\">Magnitude CLI v0.2.5 Released: M5 Mac &amp; MoE Speedups<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/17\/magnitude-cli-0-2-14-released\/\">Magnitude CLI 0.2.14 Released: Faster CPU Decoding and More<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/17\/magnitude-cli-0-2-10-released-2\/\">Magnitude CLI 0.2.10 Released with Memory Fixes and New Quantizations<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/17\/magnitude-cli-0-2-7-released\/\">Magnitude CLI 0.2.7 Released: Major Speedups and Fixes<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:related --><\/p>\n<p><!-- lmw:next-steps --><\/p>\n<h2>What to Read Next<\/h2>\n<ul>\n<li><strong>Follow this tool<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/engine-magnitude-en\/\">Magnitude overview and release history (25 releases tracked)<\/a><\/li>\n<li><strong>Other inference engines and runtimes<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/engine-llama-cpp-en\/\">llama.cpp<\/a> \/ <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/engine-ollama-en\/\">Ollama<\/a> \/ <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/engine-vllm-en\/\">vLLM<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:next-steps --><\/p>\n<h2>Sources<\/h2>\n<p>For detailed changes and related PRs and Issues for <code>@magnitudedev\/cli@0.3.8<\/code> explained in this article, please refer to the following official links:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/releases\/tag\/%40magnitudedev\/cli%400.3.8\">magnitudedev\/magnitude @magnitudedev\/cli@0.3.8 Release Page<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/commit\/070e36597f7f4c5316cd6225ea4c4ef9743a3aec\">Commit 070e365 (UI improvements, OpenCode detection, Vulkan\/Metal stabilization)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/pull\/309\">Pull Request #309 (Cache sharing restriction via cache_salt)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/commit\/5360997a3baace64c704cf8982ba12676d4419ef\">Commit 5360997 (cache_salt implementation)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/issues\/312\">Issue #312 (Out-of-PATH OpenCode desktop detection)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/issues\/303\">Issue #303 (Vulkan \/ Metal inference stability related)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/issues\/308\">Issue #308 (Vulkan \/ Metal inference stability related)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/issues\/310\">Issue #310 (Vulkan \/ Metal inference stability related)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/magnitudedev\/magnitude\/issues\/314\">Issue #314 (Vulkan \/ Metal inference stability related)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Magnitude CLI 0.3.8 has been released, improving inference stability on Vulkan and Metal, and introducing request-level cache separation.<\/p>\n","protected":false},"author":1,"featured_media":27139,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[2931,505,2791,2793,1547,511,1193],"class_list":["post-27140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engines-and-tools","tag-magnitudedev-cli-en","tag-apple-silicon-en","tag-magnitude-en","tag-rust-en","tag-verified","tag-vulkan-en","tag--en"],"lang":"en","translations":{"en":27140,"ja":27138},"_links":{"self":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/27140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/comments?post=27140"}],"version-history":[{"count":0,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/27140\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media\/27139"}],"wp:attachment":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media?parent=27140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/categories?post=27140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/tags?post=27140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}