mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:05:02 +08:00
Remove Redundant Assignment in Qwen3_VisionPatchMerger (#25224)
Signed-off-by: Junhong <liujunhong11@huawei.com> Co-authored-by: Junhong <liujunhong11@huawei.com> Co-authored-by: Roger Wang <hey@rogerw.io>
This commit is contained in:
parent
2821986450
commit
d90e212a3a
@ -223,9 +223,7 @@ class Qwen3_VisionPatchMerger(nn.Module):
|
||||
|
||||
if norm_layer is None:
|
||||
norm_layer = partial(nn.LayerNorm, eps=1e-6)
|
||||
self.use_postshuffle_norm = use_postshuffle_norm
|
||||
self.norm = norm_layer(
|
||||
self.hidden_size if use_postshuffle_norm else context_dim)
|
||||
self.norm = norm_layer(context_dim)
|
||||
self.linear_fc1 = ColumnParallelLinear(self.hidden_size,
|
||||
self.hidden_size,
|
||||
bias=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user