[MM] Pass prefix parameter to MMEncoderAttention (#33674)
Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
@@ -254,7 +254,10 @@ class Llama4VisionAttention(nn.Module):
|
||||
self.scaling = self.head_dim**-0.5
|
||||
|
||||
self.attn = MMEncoderAttention(
|
||||
self.num_local_heads, self.head_dim, self.scaling
|
||||
self.num_local_heads,
|
||||
self.head_dim,
|
||||
self.scaling,
|
||||
prefix=prefix,
|
||||
)
|
||||
|
||||
if use_data_parallel:
|
||||
|
||||
Reference in New Issue
Block a user