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

Modify upload model to dockerhub workflow to support backward compatibility #68

Conversation

DhanshreeA
Copy link
Member

Closes #67

This PR introduces a lot of changes. The upload-model-to-dockerhub workflow first tries to build a model's image using Ersilia Pack, if it fails, and if the model is packed using the legacy format, then the workflow tries building with Multi Stage + Conda Pack approach, and finally, failing both these approaches, the Legacy BentoML approach is utilized.

The Multi Stage + Conda Pack approach, and Legacy BentoML approach are packed into a single parameterized callable workflow at upload-bentoml.yml, while Ersilia Pack model build is packed into upload-ersiliapack.yml.

Finally, the actions that run post model image upload are refactored into a new workflow because I could not manage to create an execution graph where a job with those actions would run if any one of the model building approaches had worked.

@DhanshreeA DhanshreeA force-pushed the 66-modify-upload-model-to-dockerhub-workflow-to-support-backward-compatibility branch from 37a128b to 36889c9 Compare September 29, 2024 15:28
@DhanshreeA DhanshreeA merged commit cce1bb6 into main Sep 29, 2024
3 checks passed
@DhanshreeA DhanshreeA deleted the 66-modify-upload-model-to-dockerhub-workflow-to-support-backward-compatibility branch September 29, 2024 15:29
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

Successfully merging this pull request may close these issues.

🐈 Task: Support backward compatibility in model workflows
1 participant