Skip to content

Conversation

@Conarnar
Copy link
Contributor

@Conarnar Conarnar commented Jul 9, 2025

Summary

Since we want to have ExecuTorch on web builds, we first need to be able to compile it to Wasm. An example was added that gives instructions on how to build executor_runner with Emscripten, along with some modifications to CMakeLists.txt while Emscripten is used while building.

Test plan

The test script can be run with bash examples/wasm/test_build_wasm.sh from the root directory. This attempts to build executor_runner and run it on the add_mul and mv2 models.

Added a CI test-build-wasm-linux to run this script.

@Conarnar Conarnar added the release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava label Jul 9, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 9, 2025

🔗 Helpful Links

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

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

❌ 4 New Failures, 4 Cancelled Jobs, 1 Unrelated Failure

As of commit a21942d with merge base 6669637 (image):

NEW FAILURES - The following jobs have failed:

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

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.

@facebook-github-bot facebook-github-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 Jul 9, 2025
@lucylq
Copy link
Contributor

lucylq commented Jul 10, 2025

Thanks for adding the CI test, and all the debugging to get it working! Great job.

@Conarnar Conarnar merged commit 9591978 into pytorch:main Jul 11, 2025
185 of 194 checks passed
@Conarnar Conarnar deleted the wasm-bindings branch July 11, 2025 20:57
Conarnar added a commit that referenced this pull request Jul 18, 2025
### Summary
Added the license header to the bash scripts added in #12303.

### Test plan
N/A
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. release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants