[dist] fix communicator patch (#58)
### What this PR does / why we need it? fix communicator patch so parallel could work. see #52 Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
@@ -88,9 +88,8 @@ class NPUPlatform(Platform):
|
||||
|
||||
@classmethod
|
||||
def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
|
||||
# Register ops and patch when setup.
|
||||
# Register ops when setup.
|
||||
from vllm_ascend import ops # noqa: F401
|
||||
from vllm_ascend import patch # noqa: F401
|
||||
|
||||
parallel_config = vllm_config.parallel_config
|
||||
if parallel_config.worker_cls == "auto":
|
||||
|
||||
Reference in New Issue
Block a user