-
Notifications
You must be signed in to change notification settings - Fork 41
[Docker] add downloader and runtime Dockerfiles with build instructions #381
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
base: main
Are you sure you want to change the base?
Conversation
Summary of ChangesHello @zhiweideren, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly refactors the Docker image build process by separating the Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Files split, clean and clear, Containers now build with grace, New paths, code takes flight. Footnotes
|
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.
Code Review
This pull request successfully separates the Docker builds for the downloader and runtime components into dedicated Dockerfiles and updates the Makefile to use them. However, the new Dockerfiles introduce some significant security and correctness issues. My review includes detailed comments on Dockerfile.downloader and Dockerfile.runtime with suggestions to use multi-stage builds, run as a non-root user, and fix a critical missing dependency issue. Applying these changes will lead to more secure, smaller, and correct container images.
| optimizerConfiguration: | ||
| description: |- | ||
| It dynamically schedules replicas across different ModelBooster Infer groups based on overall computing power requirements - referred to as "optimize" behavior in the code. | ||
| It dynamically schedules replicas across different Model Serving groups based on overall computing power requirements - referred to as "optimize" behavior in the code. |
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.
This is duplicate with @git-malu 's pr
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.
yes,ci error. I executed "make generate" based on the latest main branch, and it was auto - generated.
|
@zhiweideren: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |

What type of PR is this?
cleanup
What this PR does / why we need it:
Summarize all the Docker images in the project
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?: