Repository navigation
Arm backend: Delegate int64 only to the operators EXT-INT64 covers (2/3) #24306
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
Open
abm-77
wants to merge
8
commits into
pytorch:main
Choose a base branch
from
abm-77:arm-int64-ext-delegation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+123
−6
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
587c055
Arm backend: List the operators EXT-INT64 covers
abm-77 9554395
Arm backend: Delegate int64 only to the operators EXT-INT64 covers
abm-77 e3420bf
Arm backend: Test int64 partitioning under the int64 extension
abm-77 c00ea1f
Arm backend: Check every int64 operand of a node, including list oper…
abm-77 bae8fa3
Arm backend: Reject mixed int64 where values and skip symbolic operands
abm-77 4c8ae82
Arm backend: Keep bool operands in the int64 check, list pad, inline …
abm-77 553a0b5
Arm backend: Keep the slice int64 dtype a conditional expression
abm-77 6b44cef
Arm backend: Trim the int64 list to the operators that lower today
abm-77 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
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
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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain how this list was derived and what criteria were used to select the operators? It’s fine if Claude Code helped generate it; we can refine the list internally later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I built it with Claude Code from
tosa.xmlin the TOSA 1.1 spec. I started from the operators with an i64 row under EXT-INT64 and kept the edge operators that lower only to those, through the visitors #24128 enabled int64 on. I then lowered each one underTOSA-1.1+INT+int64with values outside the int32 range. Going back over it for your other comment, I also took off the comparisons,full_likeandzeros_like. Without quantization the comparisons fail inCastIntComparisonInputsPass, on main as well, andfull_likeandzeros_likehit the same buffer narrowing aswhere. They fall back now, and I'll add them back in the next PR. I also fixed the comment above the list, which said EXT-INT64 leaves out ARGMAX.