Repository navigation
Todo
Labels
enhancementNew feature or request
Description
Problem or use case
Local Apple Silicon execution currently defaults to diffgemma (.dgq, ~19 GiB model pack / ~20–21 GiB working set), which requires a 32 GB+ Mac and leaves little unified memory headroom alongside local developer tools. Users on 8 GB and 16 GB Apple Silicon Macs cannot run DiffusionGemma 26B-A4B locally at all.
Proposed design
Add LOCAL_ENGINE=turbo-fieldfare support built on drumih/turbo-fieldfare (Apache-2.0, Swift + Metal 4 SSD-streaming expert cache) via ghchinoy/turbo-fieldfare so dgem can run DiffusionGemma 26B-A4B locally across 8 GB, 16 GB, and 32 GB Macs using the same http://127.0.0.1:8080/v1 contract:
- Tier A (
--expert-cache-slots 16): ~2.46 GiB combined unified memory footprint (projected for 8 GB / 16 GB Macs). - Tier B (
--expert-cache-slots 128): ~11.46 GiB combined unified memory footprint (~8–10 GiB less RAM thandiffgemma) for 24 GB / 32 GB Macs.
Product checklist:
-
LOCAL_ENGINE=turbo-fieldfareMakefile/script wiring, HTTP structured-readout adapter (scripts/turbo_fieldfare_server.py), dynamic local model ID discovery, and Go/Python tests (feat(local): add LOCAL_ENGINE=turbo-fieldfare support, HTTP adapter, and client/gateway tests #106) - Native 64-token canvas step and
fixedseed-token defaults inscripts/turbo_fieldfare_server.py(fix(local): set CANVAS_STEP=64 and DEFAULT_SEED_TOKEN=fixed in turbo_fieldfare_server #107) - HTTP/1.1 hardening, canonical
/v1/systemoneparity, probe lifecycle timeouts, and CI coverage (fix(local): harden turbo-fieldfare HTTP adapter, /v1/systemone parity, and CI coverage #113, refs fix(local): harden turbo-fieldfare HTTP adapter, /v1/systemone parity, and CI coverage (#106 follow-up) #112) - Apple Silicon 8/16/32 GB setup,
.gturboshard-by-shard repack guide, operational lessons, and Apache-2.0NOTICE+ release bundling (docs(local): add Apple Silicon 8/16/32 GB turbo-fieldfare guide, repack lessons, and Apache-2.0 NOTICE #109) - Safe
LOCAL_ENGINE=autodefault on macOS 26+ Apple Silicon (selectingturbo-fieldfarewhen installed, falling back todiffgemmaon macOS 15 or fresh installs) (feat(local): default LOCAL_ENGINE=auto to turbo-fieldfare on macOS 26+ with macOS 15 diffgemma fallback #110) - Single-prefix KV caching
reused_tokenstelemetry propagation (feat(local): propagate TurboFieldfareDiffusionProbe reusedTokens into diagnostics.timing.reused_tokens #111) - Unified macOS onboarding / resumable model installer (
--resume/--verify-install, auto memory-tier selection)
Affected surfaces
- CLI (
dgem decide,dgem locate,dgem bench-*) - HTTP Gateway (
/api/decide,/v1/systemone) - MCP Server (
dgem mcp,/mcp) - Decision Studio (
studio/) - Serving Container (
deploy/cloudrun/) - Policy Templates (
templates/) or Examples (examples/) - Documentation (
docs/anddocs-site/)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
ghchinoy commentedon Dec 1, 2026
Update: tracking the macOS 26+ auto-default promotion under this issue as well:
LOCAL_ENGINE=turbo-fieldfareby default on macOS 26+ (Apple Silicon, Metal 4) with bimodal RAM auto-sizing (slots=16on<=16 GB,slots=128on>=24 GB), keeping automaticdiffgemmafallback on macOS 15 and explicitLOCAL_ENGINE=diffgemmaopt-in.reused_tokenstelemetry).feat(local): propagate TurboFieldfareDiffusionProbe reusedTokens into…
docs(local): add Apple Silicon 8/16/32 GB turbo-fieldfare guide, repa…
feat(local): default LOCAL_ENGINE=auto to turbo-fieldfare on macOS 26…