[Misc] Remove no-op self-assignments across vLLM (#55988)

Signed-off-by: shaolila <shaolila@buaa.edu.cn>
Co-authored-by: shaolila <shaolila@buaa.edu.cn>
This commit is contained in:
Adababy
2026-09-16 02:17:07 -07:00
committed by GitHub
co-authored by shaolila
parent 5f203baedb
commit ceb87de065
4 changed files with 9 additions and 12 deletions
-1
View File
@@ -173,7 +173,6 @@ class Step3p5Attention(nn.Module):
rope_scaling = None
if sliding_window is not None and enable_sliding_window:
sliding_window = sliding_window
if swa_num_attention_heads is not None:
num_heads = swa_num_attention_heads
self.total_num_heads = swa_num_attention_heads