Skip to content
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::atan2 for pytorch models #20575

Closed
mvafin opened this issue Oct 18, 2023 · 28 comments · Fixed by #27026
Closed

[Good First Issue]: Support aten::atan2 for pytorch models #20575

mvafin opened this issue Oct 18, 2023 · 28 comments · Fixed by #27026
Assignees
Labels
category: PyTorch FE OpenVINO PyTorch Frontend good first issue Good for newcomers no_stale Do not mark as stale
Milestone

Comments

@mvafin
Copy link
Contributor

mvafin commented Oct 18, 2023

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?

  • Implement conversion rule and/or transformation to support the new operation.
  • Implement operation tests in tests/layer_tests/pytorch_tests. Please consider different data types, but keep reasonable number of test cases

Example Pull Requests

#18998

Resources

Contact points

@openvinotoolkit/openvino-pytorch-frontend-maintainers

Ticket

TBD

@mvafin mvafin added good first issue Good for newcomers no_stale Do not mark as stale labels Oct 18, 2023
@github-project-automation github-project-automation bot moved this to Contrubutors needed in Good first issues Oct 18, 2023
@mvafin mvafin changed the title [Good First Issue]: Support aten::atan2 [Good First Issue]: Support aten::atan2 for pytorch models Oct 18, 2023
@ilya-lavrenov ilya-lavrenov added the category: PyTorch FE OpenVINO PyTorch Frontend label Oct 18, 2023
@stncil
Copy link

stncil commented Oct 21, 2023

Hi, I am new to open-source contribution. Could you point me to a resource that tells me how to compile and contribute to this project?

@ilya-lavrenov ilya-lavrenov moved this from Contributors Needed to Assigned in Good first issues Oct 21, 2023
@stncil
Copy link

stncil commented Oct 21, 2023

Hi, thank you for assigning the task. However, I am not sure how I would begin the implementation.
Could you please point me to a resource regarding compiling the project?

@ilya-lavrenov
Copy link
Contributor

@p-wysocki
Copy link
Contributor

Hi @stncil, are you still working on this issue or can I return it to be picked up by other contributors?

@stncil
Copy link

stncil commented Nov 13, 2023

Hi, I won't be able to complete the task. Please return it to the open issues. Apologies for the delay in response.

@p-wysocki p-wysocki moved this from Assigned to Contributors Needed in Good first issues Nov 14, 2023
@sydarb
Copy link
Contributor

sydarb commented Dec 10, 2023

.take

Copy link
Contributor

Thank you for looking into this issue! Please let us know if you have any questions or require any help.

@p-wysocki
Copy link
Contributor

Hello @sydarb, thanks for taking a look! Please let us know if you have any questions or need any help. :)

You can use our WIP roadmap for contributors at #21322, if you do - please let us know if it helped and give us any feedback on how it could be improved. :)

@p-wysocki p-wysocki moved this from Contributors Needed to Assigned in Good first issues Dec 11, 2023
@p-wysocki
Copy link
Contributor

Hello @sydarb, are you still working on this 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.

@p-wysocki p-wysocki moved this from Assigned to Contributors Needed in Good first issues Jan 10, 2024
@sahilpmehra
Copy link

.take

Copy link
Contributor

Thank you for looking into this issue! Please let us know if you have any questions or require any help.

@mvafin mvafin moved this from Contributors Needed to Assigned in Good first issues Jan 16, 2024
@sahilpmehra
Copy link

sahilpmehra commented Jan 19, 2024

Hi @p-wysocki @mvafin, I am facing a little issue while building openvino on my macbook (apple silicon). I have followed the apple silicon related guide so far (https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_mac_arm.md).

cmake -G "Ninja Multi-Config" -DENABLE_SYSTEM_PUGIXML=ON -DENABLE_SYSTEM_SNAPPY=ON -DENABLE_SYSTEM_PROTOBUF=ON ..

The issue comes up with the above step when I am running cmake to fetch project dependencies and create build rules.

After receiving a few warnings related to which functionality is turned off (expected), I get the following error message:

