-
Notifications
You must be signed in to change notification settings - Fork 433
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
Support missing ONNX ops to import optimum/all-MiniLM-L6-v2
#600
Comments
Hey I am currently learning rust, as it is a good first issue can you please assign this to me |
@ShivangRawat30, I would recommend you start with a unary operator Sqrt. Work on this and submit a PR. If you agree, just comment claim Sqrt. If you have questions and want faster response, you can join Discord (you can find the link on Readme). Anyone else wants to work on any of the ops, you can just comment claim (some operator). |
claim Sqrt |
👀 Hi I'm interested in this too. But I'm a bit confused if the new import file should be put under |
@AuruTus, since all these ops already available in Burn, they have to be implemented in burn-import. I would recommend to start with something simple. Maybe with Tanh? |
Thank you for the advice! Will look at it later. claim Tanh |
I have free time now and can finish more. Claim erf. |
@AuruTus we added onnx file base testing to verify end to end conversion. Let me know if you have questions. |
Claim Pow |
Claim Gather |
@antimora I'm having some problems with the codegen test.
|
@CohenAriel I am not sure what it is being compared to. Is it expected code or generated code? |
This is expected code. The generated code imports Int but the expected code doesn't. |
In that can you will need to modify your expected test. You may have to use custom instead of using the macros in place. You should find some examples with int import. I can't point them to you because I am currently on the phone and it is to browse code. |
I'll grab slice |
llogiq on Reddit requested support of missing ONNX Ops. We are filing this issue ticket to prioritize these ops
The model: https://huggingface.co/optimum/all-MiniLM-L6-v2/blob/main/model.onnx
The ops used in this model (checked if supported):
All these ops are implemented in Burn and they now have to be supported by burn-import's op.
The text was updated successfully, but these errors were encountered: