-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
base: main
Are you sure you want to change the base?
Conversation
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]>
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]>
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]>
@tridao done |
@tridao any other comments? |
works like charm, thx @zhangheng408 ! |
@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. |
@tridao Pinging again, I think it's a simple, yet very useful PR, would be great to merge it. |
Hey, this would be important for FA3 in Transformers, see huggingface/transformers#38972 |
fa2 custom ops are supported in #1139.
add fa3 custom ops