devops : add llama in all docker images#25035
Conversation
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
I don't see how that would eliminate the need for them? The point is to offer images only containing what you need. |
The entrypoint would be only |
Sure.
I don't think so. :) |
|
|
We could actually make the |
But the |
Not tested, but should be same size to me :) |
The problem is that the base image recently got |
|
The current |
pcuenca
left a comment
There was a problem hiding this comment.
Looks good to me, for the goal to standardize llama as the entry point.
I was thinking of the full |
This comment was marked as outdated.
This comment was marked as outdated.
|
Ignore my last comment, seems like python takes the most space in |
It's probably a remnant from before adding |
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
…ama.cpp#25035) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Will there be a follow up to release these images to dockerhub? When I was writing this up, my AI / I found that some github actions work are needed to publish these images to dockerHub. |
|
Ah nvm. I see your plan is to simplify the publishing process but including the app binary rather than a separate one. |
* Use `llama serve` in Jobs serving guide (llama.cpp unified CLI) Switches the llama.cpp section of the Jobs serving guide from the standalone `llama-server` binary to the unified `llama serve` command, per review feedback on #2554. `llama serve` and `llama-server` are the same server (the unified `llama` CLI, ggml-org/llama.cpp#23875). The unified binary ships in the `full-cuda` image; the `server-cuda` image only contains `/app/llama-server`, so the image changes too. Tested on live Jobs (full-cuda + a10g-small): both the `-hf` and the volume-mounted `--model` forms reached ready and returned completions through the exposed-port proxy. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Use lighter server-cuda image now that llama ships there (ggml-org/llama.cpp#25035) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Overview
This proposal aims to simplify Docker images and prepare for a near future where only the
llamabinary will be provided, eliminating the need forlightandserverflavorsSee: huggingface/hub-docs#2593
Additional information
Requirements