mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-22 22:50:11 +08:00
fix pre-commit
Signed-off-by: bk-201 <joy25810@foxmail.com>
This commit is contained in:
parent
fe104bd63c
commit
1c8e3c4486
@ -2185,7 +2185,7 @@ class GPUModelRunner(
|
||||
# pos_info.length may overcount (e.g., special tokens in Qwen-VL).
|
||||
# Fall back to length if is_embed is None.
|
||||
num_tokens = self.info.get_num_mm_encoder_tokens( # type: ignore[attr-defined]
|
||||
pos_info.get_num_embeds()
|
||||
pos_info.get_num_embeds
|
||||
)
|
||||
prompt_lora_mapping.append(lora_id)
|
||||
token_lora_mapping.extend([lora_id] * num_tokens)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user