-
Notifications
You must be signed in to change notification settings - Fork 8
[EAGLE-6927] Update Dockerfile template to support multi architecture deployments #839
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the Dockerfile template to use a multi-stage build pattern, separating model asset downloading from the final image creation to optimize build performance for multi-architecture builds.
- Introduces a new "model-assets" stage that runs architecture-agnostic operations once on the build node
- Moves checkpoint downloading and file copying to Stage 1 to avoid redundant work across target platforms
- Updates the final stage to copy pre-built assets from Stage 1 instead of re-executing build steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
Minimum allowed line rate is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Why
How
Tests
Notes