-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Refactor][Config] Remove msMonitor daemon environment variable #14708
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -196,6 +196,7 @@ def test_init_ascend_config_without_additional_config(self, mock_fix_incompatibl | |
| ascend_config = init_ascend_config(test_vllm_config) | ||
| self.assertFalse(ascend_config.multistream_overlap_shared_expert) | ||
| self.assertFalse(ascend_config.enable_kv_nz) | ||
| self.assertFalse(ascend_config.msmonitor_use_daemon) | ||
|
|
||
| ascend_compilation_config = ascend_config.ascend_compilation_config | ||
| self.assertTrue(ascend_compilation_config.fuse_norm_quant) | ||
|
|
@@ -500,6 +501,16 @@ def test_enable_flashcomm1_config_overrides_disabled_env(self, mock_fix_incompat | |
| self.assertTrue(ascend_config.enable_flashcomm1) | ||
| self.assertTrue(enable_sp(test_vllm_config)) | ||
|
|
||
| @_clean_up_ascend_config | ||
| @patch("vllm_ascend.platform.NPUPlatform.check_and_update_config") | ||
| def test_msmonitor_daemon_ignores_removed_env(self, mock_fix_incompatible_config): | ||
| test_vllm_config = VllmConfig() | ||
| test_vllm_config.additional_config = {"msmonitor_use_daemon": False} | ||
| with patch.dict(os.environ, {"MSMONITOR_USE_DAEMON": "1"}): | ||
| ascend_config = init_ascend_config(test_vllm_config) | ||
|
|
||
| self.assertFalse(ascend_config.msmonitor_use_daemon) | ||
|
Comment on lines
+506
to
+512
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The existing unit tests Since Please clean up the legacy |
||
|
|
||
| @_clean_up_ascend_config | ||
| @patch("vllm_ascend.platform.NPUPlatform.check_and_update_config") | ||
| def test_enable_sp_falls_back_to_env_without_current_config(self, mock_check_and_update_config): | ||
|
|
||
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.
Suggested PR Title:
Suggested PR Summary:
References