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.
|
Before Width: | Height: | Size: 484 KiB After Width: | Height: | Size: 484 KiB |
@@ -73,4 +73,4 @@ ethaddr=d0:00:00:00:00:03
|
||||
eth1addr=d0:00:00:00:00:04
|
||||
```
|
||||
|
||||

|
||||

|
||||
@@ -1,4 +1,4 @@
|
||||
# Deploying AI Models on M4N
|
||||
# Deploying AI Models on M4C
|
||||
|
||||
## Deploying Large Language and Multimodal Models
|
||||
|
||||
@@ -62,7 +62,7 @@ Example for Linux:
|
||||
- Option 1: Power cycle (unplug and replug power).
|
||||
- Option 2: Press and release the `RST` button while powered on.
|
||||
|
||||
Note for M4N-Dock: If the front panel is obstructed, remove it by unscrewing the 3 screws and rotating it open.
|
||||
Note for M4C-Dock: If the front panel is obstructed, remove it by unscrewing the 3 screws and rotating it open.
|
||||
|
||||
After completing these steps, the Live system should boot. You can observe the boot logs via UART0.
|
||||
|
||||
@@ -115,7 +115,7 @@ For detailed steps, refer to the `AXDL 工具使用指南.pdf` in the official S
|
||||
|
||||
The AXDL software (Windows only) is located in the `PC_Software` directory on the download site.
|
||||
|
||||
**Important Notes for M4N-Dock:**
|
||||
**Important Notes for M4C-Dock:**
|
||||
|
||||
- **The USB flashing port is the bottom `USB-A port` near the `HDMI` connector (Ethernet side). Use an `A-to-A` cable or `A-to-C` cable if your PC has a `Type-C port`.**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
**Taobao link: [Click to Buy](https://item.taobao.com/item.htm?spm=1619a.1.0.0.3f0865abb4Wq5c&id=744014549573&ns=1&abbucket=18#detail)**
|
||||
|
||||
The M4N-Dock is an edge computing box featuring hybrid-precision computing capabilities, developed by Sipeed and powered by AXERA's third-generation high-efficiency AI vision chip, the AX650N. It delivers an impressive 72 TOPS@INT4 or 18 TOPS@INT8 of built-in AI computing power, capable of running popular large-scale AI models.
|
||||
The M4C-Dock is an edge computing box featuring hybrid-precision computing capabilities, developed by Sipeed and powered by AXERA's third-generation high-efficiency AI vision chip, the AX650N. It delivers an impressive 72 TOPS@INT4 or 18 TOPS@INT8 of built-in AI computing power, capable of running popular large-scale AI models.
|
||||
|
||||
Equipped with an advanced ISP supporting 8K@30fps video processing and AXERA's proprietary AI-ISP technology for superior low-light night vision performance, it also integrates H.264/H.265 codecs capable of stable 8K@60fps decoding and 8K@30fps encoding. Real-world testing demonstrates reliable 32-channel 1080P@30fps decoding and 16-channel 1080P@30fps encoding.
|
||||
|
||||
@@ -38,7 +38,7 @@ Use a serial tool to view kernel logs or log in directly via terminal.
|
||||
|
||||
For SSH access, expand network connectivity via USB Ethernet/WiFi dongles.
|
||||
|
||||
Note: The system only has the root superuser, and SSH password login is disabled by default for security. For temporary access, refer to [here](../m4n/FAQ.md)。
|
||||
Note: The system only has the root superuser, and SSH password login is disabled by default for security. For temporary access, refer to [here](../m4c/FAQ.md)。
|
||||
|
||||
|
||||
## Interactive Image Segmentation & Inpainting
|
||||
@@ -1,21 +1,21 @@
|
||||
## Introduction
|
||||
|
||||
The M4N-Hat is a highly integrated AI computing module developed by Sipeed, featuring a compact design powered by AXERA's AX650N/C chip. As an embedded expansion module, it delivers 72 TOPS@INT4 (18 TOPS@INT8) computing power while retaining 8K video encoding/decoding capabilities, making it ideal for space-constrained edge computing applications.
|
||||
The M4C-Hat is a highly integrated AI computing module developed by Sipeed, featuring a compact design powered by AXERA's AX650N/C chip. As an embedded expansion module, it delivers 72 TOPS@INT4 (18 TOPS@INT8) computing power while retaining 8K video encoding/decoding capabilities, making it ideal for space-constrained edge computing applications.
|
||||
|
||||
This module supports plug-and-play compatibility with mainstream Raspberry Pi development boards and accelerates Transformer-based architectures. With its onboard 0.8mm 4-pin USB and Type-A USB SS 5Gbps interfaces, it enables quick expansion for peripherals like cameras and storage, making it perfect for smart cameras, industrial inspection, and other lightweight AI applications. The PCIE 2.0 expansion interface is fully compatible with Raspberry Pi 5, supporting multi-modal edge computing nodes and the deployment of quantized large models such as QWen 2.5, QWen 3, DeepSeek, and InternVL2.5.
|
||||
|
||||
## Showcase
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; width: 100%;">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07555.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07569.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07556.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/neofetch.jpg" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07555.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07569.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07556.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/neofetch.jpg" style="width: calc(50% - 5px);">
|
||||
</div>
|
||||
|
||||
## Interface Annotation Diagram
|
||||
|
||||

|
||||

|
||||
|
||||
## Key Specifications
|
||||
|
||||
@@ -35,8 +35,8 @@ This module supports plug-and-play compatibility with mainstream Raspberry Pi de
|
||||
|
||||
## Performance Benchmarks
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
| Models | RK3588@6T| Maix4@18T | Hailo8 26T | Hailo8 13T |
|
||||
|-------------|----------|------------|------------|------------|
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
After completing the following prerequisites for Raspberry Pi 5, running [the large language model DeepSeek-R1:1.5B](https://huggingface.co/AXERA-TECH/DeepSeek-R1-Distill-Qwen-1.5B-GPTQ-Int4)(Int4 Quantization for Model Parameters) achieves 13.69 tokens/s (performance for smaller models is limited by PCIe link bandwidth, showing a gap compared to the standalone board's 19 tokens/s),but RPI5 can only achieve 6.12 tokens/s. Watch the demo video:
|
||||
|
||||
<video controls autoplay src="../../../zh/maixIV/assets/m4nhat/PCIe/axcl-run-llm-on-raspi5-2025-08-19-3xspeedup.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
<video controls autoplay src="../../../zh/maixIV/assets/m4chat/PCIe/axcl-run-llm-on-raspi5-2025-08-19-3xspeedup.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
|
||||
## Preparation
|
||||
|
||||
@@ -15,11 +15,11 @@ After completing the following prerequisites for Raspberry Pi 5, running [the la
|
||||
|
||||
### Installation
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07559.JPG" style="width: 48%;">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07561.JPG" style="width: 48%;">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07559.JPG" style="width: 48%;">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07561.JPG" style="width: 48%;">
|
||||
</div>
|
||||
|
||||

|
||||

|
||||
|
||||
### Flashing the Maix4-HAT Slave System
|
||||
|
||||
@@ -27,7 +27,7 @@ After completing the following prerequisites for Raspberry Pi 5, running [the la
|
||||
|
||||
2.Powering the Raspberry Pi 5 and Maix4-HAT.
|
||||
|
||||
3.Refer to the [System Flashing Guide](../m4n/system-update.html#Booting-into-the-Live-System-(Manual-Intervention-Required)) and boot into the TFCard Live System。
|
||||
3.Refer to the [System Flashing Guide](../m4c/system-update.html#Booting-into-the-Live-System-(Manual-Intervention-Required)) and boot into the TFCard Live System。
|
||||
|
||||
4.Execute `dd if=/boot/spl_AX650_card_signed.bin of=/dev/mmcblk0 conv=fsync` to flash the slave system for supporting PCIe boot:
|
||||
```bash
|
||||
@@ -173,8 +173,8 @@ detection num: 7
|
||||
--------------------------------------
|
||||
```
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<img src="../assets/m4nhat/PCIe/football.jpg" style="width: 48%;">
|
||||
<img src="../assets/m4nhat/PCIe/yolo11_out.jpg" style="width: 48%;">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/PCIe/football.jpg" style="width: 48%;">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/PCIe/yolo11_out.jpg" style="width: 48%;">
|
||||
</div>
|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
@@ -405,7 +405,7 @@ The setting appears to be a bustling urban area, with a mix of historical and mo
|
||||
|
||||
prompt >>
|
||||
```
|
||||

|
||||

|
||||
|
||||
|
||||
### lcm-lora-sdv1-5
|
||||
@@ -495,7 +495,7 @@ vae decoder inference take 913.7ms
|
||||
grid image saved in ./lcm_lora_sdv1-5_imgGrid_output.png
|
||||
save image take 445.9ms
|
||||
```
|
||||

|
||||

|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
<canvas id="SDV1_5BarChart"></canvas>
|
||||
@@ -570,8 +570,8 @@ python infer.py --model depth_anything_v2_vits.axmodel --img examples/demo01.jpg
|
||||
# or
|
||||
python infer_onnx.py --model depth_anything_v2_vits.onnx --img examples/demo02.jpg
|
||||
```
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
<canvas id="Depth_Anything_V2BarChart"></canvas>
|
||||
@@ -911,4 +911,4 @@ reboot
|
||||
|
||||
- [RPi 5 AXCL Guide](https://axcl-pi5-examples-cn.readthedocs.io)
|
||||
|
||||
- Refer to [here](../m4n/axmodel-deploy.html) for detailed model development.
|
||||
- Refer to [here](../m4c/axmodel-deploy.html) for detailed model development.
|
||||
@@ -1,5 +1,5 @@
|
||||
## System Update
|
||||
For details, refer to the [Flashing OS Image](../m4n/system-update.html),The TFCard&eMMC image (Debian 12) is recommended.
|
||||
For details, refer to the [Flashing OS Image](../m4c/system-update.html),The TFCard&eMMC image (Debian 12) is recommended.
|
||||
|
||||
The following instructions are based on this image. If using a custom-built image, pay attention to operational details.
|
||||
|
||||
@@ -16,15 +16,15 @@ The following instructions are based on this image. If using a custom-built imag
|
||||
### Normal Boot
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; width: 100%;">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07545.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4nhat/DSC07546.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07545.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../../../zh/maixIV/assets/m4chat/DSC07546.JPG" style="width: calc(50% - 5px);">
|
||||
</div>
|
||||
|
||||
1. Login Interface
|
||||
|
||||
- Connect a display via mini HDMI and power on. The core board’s blue LED and Hat baseboard’s white LED should light up, indicating normal power supply.
|
||||
|
||||
- If the eMMC contains the default Raspberry Pi slave image, flash a new standalone image to the TF card and insert it into the M4N-Hat.
|
||||
- If the eMMC contains the default Raspberry Pi slave image, flash a new standalone image to the TF card and insert it into the M4C-Hat.
|
||||
|
||||
- Press and hold the `BOOT0` button, then press `RST`. After ~20 seconds, the LightDM login screen will appear, indicating a successful boot.
|
||||
|
||||
@@ -42,7 +42,7 @@ Use a serial tool to view kernel logs or log in directly via terminal.
|
||||
|
||||
For SSH access, expand network connectivity via USB Ethernet/WiFi dongles.
|
||||
|
||||
Note: The system only has the root superuser, and SSH password login is disabled by default for security. For temporary access, refer to [here](../m4n/FAQ.md)。
|
||||
Note: The system only has the root superuser, and SSH password login is disabled by default for security. For temporary access, refer to [here](../m4c/FAQ.md)。
|
||||
|
||||
|
||||
## LLM
|
||||
@@ -52,19 +52,19 @@ Note: The system only has the root superuser, and SSH password login is disabled
|
||||
Left: [DeepSeek-R1 1.5B](https://huggingface.co/AXERA-TECH/DeepSeek-R1-Distill-Qwen-1.5B)
|
||||
Right: [QWen3 0.6B](https://huggingface.co/AXERA-TECH/Qwen3-0.6B)
|
||||
|
||||
Deployment guide: [here](../m4n/axmodel-deploy.html#部署大语言、多模态模型)
|
||||
Deployment guide: [here](../m4c/axmodel-deploy.html#部署大语言、多模态模型)
|
||||
|
||||

|
||||

|
||||
|
||||
## VLM
|
||||
|
||||
### internVL3
|
||||
|
||||

|
||||

|
||||
|
||||
Demo video:
|
||||
|
||||
<video controls autoplay src="../../../zh/maixIV/assets/m4nhat/m4nhat-run-llm-internVL-2025-07-07.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
<video controls autoplay src="../../../zh/maixIV/assets/m4chat/m4chat-run-llm-internVL-2025-07-07.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
|
||||
## DepthAnything v2
|
||||
|
||||
@@ -78,9 +78,9 @@ Demo video:
|
||||
source ../venv-llm/bin/activate
|
||||
python python/infer.py --img examples/demo02.jpg --model depth_anything_v2_vits_ax650.axmodel
|
||||
```
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
## Interactive Image Segmentation & Inpainting
|
||||
@@ -109,35 +109,34 @@ items:
|
||||
file: maixIII/ax-pi/faq_axpi.md
|
||||
- label: Maix-IV
|
||||
items:
|
||||
- label: Maix M4N
|
||||
# file: maixIV/m4n/m4n.md
|
||||
- label: M4C SoM
|
||||
items:
|
||||
- label: Flashing OS Image
|
||||
file: maixIV/m4n/system-update.md
|
||||
file: maixIV/m4c/system-update.md
|
||||
- label: AI Models Deployment
|
||||
file: maixIV/m4n/axmodel-deploy.md
|
||||
file: maixIV/m4c/axmodel-deploy.md
|
||||
- label: FAQ
|
||||
file: maixIV/m4n/FAQ.md
|
||||
- label: Maix M4N-Dock
|
||||
file: maixIV/m4c/FAQ.md
|
||||
- label: M4 Dock Carrier Board
|
||||
items:
|
||||
- label: Intro
|
||||
file: maixIV/m4ndock/intro.md
|
||||
file: maixIV/m4cdock/intro.md
|
||||
- label: Flashing OS Image
|
||||
file: maixIV/m4n/system-update.md
|
||||
file: maixIV/m4c/system-update.md
|
||||
- label: Quick Start
|
||||
file: maixIV/m4ndock/quick-start.md
|
||||
file: maixIV/m4cdock/quick-start.md
|
||||
- label: FAQ
|
||||
file: maixIV/m4ndock/FAQ.md
|
||||
- label: Maix M4N-Hat
|
||||
file: maixIV/m4cdock/FAQ.md
|
||||
- label: M4 Hat Carrier Board
|
||||
items:
|
||||
- label: Intro
|
||||
file: maixIV/m4nhat/intro.md
|
||||
file: maixIV/m4chat/intro.md
|
||||
- label: Flashing OS Image
|
||||
file: maixIV/m4n/system-update.md
|
||||
file: maixIV/m4c/system-update.md
|
||||
- label: Quick Start
|
||||
file: maixIV/m4nhat/quick-start.md
|
||||
file: maixIV/m4chat/quick-start.md
|
||||
- label: RPI5 PCIe Card
|
||||
file: maixIV/m4nhat/pcie-slaveboard.md
|
||||
file: maixIV/m4chat/pcie-slaveboard.md
|
||||
- label: MaixCAM
|
||||
items:
|
||||
- label: MaixCAM
|
||||
|
||||
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 470 KiB |
|
Before Width: | Height: | Size: 488 KiB After Width: | Height: | Size: 488 KiB |
|
Before Width: | Height: | Size: 394 KiB After Width: | Height: | Size: 394 KiB |
|
Before Width: | Height: | Size: 408 KiB After Width: | Height: | Size: 408 KiB |
|
Before Width: | Height: | Size: 465 KiB After Width: | Height: | Size: 465 KiB |
|
Before Width: | Height: | Size: 418 KiB After Width: | Height: | Size: 418 KiB |
|
Before Width: | Height: | Size: 510 KiB After Width: | Height: | Size: 510 KiB |
|
Before Width: | Height: | Size: 576 KiB After Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 388 KiB After Width: | Height: | Size: 388 KiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 187 KiB |
|
Before Width: | Height: | Size: 301 KiB After Width: | Height: | Size: 301 KiB |
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
|
Before Width: | Height: | Size: 4.8 MiB After Width: | Height: | Size: 4.8 MiB |
|
Before Width: | Height: | Size: 317 KiB After Width: | Height: | Size: 317 KiB |
|
Before Width: | Height: | Size: 663 KiB After Width: | Height: | Size: 663 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 321 KiB After Width: | Height: | Size: 321 KiB |
|
Before Width: | Height: | Size: 589 KiB After Width: | Height: | Size: 589 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 204 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
@@ -73,4 +73,4 @@ ethaddr=d0:00:00:00:00:01
|
||||
eth1addr=d0:00:00:00:00:02
|
||||
```
|
||||
|
||||

|
||||

|
||||
@@ -1,4 +1,4 @@
|
||||
# M4N 部署 AI 模型
|
||||
# M4C 部署 AI 模型
|
||||
|
||||
---
|
||||
title: 外设使用
|
||||
@@ -1,4 +1,4 @@
|
||||
本指南详细介绍了 M4N-Dock 开发板的两种系统烧录方法:通过 TFCard 启动和烧录 eMMC,以及通过 AXDL 工具烧录。请根据您的需求选择合适的方法。
|
||||
本指南详细介绍了 M4C-Dock 开发板的两种系统烧录方法:通过 TFCard 启动和烧录 eMMC,以及通过 AXDL 工具烧录。请根据您的需求选择合适的方法。
|
||||
|
||||
|
||||
## 镜像文件说明
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
3. 按住 `BOOT` 按键不放,复位:1.重新上电 或 2.保持上电点按(按下再松开) `RST` 按键。
|
||||
|
||||
3.1. 如有外壳遮蔽(如 M4N-Dock),需要移除前面板,可拧下 3 颗螺丝然后旋转打开。
|
||||
3.1. 如有外壳遮蔽(如 M4C-Dock),需要移除前面板,可拧下 3 颗螺丝然后旋转打开。
|
||||
|
||||
执行完以上操作, Live 系统应已启动,可通过串口0看到系统启动的打印信息。
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
**置顶淘宝链接:[立即购买](https://item.taobao.com/item.htm?spm=1619a.1.0.0.3f0865abb4Wq5c&id=744014549573&ns=1&abbucket=18#detail)**
|
||||
|
||||
M4N-Dock 是 Sipeed 公司推出的端侧混合精度高算力边缘计算盒子,搭载爱芯元智第三代高能效比智能视觉芯片 AX650N,内置 AI 算力 72TOPS@INT4 或 18TOPS@INT8,可运行当前热门大模型。
|
||||
M4C-Dock 是 Sipeed 公司推出的端侧混合精度高算力边缘计算盒子,搭载爱芯元智第三代高能效比智能视觉芯片 AX650N,内置 AI 算力 72TOPS@INT4 或 18TOPS@INT8,可运行当前热门大模型。
|
||||
|
||||
内置ISP支持 8K@30fps,另有爱芯独家 AI ISP,可实现微光夜视。同时含有 H.264 和 H.265 编解码器,支持单路最大 8K@60fps 解码,8K@30ps 编码,实测可稳定 32 路 1080P@30fps 解码,16 路 1080P@30fps 编码。
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
## 简介
|
||||
|
||||
M4N-Hat 是 Sipeed 公司推出的高集成度 AI 计算模组,采用爱芯元智 AX650N/C 芯片的紧凑型解决方案。作为嵌入式设备扩展模块,在提供 72TOPS@INT4(18TOPS@INT8) 算力的同时,保留与 M4N-Dock 同源的 8K 编解码能力,专为空间受限的边缘计算场景设计。
|
||||
M4C-Hat 是 Sipeed 公司推出的高集成度 AI 计算模组,采用爱芯元智 AX650N/C 芯片的紧凑型解决方案。作为嵌入式设备扩展模块,在提供 72TOPS@INT4(18TOPS@INT8) 算力的同时,保留与 M4C-Dock 同源的 8K 编解码能力,专为空间受限的边缘计算场景设计。
|
||||
|
||||
本模组支持主流树莓派系列开发板即插即用,并支持 Transformer 架构加速。通过板载 0.8mm 4Pin USB 和 Type-A USB SS 5Gbps 接口,可快速扩展摄像头、存储等外设,是智能摄像头、工业质检等轻量级AI应用的理想选择。PCIE2.0 扩展接口完美适配树莓派5,支持构建多模态边缘计算节点,支持 QWen 2.5、QWen 3、DeepSeek、InternVL2.5 等大模型的量化部署。
|
||||
|
||||
## 图片展示
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; width: 100%;">
|
||||
<img src="../assets/m4nhat/DSC07555.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4nhat/DSC07569.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4nhat/DSC07556.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4nhat/neofetch.jpg" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/DSC07555.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/DSC07569.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/DSC07556.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/neofetch.jpg" style="width: calc(50% - 5px);">
|
||||
</div>
|
||||
|
||||
## 接口标注
|
||||
|
||||

|
||||

|
||||
|
||||
## 功能参数
|
||||
|
||||
@@ -33,8 +33,8 @@ M4N-Hat 是 Sipeed 公司推出的高集成度 AI 计算模组,采用爱芯元
|
||||
| USB扩展 | 1x Type-A USB SS 5Gbps + 1x Type-C USB HS 480Mbps |
|
||||
| 外部连接 | 1x 1.25mm 2p 外接扬声器 + 1x 1.25mm 2p 外接风扇 + 1x 10p fpc 外接 SPI 屏幕 + 1x 6p fpc 外接 I2C 触摸 |
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
| Models | RK3588@6T| Maix4@18T | Hailo8 26T | Hailo8 13T |
|
||||
|-------------|----------|------------|------------|------------|
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
## 结果演示
|
||||
树莓派 5 以下前置准备工作完成后,演示运行[大模型 DeepSeek-R1:1.5B](https://huggingface.co/AXERA-TECH/DeepSeek-R1-Distill-Qwen-1.5B-GPTQ-Int4) (Int4 参数量化),性能达 13.69 tokens/s(较小参数量模型性能受限于 PCIe 链接,对比单板直接运行结果 19 tokens/s 差距会稍大),对比树莓派 5 仅 6.12 tokens/s。见以下视频:
|
||||
<video controls autoplay src="../assets/m4nhat/PCIe/axcl-run-llm-on-raspi5-2025-08-19-3xspeedup.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
<video controls autoplay src="../assets/m4chat/PCIe/axcl-run-llm-on-raspi5-2025-08-19-3xspeedup.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
|
||||
## 前置准备
|
||||
|
||||
@@ -13,18 +13,18 @@
|
||||
|
||||
### 安装
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<img src="../assets/m4nhat/DSC07559.JPG" style="width: 48%;">
|
||||
<img src="../assets/m4nhat/DSC07561.JPG" style="width: 48%;">
|
||||
<img src="../assets/m4chat/DSC07559.JPG" style="width: 48%;">
|
||||
<img src="../assets/m4chat/DSC07561.JPG" style="width: 48%;">
|
||||
</div>
|
||||
|
||||

|
||||

|
||||
|
||||
### Maix4-HAT 烧录从机系统
|
||||
1.使用 fpc 排线连接 Maix4-HAT 和 树莓派 5 的 PCIe 座子,并确认固定完毕。
|
||||
|
||||
2.上电树莓派给 Maix4-HAT 供电。
|
||||
|
||||
3.参考 [System Flashing Guide](../m4n_c-SoM/system-update.html#启动-Live-系统(需手动按键操作)) 进入 TFCard Live 系统。
|
||||
3.参考 [System Flashing Guide](../m4c-SoM/system-update.html#启动-Live-系统(需手动按键操作)) 进入 TFCard Live 系统。
|
||||
|
||||
4.执行 `dd if=/boot/spl_AX650_card_signed.bin of=/dev/mmcblk0 conv=fsync` 烧录从机系统以支持通过 PCIe 启动:
|
||||
```bash
|
||||
@@ -170,8 +170,8 @@ detection num: 7
|
||||
--------------------------------------
|
||||
```
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<img src="../assets/m4nhat/PCIe/football.jpg" style="width: 48%;">
|
||||
<img src="../assets/m4nhat/PCIe/yolo11_out.jpg" style="width: 48%;">
|
||||
<img src="../assets/m4chat/PCIe/football.jpg" style="width: 48%;">
|
||||
<img src="../assets/m4chat/PCIe/yolo11_out.jpg" style="width: 48%;">
|
||||
</div>
|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
@@ -402,7 +402,7 @@ The setting appears to be a bustling urban area, with a mix of historical and mo
|
||||
|
||||
prompt >>
|
||||
```
|
||||

|
||||

|
||||
|
||||
|
||||
### lcm-lora-sdv1-5
|
||||
@@ -492,7 +492,7 @@ vae decoder inference take 913.7ms
|
||||
grid image saved in ./lcm_lora_sdv1-5_imgGrid_output.png
|
||||
save image take 445.9ms
|
||||
```
|
||||

|
||||

|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
<canvas id="SDV1_5BarChart"></canvas>
|
||||
@@ -567,8 +567,8 @@ python infer.py --model depth_anything_v2_vits.axmodel --img examples/demo01.jpg
|
||||
# or
|
||||
python infer_onnx.py --model depth_anything_v2_vits.onnx --img examples/demo02.jpg
|
||||
```
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
<div style="width: 80%; margin: 0 auto;">
|
||||
<canvas id="Depth_Anything_V2BarChart"></canvas>
|
||||
@@ -905,4 +905,4 @@ rpi-sipeed login:
|
||||
|
||||
**另有 [树莓派5 AXCL专项页面](https://axcl-pi5-examples-cn.readthedocs.io)。**
|
||||
|
||||
可于 [文中](../m4n_c-SoM/axmodel-deploy.html) 介绍到的大模型仓库下载各种已被支持的大模型,并在树莓派上部署运行。
|
||||
可于 [文中](../m4c-SoM/axmodel-deploy.html) 介绍到的大模型仓库下载各种已被支持的大模型,并在树莓派上部署运行。
|
||||
@@ -1,5 +1,5 @@
|
||||
## 系统烧录
|
||||
详情见 [系统烧录指南](../m4n/system-update.html),请优先考虑 TFCard&eMMC 镜像(Debian 12 系统)。
|
||||
详情见 [系统烧录指南](../m4c/system-update.html),请优先考虑 TFCard&eMMC 镜像(Debian 12 系统)。
|
||||
|
||||
以下基于该镜像展开介绍,若使用自行编译的镜像,请多加注意细节对比。
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
### 正常开机
|
||||
|
||||
1. 登录界面
|
||||
通过 mini HDMI 连接显示器并接入供电,此时核心板应亮起蓝灯,Hat 底板亮起白灯,表明供电正常。如果 eMMC 为默认供树莓派启动的从机镜像,请注意烧录独立新镜像到 TF 卡并插入 M4N-Hat。再保持 `BOOT0` 键按下时点按 `RST`,等待片刻约 20 多秒后显示器屏幕将会如下显示 LightDM 登录界面,表示系统启动成功。
|
||||
通过 mini HDMI 连接显示器并接入供电,此时核心板应亮起蓝灯,Hat 底板亮起白灯,表明供电正常。如果 eMMC 为默认供树莓派启动的从机镜像,请注意烧录独立新镜像到 TF 卡并插入 M4C-Hat。再保持 `BOOT0` 键按下时点按 `RST`,等待片刻约 20 多秒后显示器屏幕将会如下显示 LightDM 登录界面,表示系统启动成功。
|
||||
|
||||
2. 系统桌面
|
||||
板载 USB-A 口连接鼠标、键盘,方便后续系统操作和输入。登录界面等待输入用户名和密码,默认都为 root,确认登录即可进入 XFCE4 桌面系统。
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 10px; width: 100%;">
|
||||
<img src="../assets/m4nhat/DSC07545.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4nhat/DSC07546.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/DSC07545.JPG" style="width: calc(50% - 5px);">
|
||||
<img src="../assets/m4chat/DSC07546.JPG" style="width: calc(50% - 5px);">
|
||||
</div>
|
||||
|
||||
### 串口和SSH登录(进阶)
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
注意:本系统仅内置 root 超级用户,且考虑到安全性并未开启超级用户 SSH 密码登录。
|
||||
|
||||
若临时有该需求请参阅[这里](../m4n/FAQ.md)。
|
||||
若临时有该需求请参阅[这里](../m4c/FAQ.md)。
|
||||
|
||||
|
||||
## LLM
|
||||
@@ -42,18 +42,18 @@
|
||||
左侧:[DeepSeek-R1 1.5B](https://huggingface.co/AXERA-TECH/DeepSeek-R1-Distill-Qwen-1.5B)
|
||||
右侧:[QWen3 0.6B](https://huggingface.co/AXERA-TECH/Qwen3-0.6B)
|
||||
|
||||
部署参考[此处](../m4n/axmodel-deploy.html#部署大语言、多模态模型)
|
||||
部署参考[此处](../m4c/axmodel-deploy.html#部署大语言、多模态模型)
|
||||
|
||||

|
||||

|
||||
|
||||
## VLM
|
||||
|
||||
### internVL3
|
||||
|
||||

|
||||

|
||||
|
||||
操作过程如下视频:
|
||||
<video controls autoplay src="../assets/m4nhat/m4nhat-run-llm-internVL-2025-07-07.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
<video controls autoplay src="../assets/m4chat/m4nhat-run-llm-internVL-2025-07-07.mp4" type="video/mp4"> Your browser does not support video playback. </video>
|
||||
|
||||
## DepthAnything v2
|
||||
下载[axcl npu python 库](https://github.com/AXERA-TECH/pyaxengine/releases)后,`pip install axengine-x.y.z-py3-none-any.whl` 进行安装。
|
||||
@@ -62,9 +62,9 @@
|
||||
source ../venv-llm/bin/activate
|
||||
python python/infer.py --img examples/demo02.jpg --model depth_anything_v2_vits_ax650.axmodel
|
||||
```
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
## 交互式图像分割和修复(Segment and Inpaint Anything)
|
||||
@@ -111,34 +111,34 @@ items:
|
||||
file: maixIII/ax-pi/faq_axpi.md
|
||||
- label: Maix-IV
|
||||
items:
|
||||
- label: M4N & M4C SoM
|
||||
- label: M4C SoM
|
||||
items:
|
||||
- label: 系统烧录指南
|
||||
file: maixIV/m4n_c-SoM/system-update.md
|
||||
file: maixIV/m4c-SoM/system-update.md
|
||||
- label: AI 模型部署
|
||||
file: maixIV/m4n_c-SoM/axmodel-deploy.md
|
||||
file: maixIV/m4c-SoM/axmodel-deploy.md
|
||||
- label: FAQ
|
||||
file: maixIV/m4n_c-SoM/FAQ.md
|
||||
file: maixIV/m4c-SoM/FAQ.md
|
||||
- label: M4 Dock Carrier Board
|
||||
items:
|
||||
- label: 产品介绍
|
||||
file: maixIV/m4ndock/intro.md
|
||||
file: maixIV/m4cdock/intro.md
|
||||
- label: 系统烧录指南
|
||||
file: maixIV/m4n_c-SoM/system-update.md
|
||||
file: maixIV/m4c-SoM/system-update.md
|
||||
- label: 产品上手指南
|
||||
file: maixIV/m4ndock/quick-start.md
|
||||
file: maixIV/m4cdock/quick-start.md
|
||||
- label: FAQ
|
||||
file: maixIV/m4ndock/FAQ.md
|
||||
file: maixIV/m4cdock/FAQ.md
|
||||
- label: M4 Hat Carrier Board
|
||||
items:
|
||||
- label: 产品介绍
|
||||
file: maixIV/m4nhat/intro.md
|
||||
file: maixIV/m4chat/intro.md
|
||||
- label: 系统烧录指南
|
||||
file: maixIV/m4n_c-SoM/system-update.md
|
||||
file: maixIV/m4c-SoM/system-update.md
|
||||
- label: 产品上手指南
|
||||
file: maixIV/m4nhat/quick-start.md
|
||||
file: maixIV/m4chat/quick-start.md
|
||||
- label: 树莓派5 PCIe 加速指南
|
||||
file: maixIV/m4nhat/pcie-slaveboard.md
|
||||
file: maixIV/m4chat/pcie-slaveboard.md
|
||||
- label: MaixCAM
|
||||
items:
|
||||
- label: MaixCAM 介绍和资料
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
btns: [
|
||||
{
|
||||
label: "{{_('文档')}}",
|
||||
link: "/m4ndock",
|
||||
link: "/m4cdock",
|
||||
},
|
||||
{
|
||||
label: "{{_('购买')}}",
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
switch (window.location.hash) {
|
||||
case "#c8" :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4ndock/intro.html"
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4cdock/intro.html"
|
||||
break;
|
||||
default :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4ndock/intro.html"
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4cdock/intro.html"
|
||||
}
|
||||
</script>
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
switch (window.location.hash) {
|
||||
case "#c8" :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4nhat/intro.html"
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4chat/intro.html"
|
||||
break;
|
||||
default :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4nhat/intro.html"
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIV/m4chat/intro.html"
|
||||
}
|
||||
</script>
|
||||