We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a722b commit 69af4ddCopy full SHA for 69af4dd
doc/zh/DeepseekR1_tutorial_zh_for_Ascend_NPU.md
@@ -112,8 +112,11 @@ export TASK_QUEUE_ENABLE=0 # 保证算子下发顺序有序
112
cd ktransformers
113
git submodule update --init --recursive
114
```
115
-- 对于arm平台,注释掉`./third_party/llamafile/iqk_mul_mat_arm82.cpp`中的`#define iqk_mul_mat iqk_mul_mat_arm82 #define iqk_mul_mat_moe iqk_mul_mat_moe_arm82`这两行
116
-
+- 对于arm平台,注释掉`./third_party/llamafile/iqk_mul_mat_arm82.cpp`中的
+ ```cpp
117
+ #define iqk_mul_mat iqk_mul_mat_arm82
118
+ #define iqk_mul_mat_moe iqk_mul_mat_moe_arm82
119
+ ```
120
- 执行`source /usr/local/Ascend/ascend-toolkit/set_env.sh`(以实际CANN-TOOLKIT安装路径为准)。
121
- 执行`apt install cmake libhwloc-dev pkg-config`安装依赖。
122
- 修改项目目录下 /ktransformers/config/config.yaml 中attn部分的page_size: 128 chunk_size: 16384
0 commit comments