Cog push not overriding latest
I cannot push a new version to my model.
The logs show that the cog push command succeeded, but the model is never updated.
...
latest: digest: sha256:c9882636155e96ce5d87aed60b137485d472cf092a5fa60dff027720c3f21c53 size: 4954
Image 'r8.im/xxx/yyy' pushed
Run your model on Replicate:
https://replicate.com/xxx/yyy
The same hash (c9882636155e96ce5d87aed60b137485d472cf092a5fa60dff027720c3f21c53) is shown each time I rerun the command & this matches the most recent version on the Replicate UI.
Additional info:
Just tried creating a new model xxx/yyy2 and pushing to that, and it failed with the following message:
Unable to find image 'r8.im/xxx/yyy2:latest' locally
docker: Error response from daemon: manifest for r8.im/xxx/yyy2:latest not found: manifest unknown: Failed to fetch "latest".
See 'docker run --help'.
ⅹ Failed to get type signature: exit status 125
Error: Process completed with exit code 1.
Yes, I am sure that I have created the model in the replicate UI under the correct account before pushing :)
I have quite similar issue, but hash has changed on the platform but the running code from previous version.
I'm having exactly the same issue, I tried the second approach and I'm getting the same error.
updated docker to lastest and docker buildx prune -f and solved
Thanks for reporting, @jlalmes
https://github.com/replicate/cog/pull/1621 should address this. We'll release new versions of Cog and replicate/setup-cog with this fix this week.