Skip to content

Commit

Permalink
Update registry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bmullick-amd authored Dec 2, 2024
1 parent efb0432 commit c0e9b46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vllm/model_executor/models/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
"BartModel": ("bart", "BartForConditionalGeneration"),
"BartForConditionalGeneration": ("bart", "BartForConditionalGeneration"),
"Florence2ForConditionalGeneration": ("florence2", "Florence2ForConditionalGeneration"), # noqa: E501
"T5Model": ("t5", "T5ForConditionalGeneration"),
"T5ForConditionalGeneration": ("t5", "T5ForConditionalGeneration"),
"T5WithLMHeadModel": ("t5", "T5ForConditionalGeneration")
}

_EMBEDDING_MODELS = {
Expand Down Expand Up @@ -484,4 +487,4 @@ def _run() -> None:


if __name__ == "__main__":
_run()
_run()

0 comments on commit c0e9b46

Please sign in to comment.