Skip to content

Conversation

@SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Aug 4, 2025

Stack from ghstack (oldest at bottom):

Changes

Update (almost) all operators use DynamicDispatchNode instead of DispatchNode.

Context

DynamicDispatchNode was introduced in order to provide a way for operators to adjust

  1. Which compute shader to dispatch
  2. What global work group size to use
  3. What local work group size to use

Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations.

Differential Revision: D79564595

## Changes

Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`.


## Context

`DynamicDispatchNode` was introduced in order to provide a way for operators to adjust

1. Which compute shader to dispatch
2. What global work group size to use
3. What local work group size to use

Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations.

Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 4, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13098

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 3 New Failures, 1 Unrelated Failure

As of commit 7a87735 with merge base ec35f56 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

SS-JIA added a commit that referenced this pull request Aug 4, 2025
## Changes

Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`.


## Context

`DynamicDispatchNode` was introduced in order to provide a way for operators to adjust

1. Which compute shader to dispatch
2. What global work group size to use
3. What local work group size to use

Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations.

Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/)

ghstack-source-id: 300552325
Pull Request resolved: #13098
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 4, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79564595

@github-actions
Copy link

github-actions bot commented Aug 4, 2025

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

## Changes

Update (almost) all operators use `DynamicDispatchNode` instead of `DispatchNode`.


## Context

`DynamicDispatchNode` was introduced in order to provide a way for operators to adjust

1. Which compute shader to dispatch
2. What global work group size to use
3. What local work group size to use

Based on the current input and output shapes. This is useful for making sure that the most optimal compute shader is used for the current tensor sizes, and minimizing the number of inactive shader invocations.

Differential Revision: [D79564595](https://our.internmc.facebook.com/intern/diff/D79564595/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79564595

@SS-JIA SS-JIA closed this Aug 29, 2025
@SS-JIA SS-JIA deleted the gh/SS-JIA/265/head branch October 15, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants