-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
🐛 Bug: Manual update to DockerHub fails #760
Comments
Hello, @miquelduranfrigola @GemmaTuron for the following error:
The Solution to solve the above errorAdding
|
To allow ersilia to be able to build for managers.py file in ersilia
Notice, I have a try-except clause that tries to build for
Notice, terminal.py file in ersiliaIn the
dockerhub.py file in ersiliaI am also passing
|
Hi @emmakodes ! Thanks, I will test and let you know |
Hi @emmakodes I am testing your fork, but could you open a PR to main so that I can more easily see the changes made in the code? |
Okay sure @GemmaTuron |
Hi @emmakodes I have used to code in your fork, and while I can build and push the eos3b5e, it only appears as the ARM64 image? https://hub.docker.com/repository/docker/ersiliaos/eos3b5e/tags?page=1&ordering=last_updated could this be because I am in a MacOs ? |
Hello @GemmaTuron did you create a builder so as to use buildx to build for multi-platform?
To create a builder:
This creates a new builder with the name container. You can list available builders with docker buildx ls.
The status for the new container builder is inactive. That’s fine - it’s because you haven’t started using it yet.
|
Indeed, I got this warning: |
Okay @GemmaTuron I have also opened the PR |
Somehow I feel it may be better to use a |
my silly question is, if I build from a Mac, can I still build for AMD as well? (I am trying on my Linux with the container set up now) |
You can still build for |
I was able to build and push I also made prediction when I pull and run the image via my docker desktop
|
For
Not sure, It seems some checkpoints of the model are not okay or it may be an issue from my end. It also may not be an issue with limit in size. Maybe when you try to double-check. It seems we may need to check the checkpoints that are causing the discrepancy. They may either be corrupt or modified in some way since the expected checksums were calculated |
Hi @emmakodes I've been able to update the model eos3b5e in both architectures! I am also finding issues with eos2re5. I get the same warning, and if you leave it running long enough, it eventually fails at fetching the model. @miquelduranfrigola Could you look at this? I'll merge the changes meanwhile! |
UPDATE: Following @emmakodes instructions the upload to docker from local works. There is an unresolved issue, independent from docker, with model eos2re5, which will be archived until we can work on it. I'll close this issue, thanks for the help Emma! |
Describe the bug.
The script https://github.com/ersilia-os/ersilia/blob/master/.github/scripts/build_model_container_and_update_to_dockerhub.py does not work anymore:
More generally, this script does not allow for multi-platform builds, which means that it does not provide the same functionalities as the corresponding GitHub Action: https://github.com/ersilia-os/eos-template/blob/main/.github/workflows/upload-model-to-dockerhub.yml
Moreover, the GitHub Action updates metadata with DockerHub info, modifies AirTable and Updates README file. None of this is done at the moment with the current script.
Describe the steps to reproduce the behavior
python .github/scripts/build_model_container_and_update_to_dockerhub.py eos3b5e DOCKERHUB_USERNAME DOCKERHUB_PASSWORD
Expected behavior.
No response
Screenshots.
No response
Operating environment
Ubuntu 20.04 LTS
Additional context
This issue emerged while working on @simrantan's model eos2rd8. This model is too large to run on a GitHub Actions workflow.
The text was updated successfully, but these errors were encountered: