Skip to content

Commit cfcf32a

Browse files
janhilgardclaude
andcommitted
fix: Remove unused import and f-string prefix (lint)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 476f717 commit cfcf32a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vllm_mlx/patches/qwen3_next_mtp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import logging
2121
from pathlib import Path
22-
from typing import Any, Optional
22+
from typing import Any
2323

2424
logger = logging.getLogger(__name__)
2525

vllm_mlx/utils/tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def load_model_with_fallback(model_name: str, tokenizer_config: dict = None):
9090
# Fallback for models with extra weights (e.g., MTP layers, vision tower)
9191
elif "parameters not in model" in str(e):
9292
logger.warning(
93-
f"Extra parameters found (e.g., MTP/vision weights), retrying with strict=False"
93+
"Extra parameters found (e.g., MTP/vision weights), retrying with strict=False"
9494
)
9595
# Clear traceback references to free memory from the failed first load.
9696
# Without this, large models (200GB+) cause OOM during retry because

0 commit comments

Comments
 (0)