Skip to content

Commit bded206

Browse files
committed
fix
Signed-off-by: wxsIcey <[email protected]>
1 parent 6e1943b commit bded206

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

vllm_ascend/ops/rotary_embedding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import torch
2222
import torch_npu
23-
from vllm.forward_context import get_forward_context
2423
from vllm.model_executor.layers.rotary_embedding import (
2524
DeepseekScalingRotaryEmbedding, MRotaryEmbedding, RotaryEmbedding,
2625
YaRNScalingRotaryEmbedding)

vllm_ascend/ops/triton/linearnorm/split_qkv_rmsnorm_rope.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
from typing import Optional
1818

1919
import torch
20-
import triton
20+
import triton # type: ignore
2121
import triton.language as tl # type: ignore
22-
import triton.runtime.driver as driver
2322
from vllm.utils.torch_utils import direct_register_custom_op
2423

2524
from vllm_ascend.ops.triton.triton_utils import get_vectorcore_num

0 commit comments

Comments
 (0)