[Model] Add Granite 4.0 1B speech to supported models (#38019)

Signed-off-by: Nick Cao <ncao@redhat.com>
This commit is contained in:
Nick Cao
2026-03-24 14:23:41 -04:00
committed by GitHub
parent 057fc94cbd
commit 935c46dd9b
4 changed files with 20 additions and 9 deletions

View File

@@ -75,12 +75,14 @@ from .utils import AutoWeightsLoader, init_vllm_registered_model, maybe_prefix
# NOTE lang support is based on what is written here:
# https://huggingface.co/ibm-granite/granite-speech-3.3-2b
# https://huggingface.co/ibm-granite/granite-4.0-1b-speech
# Though this may vary from model to model, and also many langs
# work pretty well with zero shot.
ISO639_1_SUPPORTED_LANGS = {
"en": "English",
"fr": "French",
"de": "German",
"ja": "Japanese",
"pt": "Portuguese",
"es": "Spanish",
}