Skip to content

Commit 08c4667

Browse files
committed
disable yapf for import (conflict with isort)
Signed-off-by: Han Qi <hanq@google.com>
1 parent f447a37 commit 08c4667

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/layers/vllm/test_compressed_tensors_moe.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,18 @@
1515
init_distributed_environment)
1616
from vllm.engine.arg_utils import EngineArgs
1717
from vllm.model_executor.layers.fused_moe import FusedMoE
18-
from vllm.model_executor.layers.fused_moe.config import (FusedMoEConfig,
19-
FusedMoEParallelConfig
20-
)
18+
# yapf: disable
19+
from vllm.model_executor.layers.fused_moe.config import (
20+
FusedMoEConfig, FusedMoEParallelConfig)
2121

2222
from tpu_inference.layers.vllm.quantization import get_tpu_quantization_config
2323
from tpu_inference.layers.vllm.quantization.compressed_tensors.compressed_tensors import \
2424
VllmCompressedTensorsConfig
2525
from tpu_inference.layers.vllm.quantization.compressed_tensors.compressed_tensors_moe import \
2626
VllmCompressedTensorsW8A8Fp8MoEMethod
2727

28+
# yapf: enable
29+
2830
P = PartitionSpec
2931

3032
os.environ['VLLM_DISABLE_SHARED_EXPERTS_STREAM'] = '1'

0 commit comments

Comments
 (0)