Skip to content

Conversation

psiddh
Copy link
Contributor

@psiddh psiddh commented Oct 16, 2025

Test Plan:

  1. Setup Conda
  2. examples/arm/setup.sh --i-agree-to-the-contained-eula; source examples/ arm/ethos-u-scratch/setup_path.sh
  3. cd examples/raspberry_pi/pico2
  4. python export_mlp_mnist.py
  5. ./build_firmware_pico.sh --model=balanced_tiny_mlp_mnist.pte
    Results:

PREDICTED: 4 (Expected: 4) ✅ CORRECT!

==================================================

=== Digit 7 ===

          #############
          #############
                          ####
                        #### 
                      ####  
                     ####   
                  ####    
               ####  

Input stats: 159 white pixels out of 784 total
Running neural network inference...
✅ Neural network results:
Digit 0: 370.000
Digit 1: 0.000
Digit 2: -3.000
Digit 3: -3.000
Digit 4: 860.000
Digit 5: -3.000
Digit 6: -3.000
Digit 7: 1640.000 ← PREDICTED
Digit 8: -3.000
Digit 9: -3.000

� PREDICTED: 7 (Expected: 7) ✅ CORRECT!

==================================================

� All tests complete! PyTorch neural network works on Pico2!

Reviewers:

Subscribers:

Tasks:

Tags:

Summary

[PLEASE REMOVE] See CONTRIBUTING.md's Pull Requests for ExecuTorch PR guidelines.

[PLEASE REMOVE] If this PR closes an issue, please add a Fixes #<issue-id> line.

[PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: " label. For a list of available release notes labels, check out CONTRIBUTING.md's Pull Requests.

Test plan

[PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable.

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 16, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit f08f1af with merge base 1f114f1 (image):

NEW FAILURES - The following jobs have failed:

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 Oct 16, 2025
@github-actions
Copy link

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.

Test Plan:
1. Setup Conda
2. examples/arm/setup.sh --i-agree-to-the-contained-eula; source examples/
arm/ethos-u-scratch/setup_path.sh
3. cd examples/raspberry_pi/pico2
4. python export_mlp_mnist.py; ./build_firmware_pico.sh --model=balanced_tiny_mlp_mnist.pte

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

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

❤️

@psiddh psiddh merged commit 9b67fea into pytorch:main Oct 16, 2025
136 of 138 checks passed
@psiddh
Copy link
Contributor Author

psiddh commented Oct 16, 2025

@pytorchbot cherry-pick --onto release/1.0 -c docs

pytorchbot pushed a commit that referenced this pull request Oct 16, 2025
Test Plan:
1. Setup Conda
2. examples/arm/setup.sh --i-agree-to-the-contained-eula; source
examples/ arm/ethos-u-scratch/setup_path.sh
3. cd examples/raspberry_pi/pico2
4. python export_mlp_mnist.py
5.  ./build_firmware_pico.sh --model=balanced_tiny_mlp_mnist.pte
Results:

PREDICTED: 4 (Expected: 4) ✅ CORRECT!

==================================================

=== Digit 7 ===

>
>               #############
>               #############
>                               ####
>                             ####
>                           ####
>                          ####
>                       ####
>                    ####
>

Input stats: 159 white pixels out of 784 total
Running neural network inference...
✅ Neural network results:
  Digit 0: 370.000
  Digit 1: 0.000
  Digit 2: -3.000
  Digit 3: -3.000
  Digit 4: 860.000
  Digit 5: -3.000
  Digit 6: -3.000
  Digit 7: 1640.000 ← PREDICTED
  Digit 8: -3.000
  Digit 9: -3.000

� PREDICTED: 7 (Expected: 7) ✅ CORRECT!

==================================================

� All tests complete! PyTorch neural network works on Pico2!

Reviewers:

Subscribers:

Tasks:

Tags:

### Summary
[PLEASE REMOVE] See [CONTRIBUTING.md's Pull
Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests)
for ExecuTorch PR guidelines.

[PLEASE REMOVE] If this PR closes an issue, please add a `Fixes
#<issue-id>` line.

[PLEASE REMOVE] If this PR introduces a fix or feature that should be
the upcoming release notes, please add a "Release notes: <area>" label.
For a list of available release notes labels, check out
[CONTRIBUTING.md's Pull
Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests).

### Test plan
[PLEASE REMOVE] How did you test this PR? Please write down any manual
commands you used and note down tests that you have written if
applicable.

Co-authored-by: Github Executorch <[email protected]>
(cherry picked from commit 9b67fea)
@pytorchbot
Copy link
Collaborator

Cherry picking #15186

The cherry pick PR is at #15196 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

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