-
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
[ARM CPU] Add ACL executor for Convert #17323
Conversation
allnes
commented
May 2, 2023
- Separate executors
- Add ACL executor for convert
This PR will be closed in a week because of 2 weeks of no activity. |
…into an/init_acl_convert
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.
Could you please execute dlb regression (with timeout = 1) just to verify functionality.
auto selectedPD = getSelectedPrimitiveDescriptor(); | ||
std::vector<MemoryDescPtr> srcDescs = {parentMem.getDescPtr()}; | ||
std::vector<MemoryDescPtr> dstDescs = {childMem.getDescPtr()}; | ||
execPtr = selectedPD->getExecutorFactoryAs<ConvertExecutorFactory>()->makeExecutor(convertParams, |
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.
Could you please create a prepareParams method for the convert node to align with the rest of the nodes.
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.
fixed
const std::vector<MemoryDescPtr>& srcDescs, | ||
const std::vector<MemoryDescPtr>& dstDescs) const override { | ||
if (convertParams.srcPrc != convertParams.dstPrc) { | ||
if (convertParams.srcPrc != InferenceEngine::Precision::I8 && |
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.
Please use one_of() utils method for such cases
Here and below
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.
fixed
@@ -217,7 +217,7 @@ void Transformations::PreLpt(const std::vector<ov::element::Type>& defaultPrecis | |||
{ov::element::u16, ov::element::i32}, | |||
{ov::element::u32, ov::element::i32}, | |||
{ov::element::f64, ov::element::f32}, | |||
{ov::element::f16, ov::element::f32}, | |||
//{ov::element::f16, ov::element::f32}, |
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.
please revert
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.
done
@@ -122,7 +122,7 @@ inline InferenceEngine::Precision normalizeToSupportedPrecision(InferenceEngine: | |||
break; | |||
} | |||
case InferenceEngine::Precision::FP16: { | |||
precision = InferenceEngine::Precision::FP32; | |||
//precision = InferenceEngine::Precision::FP32; |
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.
please revert
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.
done