Skip to content

feat: fa3 custom ops for compatibility with PT Compile #1590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

zhangheng408
Copy link

fa2 custom ops are supported in #1139.
add fa3 custom ops

liyong.0517 added 11 commits April 9, 2025 18:04
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
add
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
fix
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
Signed-off-by: liyong.0517 <[email protected]>
@tridao
Copy link
Member

tridao commented Apr 13, 2025

Thanks! Let's just assume that pytorch version is >= 2.4 to simplify the code. We will drop support for pytorch versions before that.

Signed-off-by: zhangheng <[email protected]>
@zhangheng408
Copy link
Author

@tridao done

@zhangheng408
Copy link
Author

@tridao any other comments?

@mrdrprofuroboros
Copy link

works like charm, thx @zhangheng408 !

@MaciejBalaNV
Copy link

@tridao Can we please merge this? It would be extremely useful e.g. with SAC feature in PyTorch and it brings FA3 to parity with FA2, which is already registered as PyTorch op.

@MaciejBalaNV
Copy link

@tridao Pinging again, I think it's a simple, yet very useful PR, would be great to merge it.

@EduardDurech
Copy link

Hey, this would be important for FA3 in Transformers, see huggingface/transformers#38972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants