Ollama v0.40.18-rc0 加快 Metal 解碼、預填處理和草稿回合
v0.40.18
Ollama 的 v0.40.18-rc0 加入專為 Inkling 設計的 Metal GPU 程式,讓解碼、預填處理和草稿回合跑得更快。
- 這些程式會依 GPU 世代和大小選擇是否使用。
- 遇到不適用的情況,就改走原本的處理方式。更新也加入 8 位元草稿和 4 位元詞彙表頭,但模型實際輸出的結果仍維持精確。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
Release v0.40.18-rc0: inkling2: faster Metal decode, prefill and draft rounds (#19843) · ollama/ollama · GitHub
Navigation Menu
[](https://github.com/)
- Products
- Platform
- *

GitHub Repository hosting, code review, and collaboration - *

Copilot AI coding agent for tasks, projects, and automated work
- Build & Ship
- * Actions CI/CD and automation
- * Code Quality Quality analysis, fixes, and enforcement
- * Codespaces Cloud development environments
- Secure
- * Code Security Vulnerability detection and remediation
- * Secret Protection Secret scanning and leak prevention
- Developers
- Learn
- * Documentation
- * Training
- * Certifications
- Build
- * Build with Copilot
- * Customize Copilot
- * Integrations
- Explore
- * Trending repos
- * GitHub Sponsors
- * Developer articles
- Businesses
- By Stage
- * Enterprises
- * Team
- * Startups
- * Nonprofits
- By Industry
- * Healthcare
- * Financial services
- * Manufacturing
- * Government
- * See all industries
- Evaluate GitHub
- * Why GitHub
- * Customer Stories
- * Business insights
- * Trust Center
- Add-ons
- * GitHub Advanced Security Enterprise-grade code security
- * Copilot for business Enterprise-grade AI features
- * Premium Support Enterprise-grade 24/7 support
- Resources
- Learn & Connect
- * Documentation
- * Resource center
- * Blog
- * Events & webinars
- * Community Forum
- * Customer Stories
- * Integrations
- Support
- * Customer support
- * Training
- * GitHub Status
- GitHub Universe
- *

GitHub Universe The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Search/
Appearance settings
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
More items
v0.40.18-rc0
- v0.40.18-rc0
924cc28- Verified# Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature. GPG key ID: B5690EEEBB952194 Verified Learn about vigilant mode
* Compare# Choose a tag to compare ## Sorry, something went wrong. Filter Loading ## Sorry, something went wrong. ### Uh oh!
There was an error while loading. Please reload this page. ## No results found View all tags
v0.40.18-rc0: inkling2: faster Metal decode, prefill and draft rounds (#19843)
- v0.40.18-rc0
924cc28- Compare# Choose a tag to compare ## Sorry, something went wrong. Filter Loading ## Sorry, something went wrong. ### Uh oh!
There was an error while loading. Please reload this page. ## No results found View all tags
* Verified# Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature. GPG key ID: B5690EEEBB952194 Verified Learn about vigilant mode
dhiltgen tagged this 24 Nov 01:35
- inkling2: faster Metal decode, prefill and draft rounds
Add Inkling-only Metal kernels, each with a stock-graph fallback, gated
by GPU generation and size class: short BF16 products, deduplicated
NVFP4/MXFP8 expert gathers with fused SwiGLU, fused loop controllers and
residual mixing, relative-position split attention, fused short
convolutions, faster global prefill, an ordered window cache that
appends in place, and an 8-bit draft with a 4-bit vocabulary head
(proposals only; outputs stay exact).
Assets 2
Loading
Uh oh!
There was an error while loading. Please reload this page.
Footer
[](https://github.com/) © 2026 GitHub,Inc.
Footer navigation
You can’t perform that action at this time.

Changelog Your source for the latest features, improvements, and fixes across GitHub products, all in one place.