Downloads · 30 days
9
8% of all-time downloads
Uranos8685/qwen2.5-coder-7b-it-dynamic_wi4_afp32
qwen2.5-coder-7b-it-dynamic_wi4_afp32 is a text generation model from Uranos8685. Use it when you need the model to write or continue text. It is set up for litert-lm. The card lists the license as apache-2.0.
This repository contains a LiteRT-LM converted version of Qwen2.5-Coder-7B-Instruct for efficient on-device code generation and text generation.
Downloads · 30 days
9
8% of all-time downloads
All-time downloads
117
Public
Repo size
3.9 GB
Likes
0
Public
Click a slice to open those files.
.litertlm3.9 GB · 100%
From the Hugging Face model README
This repository contains a LiteRT-LM converted version of Qwen2.5-Coder-7B-Instruct for efficient on-device code generation and text generation.
The model was converted using the official LiteRT-LM exporter and has been verified to run successfully with LiteRT-LM.
| Item | Value |
|---|---|
| Conversion Date | 2026-07-19 |
| Transformers | 5.14.1 |
| LiteRT-LM Runtime (tested) | 0.14.0 |
| Item | Value |
|---|---|
| Quantization | dynamic_wi4_afp32 |
| Batch Size | 1 |
| Cache Implementation | LiteRTLMCache |
| Cache Length | 4096 |
| Prefill Length | 128 |
| Dynamic Shape | Disabled |
| GPU Dynamic Cache | Disabled |
| GPU Dynamic Prefill | Disabled |
| Mixed Precision | Disabled |
| FP16 | Disabled |
| Externalized Embedding | Enabled |
| Externalized RoPE | Disabled |
| Jinja Chat Template | Enabled |
| Stateful After | -1 |
| Bundle LiteRT-LM | Enabled |
task : text_generation
quantization_recipe : dynamic_wi4_afp32
batch_size : 1
cache_length : 4096
prefill_lengths : [128]
cache_implementation : LiteRTLMCache
bundle_litert_lm : True
externalize_embedder : True
externalize_rope : False
enable_dynamic_shape : False
enable_gpu_dynamic_cache : False
enable_gpu_dynamic_prefill : False
experimental_use_fp16 : False
experimental_use_mixed_precision : False
use_jinja_template : True
stateful_after : -1
dynamic_wi4_afp32)import litert_lm
engine = litert_lm.Engine(
"PATH_TO_MODEL",
backend=litert_lm.Backend.GPU(),
)
response = engine.generate(
"Write a Python implementation of quicksort."
)
print(response)
The model uses:
dynamic_wi4_afp32)Actual inference speed and memory usage depend on the LiteRT-LM backend and target hardware.
This model has been tested with:
Other LiteRT-LM versions may also work but have not been verified.
This repository contains only the LiteRT-LM converted model.
It is not intended to be loaded using transformers or AutoModelForCausalLM.from_pretrained(). Instead, use the LiteRT-LM runtime.
This repository contains a converted version of the original model and does not modify the model weights beyond the LiteRT-LM conversion process.
Please refer to the original model repository for licensing details: