From d42975c641f4c5e05cef7117dd5cee23f406c11c Mon Sep 17 00:00:00 2001 From: Lzhang-hub <57925599+Lzhang-hub@users.noreply.github.com> Date: Wed, 24 Sep 2025 02:40:51 +0800 Subject: [PATCH] Remove duplicate code in qwen2 model (#10540) --- python/sglang/srt/models/qwen2.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/sglang/srt/models/qwen2.py b/python/sglang/srt/models/qwen2.py index 256caee9c..531f5b6e9 100644 --- a/python/sglang/srt/models/qwen2.py +++ b/python/sglang/srt/models/qwen2.py @@ -454,9 +454,6 @@ class Qwen2ForCausalLM(nn.Module): # For EAGLE3 support self.capture_aux_hidden_states = False - # For EAGLE3 support - self.capture_aux_hidden_states = False - def get_input_embedding(self, input_ids: torch.Tensor) -> torch.Tensor: return self.model.get_input_embedding(input_ids)