transformers
37367c7d - Allow customization of sdpa in executorch.py (#38827)

Commit
207 days ago
Allow customization of sdpa in executorch.py (#38827) Earlier PR put executorch specific sdpa and mask function in the export function. This prevent any customization that can be done to sdpa, prior to export. By moving this to __init__, we still keep the original behavior but allow users like optimum-executorch to override sdpa by setting model.config._attn_implementation.
Author
Parents
Loading