Skip to content

The agent that grows with you

feat(local-runtime): cut Muse Glimmer and Nemotron 3.5 Lightning from the catalog

emozilla18184d973a68
diff --git a/hermes_cli/local_runtime/catalog.json b/hermes_cli/local_runtime/catalog.json
index d351ec42273..7971d5cde90 100644
--- a/hermes_cli/local_runtime/catalog.json
+++ b/hermes_cli/local_runtime/catalog.json
@@ -115,66 +115,6 @@
"min-p": "0.0"
}
},
- {
- "id": "nemotron-3.5-lightning-30b",
- "display_name": "Nemotron 3.5 Lightning 30B",
- "description": "NVIDIA's fast tool-calling model; 1M-token context",
- "repo": "unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF",
- "variants": [
- {
- "quant": "UD-Q4_K_M",
- "files": [
- {
- "path": "NVIDIA-Nemotron-3.5-Lightning-30B-A3B-UD-Q4_K_M.gguf",
- "size_bytes": 25266255936
- }
- ]
- }
- ],
- "n_ctx_train": 1048576,
- "full_layers": 6,
- "recurrent_layers": 46,
- "per_layer_f16": 1024,
- "moe": true,
- "mtp": true,
- "n_vocab": 131072,
- "sampling": {
- "temp": "0.6",
- "top-p": "0.95",
- "min-p": "0.01"
- }
- },
- {
- "id": "muse-glimmer-30b",
- "display_name": "Muse Glimmer 30B",
- "description": "Meta's open vision model for coding and agent work",
- "repo": "unsloth/Muse-Glimmer-30B-GGUF",
- "variants": [
- {
- "quant": "UD-Q4_K_XL",
- "files": [
- {
- "path": "Muse-Glimmer-30B-UD-Q4_K_XL.gguf",
- "size_bytes": 15878222368
- }
- ]
- }
- ],
- "n_ctx_train": 262144,
- "full_layers": 60,
- "recurrent_layers": 0,
- "per_layer_f16": 4096,
- "n_vocab": 202048,
- "mmproj": {
- "path": "mmproj-Muse-Glimmer-30B-BF16.gguf",
- "size_bytes": 3849173728
- },
- "sampling": {
- "temp": "1.0",
- "top-p": "0.95",
- "top-k": "64"
- }
- },
{
"id": "deepseek-v4-flash",
"display_name": "DeepSeek V4 Flash",
diff --git a/tests/hermes_cli/test_catalog_json.py b/tests/hermes_cli/test_catalog_json.py
index f0318684f3b..9aa8973b109 100644
--- a/tests/hermes_cli/test_catalog_json.py
+++ b/tests/hermes_cli/test_catalog_json.py
@@ -54,7 +54,7 @@ def test_packaged_json_round_trips_the_catalog():
every entry carries estimator inputs and at least one variant, and the
known invariants (best-first ordering, Q4 floor) hold — the same
contract the literals obeyed."""
- assert len(cat.CATALOG) >= 5
+ assert len(cat.CATALOG) >= 4
for e in cat.CATALOG:
assert e.variants and e.n_ctx_train > 0 and e.per_layer_f16 >= 0
sizes = [v.size_bytes for v in e.variants]
diff --git a/tests/hermes_cli/test_catalog_variants.py b/tests/hermes_cli/test_catalog_variants.py
index 81b8956b444..4912be4ec46 100644
--- a/tests/hermes_cli/test_catalog_variants.py
+++ b/tests/hermes_cli/test_catalog_variants.py
@@ -54,7 +54,7 @@ def test_selection_is_the_q4_build_even_with_headroom():
"""The selector picks the Q4 build even when bigger quants would fit
with room to spare — headroom buys window, not quant. Larger builds
stay one tile click away in the pane."""
- entry = catalog_by_id()["muse-glimmer-30b"]
+ entry = catalog_by_id()["qwen3.8-27b"]
choice = select_variant(entry, budget(60))
assert choice is not None
assert choice.zero_spill
@@ -103,7 +103,7 @@ def test_selection_accounts_for_kv_not_just_weights():
"""The zero-spill check prices weights + KV, not weights alone: give a
machine exactly enough VRAM for the build's weights and the fit must
come back spilled, not zero-spill."""
- entry = catalog_by_id()["muse-glimmer-30b"]
+ entry = catalog_by_id()["qwen3.8-27b"]
build = entry.variants[0]
exactly_weights = HardwareBudget(
usable_vram_bytes=build.size_bytes + (100 << 20),
@@ -157,9 +157,26 @@ def test_hybrid_long_context_stays_cheap():
from hermes_cli.local_runtime.catalog import FLOOR
from hermes_cli.local_runtime.estimator import ctx_bytes
- dense = catalog_by_id()["muse-glimmer-30b"]
- hybrid = catalog_by_id()["nemotron-3.5-lightning-30b"]
- dense_kv = ctx_bytes(dense.profile(dense.variants[-1]), FLOOR)
- hybrid_kv = ctx_bytes(hybrid.profile(hybrid.variants[-1]), FLOOR)
- assert hybrid_kv * 5 < dense_kv, (
- f"hybrid KV ({hybrid_kv:,}) should be >5x cheaper than dense ({dense_kv:,})")
+ from hermes_cli.local_runtime.estimator import LayerKind, ModelProfile
+
+ hybrid = catalog_by_id()["qwen3.6-35b-a3b"]
+ hybrid_profile = hybrid.profile(hybrid.variants[-1])
+ # A fully-dense profile of the same layer count and per-layer cost:
+ # the contract is about LAYER ECONOMICS (recurrent layers pay no
+ # per-token KV), not about any particular catalog entry.
+ n_layers = len(hybrid_profile.layers)
+ dense_profile = ModelProfile(
+ name="synthetic-dense", weights_bytes=hybrid_profile.weights_bytes,
+ embd_table_bytes=0, n_ctx_train=hybrid.n_ctx_train,
+ layers=[(LayerKind.FULL, hybrid.per_layer_f16)] * n_layers)
+ dense_kv = ctx_bytes(dense_profile, FLOOR)
+ hybrid_kv = ctx_bytes(hybrid_profile, FLOOR)
+ # The contract is structural: recurrent layers pay no per-token KV,
+ # so the hybrid's KV must track its full-attention share (x kv_scale
+ # for MTP's draft context), not its total layer count.
+ full = sum(1 for kind, _ in hybrid_profile.layers if kind == LayerKind.FULL)
+ expected = dense_kv * full / n_layers * hybrid_profile.kv_scale
+ assert hybrid_kv < dense_kv, "hybrid must be cheaper than dense"
+ assert abs(hybrid_kv - expected) / expected < 0.25, (
+ f"hybrid KV ({hybrid_kv:,}) should track its full-attention share "
+ f"(expected ~{expected:,.0f})")