CMake Error at cmake/developer_package/cross_compile/find_commands.cmake:152 (find_program):
Could not find SCONS using the following names: scons
Call Stack (most recent call first):
src/plugins/intel_cpu/thirdparty/ACLConfig.cmake:109 (find_host_program)
src/plugins/intel_cpu/thirdparty/FindACL.cmake:5 (include)
src/plugins/intel_cpu/thirdparty/onednn/cmake/ACL.cmake:32 (find_package)
src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt:129 (include)

Is this a known issue while building with Apple Silicon? Or is there some other issue? Please let me know if you have seen this before. Would be very grateful!

@ilya-lavrenov
Copy link
Contributor

Hi @sahilpmehra you missed several steps with dependency installation. Specifically, you have missed:

brew install scons

Note, it can also be installed via python3 -m pip.

@p-wysocki
Copy link
Contributor

Hi @sahilpmehra, are you still working on that issue?

@mlukasze mlukasze moved this from Contributors Needed to Assigned in Good first issues Feb 19, 2024
@rghvsh
Copy link
Contributor

rghvsh commented Feb 22, 2024

#23003

@mlukasze mlukasze moved this from Assigned to In Review in Good first issues Feb 22, 2024
@rghvsh
Copy link
Contributor

rghvsh commented Mar 12, 2024

Hey @mvafin made the recommended changes please review once.

@mlukasze mlukasze moved this from In Review to Contributors Needed in Good first issues May 20, 2024
@Increshi
Copy link

.take

Copy link
Contributor

Thank you for looking into this issue! Please let us know if you have any questions or require any help.

@p-wysocki p-wysocki moved this from Contributors Needed to Assigned in Good first issues May 27, 2024
@mlukasze
Copy link
Contributor

hey @Increshi do you need any support?

@mlukasze mlukasze moved this from Assigned to Contributors Needed in Good first issues Sep 18, 2024
@tiebreaker4869
Copy link
Contributor

.take

Copy link
Contributor

Thank you for looking into this issue! Please let us know if you have any questions or require any help.

@mlukasze mlukasze moved this from Contributors Needed to Assigned in Good first issues Oct 14, 2024
@tiebreaker4869
Copy link
Contributor

hi @mlukasze :) , i just finish working on it and open a pr, should i do something or just wait for review.

@mlukasze mlukasze linked a pull request Oct 15, 2024 that will close this issue
@mlukasze
Copy link
Contributor

hi @mlukasze :) , i just finish working on it and open a pr, should i do something or just wait for review.

no, reviewers received notifications, no we wait ;)

@mlukasze
Copy link
Contributor

@mvafin will be your contact point to solve those issues and answers questions.

@tiebreaker4869
Copy link
Contributor

@mvafin will be your contact point to solve those issues and answers questions.

okay, thank you.

@tiebreaker4869
Copy link
Contributor

hi @mvafin i just encountered some issues in the CI pytorch layer tests.

in the test logs it reports errors about "no conversion rules for aten.atan2.default", but there is only aten::atan2 operator.

i try to reproduce using the command to run pytest locally on my mac but it runs normally. could you provide some hints about where could this "aten.atan2.default" come from or any ways to inspect it? thanks a lot!

github-merge-queue bot pushed a commit that referenced this issue Oct 23, 2024
### Details:
- add atan2 operator and unit tests

### Tickets:
- [[Good First Issue]: Support aten::atan2 for pytorch
models](#20575)

---------

Co-authored-by: Michal Lukaszewski <[email protected]>
Co-authored-by: Maxim Vafin <[email protected]>
@github-project-automation github-project-automation bot moved this from Assigned to Closed in Good first issues Oct 23, 2024
@mlukasze mlukasze added this to the 2024.5 milestone Oct 23, 2024
CuriousPanCake pushed a commit to CuriousPanCake/openvino that referenced this issue Nov 6, 2024
### Details:
- add atan2 operator and unit tests

### Tickets:
- [[Good First Issue]: Support aten::atan2 for pytorch
models](openvinotoolkit#20575)

---------

Co-authored-by: Michal Lukaszewski <[email protected]>
Co-authored-by: Maxim Vafin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: PyTorch FE OpenVINO PyTorch Frontend good first issue Good for newcomers no_stale Do not mark as stale
Projects
Archived in project
10 participants