awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google-ai-edge avatar

google-ai-edge/LiteRT

0
View on GitHub↗
2,561 星标·344 分支·C++·Apache-2.0·10 次浏览ai.google.dev/edge/litert/next/overview↗

LiteRT

LiteRT is a runtime and API for executing machine learning and generative AI models on mobile, desktop, and IoT hardware. It consists of an inference engine and a specialized environment for running quantized large language and diffusion models locally on edge hardware.

The system includes an ahead-of-time model compiler that translates models into hardware-specific bytecode to reduce startup latency and memory overhead. It provides a unified interface for Neural Processing Units with automatic fallback routing to CPUs or GPUs when specific subgraph support is unavailable. An edge model converter transforms trained models into optimized formats for deployment on resource-constrained devices.

The project covers model optimization through format conversion and post-training quantization to reduce binary size. It manages hardware acceleration through automatic accelerator selection and zero-copy memory optimizations to eliminate CPU memory copying. The framework also supports custom operator definitions through a low-level kernel interface to extend the supported mathematical operations.

Features

  • Local Inference Engines - Ships a high-performance inference engine and API for executing machine learning and generative AI models on mobile, desktop, and IoT hardware.
  • On-Device Inference Engines - Provides an inference engine optimized for executing machine learning and generative AI models locally on mobile, desktop, and IoT hardware.
  • On-Device Deployments - Enables the deployment and execution of large language models and agentic planning capabilities entirely on-device.
  • Generative AI Runtimes - Provides a specialized environment for running quantized large language and diffusion models locally on edge hardware.
  • On-Device LLM Runners - Provides a specialized environment for running quantized large language and diffusion models locally on edge hardware.
  • Edge Hardware Optimizations - Applies quantization and graph optimizations to reduce memory footprint and increase inference speed on resource-constrained hardware.
  • Model Format Converters - Provides tools for transforming trained machine learning models into optimized formats for deployment on resource-constrained edge devices.
  • Model Quantization - Applies quantization and architecture-specific optimizations to enable large language and diffusion models to run locally.
  • NPU Acceleration - Integrates with specialized Neural Processing Units to optimize model inference performance and energy efficiency.
  • NPU Accelerators - Implements a unified interface for executing machine learning inference on Neural Processing Units with automatic CPU and GPU fallbacks.
  • Post-Training Quantization - Reduces model precision from floating point to integers after training to decrease binary size and increase inference speed.
  • Model Bytecode Compilation - Translates high-level machine learning model definitions into optimized low-level bytecode for specific edge hardware architectures.
  • Model Conversion - Transforms machine learning models into specialized formats to increase execution speed and reduce memory usage on edge hardware.
  • Build-Time Bytecode Compilation - Translates models into bytecode during the build process to reduce runtime initialization and memory overhead on edge devices.
  • Ahead-of-Time Wasm Execution - Compiles models into hardware-specific bytecode before deployment to minimize startup latency on constrained devices.
  • Computation Subgraph Delegation - Partitions model computation graphs to delegate specific operations to the most compatible CPU, GPU, or NPU backends.
  • Hardware-Accelerated Inference - Executes machine learning models on edge devices using CPU, GPU, or NPU hardware acceleration for high performance.
  • Execution Fallbacks - Automatically redirects computation to a compatible processor if the primary hardware accelerator lacks support for specific operations.
  • On-Device Inference - Provides a high-level inference API and runtime environment to manage model state on edge devices.
  • Hardware Acceleration - Enables the execution of machine learning and generative AI models across mobile, desktop, and IoT hardware using CPUs, GPUs, and NPUs.
  • Automatic Accelerator Selection - Automatically selects the most efficient hardware accelerator and manages asynchronous execution for machine learning tasks.
  • Tensor Memory Management - Manages the allocation and tracking of memory views for tensors using buffer references to control data flow.
  • Hardware Performance Tuning - Tunes execution across CPUs, GPUs, and NPUs using hardware-specific optimizations to achieve peak processing speeds.
  • Graph Compilation Caching - Stores compiled computation graphs in a local directory to bypass runtime initialization overhead.
  • NPU Unified Interfaces - Provides a unified interface to execute models on NPUs while abstracting vendor-specific compiler and runtime details.
  • On-Device Compilation - Translates models into NPU instructions during application initialization to ensure compatibility across diverse hardware platforms.
  • Hardware Buffer Zero-Copy - Eliminates expensive CPU memory copy operations by passing tensor data directly to the NPU hardware buffer.
  • Model Artifact Caches - Caches pre-compiled model hardware instructions in local storage to eliminate repeated translation during application launches.
  • Zero-Copy Buffer Interoperability - Passes tensor data directly to accelerators without duplicating data to system memory to reduce latency and power.
  • PyTorch - Provides specialized paths for converting trained PyTorch models into optimized formats for on-device deployment.
  • Inference Engines - Framework for efficient ML and GenAI deployment on edge.
  • Model Serving & Deployment - Deploys models on mobile and edge devices.

