-
Notifications
You must be signed in to change notification settings - Fork 13.8k
docker : publish to both ggerganov and ggml-org #11887
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
Conversation
Hmm that's a bummer, github poorly documented this part. Another way though, we can create another repo under your personal account, let's say
I think you need to run the CI at least once, the registry will be created whenever a new image is pushed. |
|
I triggered the docker CI: https://github.com/ggml-org/llama.cpp/actions/runs/13345981032 It will create |
|
Yes, I think the mirror will work - will set it up later. Do we still need this PR in this case? |
No I'll close this, but we can keep discussing about the mirror here if needed. |
|
This one failed because I forgot to enable write permissions for the Github Actions workflows: https://github.com/ggml-org/llama.cpp/actions/runs/13345981032/job/37276456430#step:8:1129 The next pushes should be good. |
|
I think we are gucci: https://github.com/ggml-org/llama.cpp/pkgs/container/llama.cpp |
|
Regarding the mirror repo - I wonder if we really need to do it. It will just keep people stuck to the I am thinking about some alternative - maybe better to put a dummy repo with a README that the package has moved. |
This is mostly for less technical people just copy-paste
This will permanently break the github redirection so I think it's quite destructive. IMO we should always keep that redirection, in case someone already had automated scripts that depends on That saying, I will experiment with a mirror on my side. My plan is to include a script that get the diff between 2 registries and only sync what is needed (one-way sync from ggml-org to ggerganov). It should be straight-forward to do, I'll share when it's ready. |
Just to clarify, my idea is to create
Ok, let me know if you come up with something. |
|
@ggerganov Here is the code to mirror docker image between 2 repos: https://github.com/ngxson/llama.cpp-publish-mirror It fails for now because there is no CPU tag on this The speed is very fast because it only needs to push the manifest, no need to download/re-upload the actual data. Let me know if you need more help to set it up. |
|
The CPU build is fixed, and I was able to run the mirror script successfully. It only takes 35s to finish: https://github.com/ngxson/llama.cpp-publish-mirror/actions/runs/13354165350/job/37294577156 And here is the output (a package linked to another project): https://github.com/ngxson/llama.cpp-test-mirror/pkgs/container/llama.cpp-test-mirror |
|
I forked the mirror here: https://github.com/ggerganov/llama.cpp-publish-mirror I noticed that the synced containers don't have a release tag: Not sure if this is expected. |
|
I think the HF endpoints are failing now when using the default |
|


Ref discussion: #11801 (comment)
For now I don't know how to test it, but 🤞 hopefully it works.
You need to make sure that
Manage Actions accessallows the correct repo to access the registry package, please check in:Here is what I see under my fork at https://github.com/ngxson/llama.cpp