forked from metax-maca/op_optimization
<docs>(flashinfer): gitlink显示格式调整
This commit is contained in:
parent
dc8b7ba029
commit
a5cbd78004
|
|
@ -317,7 +317,7 @@ pip install pandas
|
|||
|
||||
2. 准备 benchmark
|
||||
|
||||
从克隆到本地的代码仓库中复制 flashinfer_task_package 文件夹到工作目录 `data/` 下:
|
||||
从克隆到本地的代码仓库中复制 `flashinfer_task_package` 文件夹到工作目录 `data/` 下:
|
||||
|
||||
```bash
|
||||
cp -r ./op_optimization/基于AI\ Agent开发范式的国产GPU大模型推理算子库优化/operator_task_package/flashinfer_task_package/ .
|
||||
|
|
@ -615,7 +615,7 @@ FlashInfer 方向包含 **4 个可选算子题目**,每个对应独立的 benc
|
|||
|
||||

|
||||
|
||||
3. 找到对应题目,例如 `20001 FlashInfer Ragged Prefill`;
|
||||
3. 找到对应题目,例如 **20001 FlashInfer Ragged Prefill**;
|
||||
|
||||

|
||||
|
||||
|
|
@ -647,7 +647,7 @@ FlashInfer 方向包含 **4 个可选算子题目**,每个对应独立的 benc
|
|||
|
||||
- 本赛题鼓励参赛者使用 AI Agent 辅助完成代码阅读、接口理解、初版实现、错误定位和性能优化。
|
||||
|
||||
将 Agent 的工作目录切换到 flashinfer_task_package
|
||||
将镜像终端的工作目录切换到 `flashinfer_task_package`,然后在命令行启动 OpenCode
|
||||
``` bash
|
||||
cd /data/flashinfer_task_package
|
||||
opencode
|
||||
|
|
@ -847,6 +847,7 @@ FlashInfer 方向包含 **4 个可选算子题目**,每个对应独立的 benc
|
|||
15. All kernel pointers `__restrict__`. warp_sum in namespace. Only code output — no markdown.
|
||||
|
||||
**Common errors**: (1) `-INFINITY` for m → NaN; use `-1.0e20f`. (2) Missing alpha guard → exp(1e20) overflow. (3) K/V ptr uses 32 instead of 4 → wrong stride (4096 vs 512). (4) Output ptr uses kv_head instead of qo_head → 8 heads write to same location. (5) `sum/t` divides by zero at t=0; use `sum/(t+1)`. (6) Signed `0xffffffff` mask → UB; use `0xffffffffu`.
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue