Skip to content

Releases: software-mansion/react-native-executorch

v0.5.0 🚀

Choose a tag to compare

@chmjkb chmjkb released this 21 Aug 14:57

Announcing React Native ExecuTorch v0.5.0 ⚛️

What’s new?

🏎️ A full native code rewrite based on C++ JSI bindings enabling zero-copy data transfer between native code and JS
🔥 Up to 2x faster Whisper transcription on iOS
📷 CLIP - extract semantic meaning of images
🚴 Significant improvements to the performance of text embeddings
🧘 Rewrite of the STT streaming API delivering better qualitative results & DX
🐐 Specify LLM structured output schemas using zod
👌 LLMs now correctly handle Unicode/emoji in outputs

⚠️ Breaking changes

  • Multiple model instances: JSI bindings remove the static singleton limitation. You can now create and run multiple instances of the same model simultaneously.
  • We've replaced separate URL imports with bundled model objects. Instead of manually specifying modelSource, tokenizerSource, and tokenizerConfigSource, just pass a single object like LLAMA_3_2_1B. The individual URLs are still accessible as properties if you need them.
import {
  useLLM,
  LLAMA3_2_1B,
} from 'react-native-executorch';

// Current API:
const llm = useLLM({ model: LLAMA3_2_1B });

// Previous API:
const llama = useLLM({
  modelSource: LLAMA3_2_1B,
  tokenizerSource: LLAMA3_2_TOKENIZER,
  tokenizerConfigSource: LLAMA3_2_TOKENIZER_CONFIG,
});

v0.4.8

Choose a tag to compare

@jakmro jakmro released this 29 Jul 07:21

What's Changed

  • fix: Executorchmodule BigInt64Array handling by @jakmro in #470
  • fix: error messages formatting by @jakmro in #476

Full Changelog: v0.4.7...v0.4.8

v0.4.7

Choose a tag to compare

@NorbertKlockiewicz NorbertKlockiewicz released this 09 Jul 13:59

What's Changed

Full Changelog: v0.4.6...v0.4.7

v0.4.6

Choose a tag to compare

@NorbertKlockiewicz NorbertKlockiewicz released this 25 Jun 12:26

Full Changelog: v0.4.5...v0.4.6

  • Changed version of executorch.aar to point to a specific release

v0.3.4

Choose a tag to compare

@NorbertKlockiewicz NorbertKlockiewicz released this 25 Jun 13:00

Relase Notes:

  • changed version of executorch.aar to point to specific release

v0.4.5

Choose a tag to compare

@pweglik pweglik released this 18 Jun 13:31
  • Fixes and new non-breaking features in useLLM and LLMModule (#406)

Full Changelog: v0.4.4...v0.4.5

v0.4.4

Choose a tag to compare

@chmjkb chmjkb released this 17 Jun 10:01
  • Fixes multilingual Whisper not using the multilingual token (#398)

Full Changelog: v0.4.3...v0.4.4

v0.4.3

Choose a tag to compare

@mkopcins mkopcins released this 05 Jun 14:27
  • Removed left over react-native-audio-api dependency
  • Fixed error when transcribing audio file shorter than windowSize + overlapSeconds (single chunk file) with transcribe method
  • Fixed being able to run inference on LLMs models when they are already generating a response.

Full Changelog: v0.4.2...v0.4.3

v0.4.2

Choose a tag to compare

@NorbertKlockiewicz NorbertKlockiewicz released this 22 May 15:01

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@jakmro jakmro released this 22 May 13:48

Announcing React Native ExecuTorch v0.4.1 🎉

What’s new:

🧠 More LLMs - Integrate a wide range of LLMs into your React Native app
🔧 Tool calling capabilities - Enable LLMs to dynamically interact with APIs & tools
🔍 Text Embedding Models - Transform text into vectors for semantic tasks
🗣️ Multilingual Speech to Text - accurate transcription in multiple languages
🖼️ Image Segmentation - Generate precise masks for objects in images
🌐 Multilingual OCR - Extract text from images in multiple languages

Breaking Changes:

  • useLLM
  • LLMModule

New Contributors

Full Changelog: v0.3.3...v0.4.1