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

Added Relevant support for aten::quantile and it's tests. #28599

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

geeky33
Copy link
Contributor

@geeky33 geeky33 commented Jan 21, 2025

Details:

  • Added aten::quantile

  • Made the changes in the relevant files and added two files by taking the relevant information from the documentation mentioned in the Issue.

  • Implemented 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.*

  • Communicated with @andrei-kochin Sir for the permission to make the pull request. Kindly consider the PR. :)

Tickets:

@geeky33 geeky33 requested review from a team as code owners January 21, 2025 21:07
@geeky33 geeky33 requested review from slyalin and mmikolajcz January 21, 2025 21:07
@github-actions github-actions bot added category: CPU OpenVINO CPU plugin category: PyTorch FE OpenVINO PyTorch Frontend labels Jan 21, 2025
@sys-openvino-ci sys-openvino-ci added the ExternalPR External contributor label Jan 21, 2025
@github-actions github-actions bot removed the category: CPU OpenVINO CPU plugin label Jan 21, 2025
@mlukasze mlukasze linked an issue Jan 22, 2025 that may be closed by this pull request
@rkazants
Copy link
Member

rkazants commented Feb 3, 2025

build_jenkins

@geeky33
Copy link
Contributor Author

geeky33 commented Feb 4, 2025

@rkazants
hello sir could you please give the command again?

@rkazants
Copy link
Member

rkazants commented Feb 4, 2025

build_jenkins

@geeky33
Copy link
Contributor Author

geeky33 commented Feb 4, 2025

@rkazants could you please guide me out what are the issues
I am not able to figure out where is the issue since I followed the example PRs throughly.

@p-wysocki
Copy link
Contributor

Hello @geeky33, there seems to be a number of build errors, as seen in the CI logs. Do you have access to them?

[2025-02-04T08:29:32.314Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ========== ERRORS were found in the output:

[2025-02-04T08:29:32.314Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ../../repos/openvino/src/frontends/pytorch/src/op/quantile.cpp:78:1: error: expected declaration before ‘}’ token

[2025-02-04T08:29:32.314Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ../../repos/openvino/src/frontends/pytorch/src/op/quantile.cpp:77:1: error: expected declaration before ‘}’ token

[2025-02-04T08:29:32.315Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ../../repos/openvino/src/frontends/pytorch/src/op/quantile.cpp:21:1: error: ‘OutputVector’ does not name a type

[2025-02-04T08:29:32.315Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: FAILED: src/frontends/pytorch/src/CMakeFiles/openvino_pytorch_frontend.dir/op/quantile.cpp.o 

[2025-02-04T08:29:32.315Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ../../repos/openvino/src/frontends/pytorch/src/op/quantile.cpp:80:1: error: expected declaration before ‘}’ token

[2025-02-04T08:29:32.315Z] [2025-02-04 08:29:21,392] [140520036398848] build ie ERROR: ../../repos/openvino/src/frontends/pytorch/src/op/quantile.cpp:79:1: error: expected declaration before ‘}’ token

@@ -747,6 +748,7 @@ const std::unordered_map<std::string, CreatorFunction> get_supported_ops_ts() {
{"quantized::hardswish", op::translate_quantized_hardswish},
{"quantized::linear", op::translate_quantized_linear},
{"quantized::mul", op::translate_quantized_mul},
{"quantized::relu", op::translate_quantile},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{"quantized::relu", op::translate_quantile},
{"aten::quantile", op::translate_quantile},

#include "openvino/op/maximum.hpp"
#include "openvino/op/minimum.hpp"
#include "utils.hpp"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
namespace ov {
namespace frontend {
namespace pytorch {
namespace op {

You forgot to open namespaces

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 ExternalPR External contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Good First Issue]: Support aten::quantile
5 participants