-
Notifications
You must be signed in to change notification settings - Fork 693
chore: install datagen in vllm image and CI #1428
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
WalkthroughThe changes move the installation of the benchmarks package from the GitHub Actions workflow into the Dockerfile. The Dockerfile installs the benchmarks package from the Changes
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/pre-merge-python.yml(1 hunks)container/Dockerfile.vllm(2 hunks)
🧰 Additional context used
🪛 GitHub Actions: NVIDIA Test Github Validation
container/Dockerfile.vllm
[error] 239-241: Failed to build 'data-generator' package during 'uv pip install -e .' in /tmp/benchmarks: error: could not create 'data_generator.egg-info': Read-only file system. This indicates a problem with the package or the build environment.
🔇 Additional comments (2)
container/Dockerfile.vllm (1)
450-452: Reinstall benchmarks for CI consistency
Reinstalling underci_minimumafterCOPY . /workspaceis correct to pick up source changes. Consider merging this step with otherRUNcommands to reduce layers, but the logic is sound..github/workflows/pre-merge-python.yml (1)
57-57:❓ Verification inconclusive
Validate Benchmarks Package Installation
You’ve removed the runtimepip install -e /workspace/benchmarks, which aligns with Dockerfile changes. Ensure theci_minimumimage indeed includes the editable benchmarks install so pytest can import it.
Generate and run this script to confirm:
🏁 Script executed:
#!/bin/bash # Verify benchmarks is installed in the CI image IMAGE_TAG=dynamo:latest-vllm docker run --rm $IMAGE_TAG bash -c "uv pip show benchmarks"Length of output: 197
Validate Benchmarks Package Availability in CI Image
Since we’ve removed thepip install -e /workspace/benchmarksstep to match the Dockerfile updates, please confirm that theci_minimumimage already provides the editablebenchmarkspackage so pytest can import it. You can verify this locally by running:docker run --rm <your-image-tag> bash -c "pip show benchmarks"Replace
<your-image-tag>withsteps.define_image_tag.outputs.image_tag. Ifpip show benchmarksdoes not list the package, update your base image or re-add the install step.
|
@coderabbitai full review |
Overview:
Addresses failing CI tests in #1087 and also make
datagenon dynamo installationSummary by CodeRabbit