Skip to main content

Mac chip + RAM method recommender

Pick a VeloxQuant-MLX method from your Apple Silicon chip, unified RAM, model size class, and goal. The CLI is the source of truth; the table below mirrors the same heuristics.

Honesty first

  • Key accounting ratios (7.5× RVQ, 16× VecInfer) are packed-byte counters.
  • Default RVQ / VecInfer often dequantize into fp16 parent storage.
  • Resident savings are more likely for full-KV (rabitq) or eviction (streaming_llm / h2o), especially at long context.

CLI

veloxquant recommend \
--chip M4 \
--ram-gb 48 \
--model-class 7B \
--goal everyday

# Machine-readable JSON
veloxquant recommend --chip M1 --ram-gb 16 --model-class 3B --goal max_context --json

# Static ruleset (for automation / docs sync)
veloxquant recommend --dump-ruleset > docs-site/static/mac-recommender-ruleset.json

Goal → method map

GoalMethodTypical key accountingResident savings likely?
everydayturboquant_rvq b=1~7.5×No (default dequant path)
max_key_accountingvecinfer 1-bit~16×No (default dequant path)
best_qualityspectral~5.3×No
max_contextrabitq~6× full KVYes (more likely)
constant_memorystreaming_llmn/a (eviction)Yes (bounded tokens)

RAM fit warnings (rule of thumb)

Approximate 4-bit weight footprints used by the recommender:

Model class~Weights
1B0.8 GB
3B2.0 GB
7B4.5 GB
14B8.0 GB
32B18.0 GB

The CLI also subtracts ~4 GB for OS / apps. If headroom is under ~1 GB it warns. Example: 32B on 24 GB is expected to warn (see also docs/MEMORY_CONSTRAINT_FINDINGS.md).

Example (M4 Pro, 48 GB, 7B, everyday)

method=turboquant_rvq
knobs={'bit_width_inlier': 1, 'seed': 42}
key_accounting_ratio≈7.5x
resident_savings_likely=False

See also

  • Validation Report for measuring accounting vs peak memory
  • Python module: veloxquant_mlx/tools/mac_recommender.py