Unverified Commit d90e212a authored by LJH-LBJ's avatar LJH-LBJ Committed by GitHub
Browse files

Remove Redundant Assignment in Qwen3_VisionPatchMerger (#25224)


Signed-off-by: default avatarJunhong <liujunhong11@huawei.com>
Co-authored-by: default avatarJunhong <liujunhong11@huawei.com>
Co-authored-by: default avatarRoger Wang <hey@rogerw.io>
parent 28219864
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment