[Other] Docker entrypoint refuses a MODEL_PATH folder of GGUF files when it holds no .strata file
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
Línea de trabajo
Abre tools/docker/entrypoint.sh y localiza el guard de model_path cuya condición es ! ls "$model_path"/*.gguf "$model_path"/*.strata >/dev/null 2>&1; ejecuta los dos comandos sh -c 'ls …; echo exit=$?' del informe contra una carpeta que contenga shards GGUF y ningún archivo .strata para ver exit=2. Divide el guard en dos comprobaciones ls separadas para que cada patrón se pruebe por su cuenta, y luego reproduce el arranque del contenedor contra un volumen solo con GGUF. Hecho significa que el entrypoint arranca en una carpeta de shards GGUF sin paquete .strata mientras sigue rechazando una carpeta que no contiene ninguno de los dos, coincidiendo con la ruta "files you already have" en docs/DOCKER.md.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Area: Docker / container entrypoint (tools/docker/entrypoint.sh)
Version: 0.2.20 (engine 0.1.66), image ghcr.io/niko1221/strata:0.2.20-cuda13
Model: Qwen3.8-Flash-Next IQ3_S, two GGUF shards in one folder, no .strata pack
What happened
The container exits immediately with code 2 and stays in CrashLoopBackOff. The log says:
[X] MODEL_PATH=/data/Strata-data/models/IQ3_S has no .gguf or .strata files directly in it, but there are some in /data/Strata-data/models/IQ3_S. Set MODEL_PATH=/data/Strata-data/models/IQ3_S (the folder that holds the shards of one model). Nothing was downloaded.
The two paths in that message are the same, and the folder does contain the model files, so the advice cannot be followed.
Cause
In tools/docker/entrypoint.sh (0.2.20), the guard is:
elif [ -d "$model_path" ] && ! ls "$model_path"/*.gguf "$model_path"/*.strata >/dev/null 2>&1; then
When the folder holds .gguf files but no .strata file, the second pattern does not expand, ls receives the literal path …/*.strata, fails on it and exits 2. The negated test therefore succeeds and the launcher refuses to start.
Reproduced outside the container
With the same volume mounted and no GPU involved:
$ sh -c 'ls /data/Strata-data/models/IQ3_S/*.gguf >/dev/null 2>&1; echo exit=$?'
exit=0
$ sh -c 'ls /data/Strata-data/models/IQ3_S/*.gguf /data/Strata-data/models/IQ3_S/*.strata >/dev/null 2>&1; echo exit=$?'
exit=2
Workspace
Testing the two patterns separately keeps the intent and fixes it:
elif [ -d "$model_path" ] && ! ls "$model_path"/*.gguf >/dev/null 2>&1 && ! ls "$model_path"/*.strata >/dev/null 2>&1; then
With that one-line change the same container starts, detects engine 0.1.66, and prepares the model normally. I rebuilt from source with the patch as a workaround; it is the only reason this deployment runs.
Who this affects
Any Docker/Kubernetes install that mounts a folder of GGUF files without a .strata pack — which is the documented "files you already have" path in docs/DOCKER.md. The check is new in 0.2.20: 0.2.9 started from the same folder without complaint.
- Lenguaje dominante
- C++
- Estrellas
- 11.6k
- Forks
- 1k
- Merge medio
- 17 d 21 h
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Niko1221/Strata
-
needs-format
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Niko1221/Strata#6934 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Niko1221/Strata#6731 · 2 comentarios ·
Los mantenedores suelen responder en 5 días
-
Docker entrypoint MODEL_PATH check fails when folder has .gguf but no .strata files (circular error message)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoneeds-format
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Niko1221/Strata#6721 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Niko1221/Strata#6698 · 2 comentarios ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 5 días
Todos los issues de Niko1221/Strata
Issues similares
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS poolsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
CefRequestContext::ClearHttpCache crashes with a null callback, though the callback is optionalAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
chromiumembedded/cef#4376 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
itinance/react-native-fs#1270 ·
-
area-CodeGen-coreclr untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/runtime#138181 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yuaotian/antigravity-proxy#181 ·