Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

jfan
/
litert-lm-web-runtime

LiteRT
LiteRT-LM
webgpu
wasm
gemma4
mtp
speculative-decoding
vision
audio
metal
Model card Files Files and versions
xet
Community

Instructions to use jfan/litert-lm-web-runtime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • LiteRT

    How to use jfan/litert-lm-web-runtime with LiteRT:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • LiteRT-LM

    How to use jfan/litert-lm-web-runtime with LiteRT-LM:

    # LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM)
    # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter).
    # For platform-specific integration guides, please refer to the official developer website:
    # https://ai.google.dev/edge/litert-lm
    
    # To try LiteRT-LM, the easiest way is to use our CLI tool.
    # 1. Install the LiteRT-LM CLI tool:
    pip install -U litert-lm
    
    # 2. Download and run this model locally:
    # See: https://ai.google.dev/edge/litert-lm/cli
    # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run
    # (or pass its name right after the repo id).
    litert-lm run \
      --from-huggingface-repo=jfan/litert-lm-web-runtime \
      --prompt="Write me a poem"
  • Notebooks
  • Google Colab
  • Kaggle
litert-lm-web-runtime
419 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 86 commits
jfan's picture
jfan
Update prebuilt Python 0.18.3 wheels (rebuilt from p4head cl/1014981939 with full Metal, legacy executors, and vision/audio support)
b527388 verified 17 days ago
  • packages
    Release @litert-lm/core 0.18.3 -c opt WebGPU WASM runtime (Piper HEAD CL 1014981939) with spatial_w_groups FC tiling and text scoring 17 days ago
  • wasm
    Release @litert-lm/core 0.18.3 -c opt WebGPU WASM runtime (Piper HEAD CL 1014981939) with spatial_w_groups FC tiling and text scoring 17 days ago
  • wheels
    Update prebuilt Python 0.18.3 wheels (rebuilt from p4head cl/1014981939 with full Metal, legacy executors, and vision/audio support) 17 days ago
  • .gitattributes
    2.18 kB
    Release @litert-lm/core 0.18.3 WebGPU WASM runtime + Python 0.18.3 wheels (lever4b multimodal prefill speedup, 12B MQA Metal shader fix, Metal & Linux wheels) 25 days ago
  • README.md
    8.63 kB
    Release @litert-lm/core 0.18.3 -c opt WebGPU WASM runtime (Piper HEAD CL 1014981939) with spatial_w_groups FC tiling and text scoring 17 days ago