Skip to content

Commit 26aaf1a

Browse files
This commit is to fit the isort
Signed-off-by: cty <ctynb@qq.com>
1 parent 8d16970 commit 26aaf1a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

vllm_ascend/worker/model_runner_v1.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@
3737
from vllm.inputs import INPUT_REGISTRY
3838
from vllm.logger import logger
3939
from vllm.model_executor.layers.fused_moe import FusedMoE
40+
from vllm.model_executor.layers.rotary_embedding import MRotaryEmbedding
4041
from vllm.model_executor.model_loader import get_model
4142
from vllm.multimodal import MULTIMODAL_REGISTRY
43+
from vllm.multimodal.inputs import MultiModalKwargs, PlaceholderRange
44+
from vllm.multimodal.utils import group_mm_inputs_by_modality
4245
from vllm.sampling_params import SamplingType
4346
from vllm.sequence import IntermediateTensors
4447
from vllm.utils import (STR_DTYPE_TO_TORCH_DTYPE, DeviceMemoryProfiler,
@@ -50,16 +53,10 @@
5053
from vllm.v1.sample.sampler import Sampler
5154
from vllm.v1.utils import bind_kv_cache
5255
from vllm.v1.worker.gpu_input_batch import CachedRequestState, InputBatch
53-
from vllm.multimodal.inputs import MultiModalKwargs, PlaceholderRange
54-
5556
from vllm.v1.worker.utils import (gather_mm_placeholders,
5657
sanity_check_mm_encoder_outputs,
5758
scatter_mm_placeholders)
5859

59-
from vllm.multimodal.utils import group_mm_inputs_by_modality
60-
61-
from vllm.model_executor.layers.rotary_embedding import MRotaryEmbedding
62-
6360
from vllm_ascend.attention.attention import AttentionMaskBuilder
6461
from vllm_ascend.attention.attention_v1 import AscendAttentionState
6562
from vllm_ascend.platform import NPUPlatform

0 commit comments

Comments
 (0)