GatekeeperZA commited on
Commit
c12694c
·
verified ·
1 Parent(s): 42a35bb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
4
+ tags:
5
+ - rkllm
6
+ - rk3588
7
+ - npu
8
+ - quantized
9
+ - w8a8
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ # Qwen2.5-1.5B-Instruct for RKLLM v1.2.3 (RK3588 NPU)
14
+
15
+ Pre-converted Qwen2.5-1.5B-Instruct for the Rockchip RK3588 NPU using rknn-llm runtime v1.2.3.
16
+
17
+ Runs on Orange Pi 5 Plus, Rock 5B, Radxa NX5, and other RK3588-based SBCs with 8GB+ RAM.
18
+
19
+ ## Files
20
+
21
+ | File | Size | Description |
22
+ |------|------|-------------|
23
+ | `Qwen2.5-1.5B-Instruct-rk3588-v123-w8a8.rkllm` | 2.0 GB | LLM (W8A8 quantized, 8192 token context) |
24
+
25
+ ## Quick Start
26
+
27
+ ### Directory Structure
28
+
29
+ ```
30
+ ~/models/Qwen2.5-1.5B-Instruct/
31
+ Qwen2.5-1.5B-Instruct-rk3588-v123-w8a8.rkllm
32
+ ```
33
+
34
+ ### Using with RKLLM API Server
35
+
36
+ This model is designed for use with the [RKLLM API Server](https://github.com/airockchip/rknn-llm), which provides an OpenAI-compatible API for RK3588 NPU inference. The server auto-discovers `.rkllm` files by scanning subdirectories of your models folder.
37
+
38
+ ```bash
39
+ # Place the model in your models directory
40
+ mkdir -p ~/models/Qwen2.5-1.5B-Instruct
41
+ # Copy .rkllm file here — the API server will find it automatically
42
+ sudo systemctl restart rkllm-api
43
+ ```
44
+
45
+ The model will appear as `qwen2.5-1.5b-instruct` in the OpenAI-compatible model list.
46
+
47
+ ## Export Details
48
+
49
+ | Parameter | Value |
50
+ |-----------|-------|
51
+ | Source | [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) |
52
+ | Tool | rkllm-toolkit v1.2.3 |
53
+ | Quantization | W8A8 (8-bit weights, 8-bit activations) |
54
+ | Optimization level | 1 |
55
+ | Target platform | rk3588 |
56
+ | NPU cores | 3 |
57
+ | Max context | 8192 tokens |
58
+
59
+ ## Performance Benchmarks
60
+
61
+ Tested on Orange Pi 5 Plus (16GB RAM), RK3588 SoC, RKNPU driver 0.9.8:
62
+
63
+ | Metric | Value |
64
+ |--------|-------|
65
+ | Decode speed | ~19 tok/s |
66
+ | Model load time | ~3 s |
67
+ | Peak RAM | ~2.2 GB |
68
+
69
+ ## Known Limitations
70
+
71
+ - **Tool calling**: Qwen2.5-1.5B is a general-purpose instruct model, not fine-tuned for structured function calling. For agent/tool-calling workloads, see [GatekeeperZA/xLAM-1b-fc-r-RKLLM-v1.2.3](https://huggingface.co/GatekeeperZA/xLAM-1b-fc-r-RKLLM-v1.2.3).
72
+ - **Context**: Compiled at 8192 tokens. The runtime will truncate inputs that exceed this limit.
73
+ - **Version lock**: This file requires RKLLM runtime v1.2.3 and NPU driver v0.9.8. It is **not compatible** with v1.3.0 or later runtimes.
74
+
75
+ ## License
76
+
77
+ Apache 2.0, inherited from Qwen2.5-1.5B-Instruct.
78
+
79
+ ## Credits
80
+
81
+ - Model: [Qwen Team](https://huggingface.co/Qwen) for Qwen2.5-1.5B-Instruct
82
+ - Runtime: [Rockchip / airockchip](https://github.com/airockchip/rknn-llm) for rkllm-toolkit
83
+ - API Server: [RKLLM API Server](https://github.com/airockchip/rknn-llm) — OpenAI-compatible server for RK3588 NPU