Skip to content

Comments

Remove MLActivation parameters used for op fusion#664

Merged
huningxin merged 6 commits intowebmachinelearning:mainfrom
a-sully:remove-op-fusion-activations
May 5, 2024
Merged

Remove MLActivation parameters used for op fusion#664
huningxin merged 6 commits intowebmachinelearning:mainfrom
a-sully:remove-op-fusion-activations

Conversation

@a-sully
Copy link
Contributor

@a-sully a-sully commented Apr 29, 2024

Fixes #658


Preview | Diff

@a-sully a-sully marked this pull request as ready for review May 1, 2024 14:12
@fdwr fdwr requested a review from huningxin May 1, 2024 23:00
@fdwr
Copy link
Collaborator

fdwr commented May 1, 2024

(note Ningxin is on holiday the next few days)

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.

Looks good to me Mr. Sully. Thanks for opening the issue and updating the spec.

We should get a collateral impact assessment from @Honry and @huningxin, as I see them used in a few places, but it would be mostly code removal and simplification in the WebNN EP, as the Chromium implementation fuses them anyway regardless of the caller.

@a-sully
Copy link
Contributor Author

a-sully commented May 4, 2024

Thanks for the suggestions! They've since been incorporated :)

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 266eae1 into webmachinelearning:main May 5, 2024
github-actions bot added a commit that referenced this pull request May 5, 2024
SHA: 266eae1
Reason: push, by huningxin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@a-sully a-sully deleted the remove-op-fusion-activations branch May 6, 2024 00:05
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 5, 2024
Remove the ability to specify op fusions from the web platform layer.
Ops can still be fused, but this is now the responsibility of the
respective WebNN backend

Corresponds to the spec PR merged here:
webmachinelearning/webnn#664

Bug: 341518634
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Change-Id: I8a4f2ab708e34087eeb10421596243b17bc8d7e2
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 5, 2024
Remove the ability to specify op fusions from the web platform layer.
Ops can still be fused, but this is now the responsibility of the
respective WebNN backend

Corresponds to the spec PR merged here:
webmachinelearning/webnn#664

Bug: 341518634
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Change-Id: I8a4f2ab708e34087eeb10421596243b17bc8d7e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5494397
Reviewed-by: ningxin hu <[email protected]>
Reviewed-by: Alex Gough <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1310724}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 5, 2024
Remove the ability to specify op fusions from the web platform layer.
Ops can still be fused, but this is now the responsibility of the
respective WebNN backend

Corresponds to the spec PR merged here:
webmachinelearning/webnn#664

Bug: 341518634
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Change-Id: I8a4f2ab708e34087eeb10421596243b17bc8d7e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5494397
Reviewed-by: ningxin hu <[email protected]>
Reviewed-by: Alex Gough <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1310724}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jun 12, 2024
…vations for op fusion, a=testonly

Automatic update from web-platform-tests
webnn: Remove support for passing MLActivations for op fusion

Remove the ability to specify op fusions from the web platform layer.
Ops can still be fused, but this is now the responsibility of the
respective WebNN backend

Corresponds to the spec PR merged here:
webmachinelearning/webnn#664

Bug: 341518634
Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Change-Id: I8a4f2ab708e34087eeb10421596243b17bc8d7e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5494397
Reviewed-by: ningxin hu <[email protected]>
Reviewed-by: Alex Gough <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1310724}

--

wpt-commits: e3235d9662ee81945c7ff6242fc8fe0628c509c8
wpt-pr: 45937
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…vations for op fusion, a=testonly

Automatic update from web-platform-tests
webnn: Remove support for passing MLActivations for op fusion

Remove the ability to specify op fusions from the web platform layer.
Ops can still be fused, but this is now the responsibility of the
respective WebNN backend

Corresponds to the spec PR merged here:
webmachinelearning/webnn#664

Bug: 341518634
Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel,mac14.arm64-blink-rel,mac14-blink-rel
Change-Id: I8a4f2ab708e34087eeb10421596243b17bc8d7e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5494397
Reviewed-by: ningxin hu <[email protected]>
Reviewed-by: Alex Gough <[email protected]>
Commit-Queue: Austin Sullivan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1310724}

--

wpt-commits: e3235d9662ee81945c7ff6242fc8fe0628c509c8
wpt-pr: 45937
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.

Consider removing MLActivation parameters used for op fusion

4 participants