You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below example shows how to deploy WeNet offline and online ASR models on XPUs.
4
+
XPU is a core architecture 100% independently developed by KUNLUNXIN for general artificial intelligence computing.
5
+
6
+
## Setup environment for XPU device
7
+
8
+
Before the start, makesure you have these necessary environment
9
+
10
+
XRE(XPU Runtime Environment):The basic operating environment of the XPUs
11
+
includes functional modules such as chip drivers, runtime api library, and firmware tools.
12
+
13
+
XDNN(XPU Deep Neural Network Library): XPU library for accelerating deep neural networks, providing high-performance DNN function library used in applications.
14
+
15
+
If you would like to know more about XPUs or need any help, please contact us through the official website:
16
+
17
+
https://www.kunlunxin.com.cn/
18
+
19
+
## Instruction
20
+
- Step 1. Build, the build requires cmake 3.14 or above.
21
+
22
+
```sh
23
+
export CXX=${your_g++_path}
24
+
export CC=${your_gcc_path}
25
+
export XPU_API_PATH=${your_api_path}
26
+
27
+
# -r : release version; -d : debug version
28
+
bash ./compile.sh -r
29
+
```
30
+
31
+
- Step 2. Testing, the result is shown in the console.
0 commit comments