Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/transformers/models/llama4/modeling_llama4.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def forward(self, x):
return self.down_proj(down_proj)


class Llama4TextL2Norm(torch.nn.Module):
class Llama4TextL2Norm(torch.nn.Module): # Does the LLAMA4 specification require RMSNorm or L2Norm? Because this is RMSnorm, not L2Norm, despite its naming.
def __init__(self, eps: float = 1e-6):
super().__init__()
self.eps = eps
Expand Down