-
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
[PDPD] fix ops for baidu customer #27222
Conversation
This PR will be closed in a week because of 2 weeks of no activity. |
} | ||
PADDLE_OP_CHECK(node, | ||
input.get_partial_shape().rank().get_length() == 1, | ||
"the rank of conv input must == 1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this CHECK in need as it's after an unsqueeze node and should definitely be 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this CHECK in need as it's after an unsqueeze node and should definitely be 1?
I see. But PDPD export mechanism always changes from time to time. Sometimes it may be a 0-dim tensor. Sometimes it may be 2-dim tensor. So I have to leave an extra check here.
@@ -4,6 +4,7 @@ | |||
|
|||
#include "default_opset.hpp" | |||
#include "openvino/frontend/paddle/node_context.hpp" | |||
#include "openvino/opsets/opset4.hpp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about upgrade to latest opset too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about upgrade to latest opset too?
Interpolate
of OpenVINO opset4 can match PDPD's Interpolate
directly.
But Interpolate
of the latest opset needs more extra ops to map such op.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor comments
### Details: - *fix the negative dim issue when run into `reduce_fusion` pass* - *enable eye op* - *enable elu op* - *add tests* - *upgrade paddlepaddle to 2.6.2* - *upgrade opset to 14 version* ### Tickets: - *N/A*
@ceciliapeng2011 @yuxu42 could you help add this to merge queue? Thanks. |
Details:
reduce_fusion
passTickets: