From 21e0bd30cca457926eacbaf01aa712a02f82dced Mon Sep 17 00:00:00 2001 From: MaseChen <93691652+MaseChen@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:22:51 +0800 Subject: [PATCH] =?UTF-8?q?(flashinfer):=20=E9=99=84=E5=BD=95?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E9=93=BE=E6=8E=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...enchmark实战:从性能基线到XPU-OJ冒烟提交.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/基于AI Agent开发范式的国产GPU大模型推理算子库优化/FlashInfer Benchmark实战:从性能基线到XPU-OJ冒烟提交.md b/基于AI Agent开发范式的国产GPU大模型推理算子库优化/FlashInfer Benchmark实战:从性能基线到XPU-OJ冒烟提交.md index f9781a6..a7db9db 100644 --- a/基于AI Agent开发范式的国产GPU大模型推理算子库优化/FlashInfer Benchmark实战:从性能基线到XPU-OJ冒烟提交.md +++ b/基于AI Agent开发范式的国产GPU大模型推理算子库优化/FlashInfer Benchmark实战:从性能基线到XPU-OJ冒烟提交.md @@ -1270,11 +1270,11 @@ Before output, confirm ALL items. Any failure = 0 points. **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`. ``` -[回退到 Step 8](#step%208提交%20oj%20冒烟代码) +[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码) ### 20001 FlashInfer Ragged Prefill 参考冒烟代码 -[回退到 Step 8](#step%208提交%20oj%20冒烟代码) +[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码) ```cpp #include @@ -1460,4 +1460,4 @@ extern "C" void run_kernel( } ``` -[回退到 Step 8](#step%208提交%20oj%20冒烟代码) \ No newline at end of file +[*回退到 Step 8*](#step%208提交%20oj%20冒烟代码) \ No newline at end of file