Skip to content

build: bump executorch to v1.2.0#1076

Merged
barhanc merged 9 commits intomainfrom
@bh/bump-executorch-to-v1.2.0
Apr 20, 2026
Merged

build: bump executorch to v1.2.0#1076
barhanc merged 9 commits intomainfrom
@bh/bump-executorch-to-v1.2.0

Conversation

@barhanc
Copy link
Copy Markdown
Contributor

@barhanc barhanc commented Apr 14, 2026

Description

Updates ExecuTorch binaries and header files to version v1.2.0

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  • Run tests from packages/react-native-executorch/common/rnexecutorch/tests.
  • Build all example apps on both Android and iOS and verify that models work as expected.

Screenshots

Related issues

Closes #1057

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

The binaries were built from https://github.com/barhanc/executorch/tree/rne-build-v1.2.0. The header files also come from there.

@barhanc barhanc added this to the v0.9.0 milestone Apr 14, 2026
@barhanc barhanc self-assigned this Apr 14, 2026
@barhanc barhanc added executorch Issues and tasks related specifically to ExecuTorch chore PRs that are chores labels Apr 14, 2026
@barhanc barhanc marked this pull request as ready for review April 14, 2026 13:44
@barhanc barhanc requested a review from benITo47 April 14, 2026 14:05
@msluszniak msluszniak removed this from the v0.9.0 milestone Apr 15, 2026
@benITo47
Copy link
Copy Markdown
Contributor

From what I tested - models on iOS work. Had some issues with building LLM demo app due to audio-api throwing an error - maybe a version bump would help?
Will test Android tomorrow

@IgorSwat
Copy link
Copy Markdown
Contributor

I tested Android - no issues found. I think we can merge it safely.

@msluszniak
Copy link
Copy Markdown
Member

msluszniak commented Apr 16, 2026

@barhanc one small thing. Could you test if Bielik model from our HuggingFace works on android? If you get: E Missing operator: [12] torchao::_linear_8bit_act_4bit_weight.out would you be able to rebuild android libs so they have custom torchao ops?

Or maybe the reason is that the model was exported with ExecuTorch 1.0.0 and now is not compatible. Since most (if not all) of the re-exported llms uses 8 bit activation 4 bit weights it's strange that this particular model does not work on android.

EDIT: I successfully built this op in arm64 and model ran on android (device that supports ARMv8.4+, e.g. One+ 12) and later for ARMv8.2+ np. FYI: the changes for version ARMv8.4+ are on the first commit and for ARMv8.2+ on the second commit on this branch: https://github.com/software-mansion/react-native-executorch/tree/msluszniak/torchao-4bit-android

@barhanc
Copy link
Copy Markdown
Contributor Author

barhanc commented Apr 16, 2026

@barhanc one small thing. Could you test if Bielik model from our HuggingFace works on android? If you get: E Missing operator: [12] torchao::_linear_8bit_act_4bit_weight.out would you be able to rebuild android libs so they have custom torchao ops?

Or maybe the reason is that the model was exported with ExecuTorch 1.0.0 and now is not compatible. Since most (if not all) of the re-exported llms uses 8 bit activation 4 bit weights it's strange that this particular model does not work on android.

EDIT: I successfully built this op in arm64 and model ran on android (device that supports ARMv8.4+, e.g. One+ 12) and later for ARMv8.2+ np. FYI: the changes for version ARMv8.4+ are on the first commit and for ARMv8.2+ on the second commit on this branch: https://github.com/software-mansion/react-native-executorch/tree/msluszniak/torchao-4bit-android

The problem with Bielik was connected to the previous export of the model. I've re-exported the model and updated it on HF. It should work now without requiring the fix.

@barhanc barhanc requested a review from IgorSwat April 17, 2026 12:22
@barhanc barhanc merged commit a46ec71 into main Apr 20, 2026
4 checks passed
@barhanc barhanc deleted the @bh/bump-executorch-to-v1.2.0 branch April 20, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that are chores executorch Issues and tasks related specifically to ExecuTorch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump executorch binaries to 1.2

4 participants