ITADN

Add comprehensive causal and custom masking support

#30Pull Requestbghira 创建于 2025-09-14
B
bghiracommented
Implements attention masking with: - AttentionMaskType enum (.none, .causal, .custom) - Metal kernel-level masking - Integration across forward/backward passes for gradient correctness - Tests & docs
合并状态:未合并 关闭于 2025-09-14 8 条评论