mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #967] Unsloth ud-q4_k_xl - no vision? #421
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kelheor on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/967
During setup I don't see vision settings and model run without vision as a result. Can you fix it?
AMD Ryzen 9 5950X + 128GB DDR4 + RTX 4090 24GB (no vision) - ~47 tps for output.
@kelheor commented on GitHub (Oct 5, 2026):
Fixed it for myself by adding
--visionto strata-unsloth-ud-q4_k_xl.json as well asand by downloading files from unsloth manually.
Maybe because I didn't do setup with vision encoder on, the speed become ~40-45 tps for output (tested in build-in chat, maybe in OpenCode it will be higher for coding tasks). Still think it's better to add built-in support for vision encoder.
Update: in OpenCode the speed is ~40-55 tps (in comparison IQ3_S on the same settings - ~90-100 tps).
@talisp commented on GitHub (Oct 5, 2026):
In the 0.1.39 setup, images are an official option for UD-IQ4_XS (
docs/UNSLOTH_Q4.md: "Images are an option ... the image path has no restriction for this pack"). UD-Q4_K_XL is still described as "not wired yet", which matches what you saw.UD-IQ4_XS with
--vision gpuworks here (NVIDIA L40S, Linux, samemmproj-Qwen3.8-Flash-Next-BF16.gguf). Setup command, checks and speed are in #971.@kelheor commented on GitHub (Oct 5, 2026):
Any reason not to do this yet? It works with manual configs.
@talisp commented on GitHub (Oct 5, 2026):
@kelheor first, a correction to my earlier note: I should have said clearly that the model does not see by itself. Every Qwen3.8-Flash-Next GGUF (IQ3_S, UD-IQ4_XS, UD-Q4_K_XL, …) is text-only. Images need two extra pieces, which your manual config adds:
mmproj-Qwen3.8-Flash-Next-BF16.gguf, a separate ~0.9 GB file in BF16. It is the same file for every quant of this model.strata-visionhelper, which runs that encoder and hands the image tokens to the engine.For IQ3_S and UD-IQ4_XS, setup does all of this when you answer yes to "Do you want images?" (or pass
--vision gpu). For UD-Q4_K_XL it doesn't yet. Why is the maintainer's call: that model is marked experimental, and the docs say even UD-IQ4_XS "has not been run with images". Your config is the missing test case: if the image answers look right, a sample here would help @Niko1221 decide whether to make it a setup option.Doing it by hand (what setup does, for anyone else reading):
models/, next to the model folders: Size 907,543,008 bytes, SHA-256b1a82259702816a5330d7bd7607cd9676b11780e79ff7348c21103ff3ce49bd0.strata-vision(.exe)next tostrata(.exe), in theenginefolder. A source build (--build) compiles it only when images are on; it takes 10–20 min with CUDA.strata-<model>.json(setup's format):"--vision", "--vram-reserve-mib", "700"to"args"(--visionis a bare flag;--vision gpu/cpuare setup options, not engine arguments);"gpu": false, "max_tokens": 300, "threads": <half your cores>.loading the vision encoder ...;strata-vision: warmed up at 1024 image tokens;GET /healthshows"images": true.http://127.0.0.1:<port>/; with an API key, add it under About > Settings), attach a picture. Or over the API with animage_urlpart (adata:URL), as indocs/DETAILS.md→ "Images (vision)". Our check: a white image with a red circle, a blue square and a green triangle; the model must give the count, shapes and colours left to right.@kelheor commented on GitHub (Oct 5, 2026):
@talisp I already did this by myself, as I mentioned before. Image processing works fine for me - I tested it with test image. When I mentioned "Maybe because I didn't do setup with vision encoder on" I meant that during setup model trying to find best config params and my config created without vision on, since there is no vision support via script yet - so when it will be added, output might be faster for a few tokens (or might not).
@Niko1221 commented on GitHub (Oct 6, 2026):
It is not wired on purpose: UD-Q4_K_XL was never run with images by us. Since it works by hand for you and for UD-IQ4_XS, the plan is to allow
--visionfor it with a warning that it is untested (a recommendation, not a block), after one smoke test on our side. 0.1.41.@yhayato commented on GitHub (Oct 6, 2026):
I followed the prescription and confirmed that the vision option works with ud-q4_k_xl.
(Intel ultra 9 285k with 192GB RAM and single RTX 3090.)
Thank you for providing the solution.
@Niko1221 commented on GitHub (Oct 7, 2026):
In 0.1.40.2 setup allows images with UD-Q4_K_XL and warns that we have not run that file with images ourselves (you and the other report in #971 did, by hand). If your answers look right with the setup-made config, a short note here helps.
@kelheor commented on GitHub (Oct 7, 2026):
I ran SETUP.bat on 0.1.40.2 with vision on - it still works fine and process images without issues.
@CYoung83 commented on GitHub (Oct 8, 2026):
A sample for UD-Q4_K_XL with images, and the same check on UD-Q5_K_XL: engine 0.1.41 (source build, CUDA 13.3), RTX 5090, 89 GiB RAM,
--resident-budget-gib 48. Thevisionsection is the same as in kelheor's config above, with--vision --vram-reserve-mib 700.The check is one generated picture (a red circle, a blue square and the number 4271) and three questions:
The image encoder's speed cost on the same machine, as decode tok/s at 4K / 32K prompts:
This is one simple picture, so it shows the image path works on these packs, not how well they read harder images. The full data, configs and scripts are in #1617. UD-Q5_K_XL also needs #1612 to load.