[Other] Docker 0.2.20 rejects GGUF-only MODEL_PATH directories
Maintainers usually reply within 6 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
The failing check is the directory test in tools/docker/entrypoint.sh, where ls is run on combined *.gguf and *.strata globs, and the find call that follows is what locates the GGUF shards. Reproduce by mounting a directory that holds only .gguf shards and no .strata file as MODEL_PATH, then confirm the startup rejection. Done when a directory with either file type is accepted without both globs needing matches, and the container starts serving the model.
Written by the indexing model from the issue text.
Description
Area
[Other] (anything else, including setup and installation)
Desktop app, Terminal or source?
Docker
Reproduction status
Reproduced locally
Strata version
Strata 0.2.20, official ghcr.io/niko1221/strata:0.2.20-cuda13 image; bundled engine version 0.1.66 (startup fails in the Docker entrypoint before the engine runs).
Graphics card, memory and system
NVIDIA RTX 3090 24 GB (main), RTX 5060 Ti 16 GB (off for this model); 128 GB DDR4; Intel Core i5-14600K; Unraid 7.3.4, last reported kernel 6.18.58-Unraid, Linux Docker.
What happened
Reproduction status: reproduced locally. Docker ghcr.io/niko1221/strata:0.2.20-cuda13 repeatedly refuses my existing /old-models directory, then tells me to use the same directory. It worked on 0.2.13 and 0.2.19. No model was downloaded.
Environment
- Unraid 7.3.4; last reported kernel 6.18.58-Unraid.
- Intel Core i5-14600K (14 cores / 20 threads), 128 GB DDR4 (approximately 126 GiB usable).
- RTX 3090 24 GB, power-limited to 250 W, used as the only model GPU; RTX 5060 Ti 16 GB is installed but assigned
offfor this model. - Last reported NVIDIA driver: 580.196.07 (not independently captured again in these benchmark summaries).
- Official CUDA 13 Docker images, Qwen3.8-Flash-Next GSQ-RCO IQ3_S, two GGUF shards.
Configuration / steps
- Use the existing IQ3_S model folder, containing the two
.ggufshards and no.stratamodel file. - Mount it read-only and select it as the model directory:
image: ghcr.io/niko1221/strata:0.2.20-cuda13
environment:
FAMILY: qwen
MODEL: IQ3_S
MODEL_PATH: /old-models
volumes:
- /mnt/user/AI/Strata/docker-beta:/data
- /mnt/user/AI/Strata/docker/models/IQ3_S:/old-models:ro
- Recreate the container. With
restart: unless-stopped, it repeats the error in a restart loop.
Exact log
2026-11-22T23:29:54.562490414Z [strata] The saved run settings strata-iq3_s.json name /opt/strata/components/engine/0.1.59-linux-x86_64-cuda-cuda13/strata-vision, which this image does not have (made by an image for another card or engine version): making them again. The model files are kept.
2026-11-22T23:29:55.118649198Z [strata] [X] MODEL_PATH=/old-models has no .gguf or .strata files directly in it, but there are some in /old-models. Set MODEL_PATH=/old-models (the folder that holds the shards of one model). Nothing was downloaded. 2
The second line repeats on each restart. The settings regeneration on the first line is expected after an engine-image upgrade; it is the subsequent path rejection that blocks startup.
Expected
Accept a directory with either supported file type, without requiring both .gguf and .strata files to exist.
Suspected cause (source inspection)
In v0.2.20 tools/docker/entrypoint.sh, the directory check is:
elif [ -d "$model_path" ] && ! ls "$model_path"/*.gguf "$model_path"/*.strata >/dev/null 2>&1; then
If one glob has matches and the other has none, ls still exits nonzero because the unmatched literal pattern does not exist. The subsequent find does find the GGUF directly in that directory, producing the contradictory suggestion to use the current path. This source explanation is inferred; the actual startup failure and workaround were observed locally.
Working workaround
Change only the environment variable to the first shard, keeping the whole folder mounted:
MODEL_PATH: /old-models/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf
After recreating, the model served and completed an 81-request quality benchmark (zero request errors or truncations). No model files were moved or redownloaded. Please use an either-pattern existence check rather than relying on the combined ls exit status.
- Dominant language
- C++
- Stars
- 11.6k
- Forks
- 1k
- Avg merge
- 17d 21h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Niko1221/Strata
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Niko1221/Strata#6731 · 2 comments ·
Maintainers usually reply within 6 days
-
needs-format
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Niko1221/Strata#6721 · 1 comment ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#6670 · 2 comments ·
Maintainers usually reply within 6 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
sav-oss-org/ptusa_main#1610 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-astro/AlpacaBridge#2606 · 1 comment ·
Maintainers usually reply within 1 day
-
Refactor force_torque_system integration test to use EcmScopePossibly taken @patelshivani2283-lab claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
upnp > 18 fixesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BZFlag-Dev/bzflag#407 ·