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.
|
||||
@@ -0,0 +1,9 @@
|
||||
# Strata (Niko1221/Strata) auf dem Mac
|
||||
|
||||
- The release installer runs without elevated rights, writes only `~/.local/share/strata/terminal/<ver>` and the link `~/.local/bin/strata`, and checks SHA-256 and the signed feed. It installs no engine and no model; `strata launch` fetches those only when called.
|
||||
- Read-only commands: `strata --version`, `strata doctor`, `strata models list`, `strata launch --plan --model X [--family F] --no-tui`. With `--plan` nothing is changed.
|
||||
- `strata launch --plan --model nonexist` lists all model names.
|
||||
- **On Apple silicon only Qwen3.8-Flash-Next (and the Swift 1.5 fine-tune) runs.** The smallest real size, Gyro-S, is ~58.5 GB plus a 1.2 GB drafter. All sizes are > 36 GB RAM, so you get the warning "may run slower".
|
||||
- Qwen3.6-35B-A3B (`--family qwen36`, UD-Q4_K_XL 22.9 GB / UD-Q6_K_XL 32.6 GB / Q8_0 37.8 GB) only has CUDA/HIP engines. `docs/CAPABILITIES.md` in the repo says "Apple silicon: does not run".
|
||||
- Do not trust `--plan`: for families/sizes not available on the Mac (qwen36, NVFP4, IQ2_XS …) it shows "Nothing to download: already on this computer" or no size at all. Read the real sizes from the `setup.py` of the installation (`QWEN36_FILES`, model tables).
|
||||
- Custom GGUF/HF repo: `--model-path` / `strata models import --plan` accept only the Qwen3.8-Flash-Next architecture (`tools/strata_inspect.py`). For other models use llama.cpp / mlx-lm / Ollama.
|
||||
Reference in New Issue
Block a user