<docs>(flashinfer): gitlink显示格式调整

This commit is contained in:
MaseChen 2026-06-25 13:58:21 +08:00
parent dc8b7ba029
commit a5cbd78004
1 changed files with 4 additions and 3 deletions

View File

@ -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
![OJ-2](https://origin.picgo.net/2026/06/16/image-20260616152953345986ce39fda69da55.png)
3. 找到对应题目,例如 `20001 FlashInfer Ragged Prefill`
3. 找到对应题目,例如 **20001 FlashInfer Ragged Prefill**
![OJ-3](https://origin.picgo.net/2026/06/16/image-202606161531423833b0f0428edf2e35e.png)
@ -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`.
```