onnx / onnx-mlir

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

Upgrade ONNX in onnx-mlir to v1.17.0 #3003

Closed Sunny-Anand closed 2 weeks ago

Sunny-Anand commented 2 weeks ago

ONNX recently released v.17.0 version. ONNX-MLIR will need to upgrade to use the new ONNX version.

ONNX v1.17.0 is now available with exciting new features! We would like to thank everyone who contributed to this release! Please visit onnx.ai to learn more about ONNX and associated projects.

Key Updates

ai.onnx Opset 22 Update to support bfloat16: Acos, Acosh, Asin, Asinh, Atan, Atanh, AveragePool, Bernoulli, Conv, ConvTranspose, Cos, Cosh, DeformConv, Det, Dropout, Elu, EyeLike, GRU, GlobalAveragePool, GlobalLpPool, GlobalMaxPool, GridSample, HardSigmoid, HardSwish, InstanceNormalization, LSTM, LpNormalization, LpPool, MaxPool, MaxRoiPool, MaxUnpool, Mish, Multinomial, NegativeLogLikelihoodLoss, RNN, RandomNormal, RandomNormalLike, RandomUniform, RandomUniformLike, RoiAlign, Round, Selu, Sin, Sinh, Softplus, Softsign, Tan, ThresholdedRelu

Python Changes

Support for numpy >= 2.0

Security updates

a) add license/Copyright header, b) add missing TopLevel Security https://github.com/onnx/onnx/pull/6184 Installation

You can upgrade to the latest release using pip install onnx --upgrade or build from source following the README instructions.

gongsu832 commented 2 weeks ago

Addressed by https://github.com/onnx/onnx-mlir/issues/3003

Sunny-Anand commented 2 weeks ago

Thanks @gongsu832. Upgrade done by PR