ONNX v1.18.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.
Fix more clang-tidy warnings by @cyyever in https://github.com/onnx/onnx/pull/6392
Use std::unordered_{map,set} by @cyyever in https://github.com/onnx/onnx/pull/6390
Set hidden visibility on onnx target by @cyyever in https://github.com/onnx/onnx/pull/6393
Fix more static analyser warnings by @cyyever in https://github.com/onnx/onnx/pull/6396
Add clang-tidy checks and fix warnings by @cyyever in https://github.com/onnx/onnx/pull/6398
Use -Wall -Wextra on APPLE platforms by @cyyever in https://github.com/onnx/onnx/pull/6399
Support official Python launcher on Windows by @petewarden in https://github.com/onnx/onnx/pull/6407
Add misc checks and turn some functions and variables into static by @cyyever in https://github.com/onnx/onnx/pull/6401
Enable more clang-tidy checks by @cyyever in https://github.com/onnx/onnx/pull/6429
Update DFS function to non-recursive version by @tonypottera24 in https://github.com/onnx/onnx/pull/6424
Refactor parser code by @cyyever in https://github.com/onnx/onnx/pull/6397
Create a workflow to suggest lintrunner fixes by @justinchuby in https://github.com/onnx/onnx/pull/6377
Fix ODR violations by @cyyever in https://github.com/onnx/onnx/pull/6439
Fix invalid use of const_cast by @cyyever in https://github.com/onnx/onnx/pull/6451
Use enum class for StatusCategory and StatusCode by @cyyever in https://github.com/onnx/onnx/pull/6450
Fix static analyzer warnings by @cyyever in https://github.com/onnx/onnx/pull/6449
Fix excpetion handling by @cyyever in https://github.com/onnx/onnx/pull/6453
Fix python linter warnings in setup.py by @cyyever in https://github.com/onnx/onnx/pull/6459
Move suggest fixes to a separate CI workflow by @justinchuby in https://github.com/onnx/onnx/pull/6455
Optimize _collect_new_io_core in extract_model by @tonypottera24 in https://github.com/onnx/onnx/pull/6466
Enhance CenterCropPad documentation by @jantonguirao in https://github.com/onnx/onnx/pull/6464
Simplify protobuf linking by @cyyever in https://github.com/onnx/onnx/pull/6444
Print correct Python version in CMake summary by @cyyever in https://github.com/onnx/onnx/pull/6467
Fix ODR violations by @cyyever in https://github.com/onnx/onnx/pull/6468
Migrate to ubuntu-24.04 runner by @andife in https://github.com/onnx/onnx/pull/6373
Add type annotations and fix some lint warnings in Python code by @cyyever in https://github.com/onnx/onnx/pull/6470
Optimize dfs in extract_model by dict by @tonypottera24 in https://github.com/onnx/onnx/pull/6472
More robust utf-8 string conversions on Windows by @cyyever in https://github.com/onnx/onnx/pull/6454
Optimize collect_referred_local_functions in extract_model by @tonypottera24 in https://github.com/onnx/onnx/pull/6478
Move output map to a function in extract_model by @tonypottera24 in https://github.com/onnx/onnx/pull/6485
Add type annotations and fix some lint warnings in Python code by @cyyever in https://github.com/onnx/onnx/pull/6473
Update ruff to 0.7.0 by @cyyever in https://github.com/onnx/onnx/pull/6482
Add more type annotations and fix warnings in Python code by @cyyever in https://github.com/onnx/onnx/pull/6474
Remove __STDC_FORMAT_MACROS by @cyyever in https://github.com/onnx/onnx/pull/6487
Fix clang -Weverything warnings by @cyyever in https://github.com/onnx/onnx/pull/6493
change onnx-weekly destination from test.pypi to pypi by @andife in https://github.com/onnx/onnx/pull/6491
Bump pybind11 to 2.13.6 by @cyyever in https://github.com/onnx/onnx/pull/6486
Bump protobuf to 5.28.3 by @cyyever in https://github.com/onnx/onnx/pull/6330
Fix protobuf version unmatch by @cyyever in https://github.com/onnx/onnx/pull/6498
Upload the srcdist to pypi as a separate step by @andife in https://github.com/onnx/onnx/pull/6488
Another attempt to fix protobuf version problem by @cyyever in https://github.com/onnx/onnx/pull/6508
Bugfix fix file name in create_release.yml by @andife in https://github.com/onnx/onnx/pull/6510
Fix pipeline, limit to onnxruntime <1.20 for docs build by @andife in https://github.com/onnx/onnx/pull/6524
Add LANGUAGE to CMake project by @cyyever in https://github.com/onnx/onnx/pull/6527
Fix reference implementation for ConcatFromSequence by @xadupre in https://github.com/onnx/onnx/pull/6369
Add publishing of devbuild to testpypi by @andife in https://github.com/onnx/onnx/pull/6535
Update page deployment CI to test building pages in PRs by @justinchuby in https://github.com/onnx/onnx/pull/6530
Use localy build protobuf in doc pages by @cyyever in https://github.com/onnx/onnx/pull/6539
Migration to FindPython3.cmake by @ilya-lavrenov in https://github.com/onnx/onnx/pull/6526
Fix upload endpoint (pypi) by @andife in https://github.com/onnx/onnx/pull/6541
Update calender link by @andife in https://github.com/onnx/onnx/pull/6528
Remove usage of Mac12-Runner by @andife in https://github.com/onnx/onnx/pull/6542
Add python 3.13 for release_* workflows by @andife in https://github.com/onnx/onnx/pull/6543
Fix getsize bug in extract_model by @tonypottera24 in https://github.com/onnx/onnx/pull/6496
Improving the environment name by @andife in https://github.com/onnx/onnx/pull/6544
Fix extra-semi warnings on public headers by @cyyever in https://github.com/onnx/onnx/pull/6538
Fix of the devbuild publish-workflow by @andife in https://github.com/onnx/onnx/pull/6546
Removing unit test involving onnxruntime by @andife in https://github.com/onnx/onnx/pull/6549
Publish to test.pypi only for testing (with workflow dispatch) by @andife in https://github.com/onnx/onnx/pull/6548
Use rank in data propagation by @gramalingam in https://github.com/onnx/onnx/pull/6557
Fix handling of tensor rank in concat data propagation by @gramalingam in https://github.com/onnx/onnx/pull/6570
Update gather doc by @gramalingam in https://github.com/onnx/onnx/pull/6585
Fix: skip empty input output names in Extractor by @wine99 in https://github.com/onnx/onnx/pull/6587
Upgrade to Python 3.9 by @cyyever in https://github.com/onnx/onnx/pull/6595
add grammatical corrections to documentation by @rudrOwO in https://github.com/onnx/onnx/pull/6599
Fix wrong comparison between numpy dtypes to None by @xadupre in https://github.com/onnx/onnx/pull/6588
Fix reference implementation for CumSum by @neNasko1 in https://github.com/onnx/onnx/pull/6597
Fix reference implementation for Unique by @neNasko1 in https://github.com/onnx/onnx/pull/6596
Bump Protobuf to 5.29.2 by @cyyever in https://github.com/onnx/onnx/pull/6600
Use ruff as the code formatter by @justinchuby in https://github.com/onnx/onnx/pull/6504
Install missing pytest; Update release_test_weekly_sdist.yml by @andife in https://github.com/onnx/onnx/pull/6617
Enable more readability checks by @cyyever in https://github.com/onnx/onnx/pull/6618
Allow scale type in QuantizeLinear and DequantizeLinear to be different from the high-precision type by @yuanyao-nv in https://github.com/onnx/onnx/pull/6531
Improve attribute checking in CategoryMapper by @neNasko1 in https://github.com/onnx/onnx/pull/6619
fix typo: Update README.md by @andife in https://github.com/onnx/onnx/pull/6620
Expose cxx standard by @ilya-lavrenov in https://github.com/onnx/onnx/pull/6625
Remove vscode settings by @justinchuby in https://github.com/onnx/onnx/pull/6628
Improve INSTALL.md by @cyyever in https://github.com/onnx/onnx/pull/6629
Enable isort rules in ruff formatter by @justinchuby in https://github.com/onnx/onnx/pull/6632
Fix the bfloat16 test in helper for min numpy version by @justinchuby in https://github.com/onnx/onnx/pull/6636
Fix link in readme by @andife in https://github.com/onnx/onnx/pull/6644
Fix literal operator in Clang17+ by @fs-eire in https://github.com/onnx/onnx/pull/6633
Unify names of github environments by @andife in https://github.com/onnx/onnx/pull/6651
Improve Names in CI pipeline by @andife in https://github.com/onnx/onnx/pull/6657
Improve name in CI-Pipeline by @andife in https://github.com/onnx/onnx/pull/6659
Remove unnecessary secrets in pipeline by @andife in https://github.com/onnx/onnx/pull/6661
Hardening of checkout by @andife in https://github.com/onnx/onnx/pull/6662
Use static dbg_count variables by @cyyever in https://github.com/onnx/onnx/pull/6494
Use DeprecationWarning by @justinchuby in https://github.com/onnx/onnx/pull/6667
Improve release_linux_*.yml by @andife in https://github.com/onnx/onnx/pull/6671
Check if wheels should be published before using a job with a deployment environment by @andife in https://github.com/onnx/onnx/pull/6688
Bump absl cpp to 20240722.1 by @cyyever in https://github.com/onnx/onnx/pull/6672
remove twine from requirements-dev-file by @andife in https://github.com/onnx/onnx/pull/6692
Correct protobuf install instructions on Windows by @natke in https://github.com/onnx/onnx/pull/6695
Update INSTALL.md to show build onnx on Windows by @natke in https://github.com/onnx/onnx/pull/6696
Check the input of ConstantOfShape to be non-negative by @sgjzfzzf in https://github.com/onnx/onnx/pull/6691
TypoFix in float8.md by @mehmetcanfarsak in https://github.com/onnx/onnx/pull/6699
Update recommended Protobuf version and other improvements in INSTALL.md by @cyyever in https://github.com/onnx/onnx/pull/6701
Use Python3_add_library to simplify build code by @cyyever in https://github.com/onnx/onnx/pull/6705
Hardcoding the docker image version, adding the information which docker images are used by @andife in https://github.com/onnx/onnx/pull/6663
Fix a tensor type inaccuracy in the docs by @nenad1002 in https://github.com/onnx/onnx/pull/6707
Add dtype tests for various operators by @bili2002 in https://github.com/onnx/onnx/pull/6687
Improve names, add debug variables by @andife in https://github.com/onnx/onnx/pull/6714
Fix condition at download step for publishing manuel preview build by @andife in https://github.com/onnx/onnx/pull/6715
Fix mismatched parenthesis in ci by @andife in https://github.com/onnx/onnx/pull/6716
Fix condition in CI for sdist download by @andife in https://github.com/onnx/onnx/pull/6719
Update Jupyter notebook examples by @emmanuel-ferdman in https://github.com/onnx/onnx/pull/6729
check_for_publish_preview_build_to_testpypi_weekly in CI should fail for PullRequests by @andife in https://github.com/onnx/onnx/pull/6727
Modify axis description for RMSNormalization op by @shubhambhokare1 in https://github.com/onnx/onnx/pull/6732
Set version 4.25.1 as min protobuf python version by @andife in https://github.com/onnx/onnx/pull/6722
update auto_update_doc and create sdist_test.yml by @andife in https://github.com/onnx/onnx/pull/6723
Update preview_source_dist_test.yml by @andife in https://github.com/onnx/onnx/pull/6724
Publish to testpypi only for workflow_dispatch event by @andife in https://github.com/onnx/onnx/pull/6750
Update dependabot.yml by @andife in https://github.com/onnx/onnx/pull/6753
Add copyright header to pyproject.toml by @andife in https://github.com/onnx/onnx/pull/6752
define top-level permission by @andife in https://github.com/onnx/onnx/pull/6747
add windows 3.13t build to main_freethreading.yml (Updates of external dependencies now enable this) by @andife in https://github.com/onnx/onnx/pull/6749
Simplify checkout submodules by @andife in https://github.com/onnx/onnx/pull/6762
Integrate mac freethreading whl to release process by @andife in https://github.com/onnx/onnx/pull/6761
Clarify minimum Protobuf version in INSTALL.md by @cyyever in https://github.com/onnx/onnx/pull/6760
Improve condition in create_release.yml by @andife in https://github.com/onnx/onnx/pull/6765
Remove separate onnx-directory in release_win.yml by @andife in https://github.com/onnx/onnx/pull/6766
Update RotaryEmbedding 4D input shape dimension order by @shubhambhokare1 in https://github.com/onnx/onnx/pull/6767
chore(config): set persist credentials to false by @andife in https://github.com/onnx/onnx/pull/6774
Use CMAKE_COMPILER_IS_GNUCXX for g++ by @cyyever in https://github.com/onnx/onnx/pull/6770
fix: names of jobs in create_release.yml by @andife in https://github.com/onnx/onnx/pull/6769
Improve Python code typing by @cyyever in https://github.com/onnx/onnx/pull/6763
Enable flake8-type-checking by @cyyever in https://github.com/onnx/onnx/pull/6775
Merge requirements-release_freethreading into requirements-release by @cyyever in https://github.com/onnx/onnx/pull/6776
Bump ruff to 0.9.10 by @cyyever in https://github.com/onnx/onnx/pull/6780
Adapt requirements files as 3.9 is the minimal supported python version by @andife in https://github.com/onnx/onnx/pull/6777
feat: freethreading python wheels for windows by @andife in https://github.com/onnx/onnx/pull/6764
refactor: remove unnecessary x86 check in win freethreading by @andife in https://github.com/onnx/onnx/pull/6785
Update sdist_test.yml by @andife in https://github.com/onnx/onnx/pull/6786
fix: Use correct requirements file for release_mac_freethreading.yml by @andife in https://github.com/onnx/onnx/pull/6768
Update auto_update_doc.yml by @andife in https://github.com/onnx/onnx/pull/6792
fix: dont' push wheels with the same filename to pypi twice by @andife in https://github.com/onnx/onnx/pull/6790
Remove dependabot configs for dockerfiles by @andife in https://github.com/onnx/onnx/pull/6789
fix non existing requirements-file by @andife in https://github.com/onnx/onnx/pull/6796
fix wrong use of always in release_linux_x86_64.yml by @andife in https://github.com/onnx/onnx/pull/6797
Remove ignore_type suppression by @cyyever in https://github.com/onnx/onnx/pull/6788
Update gtest to version > v1.16.0 (commit of 8March25) by @andife in https://github.com/onnx/onnx/pull/6783
hard code docker image docker://quay.io/pypa/manylinux2014_x86_64:2025.02.28-1 in release pipeline by @andife in https://github.com/onnx/onnx/pull/6799
windows-latest -> windows-2022 by @andife in https://github.com/onnx/onnx/pull/6800
[2/N]Remove ignore_type suppression by @cyyever in https://github.com/onnx/onnx/pull/6798
Remove duplicates in test by @andife in https://github.com/onnx/onnx/pull/6791
Remove wrong usage of "always" in aarch64 release pipeline... by @andife in https://github.com/onnx/onnx/pull/6806
fix condition in pipeline by @andife in https://github.com/onnx/onnx/pull/6810
Bump minimum numpy to 1.22 by @andife in https://github.com/onnx/onnx/pull/6812
Improve condition in rotary embedding to control 3D/4D inputs/outputs by @shubhambhokare1 in https://github.com/onnx/onnx/pull/6815
Fix MSVC warnings by @cyyever in https://github.com/onnx/onnx/pull/6820
Fix pylint warnings by @cyyever in https://github.com/onnx/onnx/pull/6778
Update version to 1.18.0rc1 by @ramkrishna2910 in https://github.com/onnx/onnx/pull/6866
1.18.0 cherry pick by @ramkrishna2910 in https://github.com/onnx/onnx/pull/6867
Fix missing inputs in create_release.yml by @andife in https://github.com/onnx/onnx/pull/6868
update versions by @ramkrishna2910 in https://github.com/onnx/onnx/pull/6880
Add wheel build for windows arm64 by @andife in https://github.com/onnx/onnx/pull/6912
Export symbols used by PyTorch by @cyyever in https://github.com/onnx/onnx/pull/6917
Pick CMake changes by @cyyever in https://github.com/onnx/onnx/pull/6922
Update VERSION_NUMBER to 1.18.0rc2 by @andife in https://github.com/onnx/onnx/pull/6921
update version to 1.18.0 by @ramkrishna2910 in https://github.com/onnx/onnx/pull/6954