-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker: add missing vulkan library to base layer and update to ubuntu 24.04 #11422
Merged
Conversation
This file contains 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
rare-magma
changed the title
docker: add missing vulkan library to base layer and update to 24.04
docker: add missing vulkan library to base layer and update to ubuntu 24.04
Jan 25, 2025
github-actions
bot
added
the
devops
improvements to build systems and github actions
label
Jan 25, 2025
Signed-off-by: rare-magma <rare-magma@posteo.eu>
rare-magma
force-pushed
the
fix-vulkan-image
branch
from
January 25, 2025 21:34
0f1702f
to
e5ae480
Compare
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? |
@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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks for testing it.
The docker
|
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.