onnx / onnx-mlir

Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure
Apache License 2.0
775 stars 322 forks source link

Add --enable-unsafe-fp-math flag when -O3 and NNPA is used #2963

Closed chentong319 closed 1 month ago

chentong319 commented 1 month ago

Since NNPA uses less precise data, it is reasonable to enable aggressive optimization. Add the flag only for O3, leaving O0 for debugging.

jenkins-droid commented 1 month ago

Jenkins Linux amd64 Build #15754 [push] implement (#2963) Signe... started at 12:18

jenkins-droid commented 1 month ago

Jenkins Linux s390x Build #15757 [push] implement (#2963) Signe... started at 13:18

jenkins-droid commented 1 month ago

Jenkins Linux ppc64le Build #14784 [push] implement (#2963) Signe... started at 13:30

jenkins-droid commented 1 month ago

Jenkins Linux amd64 Build #15754 [push] implement (#2963) Signe... passed after 1 hr 24 min

jenkins-droid commented 1 month ago

Jenkins Linux s390x Build #15757 [push] implement (#2963) Signe... passed after 2 hr 1 min

jenkins-droid commented 1 month ago

Jenkins Linux ppc64le Build #14784 [push] implement (#2963) Signe... passed after 2 hr 35 min