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 3496f4e commit ee26a93Copy full SHA for ee26a93
tests/ut/ops/test_ascend_forwad_context.py
@@ -1,5 +1,5 @@
1
-import unittest
2
import os
+import unittest
3
from unittest import mock
4
5
from vllm_ascend.ascend_forward_context import get_dispatcher_name
@@ -16,6 +16,7 @@ def test_get_dispatcher_name(self):
16
assert result == "TokenDispatcherWithAll2AllV"
17
result = get_dispatcher_name(16, False)
18
assert result == "TokenDispatcherWithMC2"
19
- with mock.patch.dict(os.environ, {"VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP": "1"}):
+ with mock.patch.dict(os.environ,
20
+ {"VLLM_ENABLE_FUSED_EXPERTS_ALLGATHER_EP": "1"}):
21
- assert result == "TokenDispatcherWithAllGather"
22
+ assert result == "TokenDispatcherWithAllGather"
0 commit comments