Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions vllm/model_executor/models/diffusion_gemma.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
text_config.attention_k_eq_v = True

# ---- Vision tower ----
# Gemma4's image path, borrowed below, reads this flag.
lora_config = vllm_config.lora_config
self._enable_mm_lora = bool(
lora_config is not None and lora_config.enable_tower_connector_lora
)
vision_config = getattr(config, "vision_config", None)
self.embed_vision: Gemma4MultimodalEmbedder | None
if vision_config is not None:
Expand Down
Loading