Skip to content

Remove dynamic allocation from Ethos-U backend (#22531) - #22531

Open
peygar wants to merge 1 commit into
mainfrom
export-D117747705
Open

Remove dynamic allocation from Ethos-U backend (#22531)#22531
peygar wants to merge 1 commit into
mainfrom
export-D117747705

Conversation

@peygar

@peygar peygar commented Sep 3, 2026

Copy link
Copy Markdown

Summary:

When running ET in embedded Cortex-M we should not dynamically allocate. This new call added to support Cortex-A is breaking that contract.

Instead, allocate ExecutionHandle on the runtime allocator and delegate the platform_state allocation/destruction to the platform. EthosUBackend_Cortex_M does not create a PlatformState so we can safely remove the delete call from platform_destory

Reviewed By: rascani

Differential Revision: D117747705

@pytorch-bot

pytorch-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure, 86 Cancelled Jobs, 148 Unrelated Failures, 12 Unclassified Failures

As of commit 36cc73c with merge base fe5d8d6 (image):

NEW FAILURE - The following job has failed:

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

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

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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 Sep 3, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 3, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: peygar / name: Peyman Gardideh (36cc73c)

@meta-codesync

meta-codesync Bot commented Sep 3, 2026