The mixed INT4
.litertlm
artifact was produced with a TorchAO-based quantize-first recipe from the original Hugging Face checkpoint. This is a mixed quantization layout rather than a uniform all-INT4 model: eligible linear projection weights are stored as blockwise INT4 with group size 32 and floating-point scales, token embedding weights use weight-only INT8 quantization, and normalization/reduction paths plus KV cache tensors remain floating point.
The mixed INT4 bundle also uses LiteRT-LM StableHLO composite ops for attention/cache execution, including
odml.runtime_bmm
and
odml.cache_update
.
Performance
Desktop benchmark: AMD Radeon AI PRO R9700, LiteRT-LM WebGPU, 256 prefill tokens, 32 decode tokens. Android rows use LiteRT-LM v0.13.1 with GPU OpenCL, 256 prefill tokens, and 64 decode tokens. Values report the warmed iteration from a two-iteration run unless noted.
Hardware benchmark disclosure: Results were measured by us on retail devices purchased through normal channels. These results are not affiliated with, sponsored by, endorsed by, or verified by Samsung, vivo, Qualcomm, MediaTek, Google, MLCommons, or Hugging Face. Results depend on device SKU, OS build, thermal state, battery mode, backend, model quantization, runtime version, and benchmark settings.
uv tool install litert-lm
uvx litert-lm run --from-huggingface-repo=litert-community/Qwen3-4B-Instruct-2507 qwen3_4b_instruct_2507_mixed_int4.litertlm --prompt="What is the capital of France?"
Qwen3-4B-Instruct-2507 huggingface.co is an AI model on huggingface.co that provides Qwen3-4B-Instruct-2507's model effect (), which can be used instantly with this litert-community Qwen3-4B-Instruct-2507 model. huggingface.co supports a free trial of the Qwen3-4B-Instruct-2507 model, and also provides paid use of the Qwen3-4B-Instruct-2507. Support call Qwen3-4B-Instruct-2507 model through api, including Node.js, Python, http.
Qwen3-4B-Instruct-2507 huggingface.co is an online trial and call api platform, which integrates Qwen3-4B-Instruct-2507's modeling effects, including api services, and provides a free online trial of Qwen3-4B-Instruct-2507, you can try Qwen3-4B-Instruct-2507 online for free by clicking the link below.
litert-community Qwen3-4B-Instruct-2507 online free url in huggingface.co:
Qwen3-4B-Instruct-2507 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-4B-Instruct-2507 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-4B-Instruct-2507 install, users can directly use Qwen3-4B-Instruct-2507 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-4B-Instruct-2507 install url in huggingface.co: