[Chore] Use Transformers v5 names and drop redundant processor use_fast (#58550)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
484c211fe8
commit
d881812500
@@ -30,7 +30,7 @@ from typing import Any, ClassVar
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
from transformers import AutoProcessor, PretrainedConfig
|
||||
from transformers import AutoProcessor, PreTrainedConfig
|
||||
|
||||
from vllm.config import CacheConfig, VllmConfig
|
||||
from vllm.distributed import (
|
||||
@@ -563,7 +563,7 @@ class InternS1ProForConditionalGeneration(
|
||||
|
||||
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
|
||||
super(Qwen3VLForConditionalGeneration, self).__init__()
|
||||
config: PretrainedConfig = vllm_config.model_config.hf_config
|
||||
config: PreTrainedConfig = vllm_config.model_config.hf_config
|
||||
multimodal_config = vllm_config.model_config.get_multimodal_config()
|
||||
|
||||
self.config = config
|
||||
|
||||
Reference in New Issue
Block a user