Skip to content

Remove enforcement to node determinism attribute#7473

Merged
titaiwangms merged 1 commit intoonnx:mainfrom
titaiwangms:titaiwang/remove_bc_breaking_force
Nov 20, 2025
Merged

Remove enforcement to node determinism attribute#7473
titaiwangms merged 1 commit intoonnx:mainfrom
titaiwangms:titaiwang/remove_bc_breaking_force

Conversation

@titaiwangms
Copy link
Copy Markdown
Contributor

Motivation and Context

From #7176, a node determinism attribute to operator schemas was introduced. However, there is an enforcement making the changes bc breaking to exising op schemas. This PR removed the enforcement to relax the constraints.

An alternative way could be making NonDeterministic as a default to operators to ease the impacts.

@titaiwangms titaiwangms requested a review from a team as a code owner November 20, 2025 21:30
@titaiwangms titaiwangms added the module: schema Issues related to operator schemas label Nov 20, 2025
@github-project-automation github-project-automation Bot moved this to In progress in PR Tracker Nov 20, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.12%. Comparing base (de5e658) to head (b2c99a8).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7473   +/-   ##
=======================================
  Coverage   55.12%   55.12%           
=======================================
  Files         512      512           
  Lines       32107    32107           
  Branches     2885     2885           
=======================================
  Hits        17700    17700           
  Misses      13618    13618           
  Partials      789      789           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
@titaiwangms titaiwangms force-pushed the titaiwang/remove_bc_breaking_force branch from d5271bc to b2c99a8 Compare November 20, 2025 21:33
@titaiwangms titaiwangms enabled auto-merge (squash) November 20, 2025 21:34
@titaiwangms titaiwangms added this to the 1.20 milestone Nov 20, 2025
@titaiwangms titaiwangms merged commit 2fef05a into onnx:main Nov 20, 2025
42 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in PR Tracker Nov 20, 2025
titaiwangms added a commit to titaiwangms/onnx that referenced this pull request Nov 21, 2025
### Motivation and Context

From onnx#7176, a node determinism
attribute to operator schemas was introduced. However, there is an
enforcement making the changes bc breaking to exising op schemas. This
PR removed the enforcement to relax the constraints.

An alternative way could be making NonDeterministic as a default to
operators to ease the impacts.

Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
titaiwangms added a commit that referenced this pull request Nov 25, 2025
#7473

Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: schema Issues related to operator schemas

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants