v0.40.17-rc2: mlxrunner が保存済み履歴をメモリ負荷に合わせて調整(#19678)v0.40.17-rc2: mlxrunner: adapt saved history to memory pressure (#19678)
Ollama v0.40.17-rc2 では mlxrunner が、固定の 8 GiB 枠ではなくワークスペースの状況に応じて保存する履歴量を調整し、不要なバッファも解放する。メモリが限られた Apple Silicon 環境のローカル LLM 利用者に役立つ。
Ollama v0.40.17-rc2 changes mlxrunner so saved history scales with memory pressure instead of a fixed 8 GiB allowance, and unused buffers get released. It helps local LLM users on memory-limited machines.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (github.com) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (github.com).
Ollama v0.40.17-rc2 で、mlxrunner が保存済み履歴をメモリ負荷に合わせて調整するようになった。変更は #19678 として取り込まれ、履歴の扱いが固定的な上限から状況に応じた方式へ移った点が中心になる。
保存済み履歴の調整
今回の変更は、mlxrunner が保持する保存済み履歴の量を、メモリ負荷に適応させるというものだ。コミットのタイトルには「adapt saved history to memory pressure」とあり、メモリの逼迫具合に応じて履歴の扱いを変える趣旨だと読み取れる。
固定の 8 GiB 枠から
変更の説明では、固定の 8 GiB という許容量ではなく、ワークスペースの状況を基準にする形へ改められたとされる。あらかじめ決まった一定の枠で履歴を抱えるのではなく、実際に使える状況に合わせて量が決まる、という違いである。ワークスペースの具体的な定義や算出方法については、ここでは確認できる記述がない。
不要なバッファの解放
あわせて、使われていないバッファを解放する処理も盛り込まれている。履歴量の調整と未使用バッファの解放が組み合わさることで、メモリを必要以上に占有し続けない方向の変更になっていると考えられる。ただし、解放の対象や条件の細部は示されていない。
リリースの位置づけ
この変更は v0.40.17-rc2 のコミットとして、2026年11月19日に公開された。対象は mlxrunner に限られ、ほかの機能や挙動の変更はここからは読み取れない。メモリが限られたマシンでローカル LLM を動かす利用者に関わる改良として、この rc2 の内容を確認する価値はある。
mlxrunner adapts saved history
Ollama v0.40.17-rc2, a release candidate published on November 19, 2026, changes how mlxrunner handles saved history. The change is tracked as pull request #19678 and titled "mlxrunner: adapt saved history to memory pressure." It matters for people running local language models on machines where memory is limited.
Memory pressure, not a fixed allowance
According to the release entry, the amount of history mlxrunner keeps is no longer tied to a fixed 8 GiB allowance. Instead, the saved history is sized according to the workspace and the memory pressure the system is under. In practical terms, the stored amount can move up or down with current conditions rather than staying at one preset figure.
The summary of the change describes this as scaling saved history with memory pressure. The wording in the entry points to the workspace as the reference for how much to keep, replacing the earlier flat limit.
Releasing unused buffers
The same entry says that unused buffers are released as part of the change. The text of the entry is cut off after this point, so the full list of what is released and under what conditions is not spelled out here. What can be said is that the change pairs two behaviors: adjusting how much history is kept, and freeing buffers that are no longer needed.
Release details
The commit for v0.40.17-rc2 was created on GitHub.com and signed with GitHub's verified signature. Because this is a release candidate (rc2), it is a pre-release build rather than a final release. The source material gives no benchmarks, memory figures beyond the 8 GiB reference, or platform-specific measurements, so the effect on real workloads is not quantified. The stated benefit is for local LLM users working on memory-limited machines.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko「固定の8GiBじゃなくて」って書いてあるけど、何が変わったの?It says "rather than a fixed 8 GiB allowance." So what actually changed?
- TECHガイドTECH Guidemlxrunnerが保存しておく履歴の量を、ワークスペースの状況に合わせて調整する形になったよ。使われていないバッファも解放するそうだ。mlxrunner now adjusts how much history it saves based on the workspace, not a fixed amount. Unused buffers get released too.
- ポコPokoそれって、メモリが少ないパソコンで使う人に役立つのかな?So is this mainly helpful for people running on machines with limited memory?
- TECHガイドTECH Guideそうだね。この記事では、メモリが限られたApple Silicon環境でローカルLLMを使う人に役立つとされているよ。Right. The article says it helps local LLM users on memory-limited Apple Silicon setups.
- ポコPokoじゃあ、決まった枠で抱え込まずに、状況を見て履歴の量を変えるってことだね。So instead of holding a set amount, it adapts the history to the situation. Got it.
- TECHガイドTECH Guideうん。ただ、これはv0.40.17-rc2という候補版の変更だよ。実際の効果の大きさは、この記事からは分からないね。Yes. But this is in v0.40.17-rc2, a release candidate, and the article doesn't say how big the effect is.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
