-
Notifications
You must be signed in to change notification settings - Fork 544
[Bugfix] fix sleepmode level2 e2e test #4019
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
Merged
+15
−2
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Disabling
VLLM_ASCEND_ENABLE_NZmakes this test pass, but it appears to be a workaround for a deeper issue. This change effectively prevents testing thesleep_mode_level=2functionality when theFRACTAL_NZweight format optimization is enabled, reducing test coverage.The root cause seems to be that when
sleep_mode_level=2is used, the test manually reloads model weights from disk (seeexamples/offline_external_launcher.py, line 250). This reloading process does not account for theFRACTAL_NZformat that weights are converted to whenVLLM_ASCEND_ENABLE_NZ=1. Consequently, the model receives weights in an unexpected format, leading to failure.While this fix may be acceptable to unblock CI, the underlying incompatibility should be addressed. Possible long-term solutions include:
FRACTAL_NZformat.sleep_mode_level=2is fundamentally incompatible withVLLM_ASCEND_ENABLE_NZ, this should be documented and ideally enforced with a runtime check.As an immediate step, please add a code comment above this decorator to explain why this environment variable is being disabled for this specific test. This will improve code clarity and help future developers understand the context.