flashinfer-ai/flashinfer

[Compilation] GDN decode cold kernel compilation time is too long on SM90/100/120/121

开放

#4,110 创建于 2026年7月23日

 (12 条评论) (0 个反应) (1 位负责人)Python (1,031 个派生)github user discovery
good first issueop: gdn

仓库指标

星标
 (5,756 个星标)
PR 合并指标
 (平均合并 11天 23小时) (30 天内合并 186 个 PR)

描述

Noticed by @bkryu : "In our recent CI telemetry, we have been seeing that tests/gdn/test_decode_delta_rule.py runs very long (30-50 mins on every arch) and has been straining our CI.

TL;DR of the cause: the reference and kernels are all fine. Most time is spent on cold kernel compilation. On a B200 I locally see ~800 cases that collapses to ~200 cute.compile calls based on the cache key logic.

For some kernels, B/tile_v/T/cache flags/pool-strides each key a new compile. Would be great if we can make the kernels batch and/or seqlen dynamic to systematically reduce unit testing time."

贡献者指南