Archived
docs: GLM-5.3's vision -- the tower, its processor and traps, converting, serving
ARCHITECTURES.md's glm5next section describes the tower, the processor's budget against the encoder pass, and the readings that are wrong without an error (the downsample's column order, the rotary's pairing, no rotary in the language model, the draft head's image rows), with what the tower measured against transformers. GUIDE.md, spec.md §11, PLUGIN.md, the README and the compose file say GLM-5.3 takes pictures and how a container gains the tower. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1f7e1faa73
commit
c4a47673f2
6 files changed
+96
-19
No files matched your search
@@ -46,7 +46,7 @@ To support the development of radiance: [Patreon](https://patreon.com/StillDeadC
|
||||
| Breeze-TTS-2 bf16: speech, whole, streamed or live, one card | `breeze-tts2-bf16.rad` (5.5 GiB) | [download](https://huggingface.co/StillDeadcode/radiance-breeze-tts2-bf16) | `breeze-tts2.yaml` |
|
||||
| Qwen3.8-27B ParoQuant int4, int5 or MXFP4 (learned rotations), DFlash2 drafter, vision | `qwen3.8-27b-paro-int4.rad` (19 GiB; int5 22 GiB) | [convert](#convert-a-checkpoint) | `qwen3.8-27b-paro.yaml` |
|
||||
| TranslateGemma 27B MXFP4 (GPTQ), translation; optional DFlash2 drafter | `translategemma-27b-mxfp4-gptq.rad` (17 GiB) | [convert](#convert-a-checkpoint) | `translategemma-27b.yaml` |
|
||||
| GLM-5.3-Flash: MXFP4 experts and block-FP8 attention (AMD Quark), MTP, eight cards | `glm53-flash-mxfp4.rad` (171 GiB) | [convert](#convert-a-checkpoint) | `glm53-flash.yaml` |
|
||||
| GLM-5.3-Flash: MXFP4 experts and block-FP8 attention (AMD Quark), MTP, vision, eight cards | `glm53-flash-mxfp4.rad` (172 GiB) | [convert](#convert-a-checkpoint) | `glm53-flash.yaml` |
|
||||
| Qwen3.8-27B bf16 | `qwen3.8-27b-bf16.rad` (50 GiB) | [convert](#convert-a-checkpoint) | `qwen3.8-27b-bf16.yaml` |
|
||||
| Qwen3.8-Flash-Next bf16, a disk-streamed reference | `qwen3.8-flash-next-bf16.rad` (335 GiB) | [convert](#convert-a-checkpoint) | `flashnext-bf16.yaml` |
|
||||
| Stable Diffusion XL bf16 and its finetunes (Illustrious, NoobAI, Pony): text to image, one card | `illustrious-xl-v2.0-bf16.rad` (6.4 GiB), from any single-file SDXL checkpoint | [convert](#convert-a-checkpoint) | `sdxl.yaml` |
|
||||
@@ -81,10 +81,12 @@ client sends on `/v1/completions` the prompt the checkpoint's template renders.
|
||||
|
||||
GLM-5.3-Flash is converted from AMD's Quark export (`amd/GLM-5.3-Flash-Quark-MXFP4`) with
|
||||
`data/recipes/glm53-mxfp4.recipe`, which keeps every weight as stored except the latent
|
||||
attention's small kv_b, decoded to bf16. At 171 GiB it takes eight R9700s (`--tp 8`), every expert
|
||||
attention's small kv_b, decoded to bf16. At 172 GiB it takes eight R9700s (`--tp 8`), every expert
|
||||
resident, and its own MTP layer drafts. On eight R9700s it prefills 3958 tok/s at 6k tokens,
|
||||
decodes 166 tok/s on one stream and 426 over eight, and 506 under eight streams of agent turns.
|
||||
It serves text only, with a bf16 KV cache. Its template knows the reasoning efforts `low` and
|
||||
Pictures go through its own vision tower, up to 4096 tokens an image at the default encoder pass
|
||||
(`--mm-max-patches 32000` serves the checkpoint's 8000); the KV cache is bf16. Its template knows
|
||||
the reasoning efforts `low` and
|
||||
`high` and renders any other as its maximum, so `glm53-flash.yaml` maps `medium` and `xhigh`
|
||||
to `high`.
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# GLM-5.3-Flash from AMD's Quark export (data/recipes/glm53-mxfp4.recipe): MXFP4 experts,
|
||||
# block-FP8 attention, the native MTP layer as the drafter. It takes eight 32 GB cards with the
|
||||
# whole expert plane in VRAM; text only. The KV cache is bf16, the only one the plugin declares.
|
||||
# whole expert plane in VRAM; a container with the vision tower serves pictures too, at the
|
||||
# default encoder pass. The KV cache is bf16, the only one the plugin declares.
|
||||
#
|
||||
# A hybrid reuses a cached prefix only from a recurrent-state checkpoint at or below it, so the
|
||||
# interval is 1024, which keeps a 1.5k-token system prompt's first 1024 tokens; --prefill-span 4
|
||||
|
||||
+72
-6
@@ -14,7 +14,7 @@ plugin claims.
|
||||
| `arch/qwen35_w8a8` | `qwen35` | `w8a8_fwht128` | `qwen35_fp8` with an int8 trunk: i8 weights with a bf16 scale per 128 of K, rotated by a 128-wide Hadamard, against int8 activations under the same rotation (`data/recipes/q38-27b-w8a8-df2.recipe`) |
|
||||
| `arch/qwen35moe_fp8` | `qwen35moe` | `fp8_e4m3` | `qwen35_fp8` with the feed-forward routed |
|
||||
| `arch/qwen4exp_fp8` | `qwen4exp` | *(empty)* | Qwen4-Exp (Qwen3.8-Flash-Next), a bf16 checkpoint quantised at convert |
|
||||
| `arch/glm5next` | `glm5next` | *(empty)* | GLM-5.3-Flash from AMD's Quark MXFP4 export: four mHC residual streams over 34 KDA and 11 sparse latent-attention (MLA) layers with a DSA indexer, 288 MXFP4 experts at top-8 under sigmoid routing, block-FP8 attention and dense layers at f32 scales, each weight served as stored; its MTP layer is a serial drafter. Text only, bf16 KV |
|
||||
| `arch/glm5next` | `glm5next` | *(empty)* | GLM-5.3-Flash from AMD's Quark MXFP4 export: four mHC residual streams over 34 KDA and 11 sparse latent-attention (MLA) layers with a DSA indexer, 288 MXFP4 experts at top-8 under sigmoid routing, block-FP8 attention and dense layers at f32 scales, each weight served as stored; its MTP layer is a serial drafter. Pictures through its vision tower (`arch/common/rad_block_glm_vision.h`); bf16 KV |
|
||||
| `arch/lfm2_bf16` | `lfm2` | *(empty)* | LiquidAI's LFM2 and LFM2-VL, bf16, one rank |
|
||||
| `arch/embgemma2` | `embeddinggemma2` | *(empty)* | EmbeddingGemma 2: a bidirectional encoder with Gemma 4's vision tower and audio conformer, pooled to one vector |
|
||||
| `arch/gemma4_bf16` | `gemma4` | `compressed-tensors` | Gemma 4 31B dense with its vision tower: sliding-window and proportional-RoPE global (`attention_k_eq_v`) attention, GELU ffn, softcapped logits; int4 codes with an f16 scale per 128 from Google's CT-INT4 (QAT) release or from bf16, served w4a8, or int8 codes on the same grid from bf16 (w8a8, the Q8 container). Optional draft model (`rad-convert --draft-model`): Google's assistant, with no cache of its own (`rad_drafter_shared_kv`), or z-lab's DFlash drafter, the block `arch/gemma4` serves (`arch/common/rad_gemma4_dflash.h`), or RedHatAI's DFlash2 speculator (`arch/common/rad_block_dflash2.h`) |
|
||||
@@ -411,9 +411,10 @@ The vision tower is declared when the container carries one and `--mm-max-patche
|
||||
`arch/glm5next` serves the language model of GLM-5.3-Flash (`model_type: glm5_next`) from AMD's
|
||||
Quark export, `amd/GLM-5.3-Flash-Quark-MXFP4`. Quark is an import path, not an execution format:
|
||||
the plugin claims the empty descriptor and reads each weight's encoding from the container
|
||||
(`data/recipes/glm53-mxfp4.recipe` changes one weight a layer, below). The vision tower is not
|
||||
mapped, so never converted, and an image request fails its step. The reference is SGLang's
|
||||
`glm5_next.py` and `glm5_next_nextn.py` at AMD's pinned commit 654df43.
|
||||
(`data/recipes/glm53-mxfp4.recipe` changes one weight a layer, below). Its vision tower is
|
||||
declared beside it when the container carries the tower and the deployment asks for an encoder
|
||||
(below). The reference is SGLang's `glm5_next.py` and `glm5_next_nextn.py` at AMD's pinned commit
|
||||
654df43; for the tower and its processor, transformers' `glm5_next`.
|
||||
|
||||
The plugin is one file over blocks in `arch/common`, one block a file; it declares the buffers
|
||||
the blocks share, places them and issues the step's order.
|
||||
@@ -426,6 +427,7 @@ the blocks share, places them and issues the step's order.
|
||||
| `rad_block_glm_indexer.h` | `GlmIndexer`, `DsaCache` | the DSA indexer, its key cache and selection |
|
||||
| `rad_block_glm_router.h` | `GlmRouter` | the correction-bias router, through `MoeFP8` |
|
||||
| `rad_block_glm_mtp.h` | `GlmMtp` | the draft head around the plugin's layer 45 |
|
||||
| `rad_block_glm_vision.h` | `GlmVision`, `MediaRows` | the tower, and its rows over the embeddings |
|
||||
| `rad_glm_tp.h` | `GlmTp`, `SplitF32Proj` | the shards, the split threshold, the column split of a replicated f32 projection |
|
||||
|
||||
```
|
||||
@@ -510,8 +512,8 @@ hybrid, so a prefix-cache hit is usable only from a state checkpoint at or below
|
||||
| router, index head gates, mHC projections | f32 | `gemm_nt_f32`, `mhc_pre` |
|
||||
| embedding, lm_head, MTP eh_proj | bf16 | `embed_lookup`, `logits_gemm`, `gemm_nt` |
|
||||
|
||||
The container holds 25845 weights, 171.32 GiB; at eight ranks each card holds 22.06 GiB of them,
|
||||
19.67 GiB the routed experts.
|
||||
The text container holds 25845 weights, 171.32 GiB, the one with the tower 26143 and 172.37 GiB;
|
||||
at eight ranks each card holds 22.06 GiB of them, 19.67 GiB the routed experts.
|
||||
|
||||
**MTP.** The plugin declares checkpoint layer 45 as a serial drafter (`RAD_DRAFT_SERIAL`), depth
|
||||
3 unless `--num-speculative-tokens` says otherwise (at most 31). Its history pass writes the draft
|
||||
@@ -567,6 +569,70 @@ decode, the collective costs more than it saves and every rank runs the replicat
|
||||
head gates go with the indexer's rows (above). Below the threshold, as in decode, the
|
||||
collective costs more than it saves.
|
||||
|
||||
**Vision.** The tower (`arch/common/rad_block_glm_vision.h`, transformers' `Glm5NextVisionModel`)
|
||||
is declared last, so an encoder pass shares the arena with the step's buffers. Every rank runs it
|
||||
whole: its weights are replicated, `RAD_ACCESS_PER_REQUEST`, a group a block from 46, past the MTP
|
||||
layer's. Its rows replace the `<|image|>` placeholders' embeddings unscaled, before the embedding's
|
||||
reduction (`MediaRows`), in the trunk and in the draft head's lookup, as SGLang feeds its draft
|
||||
model the target's image rows.
|
||||
|
||||
```
|
||||
24 blocks, width 1024, 16 heads of 64, SwiGLU 4096; patch 14 x 14, two frames: 1176-wide rows
|
||||
patch embedding: the Conv3d as a linear with bias; no position table
|
||||
block: RMSNorm; qkv with bias; q and k RMS-normed per head with a gain; a 2-D rotary over
|
||||
(row, column), 16 frequencies an axis at theta 10000; attention within a picture at 1/8; proj
|
||||
with bias; RMSNorm; gate|up with bias, silu(min(g, 10)) * clamp(u, -10, 10), down with bias
|
||||
post_layernorm (RMSNorm), then a 2 x 2 stride-2 Conv2d 1024 -> 4096 over each merged block
|
||||
merger: proj 4096 -> 4096, LayerNorm (affine, eps 1e-5), exact GELU, the clipped SwiGLU through
|
||||
10240; no biases but the norm's. One row a merged block: an image of P patches is P / 4 tokens
|
||||
```
|
||||
|
||||
The processor is `core/mm`'s `Glm5Next` family (`core/mm/processor.h`). A picture's canvas has sides
|
||||
in multiples of 28 and 16 to `max_image_tokens` tokens; the picture keeps its aspect ratio, is
|
||||
resized only when it is under the floor or over the budget (torchvision's bicubic), and the rest
|
||||
of the canvas, right and bottom, is black. It is spelled `<|begin_of_image|>`, one `<|image|>` a
|
||||
token, `<|end_of_image|>`. The checkpoint allows 8000 tokens (32000 patches); one encoder pass
|
||||
bounds it, so `--mm-max-patches auto` (16384) serves at most 4096, and `--mm-max-patches 32000`
|
||||
the checkpoint's budget. `--image-tokens` lowers it. Video is refused.
|
||||
|
||||
Traps:
|
||||
|
||||
- **The downsample reads the processor's merge-block order as stored.** The reference views the
|
||||
post-norm rows as `[blocks, 2, 2, 1024]`, which in merge-block order is four consecutive rows;
|
||||
`conv2d_unfold` (width 2, two input rows a block) writes each block as one row in the weight's
|
||||
own column order `(channel, kernel row, kernel column)`, so the checkpoint's `[4096, 1024, 2, 2]`
|
||||
is read as a `[4096, 4096]` linear unchanged. The 4096-wide view of the four rows without the
|
||||
unfold is `(kernel row, kernel column, channel)`, and multiplied by the stored weight it is another
|
||||
model.
|
||||
- **The rotary pairs across the whole head.** NeoX pairs `(i, i + 32)`, the row on frequencies
|
||||
0-15 and the column on 16-31, each section on its own ladder `theta^(-2j / 32)`: `qk_norm_rope`'s
|
||||
`axial`, not the `blocks` mode of Gemma 4's tower, which rotates each half on its own.
|
||||
- **No rotary in the language model.** An image's tokens take their token positions
|
||||
(`Item::rope_1d`), and the indexer pools and selects them as text.
|
||||
- **Without the image rows in the draft head's lookup** the drafts read the placeholder's
|
||||
embedding: the text stays the trunk's, only acceptance falls on a prompt with a picture.
|
||||
- **The canvas is padded, not stretched**, and an image under the budget is not resampled at all:
|
||||
its patches are the reference processor's bit for bit (`tests/mm_test.cpp`, every case of
|
||||
`tests/glm5_golden.h`, the resampled ones included).
|
||||
|
||||
An existing container gains the tower with `rad-convert --reuse <container>` (298 weights,
|
||||
1.05 GiB, all bf16 as the checkpoint holds them); `--in-place` extends the container itself.
|
||||
|
||||
**Measured** against transformers' tower on the CPU (`tests/glm5_vision_reference.py`), the tower
|
||||
alone, on libref, libavx and one R9700 (libr4d). Three pictures in one pass (1024, 4144 and 792
|
||||
patches, the last padded): the staged patches are the reference processor's bit for bit; the
|
||||
merger's rows reach a cosine of 0.9955 to 0.9970 against the f32 reference, a median per-row
|
||||
relative error of 0.029 to 0.044, where transformers in bf16 reaches 0.9967 to 0.9984 and 0.029 to
|
||||
0.044; against the bf16 reference, 0.9959 to 0.9983. Through block 11 the engine is nearer f32 than
|
||||
the bf16 reference (block 0 3.6e-3 against 3.8e-3 relative, q and k after the rotary 3.1e-3
|
||||
against 3.8e-3); the residual stream then carries a few rows of very large magnitude, and in both a
|
||||
handful of output rows with a small norm differ by 0.3 to 1.2 relative. A picture's rows are the
|
||||
same alone and beside two others in its pass. At 16384 patches (a 2048 x 2048 picture at 4096
|
||||
tokens) the engine reaches 0.9940 to 0.9947 against f32, transformers in bf16 0.9928; at 32000
|
||||
(8000 tokens), 0.994 against the bf16 reference. On one R9700 a pass of 5960 patches takes 92 ms,
|
||||
16384 patches 0.49 s and 32000 1.5 s, with an activation arena of 0.56 and 1.10 GiB, beside the
|
||||
tower's 1.05 GiB of weights on every card.
|
||||
|
||||
**MoE decode fusions.** Three, each byte-identical to the launches it replaces, declared
|
||||
wherever a loaded library serves the fused op (the separate launches otherwise):
|
||||
|
||||
|
||||
+7
-5
@@ -536,8 +536,9 @@ CALIB=/srv/calib/translategemma rad-convert /srv/models/google/translategemma-27
|
||||
--recipe data/recipes/translategemma-27b-mxfp4-gptq.recipe -o translategemma-27b-mxfp4-gptq.rad
|
||||
|
||||
# GLM-5.3-Flash from AMD's Quark export: MXFP4 experts and block-FP8 attention kept as stored,
|
||||
# the latent attention's kv_b decoded to bf16; text only, the vision tower is not converted.
|
||||
# 171 GiB, served on eight 32 GB cards (docs/ARCHITECTURES.md)
|
||||
# the latent attention's kv_b decoded to bf16, the vision tower bf16 as it ships.
|
||||
# 172 GiB, served on eight 32 GB cards (docs/ARCHITECTURES.md). A container converted without the
|
||||
# tower gains it with --reuse <old container> (1.05 GiB written; --in-place extends the old one)
|
||||
rad-convert /srv/models/amd/GLM-5.3-Flash-Quark-MXFP4 \
|
||||
--recipe data/recipes/glm53-mxfp4.recipe -o glm53-flash-mxfp4.rad
|
||||
|
||||
@@ -1651,7 +1652,7 @@ The published vector, its JSON and the llama.cpp patches it was built against ar
|
||||
| `--port N` | 8000 | listen port |
|
||||
| `--api-key KEY` | none | require `Authorization: Bearer KEY` or `X-Api-Key: KEY` on every request but `/health`, `/v1/health`, `/ping` and the dashboard page (§6.6) |
|
||||
| `--served-model-name NAME` | container's name | the model id `/v1/models` lists, the metrics carry and a response names when its request named none. A request may name any model; the loaded one serves it |
|
||||
| `--mm-max-patches N` | auto | patches one vision-encoder pass carries, and so the largest image (a patch is 16x16 pixels). `auto` is 16384 when the container carries a vision tower; 0 serves text only and keeps the tower off the card |
|
||||
| `--mm-max-patches N` | auto | patches one vision-encoder pass carries, and so the largest image (a patch is 16x16 pixels, 14x14 on GLM-5.3). `auto` is 16384 when the container carries a vision tower; 0 serves text only and keeps the tower off the card |
|
||||
| `--override-chat-template PATH` | container's | a Jinja chat template file served in place of the container's. The reply format (reasoning markers, tool calls) is derived from it too, unless the architecture plugin declares one. An unreadable or empty file stops startup |
|
||||
| `--max-queued-requests N` | 8 × `--max-num-seqs` | requests admitted and unfinished at once; past it, 429 |
|
||||
| `--http-threads N` | one per hardware thread, at least 4 | HTTP workers kept while idle |
|
||||
@@ -1686,7 +1687,8 @@ The published vector, its JSON and the llama.cpp patches it was built against ar
|
||||
|
||||
**Media.** Each replaces what the container's preprocessor configuration states, and does nothing for
|
||||
a model that takes no images or video. A Qwen-VL container that states none uses 2 frames a second,
|
||||
4 to 768 frames and 768 tokens a frame.
|
||||
4 to 768 frames and 768 tokens a frame. GLM-5.3 takes pictures only, budgeted in tokens: the video
|
||||
flags are refused on it, and so are the pixel bands.
|
||||
|
||||
| flag | default | |
|
||||
|---|---|---|
|
||||
@@ -1695,7 +1697,7 @@ a model that takes no images or video. A Qwen-VL container that states none uses
|
||||
| `--video-fps F` | container's | frames sampled per second of video |
|
||||
| `--video-min-frames N`, `--video-max-frames N` | container's | the fewest and most frames sampled from a video |
|
||||
| `--video-max-frame-tokens N` | container's | the most prompt tokens one frame may become; 0 is no cap. A token-budget processor (Gemma 4's) takes 70, 140, 280, 560 or 1120 |
|
||||
| `--image-tokens N` | container's | a token-budget processor's image budget (Gemma 4's: 70, 140, 280, 560, 1120); a request's `image_tokens` overrides it. The pixel-band flags are refused on such a model |
|
||||
| `--image-tokens N` | container's | a token-budget processor's image budget: Gemma 4's 70, 140, 280, 560 or 1120, which a request's `image_tokens` overrides; GLM-5.3's ceiling, at most `--mm-max-patches` / 4 (the checkpoint states 8000, which `auto` lowers to 4096). The pixel-band flags are refused on such a model |
|
||||
| `--max-source-pixels N` | 67108864 | the largest image or frame the decoder accepts, before any resize |
|
||||
|
||||
**Quality measurement**, instead of serving; see [TOOLS.md](TOOLS.md#the-kl-mode)
|
||||
|
||||
+3
-2
@@ -362,8 +362,9 @@ says so with `RAD_ARCH_SERVES_IMPORTS(0)` (`qwen35_w8a8` does), and imports keep
|
||||
`qk_norm_rope_gate`.
|
||||
- **Read §8** if the model has a linear or recurrent block.
|
||||
- **Media preprocessing is the core's** (`core/mm`): resizing, patching, placeholder-token
|
||||
expansion and positions, in three processor families (Qwen-VL, Gemma 4, LFM2-VL) chosen by the
|
||||
container's `vision_config.model_type`. A vision model with another pipeline needs a core change.
|
||||
expansion and positions, in four processor families (Qwen-VL, Gemma 4, LFM2-VL, GLM-5.3) chosen
|
||||
by the container's `vision_config.model_type`. A vision model with another pipeline needs a core
|
||||
change.
|
||||
Audio goes through one of two feature extractors, Gemma 4's and Qwen3-ASR's (Whisper's), chosen
|
||||
by `audio_config.model_type`.
|
||||
- **A speech model says how it hears**, through the optional
|
||||
|
||||
@@ -1248,7 +1248,8 @@ of a linear-attention kernel pair's schema (`docs/OPS.md`).
|
||||
|
||||
**Coverage.** Pictures and video on every Qwen container that carries the vision tower
|
||||
(Qwen3.8-27B in bf16 and fp8, Qwen3.6-35B-A3B, Qwen3.8-Flash-Next) and on Gemma 4 31B
|
||||
(`gemma4_bf16`); pictures on LFM2-VL; pictures, video and audio as EmbeddingGemma 2 input. Media
|
||||
(`gemma4_bf16`); pictures on LFM2-VL and GLM-5.3-Flash; pictures, video and audio as EmbeddingGemma
|
||||
2 input. Media
|
||||
arrive as `image_url` / `video_url` chat parts (`input_image` / `input_video` in the Responses
|
||||
API) and audio as `input_audio` / `audio_url`, as `data:` URLs only: fetching a caller's URL would
|
||||
make the server an SSRF proxy.
|
||||
@@ -1266,6 +1267,9 @@ colour matrix and range. The family comes from the container (`core/mm/processor
|
||||
1120); a video is frames at `fps`, each its own segment at the per-frame budget.
|
||||
- **LFM2-VL.** A picture within its token budget is resized whole; a larger one is cut into tiles
|
||||
followed by a thumbnail. Images only.
|
||||
- **GLM-5.3.** A canvas of whole merged patches within a token budget; the picture keeps its aspect
|
||||
ratio, is resized only past the budget or under its floor, and is padded black to the canvas.
|
||||
Images only, the tokens at their positions (the language model has no rotary).
|
||||
|
||||
`tests/mm_test.cpp` checks the processor against goldens generated by `tests/mkgolden.py` from
|
||||
transformers' own functions. A media part reaches the chat template as a marker that the part join
|
||||
@@ -1273,7 +1277,8 @@ leaves unpadded, so an image prompt tokenises to the reference's ids.
|
||||
|
||||
**The encoder is the language model's plugin.** The tower is declared last by the language model's
|
||||
plugin (for Qwen, `arch/common/rad_block_vit.h` in `qwen35_bf16`, `qwen35_fp8`, `qwen35moe_fp8` and
|
||||
`qwen4exp_fp8`) when the container carries its weights and the deployment asks for an encoder
|
||||
`qwen4exp_fp8`; for GLM-5.3, `arch/common/rad_block_glm_vision.h` in `glm5next`) when the container
|
||||
carries its weights and the deployment asks for an encoder
|
||||
(`--mm-max-patches`; `auto` is 16384 patches a pass when the container has a tower, a 2048 x 2048
|
||||
picture at 16x16 patches; a larger picture is resized to fit, since a segment is never split). Its
|
||||
weights are `RAD_ACCESS_PER_REQUEST` in groups past every text layer, declared with one
|
||||
|
||||
Reference in new issue
Block a user