turbo-fieldfare
7,347
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Swift
语言
—
创建时间
最近更新
项目能做什么
可在任意 M 系列 MacBook 上以约 2GB 内存运行 Gemma 4 26B-A4B 推理。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center"> <img src="docs/assets/turbofieldfare-logo-rounded.png" alt="TurboFieldfare logo: a fieldfare inside a segmented cache ring" width="280"> </p> <h1 align="center">TurboFieldfare</h1> <p align="center"> <strong>Gemma 4 26B-A4B inference in about 2 GB of RAM</strong><br> A custom Swift + Metal runtime for any Apple Silicon Mac, even the 8 GB ones. </p> <p align="center"> <img alt="Swift 6.2" src="https://img.shields.io/badge/Swift-6.2-F05138?logo=swift&logoColor=white"> <img alt="Metal 4" src="https://img.shields.io/badge/Metal-4-5E5CE6"> <img alt="macOS 26 or later" src="https://img.shields.io/badge/macOS-26%2B-000000?logo=apple&logoColor=white"> <a href="LICENSE"><img alt="Apache 2.0 license" src="https://img.shields.io/badge/License-Apache%202.0-2ea44f"></a> </p> <p align="center"> <a href="#try-it">Quick start</a> · <a href="docs/OPENAI_SERVER.md">Local server</a> · <a href="docs/BENCHMARKS.md">Benchmarks</a> · <a href="docs/COMMUNITY_BENCHMARKS.md">Contribute results</a> · <a href="docs/SYSTEM_DESIGN.md">How it works</a> · <a href="docs/OPTIMIZATION_JOURNEY.md">Experiments</a> · <a href="docs/IMPLEMENTATION_REFERENCES.md">References</a> </p>  Memory got expensive. So I gave a 26-billion-parameter model a ~2 GB budget. TurboFieldfare runs the instruction-tuned **[Gemma 4 26B-A4B](https://ai.google.dev/gemma/docs/core/model_card_4)** without loading the entire 14.3 GB model into memory. It keeps the shared 1.35 GB core and FP16 KV cache in memory, then streams only the experts needed for each token from SSD. This is what lets the model run on Macs with 8 GB of RAM. The runtime, streaming installer, CLI, and native Mac app are written in Swift and Metal. TurboFieldfare is model-specific rather than a wrapper around MLX or llama.cpp. The curated [experiment record](docs/experiments/EXPERIMENT_INVENTORY.md) summarizes 103 measured results across kernels, caching, I/O, prefill, and decode. ## Try it ```bash git clone https://github.com/drumih/turbo-fieldfare.git cd turbo-fieldfare swift build -c release .build/release/TurboFieldfareMac ``` On the first run, Swift Package Manager downloads and builds the Swift packages required by the tokenizer. The complete release build includes the foreground Mac app and its sibling decode-service executable. When the app opens, choose **Download Model** and let TurboFieldfare fetch and repack the pinned model (about 15 GB). Once it is ready, choose **Load Model**, type your prompt, and press **Generate**. ## At a glance | Metric | Value | | --------------- | ------------------------------------------------------------------------------------------------------------------------ | | Model | Gemma 4 26B-A4阅读完整原文
项目深度分析 AI 生成
开箱即用型 macOS 原生隐私 AI 桌面端(商业版)
| 产品构想 | 基于该项目定制打造无须克隆编译、集成下载与一键安装、支持系统常驻、快捷键呼出及多格式文档问答的低内存占用桌面助手 |
| 核心功能 | 一键静默配置安装包、全局快捷键唤醒、多会话与本地加密存储、LaTeX/Markdown高保真渲染、本地文件拖拽读取与交互 |
| 目标用户 | 使用 8GB/16GB 内存 MacBook 且没有本地编译开发能力的学生、文字工作者、隐私敏感白领 |
| 难度/周期 | 中等 · 3-5周 · 成本:Apple 开发者账号年费(99美元)、基础下载分发CDN带宽 |
| 收费模式 | Mac App Store 或 Gumroad/LemonSqueezy 买断制(如 $9.99 - $19.99)或订阅制更新 |
| 竞争风险 | README显示依赖极高的 macOS/Metal 版本(提及 macOS 26/Metal 4,推测可能为概念超前或特定预览版要求),环境兼容性要求苛刻 |
| 依据 | 已验证事实 |
开发者本地轻量化 OpenAI 兼容后端工具包
| 产品构想 | 利用项目内置的 local server 能力,封装为一个零门槛后台常驻进程,为本地开发环境(如 Raycast、Cursor、VS Code)提供极低内存占用的本地 LLM 代理服务 |
| 核心功能 | 开机后台常驻、标准 OpenAI API 格式兼容、极低内存(~2GB)驻留、自动化权重缓存管理与监控面板 |
| 目标用户 | Mac 本地全栈开发、工具插件重度用户(Raycast/Alfred 用户)、独立开发者 |
| 难度/周期 | 较低 · 2-3周 · 成本:极低(仅个人开发时间) |
| 收费模式 | 免费核心功能+付费 Pro 许可证(支持多模型切换、动态流控与扩展参数调节) |
| 竞争风险 | 开源项目本身已包含 docs/OPENAI_SERVER.md,技术门槛较低的开发者更倾向于直接自建 |
| 依据 | 数据支持的判断 |
MoE 动态卸载技术适配与商用运行时授权(技术中间件)
| 产品构想 | 提取针对 MoE 架构的按需流式加载(从 SSD 动态读取 Expert)与 Metal 优化算法,封装为独立 Swift/C++ 库,为其他 Mac 商业软件提供低内存大模型运行引擎 |
| 核心功能 | 通用 MoE 权重流式加载接口、Metal 4 加速内核、内存动态限制器、多架构 MoE 模型权重转换工具 |
| 目标用户 | 需要将本地 AI 功能嵌入到自身 macOS 商业软件中的独立 ISV、中小型工具软件团队 |
| 难度/周期 | 高 · 2-3个月 · 成本:研发测试设备购置、多型号 Mac 适配成本 |
| 收费模式 | 商业闭源授权费(按年或按分发席位许可收费) |
| 竞争风险 | 目前仅针对 Gemma 4 26B-A4B 做了定制优化,通用化改造难度极大;未来 llama.cpp 或 MLX 原生支持类似特性后技术壁垒降低 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| Humeow/turbo-fieldfare-gateway | 中文介绍暂未生成 TurboFieldfare 로컬 추론 서버를 위한 인증, TLS, 요청 제한 및 감사 로그 운영 게이트웨이 |
7 | Go |
| usboing/turbo-fieldfare-qwen36 | 中文介绍暂未生成 Qwen 3.6 35B-A3B on Apple Silicon with TurboFieldfare: bound |
7 | Swift |
| whit3rabbit/turbospark | 中文介绍暂未生成 MacOS metal LLM inference engine. Run large models with smal |
4 | Rust |
| spprichard/TurboFlint | 中文介绍暂未生成 Recursive Flint 40B-A2.5B on a 16 GB Mac: Swift/Metal infere |
2 | Swift |
| yangshun2005/turbo-fieldfare-cn | 中文介绍暂未生成 [中文化] |
1 | Swift |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 24 个 Release |
| 社区活跃 | Star 7,347 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。