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
Commit History
Today
-
Stage wasm_dev_flash_rows2/ (-c opt, zvoytmmv: skip-tiling + lazy rescale + 64 threads x 2 rows/thread)
Verified signature0b1476c -
Stage wasm_dev_flash_lazy/ (-c opt, zvoytmmv: skip-tiling + lazy rescale, 128x1)
Verified signature71eeae5 -
Stage wasm_dev_flash/ (-c opt, zvoytmmv skip-tiling-only variant: TileDecomposedAttention leaves fusable chains whole, 128x1, always-rescale)
Verified signature55df2d9
Yesterday
-
Stage wasm_dev_flash/ (-c opt WASM runtime from qnszmuyt cc530645091c74 with FusedAttention special kernel)
Verified signaturea187de5
2 days ago
-
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with bounded-in-flight prefill command buffers (min(128, 16384/group_size)), createLegacyEngine/createStreaming compatibility, and prune wasm_dev_jank_v*
Verified signature09af975 -
Stage prefill jank sweep WASM runtime variants v0..v3
Verified signature12dabe1 -
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with 1120 vision support and 57-CL stack optimizations
Verified signature10e35c7 -
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with 1120 vision adapter selection fix (mszqroqq) and 10080 patches support
Verified signature1a8a435
3 days ago
-
Update LiteRT-LM Web runtime (0.18.1) with standardized 26B/31B vision support, trailing EOI rope mask fix, and SRQ FP16 capability guard
Verified signature77afd1b
4 days ago
-
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with windowed [MTP_TELEMETRY]/[DECODE_TELEMETRY] (long-turn decay investigation, base CL 996998560) and prune main to one wasm set + one tgz
Verified signature300976b -
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with L2 DP bucket calibration and L4 fused MoE
Verified signatureCalibrate prefill group_size DP cost model to eliminate multi-pass splits (L2) and fuse ExpertsRemapFrom + Transpose in MoE feed-forward layers (L4). Piper cl/989471319.6064f7b
5 days ago
-
Release @litert-lm /core 0.18.1 -c opt WebGPU WASM runtime with windowed [MTP_TELEMETRY]/[DECODE_TELEMETRY] (long-turn decay investigation, base CL 996998560) and prune main to one wasm set + one tgz
Verified signature7a3e421 -
Dev runtime: windowed [MTP_TELEMETRY]/[DECODE_TELEMETRY], O(gamma) spec rewind, getBenchmarkInfo throttle (long-turn decay investigation)
Verified signaturee308929 -
Fix minijinja Chainable undefined behavior and guard empty messages in Gemma 4 templates (@litert-lm /core 0.18.1)
Verified signature4041721 -
Release @litert-lm /core@0.18.1 + -c opt WebGPU WASM runtime (Wave 2/4 stack: H2 rewind fallback + mutex fix, MTP token accounting, A0 AutoToolChat & vision defaults, A1 native profiler)
Verified signature4e679d1
6 days ago
-
Release final validated 66-CL stack -c opt WebGPU WASM runtime & @litert-lm /core@0.18.1 (M-ARCH, V12-fix, Track R, E2 non-blocking refill, P1 host parity shader drain)
Verified signature037940c -
Release @litert-lm /core@0.18.1 + -c opt WebGPU WASM runtime (all tracks R, V12-fix, M-ARCH, M5 V1..V6/E1..E2/P1..P3 merged)
Verified signature87c67e6
7 days ago
-
Release @litert-lm /core 0.18.1 WASM runtime & JS SDK (-c opt, Phase 3 T-D3a + T-D1 v2 + T-D3c + Task V)
Verified signature3f30428
8 days ago
-
Release @litert-lm /core 0.18.1 WASM runtime & JS SDK (-c opt, dc3acde07086)
Verified signaturebc3197e -
Release @litert-lm /core 0.18.1 WASM runtime & JS SDK (-c opt, e98354862e6c)
Verified signaturedb4c78a -
Release @litert-lm /core 0.18.1 WASM runtime & JS SDK (-c opt)
Verified signature6348755
9 days ago
-
Release post-fix WebGPU WASM runtime (out-of-order tensor read fix in fused residual norm for sequence_size >= 1)
Verified signature0215477 -
Update LiteRT-LM Web runtime with prefill (P1-P7d) and decode (OPT-M2+M3 ScoreTokens staging & greedy drafter remap) optimizations
Verified signature83b1099 -
Update LiteRT-LM Web runtime with prefill (P1-P7d) and decode (OPT-M2+M3 ScoreTokens staging & greedy drafter remap) optimizations
Verified signature9fce354 -
Fix Gemma 4 12B MTP suppressed-token masking (scoring_post_processing_, centroid_constraint_mask, shared drafter config) and RejectAfterResample token_override preservation
Verified signature1b10bee -
Update wasm_vision_hires with WGSL vec4<f16> constructor fix
Verified signature7a8ad36 -
Fix WGSL vec4<f16>(f32) constructor type mismatch in MakeFusedResidualNorm and DequantizeEmbedding
Verified signatureaad8c95 -
Release @litert-lm /core 0.18.1: fix Apple Silicon prefill ringed_weights shader explosion, WebGPU device loss, and ReadBufferDataJs OOB
Verified signaturee05399f
10 days ago
-
Release -c opt WebGPU WASM runtime & @litert-lm /core@0.18.1: 64k CleanCacheOp/CopyCacheOp dispatch fix, decode subgraph deduplication, lazy vision/audio executor init, <empty_linear> warning fix, and live streaming benchmark cache
Verified signature36a37c6 -
Restore subgraph deduplication, lazy multimodal WebGPU compile, and 64k cache grid fix
Verified signature27ad698 -
Release @litert-lm /core@0.18.1 + -c opt WebGPU WASM runtime, fresh build from stack top cl/995335252 (includes cl/994475540, cl/995291160, cl/995335252)
Verified signaturea543cf3 -
Release -c opt WebGPU WASM runtime & @litert-lm /core@0.18.0-dev: Artisan decode FC linking, fake-quant dedupe, ring KV cache (+21% E2B standard decode on V100); stack synced to cl/995128901
Verified signature2239bdc -
Release @litert-lm /core 0.18.0 / 0.18.0-dev: RMSNorm gamma fusion (cl/994475540), cumulative vision compile/encode telemetry in litertlm_web.cc
Verified signatureadc4310 -
Update LiteRT-LM Web Wasm runtime: LinkNodes operand swaps and GEMV reduction
Verified signature83c717f -
Update LiteRT-LM Web Wasm runtime: validated optimizations
Verified signature2a32aa8
11 days ago
-
Release optimized -c opt WebGPU WASM runtime & @litert-lm /core@0.18.0-dev (clean ESM build, zero goog.*, EXP_WALLCLOCK_TUNE deadlock eliminated)
Verified signature166bee2 -
Release WebGPU WASM runtime & @litert-lm /core with baseline decode speedup (+40.77% on Gemma 4 E2B)
Verified signature3ea6403 -
Release latest WebGPU WASM runtime & @litert-lm /core (GEMV decode, bind group dispatch, graph fusions, and 26B real audio+MTP)
Verified signature5afe7c8 -
Release @litert-lm /core@0.18.0-dev (2026-10-06): drafter GPU config no longer inherits main-model MoE/laurel/altup config; built from workspace investigate_multimodal_web_support_jj @ cl/994039145
Verified signaturef0d711e
12 days ago
-
Release Gemma 4 MTP speculative acceptance gap closure runtime & @litert-lm /core 0.18.0
Verified signaturefa9d3f0 -
Fix MTP unseeded TOP_P greedy verification alignment + retain cached KV scales for InitShared
Verified signaturef9a10ee -
Fix 12B/26B/31B multimodal audio/vision initialization and enable realtime MTP acceptance telemetry during streaming
Verified signature8d04d9a -
Fix MTP shared KV scale cache retention across streaming LlmWebGpu::Init -> InitShared
Verified signature1795933 -
Update WASM runtime (-c opt) and @litert-lm /core 0.18.0-dev / 0.18.0 npm tarballs after stack slimming
Verified signature576ce9e
13 days ago
-
Rebuild WASM runtime with audio executor model_resources fix (streamed audio sections)
Verified signature800aaac -
Publish clean ESM @litert-lm /core@0.18.0 bundle and -c opt WASM runtime
Verified signature3171277 -
Publish @litert-lm /core@0.18.1-dev ESM clean tsc build (fix goog is not defined)
Verified signaturec67ea5b -
Re-export @litert-lm /core@0.18.0-dev using standard tsc (no Google3 closure rules) & recompiled opt wasm
Verified signature2bf2459
14 days ago
-
Release @litert-lm /core@0.18.0-dev: MTP GPU PLE gather + full-vocabulary drafter head (1.44x MTP), audio FP32 fixes; synced to cl/992674170
Verified signaturef938177 -
Fix Gemma 4 USM Conformer GPU audio FP32 activation precision and AudioAdapter input buffer indexing
Verified signature3e011cd