Skip to content
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

Define opSupportLimits() #755

Merged
merged 8 commits into from
Aug 30, 2024

Conversation

philloooo
Copy link
Contributor

@philloooo philloooo commented Aug 26, 2024

Fixes #463 by defining opSupportLimits.
Defering rankRange until we implement the prototype.

@reillyeon @huningxin @fdwr


Preview | Diff

index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

Wow, so much work! LGTM with minor comments.

index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

@philloooo , thanks for the substantial work!

LGTM with some minor comments.

index.bs Outdated Show resolved Hide resolved
index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

👍 LGTM. I'll let Ningxin look over once more since your changes.

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

LGTM!

@huningxin huningxin merged commit 49eeebf into webmachinelearning:main Aug 30, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Aug 30, 2024
SHA: 49eeebf
Reason: push, by huningxin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
MLSupportLimits bias;
MLSupportLimits recurrentBias;
MLSupportLimits peepholeWeight;
MLSupportLimits output;
Copy link
Contributor

Choose a reason for hiding this comment

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

It should be outputs because lstmCell also returns a sequence of operands. Spotted in Chromium CL review: https://chromium-review.googlesource.com/c/chromium/src/+/5821811/comment/43ea6f39_e85e92e4/

huningxin added a commit to huningxin/webnn that referenced this pull request Sep 2, 2024
`MLLstmCellSupportLimits.outputs` reflects that lstmCell returns a
sequence of operands.

Fix webmachinelearning#755 (comment)
huningxin added a commit to huningxin/webnn that referenced this pull request Sep 2, 2024
`MLLstmCellSupportLimits.outputs` reflects that lstmCell returns a
sequence of operands.

Fix webmachinelearning#755 (comment)
fdwr pushed a commit that referenced this pull request Sep 5, 2024
…ts` (#757)

`MLLstmCellSupportLimits.outputs` reflects that lstmCell returns a
sequence of operands.

Fix #755 (comment)
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.

Allow checking whether operators/types are supported for a backend before creating a graph
4 participants