-
Notifications
You must be signed in to change notification settings - Fork 751
fix: NIXL wheel missing from system packages in dev env #2879
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
Signed-off-by: Harrison King Saturley-Hall <[email protected]>
WalkthroughAdds a second installation step for the nixl wheel in container/Dockerfile.trtllm: after installing via uv pip, it now also installs via system pip in the same RUN command using &&. No other stages or logic are modified. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Docker as Docker Build
participant RUN as RUN Layer
participant UV as uv pip
participant PIP as system pip
Docker->>RUN: Execute nixl install step
RUN->>UV: uv pip install /workspace/wheels/nixl/*.whl
alt uv install succeeds
RUN->>PIP: pip install /workspace/wheels/nixl/*.whl
note right of PIP: Installs nixl into system environment
RUN-->>Docker: Layer completes
else uv install fails
note over RUN: Second pip install is not executed due to &&
RUN-->>Docker: Build fails at this step
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, 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: 0
🧹 Nitpick comments (2)
container/Dockerfile.trtllm (2)
231-232: Be explicit about target interpreters to avoid ambiguity; preferpython -m pip.Make it deterministic that uv installs into the created venv and system install uses the right interpreter.
Apply:
- uv pip install /workspace/wheels/nixl/*.whl && \ - pip install /workspace/wheels/nixl/*.whl + uv pip install --python "$VIRTUAL_ENV/bin/python" /workspace/wheels/nixl/*.whl && \ + python3 -m pip install --no-cache-dir /workspace/wheels/nixl/*.whl
231-232: Optional: Move install to wheel_builder or dev stage as hinted by the TODO.Keeps build stage lean and reduces duplicate installs across stages; copy the wheel and install once where it’s consumed.
I can draft a follow-up patch to relocate the install and wire the wheel into dev/runtime via the existing wheelhouse.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
container/Dockerfile.trtllm(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build and Test - dynamo
🔇 Additional comments (1)
container/Dockerfile.trtllm (1)
231-232: LGTM: NIXL now installed into both uv venv and system env, matching PR objective.This should make nixl importable in the dev stage without an extra step.
Signed-off-by: Harrison King Saturley-Hall <[email protected]>
Signed-off-by: Harrison King Saturley-Hall <[email protected]>
Signed-off-by: Harrison King Saturley-Hall <[email protected]>
Signed-off-by: Harrison King Saturley-Hall <[email protected]> Signed-off-by: nnshah1 <[email protected]>
Signed-off-by: Ryan McCormick <[email protected]>
Overview:
Installs NIXL wheel to
buildstage system-wide python environment so it is available in thedevstage as well.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Closes OPS-877
Summary by CodeRabbit
Chores
Bug Fixes
Build