mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1464] Add vision to docker container #587
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#587
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 @ceinstaller on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1464
Hey all, been working on getting Strata working on my AI server. I have it running with Unsloth UD-IQ4 and it performs great. Now I'm trying to add vision and based on searching it looks like I need to modify the config file to add the vision section. Does anyone have example of doing this? I can't find any docs on the config file, just that I need to add the vision section. (I think, anyway.)
Thanks in advance!
@Niko1221 commented on GitHub (Oct 8, 2026):
Setup writes that section for you; you do not need to edit the config by hand. In Docker set the environment variable on
docker run:-e VISION=yesputs the image encoder on the GPU,-e VISION=cpukeeps it on the CPU (the default isno). The image builds the encoder unless it was built with--build-arg BUILD_VISION=0. The Docker section of docs/INSTALL.md lists the other variables (MODEL,FAMILY,CONTEXT,KV,GPUorGPUS).For a config that already exists in the data volume, start the container once with
-e VISION=yesand the same MODEL; the config then gets a"vision"section. Its keys (max_tokens,min_tokens,mmproj) are described under "Images (vision)" in docs/DETAILS.md. The GPU encoder keeps about 1.4 GB of VRAM free for itself, so the expert cache is a little smaller.@ceinstaller commented on GitHub (Oct 10, 2026):
Hey Niko, sorry for the late reply. I see an open issue that I was running into, where starting the container with --VISION=yes didn't add the vision section to the existing config file. I happened to see that the new release had just come out, so I just blew everything away and started over, this time making sure the VISION section was in the docker command the first time I ran it. Worked fine!
Thank you for taking the time to reply, I do appreciate it!