--- id: litert-lm-builder version: "0.16.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # litert-lm-builder — Python tools for building and inspecting LiteRT-LM file formats License: permissive · Maintenance: active · Downloads: 117.8K/mo ## What it is and what it does LiteRT-LM-builder is Google's Python toolset for constructing and analyzing LiteRT-LM model files—the format used to run large language models efficiently on edge devices like phones, tablets, IoT boards, and browsers. It sits within a larger ecosystem (LiteRT-LM) that handles cross-platform, hardware-accelerated inference of models like Gemma, Llama, and others. The package depends on protobuf, flatbuffers, absl-py, and tomli to serialize and manipulate model definitions. This is a builder and inspection tool, not a runtime engine itself. Developers use it to prepare, validate, and configure LiteRT-LM model files before deploying them to target platforms. It supports Python 3.10+ and is actively maintained by Google's AI Edge team, with the latest release arriving within days of the fact sheet date. Use it for: - Prepare and validate Gemma or Llama models for on-device deployment on Android, iOS, or embedded Linux systems - Build quantized model files (int4, E2B, E4B) optimized for specific hardware like mobile GPUs or NPUs - Inspect and debug LiteRT-LM file formats to verify model configuration before production rollout - Integrate model building into CI/CD pipelines for edge AI applications across multiple platforms ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python tools for building, inspecting, and working with LiteRT-LM file formats to run large language models on edge devices with hardware acceleration. Yes, if you are building or deploying LLMs to edge devices and need to work with LiteRT-LM model formats. The package is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. However, verify that you need the builder/inspection tools specifically—if you only need to run inference, you may need the full LiteRT-LM runtime separately. ## Install pip install litert-lm-builder uv add litert-lm-builder poetry add litert-lm-builder ## Installing litert-lm-builder Before you install: Low install friction; pure Python wheel with four lightweight dependencies (protobuf, flatbuffers, absl-py, tomli). Active maintenance with release 6 days old and 6199 repository stars. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and research contexts. Quickstart: pip install litert-lm-builder from litert_lm_builder import ... # See https://ai.google.dev/edge/litert-lm/python for API details Requires Python 3.10 or later; intended as a build/inspection tool for LiteRT-LM models rather than a standalone inference engine. Verify before relying: - Specific Python API surface and available classes/functions for model building and inspection - Whether this package alone can run inference or if it requires separate LiteRT runtime installation - Performance characteristics and supported quantization formats beyond what the description mentions ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 117.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags edge llm inference, on-device language model, litert model builder, cross-platform llm runtime, mobile ai deployment, hardware accelerated inference, llm file format tools, edge-ai, model-builder, llm-deployment [View on SkillFed](https://skillfed.io/packages/litert-lm-builder) · [View on PyPI](https://pypi.org/project/litert-lm-builder/)