Skip to content

Ethos Driver Backwards Compatibility (#19116)#19116

Open
gkrulce wants to merge 1 commit intopytorch:mainfrom
gkrulce:export-D102359186
Open

Ethos Driver Backwards Compatibility (#19116)#19116
gkrulce wants to merge 1 commit intopytorch:mainfrom
gkrulce:export-D102359186

Conversation

@gkrulce
Copy link
Copy Markdown

@gkrulce gkrulce commented Apr 24, 2026

Summary:

The version of ethos driver that supports multiple devices / multiple
NPUs has a few breaking API changes. Installing backwards compatibility hooks
so that Executorch continues to work with both old and new driver code.

It adds the new APIs as weak definitions and redirects to old driver code. If
new driver code is available, those definitions override the weak definitions.

Driver code ref:
https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-core-driver/-/blob/experimental/multidevice/README.md?ref_type=heads#experimental---multi-device

Differential Revision: D102359186

@gkrulce gkrulce requested a review from digantdesai as a code owner April 24, 2026 17:17
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Apr 24, 2026

🔗 Helpful Links

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

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:

❌ 1 Awaiting Approval, 3 Cancelled Jobs, 3 Unrelated Failures

As of commit 140366d with merge base c1d482e (image):

AWAITING APPROVAL - The following workflow needs approval before CI can run:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

BROKEN TRUNK - The following jobs 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.

@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 Apr 24, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 24, 2026

@gkrulce has exported this pull request. If you are a Meta employee, you can view the originating Diff in D102359186.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Apr 24, 2026

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@github-actions
Copy link
Copy Markdown

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.

@gkrulce gkrulce force-pushed the export-D102359186 branch 2 times, most recently from 39f2210 to 688adc7 Compare April 24, 2026 17:41
@3l1 3l1 self-requested a review April 25, 2026 00:07
@gkrulce gkrulce force-pushed the export-D102359186 branch from 688adc7 to 431301a Compare April 25, 2026 00:30
Summary:

The version of ethos driver that supports multiple devices / multiple
NPUs has a few breaking API changes. Installing backwards compatibility hooks
so that Executorch continues to work with both old and new driver code.

It adds the new APIs as weak definitions and redirects to old driver code. If
new driver code is available, those definitions override the weak definitions.

Driver code ref:
https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-core-driver/-/blob/experimental/multidevice/README.md?ref_type=heads#experimental---multi-device

Differential Revision: D102359186
@meta-codesync meta-codesync Bot changed the title Ethos Driver Backwards Compatibility Ethos Driver Backwards Compatibility (#19116) Apr 25, 2026
@gkrulce gkrulce force-pushed the export-D102359186 branch from 431301a to 140366d Compare April 25, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported module: arm Issues related to arm backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant