Files
NANOKVM-sipeed_wiki-MIRROR/docs/hardware/en/maixIV/m4c/axmodel-deploy.md
taorye 187e9165cf Add quick start guide and update sidebar for M4C SoM and M4 Chat
- Created a new quick start guide for M4 Chat in Chinese documentation.
- Updated sidebar links to reflect changes in file structure for M4C SoM and M4 Chat.
- Modified layout links to point to the correct M4C Dock page.
- Added new HTML pages for M4C Dock and M4 Chat with language detection and redirection script.
2025-08-19 18:47:01 +08:00

1.9 KiB

Deploying AI Models on M4C

Deploying Large Language and Multimodal Models

Obtain models and runtime environments from the following sources. Deployment instructions can be found in each repository's README.md.

Official AXERA Models: https://huggingface.co/AXERA-TECH

China Mirror Site: https://hf-mirror.com/AXERA-TECH

Model Link China Mirror Link
Qwen3:0.6b Qwen3-0.6B-Int8 Qwen3-0.6B-Int8
DeepSeek-R1:1.5b DeepSeek-R1-Distill-Qwen-1.5B DeepSeek-R1-Distill-Qwen-1.5B
Qwen2.5:1.5b Qwen2.5-1.5B-Instruct-GPTQ-Int8 Qwen2.5-1.5B-Instruct-GPTQ-Int8
SD1.5 lcm-lora-sdv1-5 lcm-lora-sdv1-5
InternVL2.5:1b InternVL2_5-1B-Int8 InternVL2_5-1B-Int8

Important Note: All above models require system images compiled with SDK 1.45.0 or later to run large models. Please update your system accordingly. Our provided TFCard&eMMC images meet this requirement and reserve 6GB memory for model loading, capable of running 7B parameter int4 models.

Quick test with Qwen3-0.6b:

# Can replace with links to other model repositories
git clone https://hf-mirror.com/AXERA-TECH/Qwen3-0.6B

cd Qwen3-0.6B

# If ModuleNotFoundError occurs, refer to FAQ for details
python3 qwen3_tokenizer_uid.py

# Switch to corresponding execution script and restore necessary permissions
chmod +x main_ax650
sh run_qwen3_0.6b_int8_ctx_ax650.sh