-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[ETHOSN] Match config for is-supported with compilation target #9160
Conversation
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 modulo a nit.
A question : how does the code work w/o this change ? (I guess there should be accompanied docker change with versions)
b3a01a9
to
06b487f
Compare
c2c80a0
to
0dde9b8
Compare
67cfbca
to
88bf112
Compare
The Ethos-N variant configuration for the is-supported functionality is now the same as the variant configuration for the actual compilation
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.
Thanks @Leo-arm ,
This is much better now :).
I have left some minor nits/comments. If there is an immediate follow up, Im happy to merge this if we can include the fixes in the next one.
@@ -322,6 +338,8 @@ class EthosnCompiler { | |||
*/ | |||
static std::pair<std::vector<uint32_t>, std::vector<uint32_t>> GetInputOutputOrder( | |||
NetworkWithIDs network, const std::unique_ptr<sl::CompiledNetwork>& compiled_network); | |||
|
|||
static std::unique_ptr<sl::SupportQueries> m_Queries; |
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 add docs.
: AttrsWithDefaultValues<EthosnCompilerConfig>(); | ||
auto m_Queries = sl::SupportQueries(sl::GetFwAndHwCapabilities( | ||
sl::EthosNVariantFromString(cfg.value()->variant.c_str()), cfg.value()->sram_size_bytes)); | ||
std::unique_ptr<sl::SupportQueries> EthosnCompiler::m_Queries; |
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.
nit : Do we need this line ?
Thanks Manupa. I expect to issue the following PR in the next days and I will take care of the two issues there, if that is OK with you. |
This is merged now!. Thanks @Leo-arm. |
…e#9160) The Ethos-N variant configuration for the is-supported functionality is now the same as the variant configuration for the actual compilation
…e#9160) The Ethos-N variant configuration for the is-supported functionality is now the same as the variant configuration for the actual compilation
The Ethos-N variant configuration for the is-supported functionality is now
the same as the variant configuration for the actual compilation