Replies: 2 comments
-
|
The reason installing The Root CauseThe When you start the container, the startup script notices you want GPU offload, so it attempts to compile Because the default The FixYou need to switch the Docker image to a Step 1: Open the Dockerfile that is used by Step 2: Look at the very first line. It likely says something like: FROM nvidia/cuda:12.2.2-runtime-ubuntu22.04
# OR
FROM nvidia/cuda:12.x.x-base-ubuntu24.04
Step 3: Change FROM nvidia/cuda:12.2.2-devel-ubuntu22.04
Step 4: Rebuild the container from scratch to pull the new image and re-trigger the build: docker compose -f docker-compose.gpu-nvidia.yml down
docker compose -f docker-compose.gpu-nvidia.yml up -d --build --force-recreate
Once the container boots up with the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! That makes sense about the host packages not affecting the container. One thing I'm unsure about though: the current Earlier during the build I saw: Also, inside the container I checked the following: pip show llama-cpp-pythonwhich returns: and: pip list | grep -i llamareturns no output. Also: which llama-serverreturns no output, and: find / -name llama-server 2>/dev/nullreturns no results. Given that neither I'm happy to test anything if it helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Docker GPU: Local GGUF models fail to launch (
llama-server/llama-cpp-pythonmissing?)Hi,
I'm new to Odysseus and I'm trying to use the built-in local model support with Docker.
Environment
devbranch (6efc07c5fc7c49f957581504631752fed39587b3)docker-compose.gpu-nvidia.ymlGPU passthrough
GPU passthrough appears to be working correctly:
The GPU is detected successfully.
Steps to reproduce
devbranch.Expected
The model launches and becomes available for chat.
Actual
Odysseus logs show it attempting to execute:
However, every chat request fails with:
Eventually the model endpoint disappears, and Settings → Added Models is empty.
Additional debugging
Inside the container:
No output.
Returns:
Searching the filesystem:
find / -name llama-server 2>/dev/nullReturns no results.
Checking for
llama-cpp-python:Returns:
Also:
pip list | grep -i llamaReturns no output.
Trying to reach the local server:
Returns:
Notes
Earlier during startup I also saw output similar to:
I installed the missing Vulkan development packages (
libvulkan-dev,vulkan-tools,glslang-tools), but the behaviour didn't change.I also looked at issue #5287, but my checkout doesn't contain the
INSTALL_CUDA_TOOLKITchanges yet (grep -R "INSTALL_CUDA_TOOLKIT" .returns no matches).Am I missing a bootstrap step for
llama-server/llama-cpp-python, or is this a regression in the currentdevbranch?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions