-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Good First Issue]: Support aten::expm1 for pytorch models #20578
Comments
@ilya-lavrenov and @mvafin I would like to work on it. |
Hi, do u guys have any official discord channel or something ? |
not yet, sorry |
Hi @Mac16661, do you need any help? |
Actuall yes, Im having some trouble setting up this project in my PC |
Could you please share what the issues are? |
@p-wysocki I fixed that issue thanks to stack overflow. Just tell me one thing do I also need to write Unit test for this function? |
That's great! Yes, tests are required - you can see how they can be added in the example PR: https://github.com/openvinotoolkit/openvino/pull/18998/files#diff-95d21d5f44f53bb598a50b564360938a47c9495c4ba2cccd65533f1d33b9086e |
Could you provide the ID of any of your social media accounts if you don't mind, so I can clear my doubts? I have a lot of small ones. Like discord or something . |
@p-wysocki do u have any command for running these testcases ? Like Im trying to run \openVINO\openvino\tests\layer_tests\pytorch_tests\test_pow.py |
Hello @Mac16661!
We currently do not have any social media for contributors, but that may (I hope) change soon. In the meantime, please ask your questions here, no matter how small they are. :)
You can start with the PyTorch Layer Test guide - let us know if you have questions which are not covered by it! |
@p-wysocki I have some like, I am implementing expm1 method. So I need to get an input vector and then find it's exponential by calling Exp () and then create an vector of same size as input vector contains 1 and then call Subtract ()
This is how I am trying to implement this function but I don't know how to create a vector? or what this context.mark_node doing? So do u have any docs which can help me ? |
@mmikolajcz could you please take a look? |
@Mac16661 You can see on this line how subtract 1 is done in reference PR. |
Hello @Mac16661, do you need any help? Does the provided solution work for you? Just yesterday our CONTRIBUTING.md has been updated with a technical guide - I highly recommend checking it out. :) |
I've implemented |
Hello @Mac16661, please let us know if there's anything we can help you with. Are you still working on that issue? I am happy to announce that we have created a channel dedicated to Good First Issues support on our Intel DevHub Discord server! Join it to receive support, engage in discussions, ask questions and talk to OpenVINO developers. |
Hi, can i work on this issue? |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
hey! @LucaTamSapienza would be happy to work together if you want to |
@rghvsh sure! i've alredy implemented the expm1.cpp file and also the test for it. Just forgot to do .take to get the issue |
Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. |
Ah! that's great let's ask one of the members to co-assign us and I'll get started |
@rghvsh if you have discord we can talk about it because rn i'm having some issues while i'm running my test |
sure rzxcs is my username |
Hello, is there any help needed? |
Actually yes, I'm having a lot of issues due to precision FP::16,32. I've linked my PR above. |
### Details: *added aten::expm1 operation* I'm having some problems during the tests; I think they're related to the **frontend.cpp** file. My question is if I need to create a class to support the expm1 operation and add it inside the **transform.cpp** file? After that I would call it inside the frontend.cpp like this `manager.register_pass<ov::frontend::pytorch::pass::Class_name>();` ### Tickets: - Closes #20578 ### Problem E openvino._pyopenvino.OpConversionFailure: Check 'is_conversion_successful' failed at src/frontends/pytorch/src/frontend.cpp:141: E FrontEnd API failed with OpConversionFailure: E Model wasn't fully converted. E Summary: E -- No conversion rule found for operations: aten::expm1 /opt/intel/openvino_2023.3.0/python/openvino/frontend/frontend.py:18: OpConversionFailure --------- Co-authored-by: Ekaterina Aidova <[email protected]>
thank you (again!) @LucaTamSapienza :) |
Context
OpenVINO component responsible for support of PyTorch models is called as PyTorch Frontend (PT FE). PT FE converts a model represented as TorchScript model to a model in OpenVINO opset.
What needs to be done?
Example Pull Requests
#18998
Resources
Contact points
@openvinotoolkit/openvino-pytorch-frontend-maintainers
Ticket
TBD
The text was updated successfully, but these errors were encountered: