Skills von blackbook: software-development/local-llm-mac
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Benchmark plan for a local fallback model
|
||||
|
||||
Candidates for 36 GB: MoE with ~3B active parameters in Q4 (~19–23 GB, e.g. Nemotron 3.5 Lightning 30B-A3B IQ4_XS, already in `~/models`, ~35–38 tok/s; Qwen3.6-35B-A3B Q4) is fast. A dense ~27B Q4 (~17 GB) is smarter, but expect ~10–15 tok/s (an estimate based on ~150 GB/s bandwidth). Nothing ≥ ~30 GB.
|
||||
|
||||
Run each model alone (stop the other one first):
|
||||
1. Speed: `llama-bench` / `mlx_lm.benchmark` with prompts of 512 / 8k / 32k tokens. The key figure is **time to first token at ~30k context** (the size of the Hermes system prompt).
|
||||
2. Prompt cache: two Hermes requests in a row. With `--cache-reuse` the second must start noticeably faster.
|
||||
3. Tool calls: ~10 typical Hermes tasks (read file, terminal, light curl, search notes). Measure the share of valid JSON with the correct tool and whether multi-step tasks succeed.
|
||||
4. Quality: 5 German tasks plus 3 coding tasks, blind comparison against Claude.
|
||||
5. Memory: `memory_pressure` / swap during the test, including with a browser open.
|
||||
6. Sustained load: 10 min of generation to check for heat throttling, also on battery.
|
||||
|
||||
Knock-out criteria: tool calls ≥ 90% valid and TTFT at 30k < ~60 s. After that, quality and speed decide.
|
||||
Report the result as a table plus a recommendation.
|
||||
Reference in New Issue
Block a user