[Fix]Pin mooncake version to 0.3.7.post2 in grace blackwell#16502
[Fix]Pin mooncake version to 0.3.7.post2 in grace blackwell#16502
Conversation
Summary of ChangesHello @Fridge003, 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 resolves a critical compatibility issue where Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. 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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request pins the mooncake-transfer-engine version to 0.3.7.post2 for Grace Blackwell builds to resolve a transfer error. The change is implemented by adding conditional logic to the Dockerfile. However, the added shell script is not wrapped in a RUN instruction, which would cause the Docker build to fail. I've provided a critical comment with a suggestion to fix this.
| if [ "$GRACE_BLACKWELL" = "1" ]; then \ | ||
| python3 -m pip install mooncake-transfer-engine==0.3.7.post2; \ | ||
| else \ | ||
| python3 -m pip install mooncake-transfer-engine==0.3.8; \ | ||
| fi |
There was a problem hiding this comment.
This if statement is a shell command and must be executed within a RUN instruction. Without it, the Docker build will fail with a syntax error. The if block has been wrapped in a RUN instruction to fix this. It is also recommended to add --mount=type=cache,target=/root/.cache/pip to this RUN instruction to leverage build caching for pip, similar to other package installations in this Dockerfile.
RUN if [ "$GRACE_BLACKWELL" = "1" ]; then \
python3 -m pip install mooncake-transfer-engine==0.3.7.post2; \
else \
python3 -m pip install mooncake-transfer-engine==0.3.8; \
fi
|
Thanks for reporting this bug. I'm not certain this issue stems from different Mooncake versions, as the error originates from torch.empty. Is this CI test an EP test using mooncake backend? To the best of my knowledge, it may be caused by interference between Mooncake EP and torch. CC. @UNIDY2002 |
This test was launching some small scale PD disagg setting with Dynamo |
|
Images are built correctly. AMD arch with 0.3.8 and ARM arch with 0.3.7.post2 |
ShangmingCai
left a comment
There was a problem hiding this comment.
Thx. Will figure out what is wrong and fix this in the post version.
Motivation
0.3.8 will cause some transfer error on GB200
After reverting to 0.3.7.post2, this issue goes away
Modifications
Accuracy Tests
Benchmarking and Profiling
Checklist
Review Process
/tag-run-ci-label,/rerun-failed-ci,/tag-and-rerun-ci) or contact authorized users to do so.