You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improves flexibility by making attn_mask, attn_bias, is_causal, and scale parameters optional with sensible defaults.
Creates default attention mask and bias tensors when not provided, sets causal attention to true by default, and calculates scale from head dimension when not specified.
Adds proper null checking before tensor slicing operations to prevent errors when optional parameters are None.
0 commit comments