Skip to content
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

Cog push not overriding latest #1620

Open
jlalmes opened this issue Apr 15, 2024 · 5 comments
Open

Cog push not overriding latest #1620

jlalmes opened this issue Apr 15, 2024 · 5 comments

Comments

@jlalmes
Copy link

jlalmes commented Apr 15, 2024

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.

Screenshot 2024-04-15 at 19 53 18
@jlalmes
Copy link
Author

jlalmes commented Apr 15, 2024

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 :)

@App3x
Copy link

App3x commented Apr 16, 2024

I have quite similar issue, but hash has changed on the platform but the running code from previous version.

@hamzaraouzi
Copy link

I'm having exactly the same issue, I tried the second approach and I'm getting the same error.

@App3x
Copy link

App3x commented Apr 17, 2024

updated docker to lastest and docker buildx prune -f and solved

@zeke
Copy link
Member

zeke commented Apr 17, 2024

Thanks for reporting, @jlalmes

#1621 should address this. We'll release new versions of Cog and replicate/setup-cog with this fix this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants