-
Notifications
You must be signed in to change notification settings - Fork 336
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
ZHigh to ONNX optimization is default on. Switch flag from enable to disable #3074
ZHigh to ONNX optimization is default on. Switch flag from enable to disable #3074
Conversation
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[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!
@@ -183,7 +183,7 @@ void addONNXToZHighPasses(mlir::PassManager &pm) { | |||
// sub, ...) that are of `stick -> light-weight op -> unstick`, it's better to | |||
// use CPU instead of NNPA to avoid stick/unstick. CPU is efficient to handle | |||
// these ops, e.g vectorize the computation. | |||
if (nnpaEnableZHighToOnnx) | |||
if (! nnpaDisableZHighToOnnx) |
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.
Looks like the space caused clang-format check
failed.
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.
Tx
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Jenkins Linux amd64 Build #16291 [push] ZHigh to ONNX optimizati... started at 15:06 |
Jenkins Linux s390x Build #16293 [push] ZHigh to ONNX optimizati... started at 16:06 |
Jenkins Linux amd64 Build #16291 [push] ZHigh to ONNX optimizati... passed after 1 hr 38 min |
Jenkins Linux s390x Build #16293 [push] ZHigh to ONNX optimizati... passed after 2 hr 0 min |
ZHigh to ONNX is default on, and should rarely be disabled. Having a compiler flag to explicitly disable it is more intuitive