[Bugfix][PaliGemma] Remove stale image embedding scaling (#52692)

Signed-off-by: jikuixie <jikuixie@gmail.com> Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>

Jikui Xie committed Aug 19, 2026 at 00:00 UTC f9f066d195ca079c7403d9d9447c6b1d740c348c
1 file changed -2
vllm/model_executor/models/paligemma.py
-2
@@ -378,8 +378,6 @@ class PaliGemmaForConditionalGeneration(
378 if image_input is None:
379 return []
380 vision_embeddings = self._process_image_input(image_input)
381 - # https://github.com/huggingface/transformers/blob/main/src/transformers/models/paligemma/modeling_paligemma.py#L294 # noqa
382 - vision_embeddings = vision_embeddings * (self.config.hidden_size**-0.5)
381 return vision_embeddings
382
383 def forward(