mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-11 04:56:56 +02:00
Port the hardware-compatibility estimator from ggml-org/llama-macos: map every GGUF file in a repo to a full/limited/none tier based on the device memory budget (GPU working set approximated from RAM, less fit slack and an OS floor) and the estimated weight + context memory. Main quants are tiered individually; shards, mmproj and quant-matched draft sidecars inherit their main quant's tier. Sidecar picking mirrors the server's find_best_sibling ranking (deepest directory, exact quant tag, closest bit depth). Also port detectToolUseSupport (infers tool-calling support from a chat template) and the browser get_info fallback helper. Assisted-by: pi