Skip to content

add minimum data types and rank range for operations#910

Open
BruceDai wants to merge 19 commits into
webmachinelearning:mainfrom
BruceDai:minimum_datatype_rankrange
Open

add minimum data types and rank range for operations#910
BruceDai wants to merge 19 commits into
webmachinelearning:mainfrom
BruceDai:minimum_datatype_rankrange

Conversation

@BruceDai

@BruceDai BruceDai commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

This PR is to fix #896.
@huningxin @fdwr @reillyeon PTAL, thanks!


Preview | Diff

@BruceDai BruceDai changed the title add minimum data types and rank range for operations [wip]add minimum data types and rank range for operations Dec 11, 2025
Comment thread index.bs
Comment thread index.bs
Comment thread index.bs Outdated
Comment thread index.bs Outdated
@BruceDai BruceDai changed the title [wip]add minimum data types and rank range for operations add minimum data types and rank range for operations Dec 12, 2025
@fdwr

fdwr commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

I checked the unchanged Line 8987, it seems correct by using current 8 indents for to match front

of also 8 indents. Any suggestions? Thanks!

@BruceDai : Remerge with main. My PR adds an extra blank line that pacifies the build error (and yes, that line was already correct, and nothing changed there for months, but bikeshed changed).

Comment thread index.bs
Comment thread index.bs Outdated

@reillyeon reillyeon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General wording looks good. I have not validated the specific operator limits specified.

Comment thread index.bs Outdated
Comment thread index.bs Outdated

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 Thanks for the updates Bruce - I'm sure they were tedious :b.

Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs
Comment thread index.bs Outdated
Comment thread index.bs
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs
Comment thread index.bs
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
@BruceDai

Copy link
Copy Markdown
Contributor Author

Thanks @huningxin and @fdwr for review and identifications. 👍
I submitted a new commit to address your comments. Please take another look, thanks!☕

@BruceDai BruceDai force-pushed the minimum_datatype_rankrange branch 2 times, most recently from 949a42f to b6b300f Compare January 16, 2026 09:01

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@BruceDai BruceDai force-pushed the minimum_datatype_rankrange branch from b6b300f to 3f29bff Compare April 13, 2026 13:25

@mwyrzykowski mwyrzykowski left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflict with the WG meeting, but ✅

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs
@BruceDai

BruceDai commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

@BruceDai , what's your plan for fixing this issue? Generalizing them to 0 to 5D with backend reshapes sounds good to me.

@huningxin Thanks for your kindly reminder! Please review the fixing CL-7848774 .

@BruceDai

Copy link
Copy Markdown
Contributor Author

Thanks @reillyeon @huningxin and @fdwr for reviewing and approving CL-7848774, now it has been landed.
Please take another review the new commit. Thanks! ☕

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thank you for enabling this.

Comment thread index.bs Outdated
Comment thread index.bs Outdated
Comment thread index.bs Outdated
@BruceDai

Copy link
Copy Markdown
Contributor Author

@huningxin @fdwr Now those remaining issues are all resolved by landing CLs into Chromium. Please take another look, thanks!

@fdwr fdwr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@huningxin huningxin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @BruceDai thanks for your relentless effort!

@huningxin

Copy link
Copy Markdown
Contributor

I suppose this PR is ready to merge. Any further comments? @reillyeon and @anssiko

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add minimum data type set and rank range for input, constant, output and each operator into Spec

5 participants