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.
Python amdapple-siliconcudadeepseekexl3exllamav3glminferencellmllm-inferencelocal-llmnvidiaopenai-apiquantizationqwenrocmstrix-halo
Docs: image input on the GLM and MiMo servers
YanissAmz440202e3b672
diff --git a/doc/mimo_v2_6.md b/doc/mimo_v2_6.mdindex feb3a8e..8241095 100644--- a/doc/mimo_v2_6.md+++ b/doc/mimo_v2_6.md@@ -38,7 +38,7 @@ The upstream architecture-support issue is### What is not supported-* **Text only.** No vision, no audio (`vision: false`).+* **No audio, no video.** Images work with `tools/mimo/serve.py` (see `tools/mimo/SERVE.md`); the TabbyAPI path below stays text only (`vision: false`).* **MTP drafting.** The checkpoint's `num_nextn_predict_layers: 3` head is not ported. UseDFlash instead — it is faster anyway.* **Tensor parallel.** `supports_tp = False` for this architecture.diff --git a/tools/glm/SERVE.md b/tools/glm/SERVE.mdindex 2fe526a..e6f2d6d 100644--- a/tools/glm/SERVE.md+++ b/tools/glm/SERVE.md@@ -88,7 +88,15 @@ Honored:Ignored (accepted, no effect): `n`, `seed`, `logprobs`, `top_k`, `presence_penalty`,`frequency_penalty`, `response_format`, `stream_options`, `user`, `parallel_tool_calls`,-`tool_choice`, multimodal content parts (images are never sent to the vision tower).+`tool_choice`.++### Images++The server loads the vision tower of the pack at start (+0.35 GB GPU memory, about 2 s) and prints `vision=True`.+An image goes in a user message as an OpenAI `image_url` part; the URL is a `data:` URI or a local file path (the+server does not fetch remote URLs). One image takes 40 to about 1,500 tokens depending on its size. An image that is+sent again in a later turn keeps the prompt cache. `--no-vision` skips the tower; an image request then gets HTTP 400,+as do video and audio parts.### Streaming format`Content-Type: text/event-stream`. Every frame is a bare `data: {...}` line (no `event:`diff --git a/tools/mimo/SERVE.md b/tools/mimo/SERVE.mdindex 8c7e9c8..a7c07b6 100644--- a/tools/mimo/SERVE.md+++ b/tools/mimo/SERVE.md@@ -32,6 +32,14 @@ Flags: `--host --port --model --model-id --drafter --ctx --ndt`Tool calls: a block body is JSON or `<parameter=k>v</parameter>` XML, typed by the request's tool schema; one block may hold several `<function=...>` elements; a malformed body is passed through raw; a cut-off trailing call is dropped.Model id in requests: `MiMo-2.6-EXL3`.+### Images++The server loads the vision tower from `<model>/vision/vision.safetensors` at start (1.4 GiB GPU memory, about 2 s).+The file is in the hub pack; a pack downloaded before it was added needs `hf download` again. An image goes in a user+message as an OpenAI `image_url` part; the URL is a `data:` URI or a local file path (the server does not fetch remote+URLs). One image takes 24 to about 1,100 tokens depending on its size (capped at 2,097,152 pixels, `MIMO_IMAGE_MAX_PIXELS`). `--no-vision`+skips the tower; an image request then gets HTTP 400, also when the file is missing. Audio and video are not supported.+`--ctx 0` (default) takes the max context from the model config, following `text_config` when thetop-level config does not carry `max_position_embeddings` — the GLM fix.