Star 历史

google-ai-edge/litert 的 Star 历史图表google-ai-edge/litert 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

LiteRT 的开源替代方案

相似的开源项目,按与 LiteRT 的功能重合度排序。
  • pytorch/executorchpytorch 的头像

    pytorch/executorch

    4,296在 GitHub 上查看↗

    ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It provides an ahead-of-time compilation pipeline that exports, quantizes, and lowers model graphs into compact serialized programs, then executes them through a minimal runtime with hardware acceleration and on-device large language model inference capabilities. The project distinguishes itself through a hardware accelerator delegate system that partitions model subgraphs and offloads computation to specialized backends including NPUs, GPUs, and DSPs from Apple, Arm, Intel, MediaTek,

    Pythondeep-learningembeddedgpu
    在 GitHub 上查看↗4,296
  • openvinotoolkit/openvinoopenvinotoolkit 的头像

    openvinotoolkit/openvino

    10,414在 GitHub 上查看↗

    OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models across CPUs, GPUs, and NPUs through a unified API. It includes a model optimization toolkit for converting, quantizing, and compressing models from various frameworks, alongside a specialized generative AI runtime for large language models. The project distinguishes itself through a plugin-based hardware acceleration layer that maps neural network operations to vendor-specific drivers. It features advanced execution mechanisms such as continuous batching, speculative decoding, and

    C++aicomputer-visiondeep-learning
    在 GitHub 上查看↗10,414
  • alibaba/mnnalibaba 的头像

    alibaba/MNN

    14,242在 GitHub 上查看↗

    MNN is a high-performance inference engine and framework designed for on-device machine learning. It provides a comprehensive environment for executing, optimizing, and deploying neural network models directly on mobile and resource-constrained edge devices. The framework distinguishes itself through a robust model optimization toolkit that supports quantization, compression, and structural graph manipulation to minimize memory footprint and maximize execution speed. It features a modular architecture that abstracts hardware-specific backends, allowing models to run efficiently across diverse

    C++armconvolutiondeep-learning
    在 GitHub 上查看↗14,242
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 GitHub 上查看↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    在 GitHub 上查看↗29,079
查看 LiteRT 的所有 30 个替代方案→

常见问题解答

google-ai-edge/litert 是做什么的?

LiteRT is a runtime and API for executing machine learning and generative AI models on mobile, desktop, and IoT hardware. It consists of an inference engine and a specialized environment for running quantized large language and diffusion models locally on edge hardware.

google-ai-edge/litert 的主要功能有哪些?

google-ai-edge/litert 的主要功能包括:Local Inference Engines, On-Device Inference Engines, On-Device Deployments, Generative AI Runtimes, On-Device LLM Runners, Edge Hardware Optimizations, Model Format Converters, Model Quantization。

google-ai-edge/litert 有哪些开源替代品?

google-ai-edge/litert 的开源替代品包括: pytorch/executorch — ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It… openvinotoolkit/openvino — OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models… alibaba/mnn — MNN is a high-performance inference engine and framework designed for on-device machine learning. It provides a… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… microsoft/onnxruntime — This project is a cross-platform machine learning inference engine designed to execute pre-trained models across… google-ai-edge/litert-lm — LiteRT-LM is a high-performance inference framework designed to execute large language models locally on mobile,…