[Core] Enable inputs_embeds_size separate from hidden_size (#29741)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-11-30 17:31:12 +08:00
committed by GitHub
parent 47539cfd3e
commit 64bc09ba27
10 changed files with 123 additions and 18 deletions

View File

@@ -19,7 +19,12 @@ HF_IMAGE_PROMPTS = IMAGE_ASSETS.prompts(
}
)
MODELS = ["google/siglip-base-patch16-224", "google/siglip2-base-patch16-224"]
MODELS = [
"google/siglip-base-patch16-224",
"google/siglip2-base-patch16-224",
# Different image embedding dim than text_config.hidden_size
"google/siglip2-giant-opt-patch16-384",
]
def _run_test(