Repository navigation
ci: mirror a release's engine and models to dl.godwit.email - #1
Merged
Merged
Conversation
A manual workflow downloads the pinned llama.cpp build for each platform and the models at pinned Hugging Face revisions, checks their hashes, uploads each file once (a path never changes once published) and prints the registry assets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Mirror a release's registry assets (the llama.cpp engine and the two models) to
dl.godwit.email/plugins/startlux/, and print theassetsblock for the registry entry.scripts/mirror.py WORK_DIR [--upload]scripts/engine.pylays out the pinned build (third_party/llama/VERSION, b11707) for each of the six platforms.decision_config.jsonof each model are downloaded fromstartlux-modelson Hugging Face at pinned revisions and checked against fixed sha256s.--upload, each file goes tos3://godwit-downloads/plugins/startlux/{engine/b11707/<platform>,models/v1.1/<variant>}/<name>. Each file is uploaded once, with its sha256 as object metadata. A path that already holds other bytes fails the run, because a published file never changes.assets.json. Memory requirements come from the measurements indocs/parity.md:4b-q4(8 GB) and2b-q8(6 GB).2b-q8only (6 GB;windows-*12 GB)..github/workflows/mirror.yml: manual only (tag,upload). The default is a dry run, which downloads, checks and prints but writes nothing to the bucket. It runs this branch's script against the tag's checkout, so v0.1.0 can be mirrored too.Before running with upload
This repo needs the secrets
R2_ACCESS_KEY_IDandR2_SECRET_ACCESS_KEY(the same R2 token the plugins repo uses, or a token limited togodwit-downloads).Test plan
assets.json) passesgodwit-registry checkupload: true🤖 Generated with Claude Code