Skip to content

feat(local): support SSD-streaming Apple Silicon engine (LOCAL_ENGINE=turbo-fieldfare) for 8/16/32 GB Macs #108

Todo

Description

@ghchinoy

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 than diffgemma) for 24 GB / 32 GB Macs.

Product checklist:

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/ and docs-site/)

Activity

  1. added
    enhancement
    on Dec 1, 2026
  2. ghchinoy commented on Dec 1, 2026

    @ghchinoy
    CollaboratorAuthor

    Update: tracking the macOS 26+ auto-default promotion under this issue as well:

    • Auto-select LOCAL_ENGINE=turbo-fieldfare by default on macOS 26+ (Apple Silicon, Metal 4) with bimodal RAM auto-sizing (slots=16 on <=16 GB, slots=128 on >=24 GB), keeping automatic diffgemma fallback on macOS 15 and explicit LOCAL_ENGINE=diffgemma opt-in.
    • Single-prefix KV caching for repeated-schema local reads (reused_tokens telemetry).
  3. self-assigned this
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions