We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c556df3 commit 61a0019Copy full SHA for 61a0019
vllm_ascend/platform.py
@@ -418,8 +418,13 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
418
419
@classmethod
420
def import_kernels(cls) -> None:
421
- from vllm_ascend.utils import enable_custom_op
422
- enable_custom_op()
+ # Directly importing vllm_ascend_C prevents ASCEND_RT_VISIBLE_DEVICES
+ # from being applied during runtime initialization, which causes bugs
423
+ # in the RL module. See https://github.com/vllm-project/vllm-ascend/pull/884.
424
+ # TODO: when the above issue is fixed, we can uncomment the following lines.
425
+ # from vllm_ascend.utils import enable_custom_op
426
+ # enable_custom_op()
427
+ pass
428
429
430
def get_attn_backend_cls(
0 commit comments