qmetrics.net

React Native Fast Tflite

TensorFlow Lite inference library for React Native via Nitro

React Native Fast Tflite screenshot

Runs TensorFlow Lite models in React Native with Nitro Modules, ArrayBuffer I/O, runtime model swap, and optional GPU delegates.

Overview

React Native Fast Tflite is a native bridge for on-device machine learning in React Native apps. It uses Nitro Modules and the low-level TensorFlow Lite C/C++ API so JavaScript can load models and pass input/output as ArrayBuffers with direct memory access.

Models can ship in the app bundle or load from URIs. Metro can treat .tflite files as assets so models can be replaced at runtime without rebuilding. Loading is asynchronous; callers interpret tensor shapes and raw bytes themselves, with Netron suggested for inspection.

GPU delegates are optional: CoreML on iOS and GPU or NNAPI paths on Android, configurable through Expo config plugins or native project settings. Documentation covers VisionCamera frame processors and resizer helpers for camera pipelines.

Installation adds npm packages, metro asset extensions, and platform-specific steps for pods or Gradle. A migration guide exists for major version upgrades.

Key features

  • Nitro Modules native bridge
  • Zero-copy ArrayBuffer tensors
  • Runtime model file swapping
  • CoreML delegate on iOS
  • Android GPU and NNAPI delegates
  • Bundle or URL model loading
  • VisionCamera frame processor notes
  • Expo config plugin support

Use cases

  • On-device object detection in mobile apps
  • Camera frame inference pipelines
  • Facial recognition or classification tasks
  • Swappable ML models without app rebuilds

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0