Instructions to use litert-community/FLUX.2-klein-4B-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/FLUX.2-klein-4B-LiteRT 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
- Notebooks
- Google Colab
- Kaggle
Commit History
17 days ago
-
Add a link to the sample apps in google-ai-edge/litert-samples
Verified signatured9236db
21 days ago
-
Add a known runtime issue: the NPU rows are timing only, and these graphs divide by m * m
Verified signature062900f
-
Upload flux2-klein-4b.litertlm
Verified signature223f4c9
-
Card: definition line (LiteRT, 2026-09)
Verified signature08df45c
-
Card: base_model_relation: quantized (list under the base model's Quantizations)
Verified signature8b0d277
-
Add measured Galaxy S26 NPU/GPU section
Verified signatureNumbers from the S26 classic sweep. Primary logs: litertlm-convert/community_accel_work/s2_npu_sweep/results.jsonl (on-device JIT) and portal_work/bench_all.txt + bench_redo.txt (the 2026-08-23 AOT sweep); every row states which of the two produced it. Rows carry device, SoC, runtime, N and thermal state, and join to this repo by exact .tflite file name. Rows taken outside the sweep's thermal window are not reported.de29056
-
Card: add a measured Performance table for the representative graphs (Pixel 8a, benchmark_model GPU+CPU)
Verified signaturee88e31c
-
Document typed prompts (tokenizer + embedding table)
Verified signaturef9b9171 -
Add prompt-encoding asset qwen_embed_fp16.bin
Verified signature619d12d -
Add prompt-encoding asset tokenizer_fixture.txt
Verified signature0fb30fc -
Add prompt-encoding asset qwen_special.txt
Verified signature0d28c24 -
Add prompt-encoding asset qwen_merges.txt
Verified signaturec50c6c0 -
Add prompt-encoding asset qwen_vocab.txt
Verified signature5c9b74d -
Add the editing hero image
Verified signaturef971350 -
Document image editing (kce_* graphs + VAE encoder)
Verified signature0f42565 -
Add image-editing graph kv_vae_enc.tflite
Verified signature681335b -
Add image-editing graph kce_final.tflite
Verified signaturef024259 -
Add image-editing graph kce_single3.tflite
Verified signature3cf8b40 -
Add image-editing graph kce_single2.tflite
Verified signature5798a5f -
Add image-editing graph kce_single1.tflite
Verified signature0a6cbff -
Add image-editing graph kce_single0.tflite
Verified signature44bc299 -
Add image-editing graph kce_double1.tflite
Verified signatureb4ed3bd -
Add image-editing graph kce_double0.tflite
Verified signaturebd4bad5 -
Add image-editing graph kce_prep.tflite
Verified signature232be26 -
Fix GPU name: Pixel 8a is Mali-G715 (Tensor G3), not Mali-G610
Verified signature7631672
-
Add FLUX.2-klein-4B int8 LiteRT graphs (12 chunks, GPU-clean)
Verified signatureef69644 -
initial commit
Verified signature8e770cf