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