Skip to content

Commit

Permalink
[Platform] add dispatch key
Browse files Browse the repository at this point in the history
Signed-off-by: MengqingCao <cmq0113@163.com>
  • Loading branch information
MengqingCao committed Feb 7, 2025
1 parent 7d9ae22 commit fecf3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm_ascend/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class NPUPlatform(Platform):
simple_compile_backend: str = "npu"
ray_device_key: str = "NPU"
device_control_env_var: str = "ASCEND_RT_VISIBLE_DEVICES"
dispatch_key: str = "NPU"

@classmethod
def get_device_capability(cls, device_id: int = 0):
Expand Down

0 comments on commit fecf3d5

Please sign in to comment.