Skip to content

Commit 3665dd2

Browse files
Isotr0pyxuebwang-amd
authored andcommitted
[Misc] Add removed encoder-decoder models to previously supported models list (vllm-project#24961)
Signed-off-by: Isotr0py <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
1 parent f8acd4a commit 3665dd2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

vllm/model_executor/models/registry.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,17 @@
319319
sys.executable, "-m", "vllm.model_executor.models.registry"
320320
]
321321

322-
_PREVIOUSLY_SUPPORTED_MODELS = {"Phi3SmallForCausalLM": "0.9.2"}
322+
_PREVIOUSLY_SUPPORTED_MODELS = {
323+
"Phi3SmallForCausalLM": "0.9.2",
324+
# encoder-decoder models except whisper
325+
# have been removed for V0 deprecation.
326+
"BartModel": "0.10.2",
327+
"BartForConditionalGeneration": "0.10.2",
328+
"DonutForConditionalGeneration": "0.10.2",
329+
"Florence2ForConditionalGeneration": "0.10.2",
330+
"MBartForConditionalGeneration": "0.10.2",
331+
"MllamaForConditionalGeneration": "0.10.2",
332+
}
323333

324334

325335
@dataclass(frozen=True)

0 commit comments

Comments
 (0)