Planner recommends dense 27B on 32 GB vanilla Apple Silicon where it runs at ~3.6 tok/s — add bandwidth / active-params awareness
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- macos, typescript
- Ambito
- ai-infra-agents
Direzione di ricerca
The planner's model ranking and memory-fit check are the starting points; find where recommendations are scored and where the model list is built. The change adds a throughput estimate from architecture, active parameters and quantization on the detected SoC. Done means dense and MoE models get different estimates and a slow dense model is no longer auto-recommended on a 32 GB Mac.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
The model planner recommended Qwen3.8 27B (UD-IQ3_S, 12.1 GB) for my machine: Mac mini, vanilla M6, 32 GB unified memory, Desktop 0.1.6 (macOS, arm64).
I installed it and benchmarked directly against the local llama-server endpoint (bypassing the gateway, repeated runs):
| Metric | Measured |
|---|---|
| Generation (steady state, clean memory) | 3.6 tok/s |
| Prefill (~3.8k token context) | ~100 tok/s |
| Same benchmark after fresh reboot, swap = 0 | 3.6 tok/s (unchanged) |
The identical result on clean memory rules out swap thrashing — this is the memory-bandwidth ceiling of running a dense 27B on vanilla (non-Ultra) Apple Silicon. Every token requires pushing all ~13 GB of weights through the bus, so ~3-4 tok/s is the physical limit. The model passes the planner's memory-fit check but is practically unusable for agent workloads (a single multi-step task takes 10+ minutes).
Meanwhile, Qwen3.6 35B-A3B (MoE, 3B active) sits in the same model list without the recommendation badge. On this exact hardware it should be several times faster (throughput scales with active params on MoE), while being a more capable model — and low-active-param MoE is precisely the architecture that PolyStrata's layered placement is designed for. The planner ranks a dense model above it.
Steps to reproduce
- Mac mini, vanilla M6 / 32 GB unified memory
- Run local-model setup → planner recommends
Qwen3.8 27B (UD-IQ3_S) - Install, benchmark via the llama-server OpenAI-compatible endpoint with a short and a mid-length prompt
- Observe ~3.6 tok/s generation; reboot with clean memory and observe no improvement
Expected behavior
The planner should consider achievable throughput, not only memory fit. "Loadable" and "usable" differ by a memory-bandwidth factor on consumer Apple Silicon.
Suggestions
- Add a bandwidth/throughput estimate to the planner: model architecture (dense vs MoE), active parameter count, quantization bpp → estimated tok/s on the detected SoC. Avoid auto-recommending models below a usable threshold (e.g. < 5 tok/s).
- Show the estimate in the model list UI (e.g. "≈ 3 tok/s on this Mac") so users can make an informed choice before spending 12 GB of disk and an evening of frustration.
- For memory-constrained Macs, prioritize low-active-param MoE models for PolyStrata layered/paged placement over same-class dense models — this is the exact scenario the layering tech was built for, but it currently never gets picked by the planner.
- Optional: a lightweight user feedback signal ("too slow / unusable") that downweights a model in future planner runs on this device.
Happy to provide more benchmark details (llama-server args, KV config, exact timings) if useful.
Environment
- Linger Desktop 0.1.6 (macOS arm64), Pi runtime
- Mac mini, Apple M6 (vanilla), 32 GB unified memory, macOS 26.x
- Lingua principale
- TypeScript
- Stelle
- 3.8k
- Fork
- 360
- Merge medio
- 8h 10m
- PR unite (30g)
- 540
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simplexai-labs/linger
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
simplexai-labs/linger#904 ·
I maintainer di solito rispondono entro 1 giorno
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cachedForse già presa @oldwinter53 l’ha presa oggi. Apertabug
simplexai-labs/linger#896 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(agents): let an Agent choose runtime, model and reasoning effort when it creates an AgentAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#888 ·
I maintainer di solito rispondono entro 1 giorno
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#883 ·
I maintainer di solito rispondono entro 1 giorno
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
simplexai-labs/linger#881 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simplexai-labs/linger
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetaMask/eth-phishing-detect#317371 ·
I maintainer di solito rispondono entro 1 giorno
-
android:player ios:player
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
erkamyaman/rust-anything#963 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ZdruzenieSTROM/webstrom-frontend#934 ·
I maintainer di solito rispondono entro 1 giorno
-
bug(worker): detector run is marked failed and never retried when span download failsForse già presa @jagrutgarg l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
traceroot-ai/traceroot#3434 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno