• About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
Friday, July 10, 2026
mGrowTech
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions
No Result
View All Result
mGrowTech
No Result
View All Result
Home Google Marketing

LiteRT.js, Google’s high performance Web AI Inference

Josh by Josh
July 10, 2026
in Google Marketing
0
LiteRT.js, Google’s high performance Web AI Inference


banner3

We are excited to announce LiteRT.js, a JavaScript binding of LiteRT for running AI directly inside the web browser. By bringing the trusted on-device inference library LiteRT to the web, web developers can now run ML and AI models with maximum performance entirely locally. This means enhanced user privacy, zero server costs, and ultra-low latency for real-time experiences. For developers with existing .tflite models, LiteRT.js makes deployment to mobile and desktop web browsers smoother than ever, serving as a powerful evolution from TensorFlow.js for executing .tflite models.

While prior web AI solutions like TensorFlow.js relied on less performant JavaScript-based kernels, we are now making our native, cross-platform runtime with all its optimizations directly available to web developers through WebAssembly. LiteRT.js unlocks impressive performance by running your .tflite models directly in the browser leveraging the state-of-the-art hardware acceleration of LiteRT, including XNNPACK for CPU, ML Drift for GPU, and the upcoming WebNN for NPUs.

Our initial release provides all the tools needed to get started, including the new LiteRT.js npm package and a collection of demos showcasing real-world implementation.

Sorry, your browser doesn’t support playback for this video


Vector search right in the browser, powered by LiteRT.js and EmbeddingGemma. Try it here.

How LiteRT.js benefits web developers

With LiteRT.js, web developers can integrate models into their apps written in JavaScript or TypeScript to handle complex tasks like text generation, object detection, and audio processing entirely client-side. As LiteRT.js shares a unified cross-platform stack with LiteRT, your web applications automatically benefit from the latest performance upgrades, quantization improvements, and hardware optimizations developed for Android, iOS, and desktop.

By leveraging LiteRT’s lowering flow and runtime, you get simple conversion of models from a variety of Python ML frameworks and native hardware acceleration across all major accelerators (CPU / GPU / NPU). To help you unlock these AI capabilities easily, here are the main highlights of LiteRT.js:

1.PyTorch conversion & tailored quantization

With LiteRT Torch, PyTorch models can be converted in a single step, making them instantly ready to leverage advanced browser-based hardware acceleration. Get started today by following the LiteRT Torch guide.

For further optimization, AI Edge Quantizer allows you to configure tailored quantization schemes across different model layers. This achieves substantial size reductions and performance gains while preserving overall model quality. Explore the quantization colab to see this in action.

2.Native hardware acceleration across CPU, GPU, and NPU

LiteRT.js enables high-performance AI inference for a diverse variety of hardware backends.

  • CPU: utilizes XNNPACK, Google’s highly optimized library for on-device CPU acceleration, providing robust multi-thread support and a relaxed SIMD build for enhanced performance.
  • GPU: powered by ML Drift, Google’s leading solution for on-device GPU acceleration. LiteRT.js leverages WebGPU to enable state-of-the-art GPU acceleration on the web.
  • NPU: harnesses the emerging WebNN API (currently experimental in Chrome and Edge) to target dedicated NPUs for power-efficient, ultra low-latency inference.

Ready to accelerate your web applications? Dive into the LiteRT.js documentation to get started.

diagram1

LiteRT.js Architecture Overview

Performance and real-world impact

To demonstrate the real-world impact of the unified runtime and hardware-accelerated backends, we evaluated LiteRT.js against existing web solutions. Across classical computer vision and audio processing models, LiteRT.js delivers significant speedups—outperforming other web runtimes by up to 3x across both CPU and GPU inference.

Benchmarking w_ yolo26n 1600x900

Note: Performance benchmarks conducted on a 2024 Apple MacBook Pro with M4 Apple Silicon in a controlled browser environment. Individual user performance may vary based on local GPU capabilities, thermal throttling, and browser driver optimization.

To ground these claims in real-world efficiency, we benchmarked popular AI models using LiteRT.js across three distinct web execution backends: CPU (via XNNPACK), WebGPU, and WebNN (via Apple CoreML). For demanding real-time applications like object tracking, audio transcription, or image manipulation, leveraging the GPU or NPU via WebGPU or WebNN delivers 5-60x speedup compared to standard CPU execution, ensuring lower latency without compromising performance.

Classical model perf (1)

Note: Performance benchmarks conducted on a 2024 Apple MacBook Pro with M4 Apple Silicon in a controlled browser environment. Individual user performance may vary based on local GPU capabilities, thermal throttling, and browser driver optimization.

See it in action

To see LiteRT.js in action, explore our live implementations. LiteRT.js demo source code is available on the LiteRT GitHub repository and via Ultralytics.

LiteRT Ultralytics YOLO integration

Ultralytics is an artificial intelligence company that specializes in building computer vision tools and models. It is best known as the creator of the YOLO (You Only Look Once) framework, family of real-time object detection and image segmentation models.

We are excited to share official LiteRT export support built directly into the Ultralytics Python package. Easily deploy Ultralytics YOLO models across mobile, edge, and browsers—and go from compilation to runtime in just a few lines of code.

Sorry, your browser doesn’t support playback for this video

Demo: YOLO26, family of real-time vision models

Depth Estimation

Depth Anything – monocular depth estimation showcases how to transform a standard webcam feed into an interactive 3D point cloud in real-time. Powered by LiteRT.js via WebGPU, it uses the Depth-Anything-V2 model to instantly calculate depth data and map video pixels into a responsive 3D space.

Sorry, your browser doesn’t support playback for this video

Demo: Monocular depth estimation using DepthAnything and WebGPU.

Image Upscaling

Upscale images by 4x in the browser using the Real-ESRGAN model with LiteRT.js, which works by upscaling 128×128 pixel patches to 512×512 which are then reassembled into the final image.

Sorry, your browser doesn’t support playback for this video


Demo: An image of a dog is placed in an image upscaler webpage, where it is upscaled to 4x its size. Image credit

Get started with LiteRT.js

Integrating LiteRT.js into your development workflow is straightforward, whether you’re launching a fresh implementation or migrating an existing application to our high-performance runtime. LiteRT.js abstracts the complexities of hardware-level optimization, enabling you to deliver responsive, privacy-focused experiences without the overhead of manual platform tuning.

The following snippet highlights the streamlined process for initializing, compiling, and running a .tflite model with GPU acceleration. Using clean, modern JavaScript, you can load your model, feed input tensors, and capture high-speed inference results in real-time. For more detailed instructions, demos, and guidance, please refer to our documentation here.

import { loadLiteRt, loadAndCompile, Tensor } from '@litertjs/core';

await loadLiteRt('path/to/wasm/directory/');

const model = await loadAndCompile('path/to/your/model.tflite',{ accelerator: webgpu });

const inputTypedArray = new Float32Array(1 * 3 * 244 * 244);

const inputTensor = new Tensor(inputTypedArray, [1, 3, 244, 244]);

const results = await model.run(inputTensor);

// results is a Tensor stored on GPU. To move it to CPU & convert to a typedArray we use
const resultArray = (await results[0].moveTo('wasm')).toTypedArray();

JavaScript

What’s next

We are committed to continually expanding LiteRT.js performance, model coverage, and developer tooling. Looking ahead, our development roadmap centers on advancing WebNN integration for native NPU performance and delivering highly optimized support for on-device generative AI.

Acknowledgements

Ultralytics, for providing YOLO26 media and performance data. Jason Mayes for LiteRT.js demos.



Source_link

READ ALSO

We’re rolling out AlphaEvolve widely to solve Google Cloud customers’ hardest problems.

Open Health Stack Software Foundation addresses global health equity

Related Posts

We’re rolling out AlphaEvolve widely to solve Google Cloud customers’ hardest problems.
Google Marketing

We’re rolling out AlphaEvolve widely to solve Google Cloud customers’ hardest problems.

July 9, 2026
Open Health Stack Software Foundation addresses global health equity
Google Marketing

Open Health Stack Software Foundation addresses global health equity

July 9, 2026
3 ways small businesses can save time with Gemini
Google Marketing

3 ways small businesses can save time with Gemini

July 9, 2026
Bridging the Domain Gap: AI Race Coach built with Antigravity and Gemini
Google Marketing

Bridging the Domain Gap: AI Race Coach built with Antigravity and Gemini

July 9, 2026
Create videos in seconds with Google Photos’ Video Remix
Google Marketing

Create videos in seconds with Google Photos’ Video Remix

July 8, 2026
The whole Pixel line could get more expensive this year
Google Marketing

The whole Pixel line could get more expensive this year

July 8, 2026
Next Post
Insider One vs. MoEngage: Which is Better?

Insider One vs. MoEngage: Which is Better?

POPULAR NEWS

Trump ends trade talks with Canada over a digital services tax

Trump ends trade talks with Canada over a digital services tax

June 28, 2025
15 Trending Songs on TikTok in 2025 (+ How to Use Them)

15 Trending Songs on TikTok in 2025 (+ How to Use Them)

June 18, 2025
Communication Effectiveness Skills For Business Leaders

Communication Effectiveness Skills For Business Leaders

June 10, 2025
App Development Cost in Singapore: Pricing Breakdown & Insights

App Development Cost in Singapore: Pricing Breakdown & Insights

June 22, 2025
Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

Comparing the Top 7 Large Language Models LLMs/Systems for Coding in 2025

November 4, 2025

EDITOR'S PICK

Google Search is now using AI to replace headlines

Google Search is now using AI to replace headlines

March 21, 2026
Grow a Garden Pecan Wiki

Grow a Garden Pecan Wiki

October 11, 2025
An Oura Ring for your brain? Neurable is working on it and Apple may be next

An Oura Ring for your brain? Neurable is working on it and Apple may be next

August 7, 2025
How WriteStack’s Founder Built Cross-Platform Scheduling for Substack Creators Using Buffer’s API

How WriteStack’s Founder Built Cross-Platform Scheduling for Substack Creators Using Buffer’s API

May 29, 2026

About

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Follow us

Categories

  • Account Based Marketing
  • Ad Management
  • Al, Analytics and Automation
  • Brand Management
  • Channel Marketing
  • Digital Marketing
  • Direct Marketing
  • Event Management
  • Google Marketing
  • Marketing Attribution and Consulting
  • Marketing Automation
  • Mobile Marketing
  • PR Solutions
  • Social Media Management
  • Technology And Software
  • Uncategorized

Recent Posts

  • Insider One vs. MoEngage: Which is Better?
  • LiteRT.js, Google’s high performance Web AI Inference
  • Build Better Email Marketing Audiences
  • Top 10 Off Page SEO Services For Links and Brand Mentions
  • About Us
  • Disclaimer
  • Contact Us
  • Privacy Policy
No Result
View All Result
  • Technology And Software
    • Account Based Marketing
    • Channel Marketing
    • Marketing Automation
      • Al, Analytics and Automation
      • Ad Management
  • Digital Marketing
    • Social Media Management
    • Google Marketing
  • Direct Marketing
    • Brand Management
    • Marketing Attribution and Consulting
  • Mobile Marketing
  • Event Management
  • PR Solutions