Skip to content

Commit 2738c6f

Browse files
committed
fix lint
Signed-off-by: wangxiyuan <[email protected]>
1 parent 3ded8e2 commit 2738c6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vllm_ascend/patch/worker/patch_common/patch_attention_selector.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17+
# mypy: ignore-errors
1718
from functools import cache
1819
from typing import Optional
1920

@@ -73,8 +74,8 @@ def _cached_get_attn_backend(
7374
# use the placeholder NO_ATTENTION
7475
if is_attention_free:
7576
from vllm.attention.backends.placeholder_attn import \
76-
PlaceholderAttentionBackend # type: ignore
77-
return PlaceholderAttentionBackend # type: ignore
77+
PlaceholderAttentionBackend
78+
return PlaceholderAttentionBackend
7879

7980
# Check whether a particular choice of backend was
8081
# previously forced.

0 commit comments

Comments
 (0)