docker: add missing vulkan library to base layer and update to ubuntu 24.04#11422
Merged
ngxson merged 1 commit intoggml-org:masterfrom Jan 26, 2025
Merged
docker: add missing vulkan library to base layer and update to ubuntu 24.04#11422ngxson merged 1 commit intoggml-org:masterfrom
ngxson merged 1 commit intoggml-org:masterfrom
Conversation
Signed-off-by: rare-magma <rare-magma@posteo.eu>
0f1702f to
e5ae480
Compare
Collaborator
|
I don't have the HW to test it. Can you post a full log when you build & run the docker, to show that it works? |
Contributor
Author
|
@ngxson here's the build log: and the run log: podman run --privileged --name llama --replace -it --rm -v /var/home/user/downloads/models:/models -p 8012:8012 --device /dev/dri/renderD128:/dev/dri/renderD128 --device /dev/dri/card1:/dev/dri/card1 --init localhost/llama-cpp-vulkan:latest --port 8012 --n-gpu-layers 99 -fa -ub 1024 -b 1024 -dt 0.1 --ctx_size 0 --cache-reuse 256 -m /models/qwen2.5-coder-3b-q8_0.gguf |
ngxson
approved these changes
Jan 26, 2025
Collaborator
ngxson
left a comment
There was a problem hiding this comment.
Perfect, thanks for testing it.
Collaborator
|
The docker |
arthw
pushed a commit
to arthw/llama.cpp
that referenced
this pull request
Feb 26, 2025
…gml-org#11422) Signed-off-by: rare-magma <rare-magma@posteo.eu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue when running the vulkan docker image:
This error was thrown because the base layer was missing the vulkan library. I've installed it (
libvulkan-dev) and took the opportunity to update the ubuntu version to 24.04.