[ONNX] Add symbolic function for XSoftmax op for exporting to ONNX.#14013
[ONNX] Add symbolic function for XSoftmax op for exporting to ONNX.#14013LysandreJik merged 3 commits intohuggingface:masterfrom fatcat-z:add_xsoftmax_symbolic
Conversation
|
Might be of interest to @BigBird01 |
This is cool! Thanks! |
|
@BigBird01 Thanks. |
michaelbenayoun
left a comment
There was a problem hiding this comment.
Seems good to me, thanks for your great contribution!
Quick question: do you plan to add the ONNX DeBERTa export support now that you have added support for the problematic operator?
No, no plan for this yet. |
LysandreJik
left a comment
There was a problem hiding this comment.
Yes, LGTM! Thank you @fatcat-z
|
@fatcat-z Hi, I have a question about the way symbolic conversion is implemented. Is there any reason why you are using |
What does this PR do?
For such customized operator, PyTorch ONNX exporter will try to call its symbolic() function for exporting to ONNX file. Add the implementation here so that it could be exported successfully.