Skip to content

feat: upgrade to ONNX 1.20.1, PaddlePaddle 3.3.0, and modernize tooling#1633

Open
Goldziher wants to merge 2 commits intoPaddlePaddle:developfrom
Goldziher:feat/upgrade-deps-tooling
Open

feat: upgrade to ONNX 1.20.1, PaddlePaddle 3.3.0, and modernize tooling#1633
Goldziher wants to merge 2 commits intoPaddlePaddle:developfrom
Goldziher:feat/upgrade-deps-tooling

Conversation

@Goldziher
Copy link
Copy Markdown

@Goldziher Goldziher commented Mar 14, 2026

Summary

  • Update ONNX submodule to v1.20.1 (opset 25), onnx-optimizer to v1.5.0, pybind11 to v3.0.2
  • Fix protobuf v34 compatibility (SetTotalBytesLimit 2-arg to 1-arg)
  • Migrate onnxoptimizer includes to onnx/optimizer namespace
  • Replace removed tryReplacingAllUsesWith with replaceAllUsesWith API
  • Bump Python minimum to 3.10, add ruff linter config, fix all lint issues
  • Add pre-commit hooks (gitfluff, ai-rulez, ruff, pyproject-fmt)
  • Pin dependency version ranges in pyproject.toml

Stack

Review and merge in order: this PR -> #1634 -> #1635

CI is expected to pass only on the final PR (#1635), which includes the workflow updates.

- Update ONNX submodule to v1.20.1 (opset 25), onnx-optimizer to v1.5.0,
  pybind11 to v3.0.2
- Fix protobuf v34 compatibility (SetTotalBytesLimit 2-arg to 1-arg)
- Migrate onnxoptimizer includes to onnx/optimizer namespace
- Replace removed tryReplacingAllUsesWith with replaceAllUsesWith API
- Bump Python minimum to 3.10, add ruff linter config, fix all lint issues
- Add pre-commit hooks (gitfluff, ai-rulez, ruff, pyproject-fmt)
- Pin dependency version ranges in pyproject.toml
@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Mar 14, 2026

Thanks for your contribution!

- Add SIM112 to ruff ignore list (PaddlePaddle uses lowercase FLAGS_*)
- Fix ruff lint errors in debug/ files and notebook
- Run ruff format across all files
- Remove hardcoded VS 2019 generator from setup.py
@luotao1
Copy link
Copy Markdown
Contributor

luotao1 commented Mar 20, 2026

Sorry about the CI. Could you please open a new PR to trigger it again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants