Skip to content

Add Zephyr + Alif E8 tutorial and Alif board conf#19260

Merged
psiddh merged 1 commit intopytorch:mainfrom
psiddh:zephyr-alif-tutorial
May 1, 2026
Merged

Add Zephyr + Alif E8 tutorial and Alif board conf#19260
psiddh merged 1 commit intopytorch:mainfrom
psiddh:zephyr-alif-tutorial

Conversation

@psiddh
Copy link
Copy Markdown
Contributor

@psiddh psiddh commented May 1, 2026

Add a step-by-step tutorial for running MobileNetV2 on the Alif Ensemble E8 DevKit with ExecuTorch, Zephyr RTOS, and Ethos-U55 NPU delegation. Covers workspace setup, model export, FVP validation on Corstone-320, and Alif flashing with SE Tools (including the mramAddress gotcha).

Also adds the missing Alif E8 board conf that enables CONFIG_ETHOS_U and CONFIG_ET_ARM_MODEL_PTE_DMA_ACCESSIBLE (MRAM is DMA-accessible).

Copilot AI review requested due to automatic review settings May 1, 2026 19:22
@psiddh psiddh requested a review from mergennachin as a code owner May 1, 2026 19:22
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 1, 2026

🔗 Helpful Links

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

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

⏳ 219 Pending, 1 Unrelated Failure

As of commit 10da756 with merge base a7e44bf (image):

FLAKY - The following job failed but was 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 May 1, 2026
@psiddh psiddh requested review from GregoryComer and nil-is-all May 1, 2026 19:22
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

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.

@psiddh psiddh requested review from digantdesai and rascani May 1, 2026 19:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds end-to-end documentation and board configuration support to run the existing Zephyr mv2-ethosu sample (MobileNetV2 + Ethos-U delegation) on the Alif Ensemble E8 DevKit, and makes the tutorial discoverable from the embedded docs section.

Changes:

  • Added an Alif E8 DevKit (HP core) board-specific .conf enabling Ethos-U and skipping the SRAM model copy when MRAM is DMA-accessible.
  • Added a step-by-step Zephyr + Alif E8 tutorial covering workspace setup, model export, FVP validation, and flashing via Alif SE Tools.
  • Linked the new tutorial from the embedded documentation section/toctree.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
zephyr/samples/mv2-ethosu/boards/alif_e8_dk_ae822fa0e5597xx0_rtss_hp.conf Enables CONFIG_ETHOS_U and CONFIG_ET_ARM_MODEL_PTE_DMA_ACCESSIBLE for the Alif E8 HP core target.
docs/source/zephyr_alif_tutorial.md New tutorial documenting the complete flow for running MV2 on Alif E8 (and validating on Corstone-320 FVP).
docs/source/embedded-section.md Adds the tutorial to the embedded docs list and hidden toctree so it’s discoverable/built.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from c2aa823 to 08b7e80 Compare May 1, 2026 20:22
Copilot AI review requested due to automatic review settings May 1, 2026 20:30
@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from 08b7e80 to 127d994 Compare May 1, 2026 20:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/zephyr_alif_tutorial.md Outdated
@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from 127d994 to 2828406 Compare May 1, 2026 20:38
Copilot AI review requested due to automatic review settings May 1, 2026 20:40
@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from 2828406 to d52f5ba Compare May 1, 2026 20:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/zephyr_alif_tutorial.md Outdated
Comment thread docs/source/zephyr_alif_tutorial.md Outdated
@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from d52f5ba to d507c16 Compare May 1, 2026 20:55
Add a step-by-step tutorial for running MobileNetV2 on the Alif Ensemble
E8 DevKit with ExecuTorch, Zephyr RTOS, and Ethos-U55 NPU delegation.
Covers workspace setup, model export, FVP validation on Corstone-320,
and Alif flashing with SE Tools (including the mramAddress gotcha).

Also adds the missing Alif E8 board conf that enables CONFIG_ETHOS_U
and CONFIG_ET_ARM_MODEL_PTE_DMA_ACCESSIBLE (MRAM is DMA-accessible).

Co-authored-by: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 1, 2026 20:58
@psiddh psiddh force-pushed the zephyr-alif-tutorial branch from d507c16 to 10da756 Compare May 1, 2026 20:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/zephyr_alif_tutorial.md
Comment thread docs/source/zephyr_alif_tutorial.md
Comment thread docs/source/zephyr_alif_tutorial.md
@psiddh psiddh merged commit 50c2a4e into pytorch:main May 1, 2026
307 of 315 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants