Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
qwen-image: --auto-tier says it has nothing to place; plainer detection reasons
JustVugg75472c893353
diff --git a/c/coli b/c/coliindex f2c5c5aa..3c54d0c3 100755--- a/c/coli+++ b/c/coli@@ -613,7 +613,12 @@ def env_for_engine(a, arch, plan=None):sys.exit(f"{C.yel}--vram needs the CUDA build:{C.r} the engine binary is CPU-only")env["COLI_CUDA"] = "1"env["CUDA_EXPERT_GB"] = str(vram)- if getattr(a, "auto_tier", False):+ if getattr(a, "auto_tier", False) and family.modality == "image":+ # The tier plan places experts and KV state; an image model has+ # neither, and build_plan would stop on "no safetensors shards".+ print(f" {C.dim}[PLAN] --auto-tier has nothing to place for "+ f"{family.display_name}; coli plan shows its RAM{C.r}", file=sys.stderr)+ elif getattr(a, "auto_tier", False):# GLM has historically applied both the resource plan and its measured# profile inside env_for(). The sibling launcher returned above that# code path, so #1196 could measure and save a perfectly valid Kimi,diff --git a/c/term_image.py b/c/term_image.pyindex 1d0ee36d..f159337f 100644--- a/c/term_image.py+++ b/c/term_image.py@@ -119,7 +119,7 @@ def detect(env=None, stream=None, query=True, da1=None):if env.get("TMUX") or term.startswith(("screen", "tmux")):# tmux forwards graphics only with allow-passthrough (and sixel only# when built for it): half blocks are the one thing that always shows.- return "blocks", "inside tmux/screen (set COLI_IMAGE_PROTOCOL to force graphics)"+ return "blocks", "inside tmux or screen; COLI_IMAGE_PROTOCOL forces graphics"if env.get("KITTY_WINDOW_ID") or term == "xterm-kitty":return "kitty", "kitty"if program == "ghostty" or term == "xterm-ghostty" or env.get("GHOSTTY_RESOURCES_DIR"):@@ -140,8 +140,8 @@ def detect(env=None, stream=None, query=True, da1=None):# and the same setting turns on its iTerm2 decoder.if sixel():return "iterm", "VS Code terminal with images enabled"- return "blocks", ("VS Code terminal (enable terminal.integrated.enableImages "- "for full-resolution images)")+ return "blocks", ("VS Code terminal; terminal.integrated.enableImages gives "+ "full-resolution images")candidate = (env.get("WT_SESSION") or term.startswith(("foot", "mlterm", "xterm", "contour","mintty"))or program in ("mintty", "contour") or env.get("KONSOLE_VERSION"))@@ -149,7 +149,7 @@ def detect(env=None, stream=None, query=True, da1=None):return "sixel", ("Windows Terminal (sixel)" if env.get("WT_SESSION")else f"{term or program} reports sixel")if env.get("WT_SESSION"):- return "blocks", "Windows Terminal without sixel (1.22+ has it)"+ return "blocks", "Windows Terminal did not report sixel; 1.22 or newer has it"return "blocks", "no graphics protocol detected"