FlashInfer: Kernel Library for LLM Serving
This report summarizes scanner evidence for flashinfer-ai/flashinfer, a Cuda project with 6,586 GitHub stars. SynthScan examined 3,497,390 lines of code across 4895 source files, recording 38309 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 19.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 19192 finding(s).
Are imports declared and package/API names verified? 6932 finding(s).
Are wrappers, guards, and repeated structures necessary? 26384 finding(s).
Which changes need focused human review? 38309 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 38309 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | build_backend.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_dsa_indexer.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_kimi_k3_fp8_projection.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_nvfp4_sparse_mla_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_mla_varq_dcp_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_kimi_k3_attn_res.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_nvfp4_mla_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_balanced_gqa_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_nvfp4_attention.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_sm110_gqa_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_kimi_k3_latent_moe.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_dsa_train.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_sm110_gqa_decode_prepared.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_lm_head_loss.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_vsa_sm90.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_experimental_api.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_msa_nvfp4_decode.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_kimi_k3_fused_router.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_kimi_k3_vision_tower.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | …/experimental/test_cake_minimax_h3_varlen_attention.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_mxfp8_megamoe_ep16.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/experimental/test_cake_moe_grouped_gemm.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_nvfp4_attention_sm120.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_mla_auto_backend.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_lse_base.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | …tention/test_cake_sage_block_sparse_attention_sm100.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_bidirectional_ranges_attention.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_workspace_size.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_auto_backend_upgrade.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_cake_vsa.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/attention/test_cake_vsa_planning.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/trace/test_b12x_moe_trace.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe_ep/test_sm90_push_fp8_gemm.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/mamba/test_cake_ssd_combined.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/mamba/test_cake_ssd_combined_capture.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/comm/test_mixed_comm_checkpoint.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/comm/test_pcie_ipc_all_reduce.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/comm/test_ulysses_head_chunk.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/utils/test_collect_env.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/utils/test_gen_module_symlink_race_condition.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/utils/test_sampling_seed_offset.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/utils/test_cake_sampling_upstream.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/utils/test_gated_act_mxfp8.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/gemm/test_cake_mm_fp4.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/gemm/test_group_gemm_fp4.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/quantization/test_cake_nvfp4_quantize.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/gdn/test_replayssm_spec_fold.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/jit/test_bgmv_moe_jit.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/jit/test_aot_sm103_modules.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/jit/test_cutlass_fused_moe_aot.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/jit/test_cake_bgmv_moe_jit.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/jit/test_blackwell_msa_jit.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_trtllm_moe_valid_dims.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_b12x_w4a16_ep.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_cake_bgmv_moe.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_b12x_fused_moe.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_unified_moe_mxfp4.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_hash_topk.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_alphamoe_fused_router.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| HIGH | tests/moe/test_trtllm_gen_moe_autotune_tactics.py | 0 | \ /* * copyright (c) 2026, nvidia corporation. all rights reserved. * * licensed under the apache license, version 2.0 ( | STRING |
| 4764 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | csrc/fused_moe/monomoe/src/ptx_utils.h | 14 | // ── cp.async scalar helpers (sm_80+) ────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/ptx_utils.h | 35 | // ── Hopper WGMMA (sm_90a) helpers ───────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/ptx_utils.h | 148 | // ── Hopper mbarrier helpers (sm_90a) ────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/ptx_utils.h | 309 | // ── Hopper TMA bulk-tensor copy (sm_90a) ────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_tma.h | 214 | // ─── Device-side TMA load helpers ──────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_tma.h | 437 | // ─── Down-projection (Phase 4) TMA load helpers ────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_interface.h | 40 | // ── Single fixed-shape Dims (E=256, N=512, K=2048 block-wise FP8) ───────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 24 | // ── KernelConfig opt-in detection ─────────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 257 | // ── Sentinel-based Phase 3 → 4 handoff state (tail fields) ──────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 285 | // ── Phase 4 → 5 readiness flags (replaces the site-#3 barrier) ──────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 285 | // ── Phase 4 → 5 readiness flags (replaces the site-#3 barrier) ──────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 306 | // ── Sentinel handoff helpers (Phase 3 → 4) ──────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 409 | // ── WGMMA tile geometry ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 427 | // ── Down-proj outer K-step (K_STEP_DOWN tunable) ────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 437 | // ── Down-proj TMA pipeline depth (DOWN_PIPE_DEPTH tunable) ──────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 451 | // ── Up-proj outer K-step (K_STEP_UP tunable) ────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 462 | // ── Up-proj weight-TMA lookahead (UP_W_SLOTS tunable) ───────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 483 | // ── Up-proj col-halves (M-axis 128-row atoms per block) ─────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 501 | // ── Down-projection grid layout ─────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 665 | // ── mbarriers (16-B alignment required by SM90 mbarrier PTX) ───── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 678 | // ── Phase 3 → Phase 4 (expert, token) reorganization tables ────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 730 | // ── Common fields ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | csrc/fused_moe/monomoe/src/moe_internal.h | 781 | // ── Warp identity helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/test_minimax_h3_mxfp8.py | 244 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_minimax_h3_mxfp8.py | 246 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_minimax_h3_nvfp4.py | 296 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_minimax_h3_nvfp4.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_minimax_h3_qkv_quantize_pack.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_minimax_h3_qkv_quantize_pack.py | 67 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_minimax_h3_qkv_quantize_pack.py | 163 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_minimax_h3_qkv_quantize_pack.py | 165 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/kda/test_kda_output_only.py | 493 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/kda/test_kda_output_only.py | 495 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 752 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 754 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1468 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1470 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1589 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1591 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1655 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1657 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1687 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 1689 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2109 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2111 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2155 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2157 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2227 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2229 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2287 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2289 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2457 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2459 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2468 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2470 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2540 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/kda/test_recurrent_kda.py | 2542 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | tests/kda/test_recurrent_kda.py | 43 | # ============================================================================== | COMMENT |
| MEDIUM | tests/kda/test_recurrent_kda.py | 45 | # ============================================================================== | COMMENT |
| MEDIUM | tests/kda/test_recurrent_kda.py | 113 | # ============================================================================== | COMMENT |
| 5595 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | build_backend.py | 1153 | def get_requires_for_build_wheel(config_settings=None): | CODE |
| LOW⚡ | build_backend.py | 1158 | def get_requires_for_build_sdist(config_settings=None): | CODE |
| LOW⚡ | build_backend.py | 1163 | def get_requires_for_build_editable(config_settings=None): | CODE |
| LOW⚡ | build_backend.py | 1168 | def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None): | CODE |
| LOW⚡ | build_backend.py | 1173 | def prepare_metadata_for_build_editable(metadata_directory, config_settings=None): | CODE |
| LOW | build_backend.py | 359 | def _synthesize_nccl_builddir(build: Path) -> None: | CODE |
| LOW | build_backend.py | 417 | def _check_nccl_version_drift(wheel: Path) -> None: | CODE |
| LOW | build_backend.py | 698 | def _install_nvep_runtime_wheels(built_nixl: bool) -> None: | CODE |
| LOW | build_backend.py | 792 | def _system_cuda_tile_compiler_available() -> bool: | CODE |
| LOW | build_backend.py | 801 | def _install_cuda_tile_compile_deps() -> None: | CODE |
| LOW | build_utils.py | 43 | def get_dependency_requirements( | CODE |
| LOW⚡ | build_utils.py | 69 | def get_build_dependency_requirements( | CODE |
| LOW⚡ | build_utils.py | 76 | def get_cuda_extra_dependency_requirements( | CODE |
| LOW⚡ | build_utils.py | 83 | def get_ci_image_dependency_requirements( | CODE |
| LOW⚡ | build_utils.py | 90 | def get_cuda_tile_compile_dependency_requirements() -> list[str]: | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 112 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_7f291b75fc80b9a071f0_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_6cfe5b1f49445aeb8696_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_0d3d1450452b45b8c833_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_e08d1d673c6646be544d_kernel.py | 113 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_7dccce76ace7a05df2b3_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_72ece5210802b11d0db8_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_96ae6baf9f1ce5c68f64_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_5e57c8286981e3b9b414_kernel.py | 112 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_b7aedaabbebd7af0495a_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_0888b2ad92e1a620131a_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_420577304e5b3471f743_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_335a69c359d728d6af44_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_63abec40d9d3c5d4938d_kernel.py | 112 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_b3ce0d3341158795cdc2_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_a5525fc77d36e6af0c95_kernel.py | 113 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_172cacdf988f22944dc2_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_8620631fd416b458d166_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_3c697485ac8a3394f2e2_kernel.py | 116 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_394ae8bc3951d3e66cbe_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_ff45ab57e3db34e1cda4_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_18b1f0ff11480b38b2df_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_26453ed3ca0313104c61_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_4c4ded85112c2ae18068_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_b5fd05ebbb6897d40909_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_90b3ce0b48c78aadf332_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_4c432e76a8546fd1e754_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_d4e456c26269c9634d1b_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_bcf47b55163b9faca2df_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_ae801cbb2b9a5b773ba4_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_5f13d763df1e76b40af9_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_652e013e44ce09397cc7_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_1f2050097a8b81a95b1f_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_74f85ada980f4396e364_kernel.py | 112 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_48a8beddc50f3585743e_kernel.py | 102 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | …03a/cake_mxfp4_situ_moe_b3397620198e1f92789c_kernel.py | 109 | def _cake_launch_cluster_spread(kernel_launcher, **kwargs): | CODE |
| LOW | docker/test_ci_image.py | 72 | def _validate_cuda_tile_compiler( | CODE |
| LOW | docker/test_ci_image.py | 139 | def _validate_cuda_tile_for_runtime( | CODE |
| LOW | docker/test_ci_image.py | 147 | def _validate_cuda_runtime_distributions( | CODE |
| LOW | flashinfer-cubin/build_backend.py | 110 | def get_requires_for_build_wheel(config_settings=None): | CODE |
| LOW | flashinfer-cubin/build_backend.py | 118 | def get_requires_for_build_editable(config_settings=None): | CODE |
| LOW | ci/validate_cuda_versions.py | 80 | def build_jit_cache_provider_matrix(config: dict[str, Any]) -> list[dict[str, str]]: | CODE |
| LOW | ci/validate_cuda_versions.py | 99 | def build_jit_cache_shim_matrix(config: dict[str, Any]) -> list[dict[str, str]]: | CODE |
| 13284 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 23 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 27 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 34 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 42 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 43 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 23 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 27 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 34 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 42 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 43 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 23 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 27 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 34 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 42 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 43 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 34 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 42 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 43 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 23 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 27 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 34 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 42 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 43 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 18 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 26 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 30 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 31 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 32 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 33 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 34 | CODE | |
| 6725 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_backend.py | 556 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 112 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_273def40246d5afa1a88_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_636d7842ea994e777f9a_kernel.py | 127 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbb779f90aa8d79d2bd3_kernel.py | 112 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_7f291b75fc80b9a071f0_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6cfe5b1f49445aeb8696_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_8d8cc3ba9be7f1289c42_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_0d3d1450452b45b8c833_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_3bf630a285d8c472322a_kernel.py | 109 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_e08d1d673c6646be544d_kernel.py | 128 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_7dccce76ace7a05df2b3_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_cbecac4b68e04db75fc5_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_47f1e2df2cedfd36e9f9_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_72ece5210802b11d0db8_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_53ac52d16cb499ebf2d0_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_066b521eaa2bc452965f_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_a8feec497e1f6c708202_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_d4eee9dcefe1606b0a09_kernel.py | 103 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6e331f731ce37a7118af_kernel.py | 109 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_96ae6baf9f1ce5c68f64_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_4c6e3ca17f6f1d2dde40_kernel.py | 112 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_5e57c8286981e3b9b414_kernel.py | 127 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_fe500433242ee8099055_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_2eadcb42d9080b1e7367_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_e76fd2975e732d448c05_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_b7aedaabbebd7af0495a_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_6a671ba07a86320dc21c_kernel.py | 109 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_4ef6547ae6f36697e657_kernel.py | 112 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_0888b2ad92e1a620131a_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_ec004a67ba58a2b2cdfb_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_420577304e5b3471f743_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_335a69c359d728d6af44_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_63abec40d9d3c5d4938d_kernel.py | 127 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_bae0ebdbe0d16b41f2df_kernel.py | 103 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_a8065acfe85304720703_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_b3ce0d3341158795cdc2_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_a5525fc77d36e6af0c95_kernel.py | 128 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_691dbc0c459ce444c506_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_51bf8596d88c9a466338_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_f80bd81a91f63f45931f_kernel.py | 109 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_a264b052435345c4e167_kernel.py | 112 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_0aacd570decd7c7afb3c_kernel.py | 109 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_172cacdf988f22944dc2_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_8620631fd416b458d166_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_5a776154a02b863cf8be_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_3c697485ac8a3394f2e2_kernel.py | 131 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_607f85ee269af2314ed1_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_394ae8bc3951d3e66cbe_kernel.py | 117 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_ff45ab57e3db34e1cda4_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_b5bf97b3c957dde50fc4_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_e92d7de3ac82b5fae8e7_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_18b1f0ff11480b38b2df_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_0f142b2ee1ef5e6258f7_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_b40bdd660109e3ed19f3_kernel.py | 110 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_26453ed3ca0313104c61_kernel.py | 124 | CODE | |
| LOW | …03a/cake_mxfp4_situ_moe_072e760aeee15dfe0914_kernel.py | 109 | CODE | |
| 2237 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pytest.ini | 1 | [pytest] | COMMENT |
| LOW | requirements.txt | 1 | apache-tvm-ffi>=0.1.11,<0.2 | COMMENT |
| LOW | requirements.txt | 21 | # pin nvidia-nccl-cuXX==2.30.7 exactly, which trips the torch-eviction problem | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # To use: | COMMENT |
| LOW | .pre-commit-config.yaml | 21 | # upstream kernel drops that are re-synced periodically | COMMENT |
| LOW | pyproject.toml | 1 | # Copyright (c) 2024 by FlashInfer team. | COMMENT |
| LOW | pyproject.toml | 181 | "flashinfer/topk_varlen/kernels/filtered_topk_util.py", | COMMENT |
| LOW | build_backend.py | 501 | shutil.copy(sopath, dst / soname) | COMMENT |
| LOW | csrc/topk_transform_checks.h | 21 | // (radix_topk_page_table_transform and cub_topk_page_table_transform), so the backends | COMMENT |
| LOW | csrc/fmha_v2/fused_multihead_attention.h | 201 | int64_t softmax_stats_stride_in_bytes; | COMMENT |
| LOW | …/fmha_v2/fused_multihead_attention_kernel_4x1_hopper.h | 461 | // Create buffer_full barriers with 1 arrive count | COMMENT |
| LOW | csrc/fmha_v2/fused_multihead_attention_utils.h | 801 | int const* cu_mask_rows) { | COMMENT |
| LOW | …/fused_multihead_flash_attention_kernel_noloop_tiled.h | 241 | float global_sum[Softmax::ROWS_PER_THREAD]; | COMMENT |
| LOW | csrc/fmha_v2/fused_multihead_attention_kernel.h | 21 | #include <fmha/smem_tile_o.h> | COMMENT |
| LOW | csrc/fmha_v2/fused_multihead_attention_kernel.h | 41 | // - P = norm * K^T * Q , where norm is the normalization term (a scalar), | COMMENT |
| LOW | …c/fmha_v2/fused_multihead_attention_demo_bert_params.h | 101 | // The stride between matrices of packed mask. | COMMENT |
| LOW | …c/fmha_v2/fused_multihead_attention_demo_bert_params.h | 181 | #ifdef SKIP_SOFTMAX_STAT | COMMENT |
| LOW | csrc/fmha_v2/fmha/softmax.h | 1041 | } | COMMENT |
| LOW | csrc/fmha_v2/fmha/mask.h | 341 | } | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 21 | #include <__clang_cuda_builtin_vars.h> | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 61 | using Unpack_remaining = typename Unpack<Ns...>::Type; | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 81 | // (84): here | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 101 | struct Cond_inspect_ns { | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 801 | // asm volatile("fma.rn.f16x2.relu %0, %1, %2, %3;" : "=r"(c) : "r"(a), "r"(one), | COMMENT |
| LOW | csrc/fmha_v2/fmha/utils.h | 821 | // return dst; | COMMENT |
| LOW | csrc/fmha_v2/fmha/paged_kv_cache.h | 21 | struct Kv_block_array { | COMMENT |
| LOW | csrc/fmha_v2/fmha/gmem_tile_o_packed.h | 1281 | // The scale. | COMMENT |
| LOW | csrc/fmha_v2/fmha/kernel_traits.h | 21 | #include <fmha/gmem_tile_qkv.h> | COMMENT |
| LOW | csrc/fmha_v2/fmha/fragment.h | 141 | f.reg(4 * ii + 0) = tmp.x; | COMMENT |
| LOW | csrc/fmha_v2/fmha/smem_tile_v.h | 481 | t[3] = y; | COMMENT |
| LOW | csrc/fmha_v2/fmha/smem_tile_v.h | 601 | // Jump by 8*16 rows per K but account for packing. | COMMENT |
| LOW | csrc/fmha_v2/fmha/smem_tile_v.h | 921 | uint2 tmp_0; | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/dma.h | 341 | q_steps, | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/dma.h | 721 | named_barrier_wait(SYNC_BARRIER, NUM_THREADS_IN_DMA_GROUP); | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/dma.h | 741 | // | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/compute.h | 581 | // results once. For example, STEP_KV=256, qgmma.K=32, then 256/32=8 MMAs are needs, | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/kernel_traits.h | 41 | int Q_BUFFERS_, | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/kernel_traits.h | 201 | // Apply the exp2f optimization (fuse bmm1_scale and -max into FMAs). | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/kernel_traits.h | 421 | // The step size in key/value sequence dimension (N of BMM1 and K of BMM2). | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/arrive_wait.h | 21 | COMMENT | |
| LOW | csrc/fmha_v2/fmha/hopper/arrive_wait.h | 41 | #endif | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/smem_tile.h | 1801 | tmp[nii][ki].w); // PRMT 2+3 | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/smem_tile.h | 1821 | // [g0, g1] [o0, o1] => y: [g0, h0, o0, p0], i.e. col 0 | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/smem_tile.h | 2001 | // [00, 01] | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/smem_tile.h | 2121 | BYTES_PER_STS, 1, 0, ROWS_PER_XOR_PATTERN, 1>; | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/smem_tile.h | 2321 | // w: +24 (o) | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/gmem_tile_o_packed.h | 601 | int64_t row_offset = | COMMENT |
| LOW | csrc/fmha_v2/fmha/hopper/fragment.h | 281 | Gmma_single_desc_b::TRANS_MODE == fmha::Gmma_descriptor_transpose::TRANS ? true : false, | COMMENT |
| LOW | csrc/fused_moe/cake_mxfp4_situ_moe/ruff.toml | 1 | # The CuTe DSL units under cute/ are generated (rendered from the pinned Cake | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_51bf8596d88c9a466338_binding.py | 1 | # | COMMENT |
| LOW | …03a/cake_mxfp4_situ_moe_f5a20e3662d9aa8a230a_kernel.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_47f1e2df2cedfd36e9f9_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_4c6e3ca17f6f1d2dde40_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_5f13d763df1e76b40af9_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_5f80dbdb484492cbb643_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_binding.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_bcf47b55163b9faca2df_binding.py | 1 | # | COMMENT |
| LOW | …03a/cake_mxfp4_situ_moe_de8253c4a7b8e18298dc_kernel.py | 1 | # | COMMENT |
| LOW | …3a/cake_mxfp4_situ_moe_542fb1c6733740f9f17d_binding.py | 1 | # | COMMENT |
| 1965 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | flashinfer-cubin/flashinfer_cubin/__init__.py | 80 | __all__ = ["get_cubin_dir", "list_cubins", "get_cubin_path", "CUBIN_DIR"] | CODE |
| LOW | …che-provider/flashinfer_jit_cache_provider/__init__.py | 27 | __all__ = ["get_provider"] | CODE |
| LOW | …/experimental/b12x/attention/test_attention_mla_api.py | 77 | def set_split_chunk_config(self, *, kv_chunk_size: int, num_chunks: int) -> None: | CODE |
| LOW | …/experimental/b12x/attention/test_attention_mla_api.py | 89 | def set_decode_chunk_config(self, *, kv_chunk_size: int, num_chunks: int) -> None: | CODE |
| LOW | tests/experimental/deepgemm_common/__init__.py | 19 | __all__ = [ | CODE |
| LOW | tests/attention/conftest.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/comm/test_nvshmem_allreduce.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/comm/test_vllm_custom_allreduce.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/utils/test_topk.py | 896 | def set_selected_scores(use_prefix: bool) -> None: | CODE |
| LOW | tests/gemm/test_cute_dsl_gemm_allreduce_two_shot.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_helpers/cake_balanced_gqa_plan.py | 444 | __all__ = [ | CODE |
| LOW | tests/test_helpers/cake_fmha_capability.py | 559 | __all__ = [ | CODE |
| LOW | tests/test_helpers/cake_dsa_indexer_reference.py | 1510 | __all__ = [ | CODE |
| LOW | flashinfer-jit-cache/flashinfer_jit_cache/__init__.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | flashinfer-jit-cache/flashinfer_jit_cache/__init__.py | 134 | __all__ = [ | CODE |
| LOW | examples/pytorch/wan/transformer_wan_flashinfer.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | examples/pytorch/wan/transformer_wan_flashinfer.py | 303 | def set_ulysses_communicator(comm: Optional["UlyssesCommunicator"]) -> None: | CODE |
| LOW | benchmarks/experimental/b12x/benchmark_iq2_xs_moe.py | 77 | def set_routes(inputs: Inputs, pattern: str, *, experts: int, offset: int = 0) -> None: | CODE |
| LOW | scripts/aot_memory_monitor.py | 265 | def update_stats(stats: MemoryStats, sample: dict[str, int]) -> None: | CODE |
| LOW | scripts/test_sharding/__init__.py | 5 | __all__ = ["ALGORITHM_VERSION", "SCHEMA_VERSION"] | CODE |
| LOW | flashinfer/cake_rmsnorm_train.py | 695 | __all__ = [ | STRING |
| LOW | flashinfer/gated_act_mxfp8.py | 283 | __all__ = [ | STRING |
| LOW | flashinfer/cake_dcp.py | 1139 | __all__ = [ | CODE |
| LOW | flashinfer/fp8_quantization.py | 20 | __all__ = [ | CODE |
| LOW | flashinfer/mega_moe_v3.py | 12 | __all__ = [ | CODE |
| LOW | flashinfer/compilation_context.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | flashinfer/cake_fmha_request_ordered.py | 377 | __all__ = [ | CODE |
| LOW | flashinfer/kimi_k3_latent_moe.py | 218 | __all__ = [ | STRING |
| LOW | flashinfer/cake_minimax_h3.py | 560 | __all__ = [ | CODE |
| LOW | flashinfer/cake_fused_qk_rope_append.py | 314 | __all__ = ["cake_fused_qk_rmsnorm_rope_append_paged_kv_cache", "launch_plan"] | STRING |
| LOW | flashinfer/sm110_xqa.py | 13 | __all__ = ["prepare", "attention"] | CODE |
| LOW | flashinfer/kda_prefill_cute.py | 592 | __all__ = [ | CODE |
| LOW | flashinfer/kimi_k3_vision.py | 132 | __all__ = ["kimi_k3_vision_tower", "prepare_kimi_k3_vision_tower"] | STRING |
| LOW | flashinfer/cake_vsa_sm90.py | 1451 | __all__ = [ | CODE |
| LOW | flashinfer/utils.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | flashinfer/utils.py | 864 | def set_log_level(lvl_str: str) -> None: | CODE |
| LOW | flashinfer/fp4_quantization.py | 45 | __all__ = [ | CODE |
| LOW | flashinfer/cake_fmha.py | 2052 | __all__ = [ | CODE |
| LOW | flashinfer/cake_sampling.py | 1910 | __all__ = [ | STRING |
| LOW | flashinfer/artifacts.py | 368 | def update_pbar_cb(_) -> None: | CODE |
| LOW | flashinfer/kimi_k3_tp12_tail.py | 172 | __all__ = [ | STRING |
| LOW | flashinfer/cake_fused_qk_rope_fp8_append.py | 375 | __all__ = [ | STRING |
| LOW | flashinfer/deep_gemm.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | flashinfer/mla_kv_pack.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | flashinfer/cake_vsa.py | 836 | __all__ = ["plan_cake_vsa", "run_cake_vsa"] | CODE |
| LOW | flashinfer/prims_ts/__init__.py | 37 | __all__ = [ | CODE |
| LOW | flashinfer/prims_ts/gemm/kernel.py | 343 | def _set_io_dtypes(input_dtype_name: str, output_dtype_name: str) -> None: | CODE |
| LOW | flashinfer/prims_ts/gemm/__init__.py | 22 | __all__ = [ | CODE |
| LOW | flashinfer/prims_ts/batched_gemm/tmem_sf_resources.py | 404 | def _setup_common(self, context=None) -> None: | CODE |
| LOW | …hinfer/prims_ts/batched_gemm/batched_gemm_resources.py | 71 | __all__ = [ | CODE |
| LOW | flashinfer/prims_ts/batched_gemm/smem_sf_resources.py | 469 | def _setup_common(self, context=None) -> None: | CODE |
| LOW | flashinfer/prims_ts/batched_gemm/smem_sf_resources.py | 901 | def _setup_common(self, context=None) -> None: | CODE |
| LOW | flashinfer/prims_ts/moe/runner.py | 463 | def set_cache_key_static_extras(self, **kwargs) -> None: | CODE |
| LOW | flashinfer/prims_ts/moe/__init__.py | 26 | __all__ = [ | CODE |
| LOW | flashinfer/experimental/__init__.py | 44 | __all__ = [ | CODE |
| LOW | flashinfer/experimental/kda_prefill_wrapper/__init__.py | 31 | __all__ = ["RecurrentKDAPrefillPlanner"] | CODE |
| LOW | flashinfer/experimental/b12x/_api.py | 153 | __all__ = [ | CODE |
| LOW | …er/experimental/b12x/attention/qsa/_sparse_gqa_cute.py | 12 | __all__ = [ | CODE |
| LOW | flashinfer/experimental/b12x/attention/qsa/_tuning.py | 309 | __all__ = ["QsaConfig", "QsaQuery", "TUNING"] | CODE |
| LOW | …rimental/b12x/attention/qsa/_sparse_gqa_cute_config.py | 146 | __all__ = [ | CODE |
| 768 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_backend.py | 142 | except Exception: | CODE |
| LOW | build_backend.py | 221 | except Exception: | CODE |
| LOW | build_backend.py | 236 | except Exception: | CODE |
| LOW | build_backend.py | 355 | except Exception: | CODE |
| LOW | build_backend.py | 432 | except Exception: | CODE |
| LOW | build_backend.py | 588 | except Exception: | CODE |
| LOW | build_backend.py | 1009 | except Exception as e: | CODE |
| LOW | build_utils.py | 116 | except Exception: | CODE |
| LOW | docker/test_ci_image.py | 105 | except Exception as error: | CODE |
| LOW | tests/kda/test_recurrent_kda_decode_export.py | 348 | except Exception: | STRING |
| LOW | tests/kda/test_recurrent_kda_prefill_sm120.py | 1061 | except Exception as exc: # noqa: BLE001 -- the type and text are the assertion | CODE |
| LOW | tests/kda/test_recurrent_kda_prefill_sm120.py | 1447 | except Exception as exc: # noqa: BLE001 -- reported below | CODE |
| MEDIUM | tests/kda/test_recurrent_kda_prefill_sm120.py | 1058 | def outcome(backend): | CODE |
| LOW | tests/prims_ts/test_moe_fp8_block_support.py | 71 | except Exception: | CODE |
| LOW⚡ | tests/prims_ts/test_moe_bf16_support.py | 88 | except Exception: | CODE |
| LOW | …s/experimental/b12x/attention/test_qsa_program_keys.py | 112 | except Exception as error: | CODE |
| LOW | …l/b12x/attention/test_attention_mla_sglang_boundary.py | 32 | except Exception as exc: # pragma: no cover - environment-dependent import path | CODE |
| LOW | …ttention/test_attention_dsa_indexer_sglang_boundary.py | 32 | except Exception as exc: # pragma: no cover - environment-dependent import path | CODE |
| LOW | …ttention/test_attention_nsa_backend_sglang_boundary.py | 22 | except Exception as exc: # pragma: no cover - environment-dependent import path | CODE |
| LOW | tests/attention/conftest.py | 456 | except Exception as e: | CODE |
| LOW | tests/attention/conftest.py | 510 | except Exception: # pragma: no cover - diagnostics must never fail the run | CODE |
| LOW | tests/attention/test_cudnn_decode.py | 1165 | except Exception as exc: # noqa: BLE001 -- the frontend's error types vary | CODE |
| LOW | tests/attention/test_deepseek_mla.py | 106 | except Exception as e: | CODE |
| MEDIUM | tests/attention/test_deepseek_mla.py | 46 | def warmup_jit(): | CODE |
| LOW | …sts/trace/test_tgv_gemm_sm100_reference_correctness.py | 37 | except Exception as exc: | CODE |
| LOW | …sts/trace/test_mxfp8_quantize_reference_correctness.py | 25 | except Exception as exc: | CODE |
| LOW | tests/trace/test_mm_bf16_fp4_reference_correctness.py | 51 | except Exception as exc: | CODE |
| LOW | tests/trace/test_single_decode_reference_correctness.py | 31 | except Exception as exc: | CODE |
| LOW | …ize_fp8_append_paged_kv_cache_reference_correctness.py | 69 | except Exception as exc: | CODE |
| LOW | tests/trace/test_bmm_fp8_reference_correctness.py | 38 | except Exception as exc: | CODE |
| LOW | …/trace/test_cutlass_fused_moe_reference_correctness.py | 62 | except Exception as exc: | CODE |
| LOW | …s/trace/test_segment_gemm_run_reference_correctness.py | 34 | except Exception as exc: | CODE |
| LOW | …s/trace/test_block_sparse_run_reference_correctness.py | 58 | except Exception as exc: | CODE |
| LOW | …s/trace/test_xqa_batch_decode_reference_correctness.py | 74 | except Exception as exc: | CODE |
| LOW | …sts/trace/test_mxfp4_quantize_reference_correctness.py | 33 | except Exception as exc: | CODE |
| LOW | …ace/test_var_block_sparse_run_reference_correctness.py | 67 | except Exception as exc: | CODE |
| LOW | tests/trace/test_bmm_bf16_reference_correctness.py | 29 | except Exception as exc: | CODE |
| LOW | tests/trace/test_mm_bf16_reference_correctness.py | 29 | except Exception as exc: | CODE |
| LOW | tests/trace/test_fi_trace_template_consistency.py | 469 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …ace/test_xqa_batch_decode_mla_reference_correctness.py | 72 | except Exception as exc: | CODE |
| LOW | …trace/test_cudnn_batch_decode_reference_correctness.py | 80 | except Exception as exc: | CODE |
| LOW⚡ | tests/trace/example.py | 668 | except Exception: | CODE |
| LOW⚡ | tests/trace/example.py | 679 | except Exception: | CODE |
| LOW⚡ | tests/trace/example.py | 697 | except Exception: | CODE |
| LOW⚡ | tests/trace/example.py | 707 | except Exception: | CODE |
| LOW | tests/trace/example.py | 646 | except Exception: | CODE |
| LOW | tests/trace/example.py | 725 | except Exception: | CODE |
| LOW | tests/trace/example.py | 739 | except Exception: | CODE |
| LOW | tests/trace/example.py | 751 | except Exception: | CODE |
| LOW | tests/trace/example.py | 1696 | except Exception: | CODE |
| LOW | …e/test_trtllm_fmha_v2_prefill_reference_correctness.py | 62 | except Exception as exc: | CODE |
| LOW | tests/trace/test_concat_mla_k_reference_correctness.py | 30 | except Exception as exc: | CODE |
| LOW | …/test_trtllm_batch_decode_mla_reference_correctness.py | 68 | except Exception as exc: | CODE |
| LOW | …sts/trace/test_single_prefill_reference_correctness.py | 31 | except Exception as exc: | CODE |
| LOW | …/test_multi_level_cascade_run_reference_correctness.py | 61 | except Exception as exc: | CODE |
| LOW | …race/test_cudnn_batch_prefill_reference_correctness.py | 91 | except Exception as exc: | CODE |
| LOW | …/test_fused_add_rmsnorm_quant_reference_correctness.py | 32 | except Exception as exc: | CODE |
| LOW | …t_pod_with_paged_kv_cache_run_reference_correctness.py | 70 | except Exception as exc: | CODE |
| LOW | tests/trace/test_rmsnorm_quant_reference_correctness.py | 27 | except Exception as exc: | CODE |
| LOW | …sts/trace/test_nvfp4_quantize_reference_correctness.py | 26 | except Exception as exc: | CODE |
| 696 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | flashinfer/fused_moe/runners.py | 4624 | activation_name = self.config.activation.type.name.lower() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 783 | txl.ptx.st.release.gpu.global_.s32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 791 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 798 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1018 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1022 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1026 | txl.ptx.tcgen05.wait__st.sync.aligned() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1075 | txl.ptx.ldmatrix.sync.aligned.m8n8.x4.trans.shared.b16( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1080 | txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1086 | txl.ptx.movmatrix.sync.aligned.m8n8.trans.b16(dst[z], src[z]) | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1094 | txl.ptx.mma.sync.aligned.m16n8k16.row.col.f32.bf16.bf16.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1233 | txl.ptx.st.shared.v4.u32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1236 | txl.ptx.st.shared.v4.u32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1239 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1441 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1449 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1451 | txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1458 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1585 | txl.ptx.ld.shared.v4.b32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1590 | txl.ptx.st.shared.v4.b32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1596 | txl.ptx.rcp.approx.ftz.f32(r, x) | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1653 | txl.ptx.ld.global_.v4.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1660 | txl.ptx.ld.global_.v4.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1667 | txl.ptx.st.shared.v4.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1674 | txl.ptx.st.shared.v4.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1684 | txl.ptx.ld.shared.v4.f32( | CODE |
| CRITICAL⚡ | flashinfer/kda_kernels/tirx/fused.py | 1687 | txl.ptx.ld.shared.v4.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 241 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 243 | txl.ptx.fence.mbarrier_init.release.cluster() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 350 | txl.ptx.mbarrier.try_wait.parity.shared.b64( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 435 | txl.ptx.cvt.rn.bf16x2.f32(r, hi, lo) | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 455 | txl.ptx.ex2.approx.ftz.f32(r, x) | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 507 | txl.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 517 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 534 | txl.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 695 | txl.ptx.ld.global_.v4.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 707 | txl.ptx.tcgen05.wait__st.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 727 | txl.ptx.ld.acquire.gpu.global_.s32(fl, flags.ptr_to([cta])) | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 746 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 755 | txl.ptx.st.global_.v4.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 824 | txl.ptx.stmatrix.sync.aligned.m8n8.x4.trans.shared.b16( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 831 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 851 | txl.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 852 | txl.ptx.cp.async_.bulk.wait_group.read(0) | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 869 | txl.ptx.ld.shared.v4.b32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 872 | txl.ptx.st.global_.v4.b32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 894 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 897 | txl.ptx.tcgen05.wait__st.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 909 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 970 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 973 | txl.ptx.tcgen05.wait__st.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 990 | txl.ptx.ld.shared.v4.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1000 | txl.ptx.mul.rn.ftz.f32x2( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1253 | txl.ptx.ld.shared.v2.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1266 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1269 | txl.ptx.ld.shared.v2.f32( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1307 | txl.ptx.tcgen05.wait__ld.sync.aligned() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1340 | txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16( | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1393 | txl.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | flashinfer/kda_kernels/tirx/fused.py | 1486 | txl.ptx.rsqrt.approx.ftz.f32(norm, n0 + n1 + txl.float32(EPS)) | CODE |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/kda/test_recurrent_kda_decode_export.py | 1333 | CODE | |
| LOW | tests/kda/test_recurrent_kda_cudnn_backend.py | 83 | CODE | |
| LOW | tests/prims_ts/test_batched_gemm_fp4_fc2.py | 84 | CODE | |
| LOW | tests/prims_ts/test_batched_gemm_bf16_fc2.py | 66 | CODE | |
| LOW | tests/prims_ts/test_batched_gemm_fp4_fc1.py | 97 | CODE | |
| LOW | tests/prims_ts/test_batched_gemm_bf16_fc1.py | 224 | CODE | |
| LOW | tests/prims_ts/test_batched_gemm_bf16_fc1.py | 329 | CODE | |
| LOW | tests/gdp/test_prefill_gdp_cudnn_backend.py | 62 | CODE | |
| LOW | tests/experimental/test_cake_lm_head_loss.py | 163 | CODE | |
| LOW | …al/b12x/attention/test_dsa_indexer_mxfp4_boundaries.py | 98 | CODE | |
| LOW | …mental/b12x/attention/test_attention_mla_compressed.py | 161 | CODE | |
| LOW | …s/experimental/b12x/gemm/test_dense_gemm_expected_m.py | 1263 | CODE | |
| LOW | tests/experimental/b12x/sequence/test_kda_prefill.py | 61 | CODE | |
| LOW | tests/experimental/b12x/sequence/test_gdn_decode_kda.py | 46 | CODE | |
| LOW | tests/experimental/b12x/sequence/test_gdn_decode.py | 78 | CODE | |
| LOW | tests/experimental/b12x/preparation/test_session.py | 186 | CODE | |
| LOW | …sts/experimental/b12x/moe/test_dynamic_w4a8_trellis.py | 51 | CODE | |
| LOW | tests/experimental/b12x/moe/test_route_pack_cache.py | 7 | CODE | |
| LOW | tests/experimental/b12x/moe/test_w4a8_dynamic_kernel.py | 100 | CODE | |
| LOW | tests/attention/test_modular_fmha_prefill_paged.py | 127 | CODE | |
| LOW | tests/attention/test_attention_ts_decode.py | 1674 | CODE | |
| LOW | tests/attention/test_attention_ts_decode.py | 6091 | CODE | |
| LOW | tests/attention/test_dcp_spec_fp8.py | 624 | CODE | |
| LOW | tests/attention/test_cake_fmha.py | 3076 | CODE | |
| LOW | tests/attention/test_attention_ts_block_sparse.py | 948 | CODE | |
| LOW | tests/attention/test_sparse_mla_blackwell_dsv4_nvfp4.py | 187 | CODE | |
| LOW | tests/attention/test_fmha_v2_prefill.py | 64 | CODE | |
| LOW | tests/attention/test_xqa.py | 124 | CODE | |
| LOW | tests/attention/test_bidirectional_ranges_attention.py | 139 | CODE | |
| LOW | …/test_attention_ts_q_token_kv_block_sparse_metadata.py | 76 | CODE | |
| LOW | tests/attention/test_cute_dsl_mla_decode.py | 327 | CODE | |
| LOW | tests/attention/test_trtllm_ragged_kv_stride.py | 40 | CODE | |
| LOW | tests/attention/test_trtllm_gen_attention_decode.py | 627 | CODE | |
| LOW | tests/attention/test_batch_attention.py | 95 | CODE | |
| LOW | tests/attention/test_cudnn_decode.py | 1320 | CODE | |
| LOW | tests/msa_ops/test_msa_nvfp4_decode_sm100.py | 578 | CODE | |
| LOW | tests/msa_ops/test_blackwell_msa_sm100.py | 31 | CODE | |
| LOW | tests/moe_ep/test_nvfp4_cutedsl_kernel_vs_reference.py | 68 | CODE | |
| LOW | …sts/moe_ep/test_moe_ep_sm90_pull_fp8_mega_multirank.py | 381 | CODE | |
| LOW | …sts/moe_ep/test_moe_ep_sm90_pull_fp8_mega_multirank.py | 431 | CODE | |
| LOW | tests/moe_ep/test_sm90_push_fp8_kernel.py | 109 | CODE | |
| LOW | tests/moe_ep/test_sm90_push_fp8_gemm_contract.py | 442 | CODE | |
| LOW | tests/diffusion_ops/test_minimax_h3_mlp.py | 1119 | CODE | |
| LOW | tests/mamba/test_chunk_scan_combined.py | 27 | CODE | |
| LOW | tests/mamba/test_cake_ssd_combined.py | 326 | CODE | |
| LOW | tests/mamba/utils.py | 16 | CODE | |
| LOW | tests/mamba/test_checkpointing_ssu.py | 184 | CODE | |
| LOW | tests/mamba/test_replayssm_materialize.py | 33 | CODE | |
| LOW | …amba/triton_reference/selective_state_update_varlen.py | 272 | CODE | |
| LOW | tests/mamba/triton_reference/selective_state_update.py | 431 | CODE | |
| LOW | …amba/triton_reference/replay_selective_state_update.py | 1976 | CODE | |
| LOW | …amba/triton_reference/replay_selective_state_update.py | 3653 | CODE | |
| LOW | tests/mamba/triton_reference/ssd_combined.py | 32 | CODE | |
| LOW | tests/mamba/triton_reference/ssd_combined.py | 197 | CODE | |
| LOW | tests/mamba/triton_reference/causal_conv1d_triton.py | 1004 | CODE | |
| LOW | tests/comm/test_all_gather_matmul.py | 45 | CODE | |
| LOW | tests/comm/test_mixed_comm.py | 36 | CODE | |
| LOW | tests/utils/test_concat_mla_kv_quant_fp8.py | 53 | CODE | |
| LOW | tests/mla/test_cake_dsv4_hardening.py | 863 | CODE | |
| LOW | tests/gemm/test_cute_dsl_gemm_allreduce_two_shot.py | 139 | CODE | |
| 795 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | build_backend.py | 142 | except Exception: | CODE |
| HIGH | build_backend.py | 588 | except Exception: | CODE |
| HIGH | flashinfer-cubin/flashinfer_cubin/__init__.py | 55 | except ImportError: | CODE |
| HIGH | flashinfer-cubin/flashinfer_cubin/__init__.py | 72 | except (ImportError, AttributeError): | CODE |
| HIGH | tests/conftest.py | 208 | except ImportError: | CODE |
| HIGH | tests/experimental/b12x/moe/test_nvfp4_split_backend.py | 481 | except ValueError: | CODE |
| HIGH | tests/attention/conftest.py | 510 | except Exception: # pragma: no cover - diagnostics must never fail the run | CODE |
| HIGH | tests/attention/conftest.py | 294 | except ImportError: # pragma: no cover - fixture still builds these | CODE |
| HIGH | tests/trace/example.py | 646 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 668 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 679 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 697 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 707 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 725 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 739 | except Exception: | CODE |
| HIGH | tests/trace/example.py | 751 | except Exception: | CODE |
| HIGH | tests/msa_ops/test_msa_nvfp4_decode_sm100.py | 527 | except _LeaveBlock: | CODE |
| HIGH | tests/moe_ep/test_moe_ep_compute_correctness.py | 129 | except ImportError: | CODE |
| HIGH | tests/comm/test_ulysses_communicator.py | 1263 | except Boom: | CODE |
| HIGH | tests/comm/test_ulysses_communicator.py | 1446 | except queue_mod.Empty: | CODE |
| HIGH | tests/comm/test_ulysses_topology.py | 378 | except queue_mod.Empty: | CODE |
| HIGH | tests/gemm/test_ragged_block_scaled_bmm_cutile.py | 111 | except Exception: | CODE |
| HIGH | benchmarks/bench_cake_fused_kda_decode.py | 603 | except ValueError: | CODE |
| HIGH | benchmarks/bench_cake_fused_kda_decode.py | 1276 | except ValueError: | CODE |
| HIGH | benchmarks/bench_cudnn_wrapper_host.py | 53 | except (OSError, subprocess.CalledProcessError): | CODE |
| HIGH | benchmarks/bench_cake_lm_head_loss.py | 143 | except (TypeError, RuntimeError): | CODE |
| HIGH | benchmarks/bench_checkpointing_ssu.py | 1253 | except Exception: | CODE |
| HIGH | benchmarks/experimental/b12x/benchmark_roce_oneshot.py | 74 | except OSError: | CODE |
| HIGH | benchmarks/experimental/b12x/benchmark_roce_oneshot.py | 141 | except (OSError, subprocess.SubprocessError): | CODE |
| HIGH | benchmarks/experimental/b12x/benchmark_mla.py | 841 | except Exception: | CODE |
| HIGH | benchmarks/routines/attention.py | 18 | except ImportError: | CODE |
| HIGH | scripts/run_with_output_watchdog.py | 247 | except (OSError, subprocess.TimeoutExpired): | CODE |
| HIGH | scripts/unit_test_runner.py | 204 | except Exception: | CODE |
| HIGH | scripts/pr_checks/check_api_docs.py | 47 | except Exception: | CODE |
| HIGH | scripts/pr_checks/experimental_test_scope.py | 295 | except ValueError: | CODE |
| HIGH | scripts/pr_checks/experimental_test_scope.py | 308 | except ValueError: | CODE |
| HIGH | scripts/pr_checks/experimental_test_scope.py | 333 | except ValueError: | CODE |
| HIGH | scripts/pr_checks/experimental_test_scope.py | 258 | except ValueError: | CODE |
| HIGH | scripts/test_sharding/runner.py | 1011 | except queue.Empty: | CODE |
| HIGH | scripts/test_sharding/junit.py | 152 | except (OSError, AttributeError, json.JSONDecodeError): | CODE |
| HIGH | scripts/test_sharding/workers.py | 187 | except (OSError, ValueError): | CODE |
| HIGH | scripts/test_sharding/state.py | 43 | except FileExistsError: | CODE |
| HIGH | flashinfer/api_logging.py | 2515 | except Exception: | CODE |
| HIGH | flashinfer/collect_env.py | 461 | except Exception: | CODE |
| HIGH | flashinfer/__init__.py | 285 | except (ImportError, AttributeError): | CODE |
| HIGH | flashinfer/__init__.py | 432 | except Exception: | CODE |
| HIGH | flashinfer/fi_trace.py | 139 | except AttributeError: | CODE |
| HIGH | flashinfer/fi_trace.py | 164 | except Exception: | CODE |
| HIGH | flashinfer/experimental/b12x/_lib/compiler.py | 1573 | except Exception: | CODE |
| HIGH | flashinfer/experimental/b12x/_lib/compiler.py | 1766 | except (TypeError, ValueError): | CODE |
| HIGH | flashinfer/experimental/b12x/loader/_progress.py | 206 | except (AttributeError, OSError, ValueError): | CODE |
| HIGH | flashinfer/experimental/b12x/sequence/engram/_disk.py | 128 | except Exception: | CODE |
| HIGH | flashinfer/experimental/b12x/sequence/_shared/_gds.py | 156 | except Exception: | CODE |
| HIGH | flashinfer/experimental/b12x/sequence/_shared/_gds.py | 140 | except Exception: | CODE |
| HIGH | flashinfer/experimental/b12x/preparation/_progress.py | 378 | except (AttributeError, OSError, ValueError): | CODE |
| HIGH | …shinfer/experimental/cake_lm_head_loss/cake_backend.py | 3131 | except (TypeError, RuntimeError): | CODE |
| HIGH | …ion/prims_ts/kernels/fmha_decode/fmha_decode_config.py | 3760 | except (ImportError, RuntimeError): | CODE |
| HIGH | …ion/prims_ts/kernels/fmha_decode/fmha_decode_config.py | 4237 | except ValueError: | CODE |
| HIGH | flashinfer/trace/template.py | 744 | except Exception: | CODE |
| HIGH | flashinfer/moe_ep/core/validation/common.py | 174 | except Exception: | CODE |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/experimental/test_cake_dsa_train.py | 68 | # for the iid top-k-2048 configuration and are enforced by the project harness, not per test shape. | COMMENT |
| MEDIUM | tests/experimental/test_cake_dsa_train.py | 72 | # harness values); rope parts at twice the latent gate, peaked attention at one common gate. | COMMENT |
| MEDIUM | tests/experimental/b12x/attention/test_fused_indexer.py | 347 | # value-multiset parity (tie-robust); fp8 e4m3 dot in f32 matches the MMA. | COMMENT |
| MEDIUM | tests/experimental/b12x/attention/test_fused_indexer.py | 717 | # returned index (rather than asserting an index order) keeps this robust | COMMENT |
| MEDIUM | …ental/b12x/attention/test_attention_dsa_indexer_api.py | 1470 | # tie-robust check is that the selected logit-VALUE multiset matches the | COMMENT |
| MEDIUM | tests/experimental/b12x/moe/test_nvfp4_phase_kernels.py | 556 | # direct torch chain must match the oracle too (sanity of the harness) | COMMENT |
| MEDIUM⚡ | tests/msa_ops/test_msa_nvfp4_decode_sm100.py | 407 | # same numbers a consumer's capability probe and the kernel-level A/B harness | COMMENT |
| MEDIUM⚡ | tests/msa_ops/test_msa_nvfp4_decode_sm100.py | 1856 | # A warm launch is not a caller's call, and the A/B harness differences | COMMENT |
| MEDIUM | tests/autotuner/test_autotuner_distributed.py | 226 | # independent of how the harness imported the tests (a ``spawn`` worker that | COMMENT |
| MEDIUM | tests/mamba/test_philox_rounding.py | 794 | """Software e4m3 SR matches hardware PTX path bitwise across a comprehensive | STRING |
| LOW | tests/mamba/triton_reference/causal_conv1d_triton.py | 171 | # first chunk and does not have prior-token, so just set to 0 | COMMENT |
| MEDIUM⚡ | tests/gemm/test_unified_gemm_fuzz.py | 595 | # + tight tolerance. Same model as the MoE harness: with exact-grid inputs the oracle measures the | COMMENT |
| MEDIUM | tests/gemm/test_unified_gemm_fuzz.py | 549 | # layout_128x4 / mxfp4 default this harness prepares). Toggling it on the cutlass/cudnn/auto | COMMENT |
| MEDIUM⚡ | tests/gdn/test_decode_delta_rule.py | 1328 | # Test MTP kernel with FP32 state, cache ON, state update ON (comprehensive) | COMMENT |
| LOW | tests/test_helpers/alibi_reference.py | 78 | # Since it's causal mask we can just use $[0, 1, \dots, N]$ too. | STRING |
| MEDIUM | tests/moe/test_trtllm_moe_valid_dims.py | 187 | # harness / CUDA-only deps on machines that only run the unit-level checks above. | COMMENT |
| MEDIUM | tests/moe/test_trtllm_moe_valid_dims.py | 523 | # GEMM2 output width equal to hidden_size, which the harness FP4 | COMMENT |
| MEDIUM | tests/moe/test_trtllm_moe_valid_dims.py | 705 | # The harness FP4 prepare_static_weights_for_kernel reshapes GEMM2 by a single | COMMENT |
| MEDIUM⚡ | tests/moe/test_unified_moe_fuzz.py | 3441 | # different shape would produce a wrong answer here. (Shares the harness's snap/reference/prep.) | COMMENT |
| MEDIUM | tests/moe/test_unified_moe_fuzz.py | 1582 | # Covers the in-kernel-routing bug cluster the pre-routed harness structurally can't reach: | COMMENT |
| MEDIUM | tests/moe/test_unified_moe_fuzz.py | 1738 | # separate validation, and EP collectives are out of scope for this single-GPU harness. | COMMENT |
| MEDIUM | tests/moe/test_unified_moe_fuzz.py | 1888 | # In-kernel routing (FromLogits) headline cases the pre-routed harness can't reach: | COMMENT |
| MEDIUM | tests/moe/test_unified_moe_fuzz.py | 1585 | RoutingMethodType.RenormalizeNaive, # == the harness's original host routing | CODE |
| MEDIUM⚡ | benchmarks/bench_mamba_ssd_combined.py | 257 | # Layer 2: bench_mode — batched or varlen harness | COMMENT |
| MEDIUM | benchmarks/bench_silu_and_mul_nvfp4_quantize.py | 132 | # more comprehensive correctness coverage. | COMMENT |
| MEDIUM | benchmarks/cake_warp_decode.py | 800 | # ambiguous stale second release while the harness unwinds. | COMMENT |
| MEDIUM | benchmarks/bench_recurrent_kda_prefill.py | 660 | # harness while keeping route logging out of every timed call. | COMMENT |
| MEDIUM | …chmarks/experimental/b12x/benchmark_paged_attention.py | 2069 | # copies introduced solely by the benchmark harness. | COMMENT |
| MEDIUM | benchmarks/routines/kda.py | 329 | # difference between the two APIs, not an artifact of this harness, and it | COMMENT |
| MEDIUM | benchmarks/routines/kda.py | 560 | # published combination. They need a protocol this harness cannot | COMMENT |
| MEDIUM | benchmarks/routines/kda.py | 567 | # what this harness is actually able to set up. | COMMENT |
| MEDIUM | scripts/task_test_moe_ep_smoke.sh | 4 | # Run the moe_ep smoke + multi-rank harness via torchrun. | COMMENT |
| LOW | flashinfer/api_logging.py | 1569 | # The safest way is to just call the class constructor. | COMMENT |
| MEDIUM | flashinfer/aot.py | 350 | # The holistic (persistent) batch-attention kernel | COMMENT |
| MEDIUM | flashinfer/cake_sampling.py | 591 | # in the interleaved CUPTI harness, +0.8 / +2.4 % in two idle-node matrices at k = 10 / 50), while the 16 %-full | COMMENT |
| MEDIUM | flashinfer/autotune_cache.py | 104 | # execution_mode. Used by the accuracy harness to A/B | COMMENT |
| MEDIUM⚡ | flashinfer/prims_ts/batched_gemm/batched_gemm_run.py | 3360 | # Perf-harness interface (``@pytest.mark.perf`` profiler sweep). | COMMENT |
| MEDIUM | flashinfer/experimental/b12x/comm/pcie/pcie_oneshot.py | 382 | # `broadcast_object_list` is more robust than `all_gather_object` for | COMMENT |
| MEDIUM | …shinfer/experimental/b12x/testing/reference/glm_ref.py | 174 | # Random KV in the same regime as the DSV4 harness (randn/10 clamp(-1,1)). | COMMENT |
| MEDIUM | …fer/experimental/b12x/testing/reference/prefill_ref.py | 85 | # harness exercises the kernel's last-partial-tile masking. | COMMENT |
| MEDIUM | …fer/experimental/b12x/testing/reference/prefill_ref.py | 354 | # Confirm the harness really produced non-multiple-of-64 lengths. | COMMENT |
| MEDIUM | …fer/experimental/b12x/testing/reference/prefill_ref.py | 381 | # correct shapes, and the harness emits per-token non-mult-of-64 lengths. | COMMENT |
| MEDIUM | flashinfer/attention/_core.py | 181 | # head_dim > 256 is for holistic (persistent) kernel. | STRING |
| MEDIUM | flashinfer/msa_ops/_nvfp4_decode_sm100.py | 243 | # about callers: the kernel-level A/B harness attests dispatch by differencing | COMMENT |
| MEDIUM | flashinfer/msa_ops/_nvfp4_prefill_sm100.py | 227 | # about callers: the kernel-level A/B harness attests dispatch by differencing | COMMENT |
| MEDIUM | …ashinfer/msa_ops/cute_dsl/sparse_decode_nvfp4_sm100.py | 1266 | # one loop body to hide a COLD round trip behind -- the harness | COMMENT |
| MEDIUM | …ashinfer/msa_ops/cute_dsl/sparse_decode_nvfp4_sm100.py | 1396 | # cold L2 (the harness flushes it before every iteration) that round | COMMENT |
| MEDIUM | flashinfer/moe_ep/core/validation/common.py | 238 | # aborts the process from C++ with no Python traceback -- under a test harness | COMMENT |
| MEDIUM | …_megakernel/src/moe_hopper_fp8/run_functional_tests.sh | 2 | # Functional test harness for the FP8 GLU fused fc1+fc2 runner. | COMMENT |
| MEDIUM | …utedsl_megakernel/src/moe_hopper_fp8/run_mega_tests.sh | 2 | # Functional test harness for the FP8 distributed MegaMoE fused dispatch + fc1/fc2 | COMMENT |
| MEDIUM | …cutedsl_megakernel/src/moe_hopper_fp8/run_perf_test.sh | 2 | # DSV4 performance harness for moe_hopper_fp8. | COMMENT |
| MEDIUM⚡ | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 944 | _EpilogueTokenTileSize = 64 # Fundamentally the epi_tile_n | CODE |
| MEDIUM⚡ | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 945 | _EpilogueFc1IntermediateGateUpTileSize = 128 # Fundamentally epi_tile_m | CODE |
| MEDIUM⚡ | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 946 | _EpilogueFc1IntermediateDownTileSize = 64 # Fundamentally epi_tile_m // 2 | CODE |
| MEDIUM⚡ | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 947 | _EpilogueFc2HiddenTileSize = 128 # Fundamentally epi_tile_m | CODE |
| MEDIUM | …egakernel/src/moe_nvfp4_swapab/run_functional_tests.sh | 2 | # Functional test harness for the local fused fc1+fc2 MoE NVFP4 swap-AB runner. | COMMENT |
| MEDIUM | …edsl_megakernel/src/moe_nvfp4_swapab/run_mega_tests.sh | 2 | # Functional test harness for the distributed MegaMoE fused dispatch + fc1/fc2 | COMMENT |
| MEDIUM | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 1981 | # to avoid recomputing it the harness keeps the global | COMMENT |
| MEDIUM⚡ | …ull_style_cutedsl_megakernel/src/src/inputs_process.py | 579 | # Correctness harness (GPU only; needs cutlass + torch fp4/e8m0 dtypes). | COMMENT |
| MEDIUM | …ull_style_cutedsl_megakernel/src/src/inputs_process.py | 728 | except Exception as exc: # noqa: BLE001 -- smoke harness, report and continue | CODE |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/experimental/test_cake_lm_head_loss.py | 1735 | # and in the fp32 fused cast; the bf16 cast keeps the 1-D raster; a pinned ``group_n`` (0 or null) keeps the default | COMMENT |
| HIGH⚡ | …ts/experimental/b12x/preparation/test_delta_prefill.py | 46 | tensors["recurrent_state"][null].fill_(float("nan")) | CODE |
| HIGH⚡ | …ts/experimental/b12x/preparation/test_delta_prefill.py | 47 | tensors["initial_state_indices"].fill_(null) | CODE |
| HIGH⚡ | …ts/experimental/b12x/preparation/test_delta_prefill.py | 53 | expected, state = oracle(case, tensors, null_state_index=null) | CODE |
| HIGH | tests/attention/test_cake_fmha.py | 366 | " CAKE_FMHA_HAS_SINK == 1 && CAKE_FMHA_HAS_WINDOW == 0 && " | CODE |
| HIGH | tests/attention/test_cake_fmha.py | 386 | " CAKE_FMHA_HAS_SINK == 0 && CAKE_FMHA_HAS_WINDOW == 0 && " | CODE |
| HIGH⚡ | tests/trace/test_paged_mqa_logits_checker.py | 76 | With rnorm == 0 the relative error is undefined; substituting 0.0 made | STRING |
| HIGH | tests/mamba/test_cake_ssd_combined.py | 1700 | state undefined) -- both documented in D12, both flagged. A clean call | STRING |
| HIGH | tests/comm/test_trtllm_allreduce_reduction.py | 43 | TORCH_CHECK(num_threads > 0 && num_threads <= 1024, "invalid block size"); | CODE |
| HIGH | tests/comm/test_trtllm_mnnvl_allreduce.py | 306 | ordinary data; a `val == 0.F && signbit(val)` check would FTZ-flush | STRING |
| HIGH | tests/comm/test_mnnvl_moe_alltoall_fused_adapter.py | 649 | assert "if (bid == 0 && blockIdx.y == 0)" in topk6_source | CODE |
| HIGH | tests/utils/test_jit_example.py | 189 | if (qo_idx < qo_len && kv_idx < kv_len) { | CODE |
| HIGH | tests/gdn/test_decode_ucache.py | 57 | source env.sh && pytest tests/gdn/test_decode_ucache.py -v | STRING |
| HIGH | tests/jit/test_flash_kda_packed_t1_jit.py | 206 | assert "minor == 0 || minor == 3 || minor == 7" in binding | CODE |
| HIGH | tests/jit/test_cake_bgmv_moe_jit.py | 147 | "major == CAKE_BGMV_MOE_CC_MAJOR && minor == CAKE_BGMV_MOE_CC_MINOR" in binding | CODE |
| HIGH | tests/jit/test_cake_bgmv_moe_jit.py | 410 | "major == CAKE_BGMV_MOE_CC_MAJOR && minor == CAKE_BGMV_MOE_CC_MINOR" in binding | CODE |
| HIGH | tests/jit/test_flash_kda_decode_jit.py | 143 | assert "else if (has_token && k_lane == 0)" in generated_body | CODE |
| HIGH⚡ | tests/jit/test_flash_kda_decode_jit.py | 189 | assert "major == 10 && (minor == 0 || minor == 3)" in common | CODE |
| HIGH⚡ | tests/jit/test_flash_kda_decode_jit.py | 190 | assert "major == 10 && minor == expected_minor" in common | CODE |
| HIGH⚡ | tests/jit/test_flash_kda_decode_jit.py | 194 | assert "GateKind == 0 || GateKind == 1 || GateKind == 2" in common | CODE |
| HIGH | benchmarks/bench_monomoe.py | 86 | Uses mono_moe's `[gate || up]` fc1 half-ordering and the given (already | STRING |
| HIGH | benchmarks/bench_gdn_ucache_flush.py | 30 | source env.sh && python benchmarks/bench_gdn_ucache_flush.py [--iters 200] | STRING |
| HIGH | benchmarks/routines/attention.py | 4045 | # Leave empty (null) when not explicitly overridden so legacy | COMMENT |
| HIGH | flashinfer/collect_env.py | 156 | _run("grep -sq -e docker -e containerd -e kubepods /proc/1/cgroup && echo 1") | CODE |
| HIGH | flashinfer/kda_decode.py | 1033 | # slots are padding (the vLLM drop-in reserves slot 0 as null). | STRING |
| HIGH | flashinfer/prims_ts/moe/runner.py | 219 | """Pick finalize weights. Match C++ ``ndim()==2 && size(0)>0``. | STRING |
| HIGH | …/experimental/b12x/attention/_shared/mla/prefill_mg.py | 181 | XV path enables it (USE_WFP8_ROW_XOR = DUAL_CACHE && pbs_extra==2, | STRING |
| HIGH | …fer/experimental/b12x/testing/reference/prefill_ref.py | 38 | if attn_sink != null: | STRING |
| HIGH | …imental/b12x/sequence/gdn_prefill/_parallel_kernels.py | 600 | result = slot == Int64(self.null) | CODE |
| HIGH | …hinfer/experimental/b12x/sequence/gdn_prefill/_impl.py | 83 | object.__setattr__(self, "null_state_index", null) | CODE |
| HIGH | …hinfer/experimental/b12x/sequence/kda_prefill/_impl.py | 66 | object.__setattr__(self, "null_state_index", null) | CODE |
| HIGH | …er/experimental/b12x/sequence/kda_prefill/reference.py | 117 | initial state from ``initial_state_indices[i]`` (zero when null), writes its | STRING |
| HIGH | …experimental/b12x/moe/_shared/kernels/w4a16/prepare.py | 2239 | ``payload`` uses the reference container order ``record0 || record1`` and | STRING |
| HIGH | …experimental/b12x/moe/_shared/kernels/w4a16/prepare.py | 2241 | compact three-bpw byte count and record0 || record1 channel semantics. For | STRING |
| HIGH | flashinfer/trace/templates/attn_scores.py | 227 | # An all-zero reference makes the relative error undefined; the old | COMMENT |
| HIGH | flashinfer/trace/templates/moe.py | 3440 | description="Up/gate projection weights (FP8, [gate || up] rows).", | CODE |
| HIGH | flashinfer/trace/templates/moe.py | 3291 | up-projection weights use the [gate || up] half ordering (monomoe's | STRING |
| HIGH | …90/pull_style_cutedsl_megakernel/src/src/flag_batch.py | 21 | flag_addr: Int64 # per-lane counter-slot address (0 == null) | CODE |
| HIGH | …c/sm120/split_cutedsl_megakernel/src/src/flag_batch.py | 21 | flag_addr: Int64 # per-lane counter-slot address (0 == null) | CODE |
| HIGH | …/sm120/swapab_cutedsl_megakernel/src/src/flag_batch.py | 21 | flag_addr: Int64 # per-lane counter-slot address (0 == null) | CODE |
| HIGH | …kernel_src/sm100/cutedsl_megamoe/src/src/flag_batch.py | 21 | flag_addr: Int64 # per-lane counter-slot address (0 == null) | CODE |
| HIGH⚡ | …ashinfer/gdn_kernels/gdn_decode_bf16_wy_output_only.py | 1049 | # _v7e_a/b regs are undefined), so they must keep log_alpha=beta=0. The causal | COMMENT |
| HIGH⚡ | …shinfer/gdn_kernels/gdn_decode_bf16_wy_ucache_flush.py | 1671 | # _v7e_a/b regs are undefined), so they must keep log_alpha=beta=0. The causal | COMMENT |
| HIGH⚡ | flashinfer/gdn_kernels/gdn_decode_bf16_wy_ucache.py | 1139 | # _v7e_a/b regs are undefined), so they must keep log_alpha=beta=0. The causal | COMMENT |
| HIGH⚡ | …hinfer/fused_moe/cake_cute/cake_mxfp4_situ_moe_plan.py | 3761 | """K3 build-time variant: ``kPdl`` and whether the ``all`` list pointers are given (non-null).""" | STRING |
| HIGH | flashinfer/fused_moe/cute_dsl/moe_utils.py | 417 | ``!enable_alltoall || ep_size <= top_k`` branch). Functionally | STRING |
| HIGH⚡ | flashinfer/fused_moe/cake/cake_mxfp4_situ_moe_plan.py | 3761 | """K3 build-time variant: ``kPdl`` and whether the ``all`` list pointers are given (non-null).""" | STRING |
| HIGH | flashinfer/mla/_core.py | 4897 | Accepts the concatenated ``(q_nope || q_rope)`` query and ``(ckv || kpe)`` paged KV | CODE |
| HIGH⚡ | flashinfer/topk_varlen/kernels/gvr2_topk_decode.py | 1221 | HB=NBS; KBIG=(KPT>=2 && KPT*BLK>=2048); SCPB=(BLK>=1024)?(SPLIT?8192:16384) | STRING |
| HIGH | flashinfer/jit/attention/variants.py | 39 | float log_sink = (kv_tile_idx == 0 && qo_head_idx < params.num_qo_heads) ? params.sink[qo_head_idx] * math::log2e : | CODE |
| HIGH | flashinfer/jit/attention/variants.py | 219 | return causal || in_range; | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/utils.py | 543 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b > {unroll_threshold})))".format( | STRING |
| HIGH | flashinfer/jit/attention/fmha_v2/utils.py | 547 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b * h > {unroll_threshold})))".format( | STRING |
| HIGH | flashinfer/jit/attention/fmha_v2/generator_utils.py | 1543 | USE_TMA_STORE && false, | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/generator_utils.py | 1564 | USE_TMA_STORE && false, | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/generator_utils.py | 2424 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b > {unroll_threshold})))".format( | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/generator_utils.py | 2428 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b * h > {unroll_threshold})))".format( | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/fmha_library.py | 761 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b > {unroll_threshold})))".format( | CODE |
| HIGH | flashinfer/jit/attention/fmha_v2/fmha_library.py | 765 | code = "if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b * h > {unroll_threshold})))".format( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/attention/test_rope.py | 915 | # Step 1: Pre-populate cache with existing tokens | COMMENT |
| LOW | tests/attention/test_rope.py | 1126 | # Step 2: Append new tokens to the pre-populated cache | COMMENT |
| LOW | …_quantize_fp8_append_paged_kv_cache_h8_kv2_rope64.json | 194 | "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torch | CODE |
| LOW | …tize_fp8_append_paged_kv_cache_h8_kv2_rope64_ps16.json | 195 | "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torch | CODE |
| LOW⚡ | tests/utils/test_fp4_quantize.py | 315 | # Step 1: Quantize with fp4_quantize | COMMENT |
| LOW⚡ | tests/utils/test_fp4_quantize.py | 325 | # Step 2: Dequantize with e2m1_and_ufp8sf_scale_to_float | COMMENT |
| LOW | tests/utils/test_fp4_quantize.py | 340 | # Step 3: Compare results | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1081 | # Step 1: Compute g = -exp(A_log) * softplus(a + dt_bias) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1136 | # Step 1: Apply gating to hidden state: h *= exp(g) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1139 | # Step 2: Delta rule: v -= k^T @ h ([B,H,K] x [B,H,K,V] -> [B,H,V]) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1142 | # Step 3: Apply beta gating: v *= beta | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1145 | # Step 4: Update hidden state with outer product: h += k ⊗ v_new | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1148 | # Step 5: Compute output: o = q^T @ h | COMMENT |
| LOW | tests/gdn/reference_delta_rule.py | 1098 | # Step 2: Compute beta = sigmoid(b) | COMMENT |
| LOW | .claude/skills/self-review/SKILL.md | 16 | ## Step 1: Get the diff | COMMENT |
| LOW | .claude/skills/self-review/SKILL.md | 29 | ## Step 2: Apply the review guidance | COMMENT |
| LOW | .claude/skills/self-review/SKILL.md | 52 | ## Step 3: Apply the PR rules | COMMENT |
| LOW | .claude/skills/self-review/SKILL.md | 71 | ## Step 4: Report, then fix | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 63 | ### Step 1: Choose Your Test Routine | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 70 | ### Step 2: Run a Single Benchmark | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 118 | ### Step 3: Understand the Output | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 134 | ### Step 4: Run Batch Benchmarks | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 156 | ### Step 5: Common Flags | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 174 | ### Step 1: Write Your Benchmark Script | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 210 | ### Step 2: Run Your Benchmark | COMMENT |
| LOW | .claude/skills/benchmark-kernel/SKILL.md | 229 | ### Step 3: Advanced Options | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 24 | ## Step 1: Enable API Logging | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 109 | ## Step 2: Reproduce the Crash | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 146 | ## Step 3: Common CUDA Errors and How to Debug | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 249 | ## Step 4: Multi-Process Debugging | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 268 | ## Step 5: Advanced Debugging with compute-sanitizer | COMMENT |
| LOW | .claude/skills/debug-cuda-crash/SKILL.md | 309 | ## Step 6: Kernel-Level Debugging with printf() | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 18 | ## Step 1: Define CUDA Kernel in `include/` | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 76 | ## Step 2: Create Launcher in `csrc/` | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 163 | ## Step 3: Create TVM-FFI Binding in `csrc/` | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 183 | ## Step 4: Create JIT Generator (No Jinja for Simple Case) | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 387 | ## Step 5: Create Python API in `flashinfer/` | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 628 | ## Step 6: Add a Trace Template | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 776 | ## Step 7: Write Tests in `tests/` | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 846 | ## Step 7: Register in AOT | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 872 | ## Step 8: Export API | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 883 | ## Step 9: Run and Test | COMMENT |
| LOW | .claude/skills/add-cuda-kernel/SKILL.md | 893 | ## Step 10: Add Benchmark | COMMENT |
| LOW | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 176 | # Step 1 - Compile and load the TVM FFI module | COMMENT |
| LOW | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 197 | # Step 2 - Register as a JAX FFI target | COMMENT |
| LOW | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 240 | # Step 3 - Call as a regular JAX expression | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 149 | # Step 1: Add | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 151 | # Step 2: RMSNorm | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 153 | # Step 3: FP4 quantize (with global_scale for NVFP4) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 179 | # Step 1: Apply decay to hidden state: h *= exp(g) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 182 | # Step 2: Delta rule: v -= sum(h * k, dim=0) = k @ h | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 187 | # Step 3: Apply beta gating: v *= beta | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 190 | # Step 4: Update hidden state: h += outer(k, v) = k[:, None] * v[None, :] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 193 | # Step 5: Compute output: o = q @ h = sum(q[:, None] * h, dim=0) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 361 | # Step 1: Apply decay: h *= exp(g) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 364 | # Step 2: Delta rule: v -= h @ k (h is [BV, BK], k is [BK]) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 369 | # Step 3: Apply beta gating | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 372 | # Step 4: Update state: h += outer(v, k) = v[:, None] * k[None, :] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 376 | # Step 5: Compute output: o = h @ q = sum(h * q[None, :], axis=1) -> [BV] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 633 | # Step 1: Apply decay to hidden state: h *= exp(g) | COMMENT |
| 135 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mha_v2/fused_multihead_flash_attention_kernel_noloop.h | 286 | // Do we need to check if there are negative inf for softmax row_max ? | COMMENT |
| LOW | …/fused_multihead_flash_attention_kernel_noloop_tiled.h | 92 | // Do we need to check if there are negative inf for softmax row_max ? | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/epilogue.h | 73 | // Whether we need to check if local_max could be -inf or not. | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/epilogue.h | 543 | // Whether we need to check if local_max could be -inf or not. | COMMENT |
| LOW | csrc/fmha_v2/fmha/warpspec/epilogue.h | 734 | // Whether we need to check if local_max could be -inf or not. | COMMENT |
| LOW | tests/attention/test_rope.py | 915 | # Step 1: Pre-populate cache with existing tokens | COMMENT |
| LOW | tests/attention/test_rope.py | 1126 | # Step 2: Append new tokens to the pre-populated cache | COMMENT |
| LOW | …_quantize_fp8_append_paged_kv_cache_h8_kv2_rope64.json | 194 | "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torch | CODE |
| LOW | …tize_fp8_append_paged_kv_cache_h8_kv2_rope64_ps16.json | 195 | "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torch | CODE |
| LOW⚡ | tests/utils/test_fp4_quantize.py | 315 | # Step 1: Quantize with fp4_quantize | COMMENT |
| LOW⚡ | tests/utils/test_fp4_quantize.py | 325 | # Step 2: Dequantize with e2m1_and_ufp8sf_scale_to_float | COMMENT |
| LOW | tests/utils/test_fp4_quantize.py | 340 | # Step 3: Compare results | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1081 | # Step 1: Compute g = -exp(A_log) * softplus(a + dt_bias) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1136 | # Step 1: Apply gating to hidden state: h *= exp(g) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1139 | # Step 2: Delta rule: v -= k^T @ h ([B,H,K] x [B,H,K,V] -> [B,H,V]) | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1142 | # Step 3: Apply beta gating: v *= beta | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1145 | # Step 4: Update hidden state with outer product: h += k ⊗ v_new | COMMENT |
| LOW⚡ | tests/gdn/reference_delta_rule.py | 1148 | # Step 5: Compute output: o = q^T @ h | COMMENT |
| LOW | tests/gdn/reference_delta_rule.py | 1098 | # Step 2: Compute beta = sigmoid(b) | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 149 | # Step 1: Add | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 151 | # Step 2: RMSNorm | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py | 153 | # Step 3: FP4 quantize (with global_scale for NVFP4) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 179 | # Step 1: Apply decay to hidden state: h *= exp(g) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 182 | # Step 2: Delta rule: v -= sum(h * k, dim=0) = k @ h | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 187 | # Step 3: Apply beta gating: v *= beta | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 190 | # Step 4: Update hidden state: h += outer(k, v) = k[:, None] * v[None, :] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 193 | # Step 5: Compute output: o = q @ h = sum(q[:, None] * h, dim=0) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 361 | # Step 1: Apply decay: h *= exp(g) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 364 | # Step 2: Delta rule: v -= h @ k (h is [BV, BK], k is [BK]) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 369 | # Step 3: Apply beta gating | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 372 | # Step 4: Update state: h += outer(v, k) = v[:, None] * k[None, :] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 376 | # Step 5: Compute output: o = h @ q = sum(h * q[None, :], axis=1) -> [BV] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 633 | # Step 1: Apply decay to hidden state: h *= exp(g) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 636 | # Step 2: Delta rule: v -= h @ k = sum(h * k[None, :], axis=1) | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 640 | # Step 3: Apply beta gating: v *= beta | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 643 | # Step 4: Update hidden state: h += outer(v, k) = v[:, None] * k[None, :] | COMMENT |
| LOW⚡ | benchmarks/gdn_triton_reference.py | 646 | # Step 5: Compute output: o = h @ q = sum(h * q[None, :], axis=1) | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_rmsnorm_fp4quant.py | 157 | # Step 1: RMSNorm | COMMENT |
| LOW⚡ | benchmarks/bench_cute_dsl_rmsnorm_fp4quant.py | 159 | # Step 2: FP4 quantize (with global_scale for NVFP4) | COMMENT |
| LOW | benchmarks/routines/norm.py | 1335 | # Step 2: RMSNorm on residual | COMMENT |
| LOW⚡ | scripts/pr_checks/check_api_docs.py | 63 | # Step 1: collect all @flashinfer_api-decorated function names via AST | COMMENT |
| LOW⚡ | scripts/pr_checks/check_api_docs.py | 91 | # Step 2: collect documented symbols from docs/api/*.rst | COMMENT |
| LOW⚡ | scripts/pr_checks/check_api_docs.py | 162 | # Step 3: compare and report | COMMENT |
| LOW | flashinfer/trace/templates/rope.py | 1018 | # Step 3: append into paged cache (GQA/MHA) — materialize the quantized | COMMENT |
| LOW⚡ | …e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py | 196 | # Step 1: deterministic FP8 input + weight generation | COMMENT |
| LOW⚡ | …e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py | 625 | # Step 2: FP8 reference | COMMENT |
| LOW⚡ | …e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py | 696 | # Step 5: FP8 validation | COMMENT |
| LOW⚡ | …e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py | 794 | # Step 4: FP8 kernel launch | COMMENT |
| LOW | …le_cutedsl_megakernel/src/moe_nvfp4_swapab/epilogue.py | 871 | # Step 1: absmax over the weighted regs. | COMMENT |
| LOW | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 1407 | # Step 0: load tmem | COMMENT |
| LOW | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 1454 | # Step 1: perform swiglu on the first part, interleave with the second's 32x32 tmem transpose. | COMMENT |
| LOW | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 1482 | # Step 2: Quant | COMMENT |
| LOW | …l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py | 1493 | # Step 3: TMASTG | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 774 | # Step 1: deterministic input + weight generation | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 984 | # Step 2: reference | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 1015 | # Step 3: workspace allocation | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 1053 | # Step 4: kernel launch | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 1466 | # Step 5: validation | COMMENT |
| LOW⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/kernel_fc12.py | 1913 | # Step 1: coarse-grain spin on ``fc1_done_counter[slot]`` | COMMENT |
| LOW | …cutedsl_megakernel/src/moe_nvfp4_swapab/kernel_fc12.py | 2014 | # Step 3: K-loop with 2x cute.copy per tile (B + | COMMENT |
| 108 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/conftest.py | 309 | # Create a dict with module info for reporting | COMMENT |
| MEDIUM | tests/kda/test_recurrent_kda_decode_export.py | 38 | # This file is the deprecated facade's regression suite, so its own deprecation | COMMENT |
| MEDIUM | tests/attention/test_attention_sink.py | 297 | # Create a fragmented page allocation pattern | COMMENT |
| MEDIUM | tests/attention/test_trtllm_gen_attention_decode.py | 1976 | # Create a larger tensor with 2*D in the last dimension | COMMENT |
| MEDIUM⚡ | tests/trace/test_fi_trace.py | 1103 | # Create a dummy instance — we don't call run(), only fi_trace() | COMMENT |
| MEDIUM | tests/moe_ep/nccl_ep/test_handle_mock.py | 803 | # Create the handle at 222 rows on a fleet sized for 128, so the | COMMENT |
| MEDIUM | tests/autotuner/test_autotuner_configs.py | 772 | # Create a cache file with a known config | COMMENT |
| MEDIUM | tests/autotuner/test_autotuner_configs.py | 963 | # Create a cache file | COMMENT |
| MEDIUM | tests/mamba/utils.py | 266 | # Create a simple linear chain structure by default | COMMENT |
| MEDIUM | tests/comm/test_trtllm_alltoall.py | 114 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_trtllm_alltoall.py | 177 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_trtllm_moe_alltoall.py | 332 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_trtllm_moe_alltoall.py | 711 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_trtllm_moe_alltoall.py | 1383 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_mnnvl_memory.py | 135 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/comm/test_quantized_allreduce.py | 213 | # This file is single-node spawn-managed; use a file store to avoid | COMMENT |
| MEDIUM | tests/utils/test_fp4_quantize.py | 253 | # Create a test scale factors tensor with uint8 dtype | COMMENT |
| MEDIUM | tests/utils/test_fp4_quantize.py | 303 | # Create a reasonable test tensor | COMMENT |
| MEDIUM | tests/utils/test_logging.py | 520 | # Create a tensor with specific properties | COMMENT |
| MEDIUM | tests/utils/test_logging_replay.py | 1131 | # Create a mock dump with safetensors files | COMMENT |
| MEDIUM | tests/utils/test_norm.py | 927 | # Create a JIT spec for norm module without ENABLE_FP8 flag | COMMENT |
| MEDIUM | tests/utils/test_load_cubin_compile_race_condition.py | 40 | # Define the target file - same for all processes | COMMENT |
| MEDIUM | tests/utils/test_load_cubin_compile_race_condition.py | 75 | # Create a temporary directory for FLASHINFER_CUBIN_DIR | COMMENT |
| MEDIUM | tests/cli/test_cli_cmds.py | 536 | # Create a temporary JIT directory with some dummy cache files | STRING |
| MEDIUM | tests/cli/test_cli_cmds.py | 579 | # Create a temporary cubin directory with some dummy cubin files | STRING |
| MEDIUM | tests/test_helpers/rope_reference.py | 113 | # The following code is from the vLLM's implementation of RoPE. | COMMENT |
| MEDIUM | tests/moe/test_dpsk_fused_moe_fp8.py | 596 | # Create a mock MoE implementation for skip_checks | COMMENT |
| MEDIUM | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 1 | # This file is the canonical Sphinx-Gallery source for the tutorial. | COMMENT |
| MEDIUM | docs/tutorials/jax_tvm_ffi/gemma3_flashinfer_jax.py | 1 | # This file is the canonical Sphinx-Gallery source for the tutorial. | COMMENT |
| MEDIUM | examples/pytorch/wan/transformer_wan_flashinfer.py | 4 | # This file is adapted from the diffusers WanTransformer3DModel implementation: | COMMENT |
| MEDIUM | scripts/task_test_multi_gpu_comm_kernels.sh | 22 | # Define the specific test files for multi-GPU comm tests (single-node) | COMMENT |
| MEDIUM | scripts/task_test_multi_node_comm_kernels.sh | 25 | # Define the specific test files for multi-node comm tests | COMMENT |
| MEDIUM | scripts/test_utils.sh | 3 | # This file is meant to be sourced by test runner scripts | COMMENT |
| MEDIUM | scripts/test_utils.sh | 1024 | # Create a bash array with the node IDs | COMMENT |
| MEDIUM | scripts/test_utils.sh | 1194 | # Create a temporary directory for parallel job state | COMMENT |
| MEDIUM | scripts/test_utils.sh | 1209 | # Create a results file for each test | COMMENT |
| MEDIUM | flashinfer/experimental/b12x/_lib/utils.py | 368 | # Create a numpy array | STRING |
| MEDIUM | flashinfer/experimental/b12x/_lib/dense_gemm.py | 29 | # This file is ported from the CUTLASS dense block-scaled GEMM example | COMMENT |
| MEDIUM | flashinfer/experimental/deepseek_v41/hca_v41.py | 2253 | # This function is reached only by the dequant warp interval, so | COMMENT |
| MEDIUM | …e_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py | 221 | # Create a new cute.Pointer with generic address space, preserving alignment | COMMENT |
| MEDIUM | …e_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py | 249 | # Create a new cute.Pointer with gmem address space, preserving alignment | COMMENT |
| MEDIUM | …b_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py | 220 | # Create a new cute.Pointer with generic address space, preserving alignment | COMMENT |
| MEDIUM | …b_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py | 248 | # Create a new cute.Pointer with gmem address space, preserving alignment | COMMENT |
| MEDIUM | …dsl_megakernel/src/moe_sm120_mxfp8_swapab/moe_utils.py | 260 | # Create a new cute.Pointer with generic address space, preserving alignment | COMMENT |
| MEDIUM | …dsl_megakernel/src/moe_sm120_mxfp8_swapab/moe_utils.py | 288 | # Create a new cute.Pointer with gmem address space, preserving alignment | COMMENT |
| MEDIUM | …m100/cutedsl_megamoe/src/moe_nvfp4_swapab/moe_utils.py | 229 | # Create a new cute.Pointer with generic address space, preserving alignment | COMMENT |
| MEDIUM | …m100/cutedsl_megamoe/src/moe_nvfp4_swapab/moe_utils.py | 257 | # Create a new cute.Pointer with gmem address space, preserving alignment | COMMENT |
| MEDIUM | flashinfer/comm/dlpack_utils.py | 224 | # Create a new capsule each time | STRING |
| MEDIUM | flashinfer/fused_moe/core.py | 586 | # Create the output | COMMENT |
| MEDIUM | flashinfer/fused_moe/cute_dsl/rubin/custom_pipeline.py | 44 | # This file is copied and modified from https://github.com/NVIDIA/cutlass/tree/main/python/CuTeDSL/cutlass/pipeline | COMMENT |
| MEDIUM | flashinfer/fused_moe/cute_dsl/rubin/utils.py | 146 | # Create a numpy array | STRING |
| MEDIUM | …hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py | 44 | # This file is copied and modified from https://github.com/NVIDIA/cutlass/tree/main/python/CuTeDSL/cutlass/pipeline | COMMENT |
| MEDIUM | flashinfer/fused_moe/cute_dsl/blackwell/utils.py | 44 | # This file is copied and modified from cutlass https://github.com/NVIDIA/cutlass/blob/main/python/CuTeDSL/cutlass/cute/ | COMMENT |
| MEDIUM | …blockscaled_contiguous_grouped_gemm_finalize_fusion.py | 317 | """This class implements batched matrix multiplication (C = A x SFA x B x SFB) with support for various data types | STRING |
| MEDIUM | …ockscaled_contiguous_gather_grouped_gemm_act_fusion.py | 332 | """This class implements contiguous grouped matrix multiplication with gather operation and SwiGLU fusion | STRING |
| MEDIUM | flashinfer/fused_moe/cute_dsl/common/kernel_utils.py | 44 | # This file is copied and modified from cutlass https://github.com/NVIDIA/cutlass/blob/main/python/CuTeDSL/cutlass/cute/ | COMMENT |
| MEDIUM | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py | 29 | # This file is ported from CUTLASS's sm103_dense_blockscaled_gemm_persistent.py | COMMENT |
| MEDIUM | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py | 54 | """This class implements batched matrix multiplication (C = A x SFA x B x SFB) with support for FP4 data types | STRING |
| MEDIUM | flashinfer/gemm/kernels/epilogue_utils.py | 4 | # This file contains modified versions of epilogue utility functions from | COMMENT |
| MEDIUM | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py | 29 | # This file is ported from CUTLASS's Rubin dense_blockscaled_gemm_persistent.py | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_backend.py | 1059 | # Check if we're in a git repository | COMMENT |
| LOW | flashinfer-cubin/build_backend.py | 75 | # Check if we're in a git repository | COMMENT |
| LOW | tests/attention/test_attention_sink.py | 928 | # Check if any request has qo_len > kv_len for causal case | COMMENT |
| LOW | …s/comm/test_trtllm_allreduce_fusion_group_fp8_quant.py | 218 | # Check if current workspace is large enough; recreate if not | COMMENT |
| LOW | tests/utils/test_fp8_quantize.py | 832 | # Check if the bits of paddings are zero. | COMMENT |
| LOW | tests/utils/test_load_cubin_compile_race_condition.py | 44 | # Read the file from FLASHINFER_CUBIN_DIR | COMMENT |
| LOW | tests/model_optimizations/test_dsv3_fused_routing.py | 276 | # Check if kernel's selection matches expected experts (exact or tied) | COMMENT |
| LOW | tests/test_helpers/sink_attention_reference.py | 95 | # Check if variable length mode is indicated by presence of indptr | COMMENT |
| LOW | flashinfer-jit-cache/build_backend.py | 89 | # Check if we're in a git repository | COMMENT |
| LOW | benchmarks/bench_tgv_gemm.py | 184 | # Check if results are close enough | COMMENT |
| LOW | benchmarks/bench_logging_overhead.py | 224 | # Check if CUDA is available | COMMENT |
| LOW | benchmarks/bench_dcp_alltoall.py | 297 | # Print results (rank 0 only) | COMMENT |
| LOW | scripts/xfails_tracker.py | 52 | # Check if this is a test function (starts with "test_" or has @pytest marks) | COMMENT |
| LOW | scripts/xfails_tracker.py | 70 | # Check if this is a pytest.param call | COMMENT |
| LOW | scripts/xfails_tracker.py | 77 | # Check if this is a runtime pytest.xfail() call | COMMENT |
| LOW | scripts/test_utils.sh | 1674 | # Check if parallel execution is enabled | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 89 | # Check if gh CLI is available | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 114 | # Check if it's already in our cache | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 220 | # Check if username is in allowed list (case-insensitive) | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 290 | # Check if it's a relevant code file | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 420 | # Check if contributor is in allowed users list | COMMENT |
| LOW | scripts/codeowner_analyzer.py | 629 | # Write file-level overrides LAST (CODEOWNERS uses last-match-wins) | COMMENT |
| LOW | .github/workflows/update-xfails-report.yml | 43 | # Check if xfails report file is new (unstaged) or has changes | COMMENT |
| LOW | .github/workflows/update-codeowners.yml | 50 | # Check if CODEOWNERS file is new (unstaged) or has changes | COMMENT |
| LOW | .github/workflows/issue-claim.yml | 86 | # Check if issue already has assignees | COMMENT |
| LOW | .github/workflows/issue-claim.yml | 301 | # Check if user is now a collaborator (accepted invitation) | COMMENT |
| LOW | flashinfer/api_logging.py | 2105 | # Check if this parameter was provided | COMMENT |
| LOW | flashinfer/utils.py | 357 | # Check if it's a CUDA device | COMMENT |
| LOW | flashinfer/prefill.py | 638 | # Check if FP8 by presence of scale tensors | COMMENT |
| LOW | flashinfer/__main__.py | 1106 | # Check if this is a single dump or a session / sequence root | COMMENT |
| LOW | flashinfer/cuda_utils.py | 20 | # Check if cuda.cudart module is available and import accordingly | COMMENT |
| LOW | …ention/prims_ts/kernels/fmha_context/fmha_resources.py | 5364 | # Check if we should skip correction (when old_max == new_max) | COMMENT |
| LOW | …utedsl_megamoe/src/moe_bf16_glu/mega_reference_bf16.py | 566 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | flashinfer/autotuner/autotuner.py | 2528 | # Set time_measured to inf to notify the failure of the tactic. This can happen when | COMMENT |
| LOW | flashinfer/triton/sm_constraint_gemm.py | 66 | # Set num_sms to be 100% of the available SMs | COMMENT |
| LOW | flashinfer/comm/mnnvl.py | 757 | # Check if cuda.cudart is available and import accordingly | COMMENT |
| LOW | flashinfer/comm/mnnvl.py | 794 | # Check if device supports multicasting | COMMENT |
| LOW | …hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py | 357 | # Set mask to None if not using clusters (i.e. 1CTA kernels) | COMMENT |
| LOW | …hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py | 363 | # Set mask to None if not using 2CTA instructions | COMMENT |
| LOW | flashinfer/gemm/gemm_base.py | 9472 | # Check if dimensions are aligned for cute-dsl (16-byte alignment) | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py | 363 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py | 998 | # Check if we're not at the last buffer of the last k_tile | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py | 1083 | # Check if we're not at the last stage of the last k_tile | COMMENT |
| LOW | flashinfer/gemm/kernels/epilogue_utils.py | 241 | # Check if tile_sched is StaticPersistentTileScheduler or any subclass inheriting from it | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py | 754 | # Check if prefetch is enabled (prefetch_dist > 0) | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py | 2069 | # Check if the current combination is valid | COMMENT |
| LOW | flashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py | 2794 | # Check if prefetch is enabled (prefetch_dist > 0) | COMMENT |
| LOW | flashinfer/gemm/kernels/grouped_gemm_masked_rubin.py | 694 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | flashinfer/gemm/kernels/grouped_gemm_masked_rubin.py | 1950 | # Check if the current combination is valid | COMMENT |
| LOW | flashinfer/gemm/kernels/bmm_fp8_rubin.py | 547 | # Check if we should use Bkeep-Breuse pattern | COMMENT |
| LOW | flashinfer/gemm/kernels/bmm_fp8_blackwell.py | 310 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …ashinfer/gemm/kernels/grouped_gemm_masked_blackwell.py | 907 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …er/gemm/kernels/dense_blockscaled_gemm_sm100_common.py | 102 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …nfer/gemm/kernels/grouped_gemm_contiguous_blackwell.py | 551 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | flashinfer/gemm/kernels/cutile/ragged_bmm_cutile.py | 780 | # Check if autotune is enabled | COMMENT |
| LOW | …ashinfer/gemm/kernels/cutile/gemm_alpha_beta_cutile.py | 411 | # Check if autotune is requested | COMMENT |
| LOW | flashinfer/quantization/kernels/mxfp8_quantize.py | 739 | # Check if this thread's row is valid | COMMENT |
| LOW | flashinfer/cute_dsl/gemm_allreduce_two_shot.py | 519 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | flashinfer/testing/utils.py | 871 | # Check if args are provided (determines how we call fn) | COMMENT |
| LOW | flashinfer/testing/utils.py | 1168 | # Check if args are provided (determines how we call fn) | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | flashinfer/green_ctx.py | 129 | Split the device into multiple `green contexts <https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__GREEN__CO | STRING |
| HIGH | flashinfer/green_ctx.py | 199 | Split the device into multiple green contexts, each with a fixed number of SMs, return the corresponding stream | STRING |
| HIGH | flashinfer/utils.py | 341 | Get GPU memory bandwidth in GB/s for the specified CUDA device. Args: device: torch.device object, e.g | STRING |
| HIGH | flashinfer/autotuner/autotuner.py | 105 | Map *x* to the nearest bucket using floor or ceil semantics. Args: x: The value to map. buckets: Bu | STRING |
| HIGH | flashinfer/autotuner/autotuner.py | 149 | Create a mapper function for :class:`DynamicTensorSpec.map_to_tuning_buckets`. The returned callable maps any integ | STRING |
| HIGH | flashinfer/autotuner/autotuner.py | 843 | Context manager for autotuning with optional file-based caching. Controls how FlashInfer profiles and selects the b | STRING |
| HIGH | flashinfer/autotuner/autotuner.py | 3678 | Load autotuner configs from a JSON file. Populates the internal config lookup table so that ``search_cache()`` | STRING |
| HIGH | …blockscaled_contiguous_grouped_gemm_finalize_fusion.py | 391 | Blockscaled contiguous grouped GEMM for MoE GEMM2 workloads. Fused mode applies routing weights and atomically redu | STRING |
| HIGH | …ockscaled_contiguous_gather_grouped_gemm_act_fusion.py | 487 | Blockscaled contiguous gather grouped GEMM with fused FC1 activation. Performs grouped matrix multiplication with f | STRING |
| HIGH | flashinfer/attn_scores/attn_scores.py | 1610 | FP8 paged MQA logits for Blackwell (SM100/SM103) and Rubin (SM107). Computes weighted per-head ReLU attention score | STRING |
| HIGH | flashinfer/attn_scores/attn_scores.py | 2127 | FP4 (MXFP4) paged MQA logits for Blackwell (SM100/SM103) and Rubin (SM107). Computes weighted per-head ReLU attenti | STRING |
| HIGH | flashinfer/gemm/gemm_bf16_fp4.py | 265 | Prepare FP4 weights for the bf16 x fp4 GEMM, for a specific backend. The caller is expected to start with weights i | STRING |
| HIGH | flashinfer/quantization/fp4_quantization.py | 474 | Quantize a batched tensor to FP4 (E2M1x2) with per-block scale factors. This function converts a float/bfloat16 | STRING |
| HIGH | flashinfer/quantization/fp4_quantization.py | 675 | Quantize a silu and matmul with masked batched tensor to FP4 (E2M1x2) with per-block scale factors. This functi | STRING |
| HIGH | flashinfer/topk_varlen/kernels/filtered_topk_util.py | 114 | Return the filtered top-k resource policy for an architecture. Args: compute_capability: A ``(major, minor) | STRING |
| HIGH | flashinfer/parallel_attention/utils.py | 356 | Create a device mesh and return the Ring and Ulysses process groups. Builds a ``DeviceMesh`` with up to three dimen | STRING |
| HIGH | flashinfer/kda_kernels/kda_decode_wy_output_only.py | 2070 | Output-only (frozen-state) KDA decode over 1..16 tokens per sequence. Computes the KDA (Kimi Delta Attention) outpu | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/autotuner/test_autotuner_core.py | 1914 | # TODO: Let AutoTuner orchestrate multiple same-shaped value samples within one tuning transaction. | COMMENT |
| MEDIUM⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 2414 | # Top-level orchestration | COMMENT |
| MEDIUM | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 2658 | # orchestration above is the part being smoke-tested for now. | COMMENT |
| MEDIUM⚡ | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 2405 | # Top-level orchestration | COMMENT |
| MEDIUM | …cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py | 2648 | # orchestration above is the part being smoke-tested for now. | COMMENT |
| MEDIUM⚡ | …l_megakernel/src/moe_sm120_mxfp8_swapab/mega_runner.py | 2151 | # Top-level orchestration | COMMENT |
| MEDIUM | …l_megakernel/src/moe_sm120_mxfp8_swapab/mega_runner.py | 2378 | # orchestration above is the part being smoke-tested for now. | COMMENT |
| MEDIUM⚡ | …00/cutedsl_megamoe/src/moe_nvfp4_swapab/mega_runner.py | 2539 | # Top-level orchestration | COMMENT |
| MEDIUM | …00/cutedsl_megamoe/src/moe_nvfp4_swapab/mega_runner.py | 2804 | # orchestration above is the part being smoke-tested for now. | COMMENT |
| MEDIUM | flashinfer/fused_moe/da_runtime.py | 770 | # Strip orchestration-owned keywords before delegating dtype-specific allocation and | COMMENT |
| MEDIUM | flashinfer/mla/cake_dsv4.py | 1757 | # Launch orchestration # | COMMENT |
| MEDIUM⚡ | flashinfer/cute_dsl/attention/roles/epilogue.py | 74 | # Prefill orchestration — proven-correct inline implementation | COMMENT |
| MEDIUM⚡ | flashinfer/cute_dsl/attention/roles/loader_tma.py | 282 | # Prefill orchestration — proven-correct inline implementation | COMMENT |
| MEDIUM⚡ | flashinfer/cute_dsl/attention/roles/mma.py | 198 | # Prefill orchestration — uses primitives for GEMMs and TMEM lifecycle | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | csrc/fmha_v2/fmha/utils.h | 66 | // Example usage: | COMMENT |
| LOW | scripts/list_apis.sh | 10 | # Usage: | COMMENT |
| LOW | …_megakernel/src/moe_hopper_fp8/run_functional_tests.sh | 13 | # Usage: | COMMENT |
| LOW | …utedsl_megakernel/src/moe_hopper_fp8/run_mega_tests.sh | 21 | # Usage: | COMMENT |
| LOW | …cutedsl_megakernel/src/moe_hopper_fp8/run_perf_test.sh | 18 | # Usage: | COMMENT |
| LOW | …egakernel/src/moe_nvfp4_swapab/run_functional_tests.sh | 10 | # Usage: | COMMENT |
| LOW | …edsl_megakernel/src/moe_nvfp4_swapab/run_mega_tests.sh | 17 | # Usage: | COMMENT |
| LOW | …egakernel/src/moe_nvfp4_swapab/run_functional_tests.sh | 10 | # Usage: | COMMENT |
| LOW | …edsl_megakernel/src/moe_nvfp4_swapab/run_mega_tests.sh | 17 | # Usage: | COMMENT |
| LOW | …l_megakernel/src/moe_mxfp8_glu/run_functional_tests.sh | 18 | # Usage: | COMMENT |
| LOW | …cutedsl_megakernel/src/moe_mxfp8_glu/run_mega_tests.sh | 22 | # Usage: | COMMENT |
| LOW | …l_megamoe/src/moe_nvfp4_swapab/run_functional_tests.sh | 10 | # Usage: | COMMENT |
| LOW | …cutedsl_megamoe/src/moe_nvfp4_swapab/run_mega_tests.sh | 17 | # Usage: | COMMENT |
| LOW | …edsl_megamoe/src/moe_mxfp8_glu/run_functional_tests.sh | 18 | # Usage: | COMMENT |
| LOW | …00/cutedsl_megamoe/src/moe_mxfp8_glu/run_mega_tests.sh | 22 | # Usage: | COMMENT |
| LOW | …tedsl_megamoe/src/moe_bf16_glu/run_functional_tests.sh | 18 | # Usage: | COMMENT |
| LOW | …100/cutedsl_megamoe/src/moe_bf16_glu/run_mega_tests.sh | 33 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 304 | # In this example, you should learn how minimal the JAX-TVM bridge can be when the function signature and ``arg_spec`` a | COMMENT |
| HIGH | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 427 | # In this example, you should learn how to handle two new complications that were absent in Example 1: a TVM function th | COMMENT |
| HIGH | docs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py | 644 | # In this example, you should learn about three patterns that appear together for the first time: a kernel **compiled se | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils/test_decorators.py | 17 | def my_function(x, y): | CODE |
| LOW | tests/utils/test_logging.py | 186 | def test_function(x, y): | CODE |
| LOW | tests/utils/test_logging.py | 212 | def test_function(tensor, value): | CODE |
| LOW | tests/utils/test_logging.py | 250 | def test_function(tensor): | CODE |
| LOW | tests/utils/test_logging.py | 278 | def test_function(mode: TestEnum, strategy: StringEnum): | CODE |
| LOW | tests/utils/test_logging.py | 308 | def test_function(x, y=10, z=20, mode=TestEnum.OPTION_A): | CODE |
| LOW | tests/utils/test_logging.py | 339 | def test_function(x, y=10, z=20): | CODE |
| LOW | tests/utils/test_logging.py | 479 | def test_function( | CODE |
| LOW | tests/utils/test_logging.py | 517 | def test_function(tensor): | CODE |
| LOW | tests/utils/test_logging.py | 550 | def test_function(nested): | CODE |
| LOW | tests/utils/test_logging.py | 615 | def test_function(x): | CODE |
| LOW | tests/utils/test_logging.py | 640 | def test_function(a, b, c): | CODE |
| LOW | flashinfer/api_logging.py | 2451 | ... def my_function(x, y): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/workflows/update-codeowners.yml | 76 | Auto-generated CODEOWNERS update based on commit activity over the last ${{ env.DAYS_BACK }} days. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/experimental/b12x/preparation/test_session.py | 62 | CODE | |
| MEDIUM | …infer/experimental/b12x/comm/pcie/pcie_vocab_argmax.py | 300 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | flashinfer/gdn_kernels/gdn_decode_mtp.py | 3104 | dummy_key = (q.device, h0_source.dtype) | CODE |
| LOW⚡ | flashinfer/gdn_kernels/gdn_decode_mtp.py | 3105 | if dummy_key not in dummy_intermediate_states: | CODE |
| LOW⚡ | flashinfer/gdn_kernels/gdn_decode_mtp.py | 3106 | dummy_intermediate_states[dummy_key] = torch.empty( | CODE |
| LOW⚡ | flashinfer/gdn_kernels/gdn_decode_mtp.py | 3109 | intermediate_states = dummy_intermediate_states[dummy_key] | CODE |