-
Notifications
You must be signed in to change notification settings - Fork 109
Add an option to not inline a function when building the graph #2851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3cf4f55
Allow functions to not be inlined
justinchuby ebbf30f
Add functions
justinchuby b195105
Lint
justinchuby 72639b1
Potential fix for pull request finding
justinchuby 50322f9
Merge branch 'main' into justinchu/function-inline
5a9e00b
Update impl
0a3efad
Fix OpBuilder to properly extract _domain, _version, _outputs from kw…
98aecbf
Address comments
justinchuby 320abb3
Update onnxscript/_internal/builder.py
justinchuby c94561e
optimizer: Prevent constant folding of DynamicQuantizeLinear (#2865)
Copilot 3688398
Support None as op input in GraphBuilder (#2868)
justinchuby a9136fb
Unify failure-handling in rewrite-rule (#2866)
gramalingam 3f6dc1d
Add parent/root tracking to GraphBuilder for subgraph Parameter reali…
gramalingam a8495d6
Fix non-deterministic rewriter behavior in multi-output pattern match…
Copilot acd79c8
chore(deps): bump actions/deploy-pages from 4 to 5 (#2869)
dependabot[bot] 1b2e36b
chore(deps): bump codecov/codecov-action from 5 to 6 (#2871)
dependabot[bot] 7b6cb95
chore(deps): bump onnx-weekly from 1.21.0.dev20260302 to 1.22.0.dev20…
dependabot[bot] 958d50e
chore(deps): bump actions/configure-pages from 4 to 6 (#2870)
dependabot[bot] c400ca7
[torchlib] Add missing dtype parameter to aten_mean_dim (#2885)
linusjuni cfed3f5
Fix BatchNorm fusion producing invalid ONNX when Conv nodes share wei…
Copilot a46d489
Add input() and add_output() methods to GraphBuilder (#2828)
justinchuby 29a5e09
Add fusion rule to remove Expand before broadcast-capable binary oper…
Copilot b5fe709
fix(fuse_batchnorm): support convtranpose + bn fusion with group != 1…
AyoubMDL 49c05a2
fix: normalize cache key dtype to prevent initializer name collisions…
gramalingam 98eaa1f
Handling initializers in GraphBuilder (#2889)
gramalingam da82e42
Update prefix naming
justinchuby 79c2f39
Fix renaming
justinchuby f40cd7c
Merge branch 'main' into justinchu/function-inline
justinchuby 0c240a6
Address PR review comments: delegate functions to root, fix annotatio…
justinchuby 3f99c05
Remove onnx function
justinchuby 5e2a946
overload
justinchuby 91affd4
Merge branch 'main' into justinchu/function-inline
titaiwangms 2c28041
Enhance GraphBuilder to support outer-scope values in inlined functio…
justinchuby 461a10c
Merge branch 'main' into justinchu/function-inline
justinchuby File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.