Vision

Image input: resizing, token caps, the vision tower and its cache.

13 options, alphabetical, diagnostics last. All themes and the A–Z index.

--dsv41-max-images

Value<N>
Default16
--help-advanced sectionDsv4 / Dspark

DeepSeek-V4.1 (leg VIS1): maximum inline base64 images accepted in one /v1/chat/completions request (default 16; 0 = unlimited; remote http/https and local file paths are always rejected with 400 invalid_image_url)

--dsv41-vision

Value<auto|on|off>
Defaultauto
--help-advanced sectionDsv4 / Dspark

DeepSeek-V4.1 (leg VIS1): Rank-0 32-layer ViT + 3x3 unfold MLP aligner (~0.90 GiB BF16 on rank 0). auto (default) / on = load vision weights when the pack's config.json has vision_config and serve inline base64 / data:image/...;base64,... multimodal chat requests (with per-layer gate.bias_vl routing and Engram DEAD span masking); off = do not load vision weights and reject image requests with 400 images_unsupported. Text-only requests take the exact pre-vision code path with zero overhead

--image-max-edge

Value<N>
Default1024
--help-advanced sectionServing

vision (D-VIS-RESIZE, owner 2026-09-30): every input image is resized so its LONGER side is at most N px, aspect ratio kept, before the model's own 32-px grid snap; never a size 400. 0 = no cap (the preprocessor's 16.7 MP limit still applies)

--image-max-tokens

Value<N>
Default4096
--help-advanced sectionServing

vision (Inkling-2 server): the most LM tokens one image may take (one token per 40 x 40 pixel tile; 4096 = about 2560 x 2560 px). The reference preprocessing has no resize; an image above the cap is downscaled (Lanczos3, aspect kept) to the largest size that fits, said once in the log and counted on /metrics; nothing is refused. The Inkling-2 server does not read --image-max-edge

--vision-cpu

Valueswitch
Defaultoff
--help-advanced sectionServing

vision (NVFP4 server only; the EXL3 server always builds the GPU tower and says so if this is given): force the CPU reference tower for image requests (the GPU tower is not built). Much slower than the GPU tower. Measured on one big core of an idle box (the 3.05 pack's tower, --vision-cpu-threads 1): 55 s for a 224 x 224 image and 173 s for 448 x 448 (31 s at --vision-cpu-threads 8). NOT measured at the default --image-max-edge 1024 (4,096 patches): projected from those figures it is many minutes at one thread (linear in the patch count for the GEMMs, quadratic for attention). A diagnostic escape; --vision-cpu=off or no flag = the GPU tower serves

--vision-cpu-threads

Value<N>
Default1
--help-advanced sectionServing

vision: threads of the CPU reference tower (1..64). The CPU tower answers an image request only when the GPU tower failed (the fallback), and it is much slower than the GPU tower, growing with the image. N > 1 splits its token rows over N threads on the server's worker cores; the embeddings are bit-identical for every thread count N (no dot product changes; tested at 1, 2, 3, 7, 16 and 64 threads). Default 1 = single-threaded

--vision-embed-cache-mb

Value<N>
Default512
--help-advanced sectionServing

vision (VISCACHE): MiB of merged image embeddings this server keeps keyed on the image CONTENT: a request that carries an image whose base64 payload the vision tower has already run (the same screenshot re-sent on every turn of a chat conversation) is served the stored embeddings, skipping the tower for it (the CPU reference path is about 2.3 s per image; the whole decode+preprocess+tower is skipped on the GPU path too). A stored entry carries the payload string and a hit compares it byte for byte, so a key-hash collision can never serve the wrong image. The least recently used image shifts out when the cap would be exceeded; an image bigger than the whole cap is never kept. /metrics carries velogb10_vision_cache_bytes/hits_total/misses_total/evictions_total. Default 512 (~60 screenshots' embeddings); 0 = off. Head-local: under TP the vision dispatch runs on the head only and the merged rows ship to the ranks over the wire, so a head-local cache is consistent

--inkling2-vision-cpu-max-tokens diagnostic per machine

Value<N>
Default400
--help-advanced sectionDiagnostics / Test Drills

--probe-inkling2-vision: run the f32 CPU oracle only on images of at most N LM tokens (its time grows with the image)

--inkling2-vision-gemm-k1 diagnostic per machine

Valueswitch
Defaultoff
--help-advanced sectionDiagnostics / Test Drills

--probe-inkling2-vision: run the tower's GEMMs on the K1 projection kernel instead of cuBLAS (comparison)

--inkling2-vision-no-gpu diagnostic per machine

Valueswitch
Defaultoff
--help-advanced sectionDiagnostics / Test Drills

--probe-inkling2-vision: CPU checks only (no GPU tower)

--inkling2-vision-text diagnostic per machine

Valueswitch
Defaultoff
--help-advanced sectionDiagnostics / Test Drills

--probe-inkling2-vision: image prompts through the text model instead (spliced inputs, CPU-oracle first-visit hidden and logits, GPU logits + greedy steps) vs `ref_vision.py text` dumps

--inkling2-vision-text-no-cpu diagnostic per machine

Valueswitch
Defaultoff
--help-advanced sectionDiagnostics / Test Drills

--inkling2-vision-text: GPU only (skip the f32 CPU oracle of the text model)

--inkling2-vision-time diagnostic per machine

Valueswitch
Defaultoff
--help-advanced sectionDiagnostics / Test Drills

--probe-inkling2-vision --inkling2-vision-time IMG...: tower time per image (decode + preprocess on the CPU, GPU tower), no reference dumps needed; --inkling2-vision-cpu-max-tokens doubles as the per-image token cap here

Generated from the --help and --help-advanced output of the v0.8.1 release binary (velogb10-v0.8.1-gb10-sm121.tar.gz, sha256 109a53c41e0d79e0…, from the GitHub release). Every option it lists is here.