-
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
[microNPU] Adding a option to enable striping #11263
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.
Thanks @manupa-arm LGTM! Just one small nit, but feel free to ignore
also cc @ekalda
@@ -105,7 +105,8 @@ std::vector<bool> GetCascadableAxes(const Part& part) { | |||
return cascadable_axes; | |||
} | |||
|
|||
std::vector<StripeConfig> GenerateOutputStripeConfigs(const Part& part, int stripe_factors) { | |||
std::vector<StripeConfig> GenerateOutputStripeConfigs(const Part& part, int stripe_factors, | |||
bool disable_striping = false) { |
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: probably no need for a default here?
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.
Agreed and removed the default.
After having an offline discussion with @lhutton1 , we also decided to switch the polarity to enable the striping instead because we'd like to use block config selection done by the cascader without striping in a default run. |
This commit adds a cascader option to enable striping explicitly. When doing so fixed a bug that is associated with block config selection, that will be triggered when striping is disabled. Co-authored-by: Elen Kalda <[email protected]>
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!
Thanks @manupa-arm! |
This commit adds a cascader option to enable striping explicitly. When doing so fixed a bug that is associated with block config selection, that will be triggered when striping is disabled. Co-authored-by: Elen Kalda <[email protected]>
This commit adds a cascader option to enable striping explicitly. When doing so fixed a bug that is associated with block config selection, that will be triggered when striping is disabled. Co-authored-by: Elen Kalda <[email protected]>
This commit adds a cascader option to enable striping explicitly. When doing so fixed a bug that is associated with block config selection, that will be triggered when striping is disabled. Co-authored-by: Elen Kalda <[email protected]>
This commit adds a cascader option to enable
striping explicitly.
When doing so fixed a bug that is associated
with block config selection, that will be
triggered when striping is disabled.
Co-authored-by: Elen Kalda [email protected]
cc @Mousius @lhutton1