Skip to content

Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.

616 B
Raw Blame
"""MTP / nextn block (blk.<n>.nextn.*): predicate only, built after the trunk is correct (Hy4 step 8)."""
from __future__ import annotations
from ..gguf_registry import Block, register

register(Block(
    "mtp_nextn", "layer_mod", step="step 8",
    select=lambda ctx, i: ctx.has(i, "nextn.eh_proj.weight"),
    config=lambda ctx, i: {"nextn_predict_layers": ctx.key("nextn_predict_layers")},
    claims=frozenset({"nextn.eh_proj.weight", "nextn.enorm.weight", "nextn.hnorm.weight", "nextn.shared_head_norm.weight",
                      "nextn.embed_tokens.weight", "nextn.shared_head_head.weight"}), build=None))