Initial llm-host: hardware-aware local LLM server with dashboard
Detects the GPU (NVIDIA on Linux, Apple Silicon on macOS), picks the catalog models and builds that fit, installs vLLM or MLX without sudo, and runs the model server plus a web dashboard as user services. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QaE1hpvyZTJixEbUUMj9Ca
This commit is contained in:
commit
5b9586ac80
19 changed files with 2458 additions and 0 deletions
83
llmhost/catalog.json
Normal file
83
llmhost/catalog.json
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
{
|
||||
"_comment": "kv_kib_per_token = KV cache cost per token with an fp8 cache, measured on vLLM 0.32 (MLX uses ~2x). Models llm-host knows how to serve. Order = preference for the default model. 'gb' is decimal GB of weights on disk (tools/refresh_catalog.py updates it). Formats: fp8/bf16/nvfp4/awq are vLLM builds for NVIDIA, mlx-* are Apple Silicon builds. 'mtp' marks builds that ship multi-token-prediction weights.",
|
||||
"models": [
|
||||
{
|
||||
"name": "qwen3.8-27b",
|
||||
"kv_kib_per_token": 37.2,
|
||||
"title": "Qwen3.8 27B",
|
||||
"about": "Dense 27B, hybrid attention, strong general coding and tool use.",
|
||||
"context": 262144,
|
||||
"hybrid": true,
|
||||
"reasoning": true,
|
||||
"vllm": {"tool_parser": "qwen3_coder", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "mtp_tokens": 3},
|
||||
"mlx": {},
|
||||
"variants": {
|
||||
"fp8": {"repo": "Qwen/Qwen3.8-27B-FP8", "gb": 30.9, "mtp": true},
|
||||
"bf16": {"repo": "Qwen/Qwen3.8-27B", "gb": 55.6, "mtp": true},
|
||||
"nvfp4": {"repo": "nvidia/Qwen3.8-27B-NVFP4", "gb": 21.9},
|
||||
"awq": {"repo": "cyankiwi/Qwen3.8-27B-AWQ-INT4", "gb": 21.0},
|
||||
"mlx-8bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-8bit", "gb": 29.5},
|
||||
"mlx-6bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-6bit", "gb": 22.8},
|
||||
"mlx-4bit": {"repo": "lmstudio-community/Qwen3.8-27B-MLX-4bit", "gb": 16.1}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ornith-1.5-35b",
|
||||
"kv_kib_per_token": 10.6,
|
||||
"title": "Ornith 1.5 35B A3B",
|
||||
"about": "35B mixture-of-experts with 3B active: very fast.",
|
||||
"context": 262144,
|
||||
"hybrid": true,
|
||||
"reasoning": true,
|
||||
"vllm": {"tool_parser": "qwen3_xml", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "trust_remote_code": true},
|
||||
"mlx": {"trust_remote_code": true},
|
||||
"variants": {
|
||||
"fp8": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-FP8", "gb": 39.4},
|
||||
"bf16": {"repo": "ornith-ai/Ornith-1.5-35B-A3B", "gb": 71.9},
|
||||
"nvfp4": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-NVFP4", "gb": 23.4},
|
||||
"awq": {"repo": "cyankiwi/Ornith-1.5-35B-A3B-AWQ-INT4", "gb": 26.1},
|
||||
"mlx-8bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-8bit", "gb": 36.8},
|
||||
"mlx-6bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-6bit", "gb": 28.2},
|
||||
"mlx-4bit": {"repo": "ornith-ai/Ornith-1.5-35B-A3B-MLX-4bit", "gb": 19.5}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "qwen3-coder",
|
||||
"kv_kib_per_token": 48.0,
|
||||
"title": "Qwen3 Coder 30B A3B",
|
||||
"about": "Coding-tuned mixture-of-experts, no reasoning phase.",
|
||||
"context": 262144,
|
||||
"hybrid": false,
|
||||
"reasoning": false,
|
||||
"vllm": {"tool_parser": "qwen3_coder", "kv_cache_dtype": "fp8"},
|
||||
"mlx": {},
|
||||
"variants": {
|
||||
"fp8": {"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8", "gb": 31.2},
|
||||
"bf16": {"repo": "Qwen/Qwen3-Coder-30B-A3B-Instruct", "gb": 61.1},
|
||||
"awq": {"repo": "cyankiwi/Qwen3-Coder-30B-A3B-Instruct-AWQ-4bit", "gb": 18.1},
|
||||
"mlx-8bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-8bit", "gb": 32.4},
|
||||
"mlx-6bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-6bit", "gb": 24.8},
|
||||
"mlx-4bit": {"repo": "lmstudio-community/Qwen3-Coder-30B-A3B-Instruct-MLX-4bit", "gb": 17.2}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ornith-1.5-122b",
|
||||
"kv_kib_per_token": 13.2,
|
||||
"title": "Ornith 1.5 122B",
|
||||
"about": "Largest option; needs ~80 GB of GPU memory even at 4-bit.",
|
||||
"context": 262144,
|
||||
"hybrid": true,
|
||||
"reasoning": true,
|
||||
"vllm": {"tool_parser": "qwen3_xml", "reasoning_parser": "qwen3", "kv_cache_dtype": "fp8", "trust_remote_code": true},
|
||||
"mlx": {"trust_remote_code": true},
|
||||
"variants": {
|
||||
"fp8": {"repo": "ornith-ai/Ornith-1.5-122B-FP8", "gb": 132.9},
|
||||
"bf16": {"repo": "ornith-ai/Ornith-1.5-122B", "gb": 250.2},
|
||||
"nvfp4": {"repo": "ornith-ai/Ornith-1.5-122B-NVFP4", "gb": 77.6},
|
||||
"awq": {"repo": "cyankiwi/Ornith-1.5-122B-AWQ-INT4", "gb": 85.3},
|
||||
"mlx-8bit": {"repo": "ornith-ai/Ornith-1.5-122B-MLX-8bit", "gb": 130.6},
|
||||
"mlx-4bit": {"repo": "ornith-ai/Ornith-1.5-122B-MLX-4bit", "gb": 69.6}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue