diff --git a/python/sglang/srt/models/glm4v.py b/python/sglang/srt/models/glm4v.py index 95c70804f..63c955a72 100644 --- a/python/sglang/srt/models/glm4v.py +++ b/python/sglang/srt/models/glm4v.py @@ -497,6 +497,9 @@ class Glm4vForConditionalGeneration(Qwen2_5_VLForConditionalGeneration): self.pooler = Pooler(pooling_type=PoolingType.LAST, normalize=True) self.is_mrope_enabled = "mrope_section" in self.config.rope_scaling + # For EAGLE3 support + self.capture_aux_hidden_states = False + def get_image_feature(self, items: List[MultimodalDataItem]) -> torch.Tensor: pixel_values = torch.cat( [item.feature.squeeze(0) for item in items], dim=0