Skip to content

Commit bddbda1

Browse files
committed
update
Signed-off-by: shen-shanshan <467638484@qq.com>
1 parent b207e9e commit bddbda1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm_ascend/worker/model_runner_v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from vllm.multimodal import MULTIMODAL_REGISTRY, MultiModalKwargs
3838
from vllm.sampling_params import SamplingType
3939
from vllm.sequence import IntermediateTensors
40-
from vllm.utils import (DeviceMemoryProfiler, LayerBlockType, cdiv, LazyLoader)
40+
from vllm.utils import DeviceMemoryProfiler, LayerBlockType, LazyLoader, cdiv
4141
from vllm.v1.core.encoder_cache_manager import compute_encoder_budget
4242
from vllm.v1.kv_cache_interface import (FullAttentionSpec, KVCacheConfig,
4343
KVCacheSpec)
@@ -50,7 +50,7 @@
5050
from vllm_ascend.platform import NPUPlatform
5151

5252
if TYPE_CHECKING:
53-
import xgrammar as xgr
53+
import xgrammar as xgr # type: ignore[import-untyped]
5454
from vllm.v1.core.sched.output import SchedulerOutput
5555
else:
5656
xgr = LazyLoader("xgr", globals(), "xgrammar")

0 commit comments

Comments
 (0)