Repository navigation
Update compose to v5.8.1 and match short model names in -c status - #366
Merged
Merged
Conversation
compose v5.8.1 matches a model reference to the runner's list in its normalized form, so a model written ai/smollm2 is no longer pulled again on every up. Status compared the reference as written with the runner's full tags, so it called that model Not Pulled. It now normalizes both the way compose does. go mod tidy drops the modules compose v5.8.1 no longer uses.
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.
Carries Renovate's compose SDK update (#364) with the change it needs.
compose v5.8.1 fixes a model written in short form (
ai/smollm2) being pulled again on everyup(docker/compose#14532, from docker/compose#14531): it now matches a model reference to the runner's list in normalized form (docker.io/ai/smollm2:latest).-c statuscompared the reference as written with the runner's full tags, matching what compose did before. With v5.8.1 that made status call a short-named model Not Pulled whileuptreated it as existing. Status now normalizes both sides the same way compose does:normalizeModelReferenceis a copy of compose's, which isn't exported, Hugging Face references included.go mod tidyalso drops the modules v5.8.1 no longer uses (secrets-engine/x,connectrpc.com/connect,golang.org/x/mod) and the old versions' sums.Confirmed live on a Linux test host with
model: ai/smollm2: two-c upruns show the model Existing, with no pull, and-c statusshows it Existing (Not Pulled before this change). Merging this marks #364 merged too.