Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Minor fix
  • Loading branch information
fegin committed Apr 2, 2025
commit bfd4472fc53780899891776ce88ad906ffc11dbe
2 changes: 1 addition & 1 deletion torchtitan/models/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def init_attention_bias(


class SDPA(torch.nn.Module):
def __init__(self) -> None:
def __init__(self, attn_bias_type: str) -> None:
super().__init__()
if attn_bias_type != "causal":
raise ValueError(
Expand Down