Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c/family_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ def _qwen38_resident_inventory(name, size, _config, dtype=None):
limits=FamilyLimits(8192, 1048576, 1024, 16384, 1, 16, "CTX"),
# tools (the XML call form, parse_mimo_tool_calls), thinking (on by default,
# as the template has it); no grammars, no audio in or out
capabilities=FamilyCapabilities(True, False, False, True),
capabilities=FamilyCapabilities(True, False, False, True, image=True),
has_gateway_adapter=True,
# the engine is driven through the gateway (SERVE); coli run has no mimo
# branch and would fall through to GLM's binary, as for deepseek_v41
Expand Down
3 changes: 2 additions & 1 deletion c/mimo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,8 @@ static void serve_loop(Model *m, Tok *tokenizer, const char *dir) {
coli_serve_stdio_init();
int eos[8];
int n_eos = coli_load_stop_ids(dir, eos, 8, NULL);
coli_serve_write_ready(stdout, rss_gb());
/* CAPS: the gateway offers pictures only when the tower actually loaded */
coli_serve_write_ready_caps(stdout, rss_gb(), g_vision ? "vision=1" : "vision=0");
serve_emap(m);
float *logits = xmalloc((size_t)c->vocab * sizeof(float), "logits");
int *ids = xmalloc(((size_t)m->ctx + 1) * sizeof(int), "prompt ids");
Expand Down
2 changes: 1 addition & 1 deletion c/tests/test_family_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_capabilities_carry_the_image_bit_for_families_with_an_image_path(self):
# vision_config and no model.visual.* tensors.
by_id, _ = _build_registry(FAMILIES)
for family_id, expected in (("glm53", True), ("qwen38", True), ("qwen36", True),
("deepseek_v41", True), ("glm", False), ("kimi", False),
("deepseek_v41", True), ("mimo", True), ("glm", False), ("kimi", False),
("inkling", False), ("olmoe", False),
("deepseek_v4", False), ("qwen_image", False)):
with self.subTest(family=family_id):
Expand Down
Loading