Instructions to use jerard-dev/Qwen2.5-Coder-7B-Instruct-RK3576 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RKLLM
How to use jerard-dev/Qwen2.5-Coder-7B-Instruct-RK3576 with RKLLM:
# 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
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen2.5-Coder-7B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- rkllm
|
| 6 |
+
- rk3576
|
| 7 |
+
- npu
|
| 8 |
+
- qwen2.5-coder
|
| 9 |
+
- edge-ai
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Qwen2.5-Coder-7B-Instruct — RK3576 (RKLLM)
|
| 13 |
+
|
| 14 |
+
Conversion of [Qwen/Qwen2.5-Coder-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct) to RKLLM format for **RK3576** NPU (NanoPi R76S, Orange Pi RK3576, and similar boards).
|
| 15 |
+
|
| 16 |
+
## Conversion details
|
| 17 |
+
|
| 18 |
+
- **Toolkit:** rkllm-toolkit 1.2.3
|
| 19 |
+
- **Compatible runtime:** rkllm-runtime >= 1.2.3
|
| 20 |
+
- **Quantization:** w4a16
|
| 21 |
+
- **NPU cores:** 2 (dual-core)
|
| 22 |
+
- **Max context:** 4096 tokens
|
| 23 |
+
- **Platform:** RK3576 (NOT compatible with RK3588)
|
| 24 |
+
|
| 25 |
+
## Usage with RKLLama
|
| 26 |
+
|
| 27 |
+
Place the `.rkllm` file in your models folder and create a `Modelfile` with the following content:
|
| 28 |
+
|
| 29 |
+
FROM="Qwen2.5-Coder-7B-Instruct-rk3576.rkllm"
|
| 30 |
+
HUGGINGFACE_PATH="Qwen/Qwen2.5-Coder-7B-Instruct"
|
| 31 |
+
TOKENIZER="/models/tokenizers/Qwen2.5-Coder-7B"
|
| 32 |
+
|
| 33 |
+
## Performance (NanoPi R76S, 16GB RAM)
|
| 34 |
+
|
| 35 |
+
- ~10-15 tok/s on dual-core NPU
|
| 36 |
+
|
| 37 |
+
## Important note
|
| 38 |
+
|
| 39 |
+
This model was compiled specifically for RK3576. If you're using an RK3588 (RK3588S, RK3588J), look for a different conversion — they are not binary compatible with each other.
|