AI Slop Code Risk Monitor

flashinfer-ai/flashinfer

SlopCodeMonitor badge for flashinfer-ai/flashinfer Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

FlashInfer: Kernel Library for LLM Serving

19.1 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for flashinfer-ai/flashinfer, a Cuda project with 6,826 GitHub stars. SynthScan examined 4,292,733 lines of code across 6339 source files, recording 49875 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 19.1 (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.

19.1
Adjusted Signal
19.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.8K
Stars
Cuda
Language
4.3M
Lines of Code
6.3K
Files
49.9K
Pattern Hits
2026-10-31
Scan Date
0.83
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 24.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 26688 finding(s).

Hallucinated Dependency & Supply Chain Risk 9.8/100 · LOW

Are imports declared and package/API names verified? 8719 finding(s).

Agent Over-Engineering Ratio 53.8/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 34158 finding(s).

PR Review Velocity Impact 65.6/100 · HIGH

Which changes need focused human review? 49875 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 84HIGH 5173MEDIUM 7548LOW 37070

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 49875 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.

Cross-File Repetition4891 hits · 24455 pts
SeverityFileLineSnippetContext
HIGHbuild_backend.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/test_minimax_h3_fp8_varlen_attention.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_dsa_indexer.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_kimi_k3_fp8_projection.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_w8a8_megamoe_ep16.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_kda_det_train.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_mla_varq_dcp_decode.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGH…ts/experimental/test_cake_dense_projection_det_gemm.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_balanced_gqa_decode.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_sm110_gqa_decode.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_kimi_k3_latent_moe.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_dsa_train.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_mla_nvfp4_paged_decode.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_sm110_gqa_decode_prepared.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_lm_head_loss.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_vsa_sm90.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGH…rimental/test_cake_moe_grouped_det_gemm_determinism.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_experimental_api.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGH…erimental/test_cake_dense_projection_det_gemm_names.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_msa_nvfp4_decode.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_vsa_sm90_api.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_qsa_nvfp4.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_kimi_k3_fused_router.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_kimi_k3_vision_tower.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_mhc_pre_big_fuse_with_norm.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGH…/experimental/test_cake_minimax_h3_varlen_attention.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_mxfp8_megamoe_ep16.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/experimental/test_cake_moe_grouped_det_gemm.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_nvfp4_attention_sm120.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_prefill_uniform_q_len_plan.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_mla_auto_backend.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_lse_base.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_bidirectional_ranges_attention.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_workspace_size.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_auto_backend_upgrade.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_cake_vsa.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_eagle_verify_fp8kv_sm90.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/attention/test_cake_vsa_planning.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/moe_ep/test_sm90_push_fp8_gemm.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/trace/test_b12x_moe_trace.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/utils/test_collect_env.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/jit/test_bgmv_moe_jit.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/jit/test_aot_sm103_modules.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/jit/test_cutlass_fused_moe_aot.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/jit/test_cake_bgmv_moe_jit.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/cpu/jit/test_blackwell_msa_jit.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/mamba/test_cake_ssd_combined.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/mamba/test_cake_ssd_combined_capture.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/comm/test_mixed_comm_checkpoint.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/comm/test_pcie_ipc_all_reduce.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/comm/test_ulysses_head_chunk.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/utils/test_gen_module_symlink_race_condition.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/utils/test_sampling_seed_offset.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/utils/test_cake_sampling_upstream.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/utils/test_gated_act_mxfp8.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/gemm/test_cake_mm_fp4.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/gemm/test_group_gemm_fp4.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/gemm/test_cudnn_knob_tactics.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/quantization/test_cake_nvfp4_quantize.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
HIGHtests/gdn/test_replayssm_spec_fold.py0copyright (c) 2025 by flashinfer team. licensed under the apache license, version 2.0 (the "license"); you may not use tSTRING
4831 more matches not shown…
Decorative Section Separators7214 hits · 21807 pts
SeverityFileLineSnippetContext
MEDIUMcsrc/fused_moe/monomoe/src/ptx_utils.h14// ── cp.async scalar helpers (sm_80+) ──────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/ptx_utils.h35// ── Hopper WGMMA (sm_90a) helpers ─────────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/ptx_utils.h148// ── Hopper mbarrier helpers (sm_90a) ──────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/ptx_utils.h309// ── Hopper TMA bulk-tensor copy (sm_90a) ──────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_tma.h214// ─── Device-side TMA load helpers ────────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_tma.h437// ─── Down-projection (Phase 4) TMA load helpers ──────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_interface.h40// ── Single fixed-shape Dims (E=256, N=512, K=2048 block-wise FP8) ─────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h24// ── KernelConfig opt-in detection ───────────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h257 // ── Sentinel-based Phase 3 → 4 handoff state (tail fields) ────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h285 // ── Phase 4 → 5 readiness flags (replaces the site-#3 barrier) ────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h285 // ── Phase 4 → 5 readiness flags (replaces the site-#3 barrier) ────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h306// ── Sentinel handoff helpers (Phase 3 → 4) ────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h409 // ── WGMMA tile geometry ───────────────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h427 // ── Down-proj outer K-step (K_STEP_DOWN tunable) ──────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h437 // ── Down-proj TMA pipeline depth (DOWN_PIPE_DEPTH tunable) ────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h451 // ── Up-proj outer K-step (K_STEP_UP tunable) ──────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h462 // ── Up-proj weight-TMA lookahead (UP_W_SLOTS tunable) ─────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h483 // ── Up-proj col-halves (M-axis 128-row atoms per block) ───────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h501 // ── Down-projection grid layout ───────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h665 // ── mbarriers (16-B alignment required by SM90 mbarrier PTX) ─────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h678 // ── Phase 3 → Phase 4 (expert, token) reorganization tables ──────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h730 // ── Common fields ────────────────────────────────────────────────────────COMMENT
MEDIUMcsrc/fused_moe/monomoe/src/moe_internal.h781// ── Warp identity helpers ───────────────────────────────────────────────────COMMENT
MEDIUMtests/test_minimax_h3_mxfp8.py324# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_minimax_h3_mxfp8.py326# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_minimax_h3_nvfp4.py509# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_minimax_h3_nvfp4.py511# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_minimax_h3_nvfp4.py1015# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_minimax_h3_nvfp4.py1017# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_minimax_h3_qkv_quantize_pack.py65# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_minimax_h3_qkv_quantize_pack.py67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_minimax_h3_qkv_quantize_pack.py191# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_minimax_h3_qkv_quantize_pack.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_cake_causal_conv1d_det_train_kcp.py588# ----------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/kda/test_kda_prefill_trained_gate_distribution.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/kda/test_kda_prefill_trained_gate_distribution.py408# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_kda_output_only.py493# =============================================================================COMMENT
MEDIUM⚡tests/kda/test_kda_output_only.py495# =============================================================================COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py752# ==============================================================================COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py754# ==============================================================================COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1468# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1470# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1589# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1591# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1655# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1657# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1687# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py1689# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2109# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2111# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2155# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2157# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2227# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2229# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2287# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2289# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2457# ==============================================================================COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2459# ==============================================================================COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2468# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/kda/test_recurrent_kda.py2470# ------------------------------------------------------------------------------COMMENT
7154 more matches not shown…
Hyper-Verbose Identifiers18556 hits · 16300 pts
SeverityFileLineSnippetContext
LOW⚡build_backend.py1153def get_requires_for_build_wheel(config_settings=None):CODE
LOW⚡build_backend.py1158def get_requires_for_build_sdist(config_settings=None):CODE
LOW⚡build_backend.py1163def get_requires_for_build_editable(config_settings=None):CODE
LOW⚡build_backend.py1168def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):CODE
LOW⚡build_backend.py1173def prepare_metadata_for_build_editable(metadata_directory, config_settings=None):CODE
LOWbuild_backend.py359def _synthesize_nccl_builddir(build: Path) -> None:CODE
LOWbuild_backend.py417def _check_nccl_version_drift(wheel: Path) -> None:CODE
LOWbuild_backend.py698def _install_nvep_runtime_wheels(built_nixl: bool) -> None:CODE
LOWbuild_backend.py792def _system_cuda_tile_compiler_available() -> bool:CODE
LOWbuild_backend.py801def _install_cuda_tile_compile_deps() -> None:CODE
LOWbuild_utils.py43def get_dependency_requirements(CODE
LOW⚡build_utils.py69def get_build_dependency_requirements(CODE
LOW⚡build_utils.py76def get_cuda_extra_dependency_requirements(CODE
LOW⚡build_utils.py83def get_ci_image_dependency_requirements(CODE
LOW⚡build_utils.py90def get_cuda_tile_compile_dependency_requirements() -> list[str]:CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_ffe79cdc3573a82e5cc0_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_dd0b4fbada3615175a95_kernel.py112def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_5c2a4f52a093fd54e5fc_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_7f291b75fc80b9a071f0_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_6cfe5b1f49445aeb8696_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_c6d09364a66d1c1190ad_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_31c6bccc1180f0dd2350_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_3842336f9e9e393d3dda_kernel.py109def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_7dccce76ace7a05df2b3_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_6fd2cab425181a6f291d_kernel.py110def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_1d943b27569adbab332c_kernel.py112def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_72ece5210802b11d0db8_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_f859d3c2a0ab081471d7_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_ddf905709278cfc39a9b_kernel.py109def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_b7a69392ef67f34fcc0d_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_529b7eb9bd7bef286ab5_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_420577304e5b3471f743_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_335a69c359d728d6af44_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_3627d2e2661cafcee2bd_kernel.py112def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_c954193ac8e9caf92181_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_066e94e570b6a8a9b087_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_b3ce0d3341158795cdc2_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_af57b7cab33f085e2f65_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_4e5ee0eae63df027f2b0_kernel.py112def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_bd3d1ae26b97c5fddbb5_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_e0ed95f2da24a7c364d3_kernel.py112def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_9679b7dd9bf720adfbcc_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_172cacdf988f22944dc2_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_cc2104779e227b135ea3_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_4a452481524e0de7d29b_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_cdad4980b1d2baab7a70_kernel.py109def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_660e0aba2121514f9ee6_kernel.py116def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_6d1700289b7122de7347_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_185c95e41de2f577bde8_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_a251cfee19c1d1e8e8f1_kernel.py115def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_394ae8bc3951d3e66cbe_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_b0a44ae685b334a65639_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_85464c39902415732dc9_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_222a7f18ed572ce91300_kernel.py115def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_4c4ded85112c2ae18068_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_f147c22769f47c2f9ec4_kernel.py109def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
LOW…03a/cake_mxfp4_situ_moe_da3b1d07a34de335619a_kernel.py102def _cake_launch_cluster_spread(kernel_launcher, **kwargs):CODE
18496 more matches not shown…
Unused Imports8527 hits · 7602 pts
SeverityFileLineSnippetContext
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py18CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py23CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py26CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py27CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py30CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py31CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py32CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py33CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py42CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py43CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py18CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py23CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py26CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py27CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py30CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py31CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py32CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py33CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py42CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py43CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py18CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py23CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py26CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py27CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py30CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py31CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py32CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py33CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py42CODE
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py43CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py18CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py23CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py26CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py27CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py30CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py31CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py32CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py33CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py42CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py43CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py18CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py26CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py30CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py31CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py32CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py33CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py34CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py34CODE
8467 more matches not shown…
Deep Nesting3178 hits · 2626 pts
SeverityFileLineSnippetContext
LOWbuild_backend.py556CODE
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_426dd8da968b2c0eebc9_kernel.py103CODE
LOW…03a/cake_mxfp4_situ_moe_680c12cbf8b8834e8265_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_ffe79cdc3573a82e5cc0_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_dd0b4fbada3615175a95_kernel.py127CODE
LOW…03a/cake_mxfp4_situ_moe_5c2a4f52a093fd54e5fc_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_6cb3a150103691dde0de_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_7f291b75fc80b9a071f0_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_6cfe5b1f49445aeb8696_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_cd07eab0b1a2997ea73c_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_c6d09364a66d1c1190ad_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_31c6bccc1180f0dd2350_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_ea96c4c8eb07264a9fd4_kernel.py109CODE
LOW…03a/cake_mxfp4_situ_moe_3842336f9e9e393d3dda_kernel.py124CODE
LOW…03a/cake_mxfp4_situ_moe_7dccce76ace7a05df2b3_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_1d4a75945e58e438939d_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_27fbec2708fb3b41a41a_kernel.py103CODE
LOW…03a/cake_mxfp4_situ_moe_fbf2bf37da9a9c3613da_kernel.py109CODE
LOW…03a/cake_mxfp4_situ_moe_6fd2cab425181a6f291d_kernel.py125CODE
LOW…03a/cake_mxfp4_situ_moe_1d943b27569adbab332c_kernel.py127CODE
LOW…03a/cake_mxfp4_situ_moe_72ece5210802b11d0db8_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_258d09e3bdc0b94a6873_kernel.py109CODE
LOW…03a/cake_mxfp4_situ_moe_f859d3c2a0ab081471d7_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_ddf905709278cfc39a9b_kernel.py124CODE
LOW…03a/cake_mxfp4_situ_moe_b7a69392ef67f34fcc0d_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_f8ffa5365621d970babf_kernel.py109CODE
LOW…03a/cake_mxfp4_situ_moe_03552e950e5afe3aa67a_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_d4eee9dcefe1606b0a09_kernel.py103CODE
LOW…03a/cake_mxfp4_situ_moe_529b7eb9bd7bef286ab5_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_54f0c94b1ac5812dc6ed_kernel.py103CODE
LOW…03a/cake_mxfp4_situ_moe_420577304e5b3471f743_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_335a69c359d728d6af44_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_3627d2e2661cafcee2bd_kernel.py127CODE
LOW…03a/cake_mxfp4_situ_moe_c954193ac8e9caf92181_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_066e94e570b6a8a9b087_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_b3ce0d3341158795cdc2_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_af57b7cab33f085e2f65_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_4e5ee0eae63df027f2b0_kernel.py127CODE
LOW…03a/cake_mxfp4_situ_moe_6a021d55b7aaa069c148_kernel.py111CODE
LOW…03a/cake_mxfp4_situ_moe_9d64a6ec84389ae76702_kernel.py112CODE
LOW…03a/cake_mxfp4_situ_moe_bd3d1ae26b97c5fddbb5_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_04d4dac8da67c2e6463b_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_e0ed95f2da24a7c364d3_kernel.py127CODE
LOW…03a/cake_mxfp4_situ_moe_6d44b0fe7249401b957e_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_9679b7dd9bf720adfbcc_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_172cacdf988f22944dc2_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_cc2104779e227b135ea3_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_4a452481524e0de7d29b_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_cdad4980b1d2baab7a70_kernel.py124CODE
LOW…03a/cake_mxfp4_situ_moe_660e0aba2121514f9ee6_kernel.py131CODE
LOW…03a/cake_mxfp4_situ_moe_6d1700289b7122de7347_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_185c95e41de2f577bde8_kernel.py117CODE
LOW…03a/cake_mxfp4_situ_moe_28f8827fbe1200a49d77_kernel.py111CODE
LOW…03a/cake_mxfp4_situ_moe_de3bc9b31b36fa668a4a_kernel.py110CODE
LOW…03a/cake_mxfp4_situ_moe_a251cfee19c1d1e8e8f1_kernel.py130CODE
3118 more matches not shown…
Over-Commented Block3050 hits · 2595 pts
SeverityFileLineSnippetContext
LOWpytest.ini1[pytest]COMMENT
LOWrequirements.txt1apache-tvm-ffi>=0.1.11,<0.2COMMENT
LOWrequirements.txt21# pin nvidia-nccl-cuXX==2.30.7 exactly, which trips the torch-eviction problemCOMMENT
LOW.pre-commit-config.yaml1# To use:COMMENT
LOW.pre-commit-config.yaml21# upstream kernel drops that are re-synced periodicallyCOMMENT
LOWpyproject.toml1# Copyright (c) 2024 by FlashInfer team.COMMENT
LOWpyproject.toml281 # The vendored cuDNN Frontend tree of the Qwen 3.5 gated attention block (see the ruff exclude note).COMMENT
LOWbuild_backend.py501 shutil.copy(sopath, dst / soname)COMMENT
LOWcsrc/topk_transform_checks.h21// (radix_topk_page_table_transform and cub_topk_page_table_transform), so the backendsCOMMENT
LOWcsrc/fmha_v2/fused_multihead_attention.h201 int64_t softmax_stats_stride_in_bytes;COMMENT
LOW…/fmha_v2/fused_multihead_attention_kernel_4x1_hopper.h461 // Create buffer_full barriers with 1 arrive countCOMMENT
LOWcsrc/fmha_v2/fused_multihead_attention_utils.h801 int const* cu_mask_rows) {COMMENT
LOW…/fused_multihead_flash_attention_kernel_noloop_tiled.h241 float global_sum[Softmax::ROWS_PER_THREAD];COMMENT
LOWcsrc/fmha_v2/fused_multihead_attention_kernel.h21#include <fmha/smem_tile_o.h>COMMENT
LOWcsrc/fmha_v2/fused_multihead_attention_kernel.h41// - P = norm * K^T * Q , where norm is the normalization term (a scalar),COMMENT
LOW…c/fmha_v2/fused_multihead_attention_demo_bert_params.h101 // The stride between matrices of packed mask.COMMENT
LOW…c/fmha_v2/fused_multihead_attention_demo_bert_params.h181#ifdef SKIP_SOFTMAX_STATCOMMENT
LOWcsrc/fmha_v2/fmha/softmax.h1041 }COMMENT
LOWcsrc/fmha_v2/fmha/mask.h341 }COMMENT
LOWcsrc/fmha_v2/fmha/utils.h21#include <__clang_cuda_builtin_vars.h>COMMENT
LOWcsrc/fmha_v2/fmha/utils.h61 using Unpack_remaining = typename Unpack<Ns...>::Type;COMMENT
LOWcsrc/fmha_v2/fmha/utils.h81// (84): hereCOMMENT
LOWcsrc/fmha_v2/fmha/utils.h101struct Cond_inspect_ns {COMMENT
LOWcsrc/fmha_v2/fmha/utils.h801// asm volatile("fma.rn.f16x2.relu %0, %1, %2, %3;" : "=r"(c) : "r"(a), "r"(one),COMMENT
LOWcsrc/fmha_v2/fmha/utils.h821// return dst;COMMENT
LOWcsrc/fmha_v2/fmha/paged_kv_cache.h21struct Kv_block_array {COMMENT
LOWcsrc/fmha_v2/fmha/gmem_tile_o_packed.h1281 // The scale.COMMENT
LOWcsrc/fmha_v2/fmha/kernel_traits.h21#include <fmha/gmem_tile_qkv.h>COMMENT
LOWcsrc/fmha_v2/fmha/fragment.h141 f.reg(4 * ii + 0) = tmp.x;COMMENT
LOWcsrc/fmha_v2/fmha/smem_tile_v.h481 t[3] = y;COMMENT
LOWcsrc/fmha_v2/fmha/smem_tile_v.h601 // Jump by 8*16 rows per K but account for packing.COMMENT
LOWcsrc/fmha_v2/fmha/smem_tile_v.h921 uint2 tmp_0;COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/dma.h341 typename Shared::Head_info info{COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/dma.h721 // now-flipped barrier -> deadlock at bar.sync 1, 128 in transpose_v_tile. Same hazard asCOMMENT
LOWcsrc/fmha_v2/fmha/warpspec/dma.h741// Logical:COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/compute.h581// results once. For example, STEP_KV=256, qgmma.K=32, then 256/32=8 MMAs are needs,COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/kernel_traits.h41 int Q_BUFFERS_,COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/kernel_traits.h201 // Apply the exp2f optimization (fuse bmm1_scale and -max into FMAs).COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/kernel_traits.h421 // The step size in key/value sequence dimension (N of BMM1 and K of BMM2).COMMENT
LOWcsrc/fmha_v2/fmha/hopper/arrive_wait.h21COMMENT
LOWcsrc/fmha_v2/fmha/hopper/arrive_wait.h41#endifCOMMENT
LOWcsrc/fmha_v2/fmha/hopper/smem_tile.h1801 tmp[nii][ki].w); // PRMT 2+3COMMENT
LOWcsrc/fmha_v2/fmha/hopper/smem_tile.h1821 // [g0, g1] [o0, o1] => y: [g0, h0, o0, p0], i.e. col 0COMMENT
LOWcsrc/fmha_v2/fmha/hopper/smem_tile.h2001 // [00, 01]COMMENT
LOWcsrc/fmha_v2/fmha/hopper/smem_tile.h2121 BYTES_PER_STS, 1, 0, ROWS_PER_XOR_PATTERN, 1>;COMMENT
LOWcsrc/fmha_v2/fmha/hopper/smem_tile.h2321 // w: +24 (o)COMMENT
LOWcsrc/fmha_v2/fmha/hopper/gmem_tile_o_packed.h601 int64_t row_offset =COMMENT
LOWcsrc/fmha_v2/fmha/hopper/fragment.h281 Gmma_single_desc_b::TRANS_MODE == fmha::Gmma_descriptor_transpose::TRANS ? true : false,COMMENT
LOWcsrc/fused_moe/cake_mxfp4_situ_moe/ruff.toml1# The CuTe DSL units under cute/ are generated (rendered from the pinned CakeCOMMENT
LOW…03a/cake_mxfp4_situ_moe_4dcb477d20a7fa3877b7_kernel.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_fe2484ee16bded7e091e_kernel.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_f1b98a7a271393c79232_kernel.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_cfbc94891bd6ce2c40c8_kernel.py1#COMMENT
LOW…3a/cake_mxfp4_situ_moe_a01f9a3440d0afbad475_binding.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_01f9756f0519b43b177a_kernel.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_426dd8da968b2c0eebc9_kernel.py1#COMMENT
LOW…03a/cake_mxfp4_situ_moe_680c12cbf8b8834e8265_kernel.py1#COMMENT
LOW…3a/cake_mxfp4_situ_moe_bd3d1ae26b97c5fddbb5_binding.py1#COMMENT
LOW…3a/cake_mxfp4_situ_moe_61a5a1672f9167742db3_binding.py1#COMMENT
LOW…3a/cake_mxfp4_situ_moe_9efcd6af56b94dc0151d_binding.py1#COMMENT
2990 more matches not shown…
Modern Structural Boilerplate1177 hits · 1130 pts
SeverityFileLineSnippetContext
LOWflashinfer-cubin/flashinfer_cubin/__init__.py80__all__ = ["get_cubin_dir", "list_cubins", "get_cubin_path", "CUBIN_DIR"]CODE
LOW…che-provider/flashinfer_jit_cache_provider/__init__.py27__all__ = ["get_provider"]CODE
LOWtests/prims_ts/test_moe_partition_execution.py547def _set_activation_params(workload: _Workload, case: str) -> None:CODE
LOWtests/prims_ts/test_moe_partition_execution.py1112 def set_routes(*expert_ids: int) -> None:CODE
LOWtests/experimental/test_cake_mhc_train.py234def _set_ieee_fp32() -> None:CODE
LOWtests/experimental/test_cake_mhc_train_iters.py159def _set_ieee_fp32() -> None:CODE
LOW…/experimental/b12x/attention/test_attention_mla_api.py77 def set_split_chunk_config(self, *, kv_chunk_size: int, num_chunks: int) -> None:CODE
LOW…/experimental/b12x/attention/test_attention_mla_api.py89 def set_decode_chunk_config(self, *, kv_chunk_size: int, num_chunks: int) -> None:CODE
LOWtests/experimental/deepgemm_common/__init__.py19__all__ = [CODE
LOWtests/attention/conftest.py28logger = logging.getLogger(__name__)CODE
LOWtests/moe_ep/_sm90_mxfp4_humming_reference.py158__all__ = [CODE
LOWtests/comm/test_nvshmem_allreduce.py12logger = logging.getLogger(__name__)CODE
LOWtests/comm/test_trtllm_mnnvl_allreduce.py43def _set_device_from_launcher_local_rank() -> None:CODE
LOWtests/comm/cake_a2a_driver.py22__all__ = ["CakeA2ADriver", "metainfo_index", "workspace_bytes_per_rank"]CODE
LOWtests/comm/test_vllm_custom_allreduce.py18logger = logging.getLogger(__name__)CODE
LOWtests/utils/test_topk.py1091 def set_selected_scores(use_prefix: bool) -> None:CODE
LOWtests/gemm/test_cute_dsl_gemm_allreduce_two_shot.py36logger = logging.getLogger(__name__)CODE
LOWtests/gdn/reference_gdn_materialize.py51__all__ = ["materialize_ref", "active_request_indices_from"]CODE
LOWtests/mhc/test_cake_mhc_det_train.py212def _set_ieee_fp32() -> None:CODE
LOWtests/mhc/test_cake_mhc_det_train_iters.py92def _set_ieee_fp32() -> None:CODE
LOWtests/test_helpers/cake_balanced_gqa_plan.py468__all__ = [CODE
LOWtests/test_helpers/kcp_collective_shims.py124__all__ = ["CollectiveCounter", "RecomputePhase"]CODE
LOWtests/test_helpers/cake_fmha_capability.py559__all__ = [CODE
LOWtests/test_helpers/cake_dsa_indexer_reference.py1609__all__ = [CODE
LOWtests/test_helpers/qwen_3_8_block_cases.py29__all__ = [CODE
LOWtests/test_helpers/cake_qsa_nvfp4_reference.py110__all__ = [CODE
LOWtests/test_helpers/cake_kcp_fake_backend.py698__all__ = [CODE
LOWflashinfer-jit-cache/flashinfer_jit_cache/__init__.py25logger = logging.getLogger(__name__)CODE
LOWflashinfer-jit-cache/flashinfer_jit_cache/__init__.py134__all__ = [CODE
LOWexamples/pytorch/wan/transformer_wan_flashinfer.py63logger = logging.getLogger(__name__)CODE
LOWexamples/pytorch/wan/transformer_wan_flashinfer.py303def set_ulysses_communicator(comm: Optional["UlyssesCommunicator"]) -> None:CODE
LOWbenchmarks/experimental/b12x/benchmark_iq2_xs_moe.py77def set_routes(inputs: Inputs, pattern: str, *, experts: int, offset: int = 0) -> None:CODE
LOWscripts/aot_memory_monitor.py265def update_stats(stats: MemoryStats, sample: dict[str, int]) -> None:CODE
LOWscripts/test_sharding/__init__.py5__all__ = ["ALGORITHM_VERSION", "SCHEMA_VERSION"]CODE
LOWflashinfer/gated_act_mxfp8.py158__all__ = [STRING
LOWflashinfer/cake_dcp.py1401__all__ = [CODE
LOWflashinfer/fp8_quantization.py20__all__ = [CODE
LOWflashinfer/cake_rmsnorm_silu_gate_det_train.py152__all__ = [CODE
LOWflashinfer/mega_moe_v3.py12__all__ = [CODE
LOWflashinfer/compilation_context.py25logger = logging.getLogger(__name__)CODE
LOWflashinfer/cake_fmha_request_ordered.py377__all__ = [CODE
LOWflashinfer/gdn_train.py84__all__ = [CODE
LOWflashinfer/cake_rmsnorm_det_train.py173__all__ = [CODE
LOWflashinfer/kda_train.py113__all__ = [CODE
LOWflashinfer/kimi_k3_latent_moe.py245__all__ = [STRING
LOWflashinfer/cake_minimax_h3.py594__all__ = [CODE
LOWflashinfer/cake_fused_qk_rope_append.py171__all__ = ["cake_fused_qk_rmsnorm_rope_append_paged_kv_cache", "launch_plan"]STRING
LOWflashinfer/cake_kda_det_train_kcp.py454__all__ = [CODE
LOWflashinfer/sm110_xqa.py13__all__ = ["prepare", "attention"]CODE
LOWflashinfer/kda_prefill_cute.py592__all__ = [CODE
LOWflashinfer/cake_mhc_det_train.py598__all__ = [STRING
LOWflashinfer/kimi_k3_vision.py132__all__ = ["kimi_k3_vision_tower", "prepare_kimi_k3_vision_tower"]STRING
LOWflashinfer/cake_rmsnorm_silu_gate_train.py181__all__ = [CODE
LOWflashinfer/cake_vsa_sm90.py100__all__ = [CODE
LOWflashinfer/utils.py40logger = logging.getLogger(__name__)CODE
LOWflashinfer/utils.py906def set_log_level(lvl_str: str) -> None:CODE
LOWflashinfer/qsa.py15__all__ = ["qsa_forward", "qsa_indexed_forward"]CODE
LOWflashinfer/cake_mhc_train.py47__all__ = [CODE
LOWflashinfer/cake_gdn_det_train_kcp.py424__all__ = [CODE
LOWflashinfer/fp4_quantization.py45__all__ = [CODE
1117 more matches not shown…
Excessive Try-Catch Wrapping1029 hits · 1015 pts
SeverityFileLineSnippetContext
LOWbuild_backend.py142 except Exception:CODE
LOWbuild_backend.py221 except Exception:CODE
LOWbuild_backend.py236 except Exception:CODE
LOWbuild_backend.py355 except Exception:CODE
LOWbuild_backend.py432 except Exception:CODE
LOWbuild_backend.py588 except Exception:CODE
LOWbuild_backend.py1009 except Exception as e:CODE
LOWbuild_utils.py116 except Exception:CODE
LOWdocker/test_ci_image.py105 except Exception as error:CODE
LOWtests/kda/test_recurrent_kda_decode_export.py348 except Exception:STRING
LOWtests/kda/test_recurrent_kda_prefill_sm120.py1061 except Exception as exc: # noqa: BLE001 -- the type and text are the assertionCODE
LOWtests/kda/test_recurrent_kda_prefill_sm120.py1447 except Exception as exc: # noqa: BLE001 -- reported belowCODE
MEDIUMtests/kda/test_recurrent_kda_prefill_sm120.py1058def outcome(backend):CODE
LOW⚡tests/prims_ts/test_moe_bf16_support.py93 except Exception:CODE
LOWtests/gdp/test_cake_gdp_prefill.py967 except Exception as ex: # noqa: BLE001 - profiler unavailable on this hostCODE
MEDIUMtests/experimental/test_cake_qsa_nvfp4.py920def worker(i):CODE
LOWtests/experimental/test_cake_qsa_nvfp4.py926 except Exception as error: # reported by the test threadCODE
MEDIUMtests/experimental/test_cake_msa_icp_indexer.py514def _get_open_port() -> int:CODE
LOWtests/experimental/test_cake_msa_icp_indexer.py605 except Exception as exc: # pragma: no cover - reported to the parentCODE
LOWtests/experimental/test_allreduce_mhc_post_prenorm.py605 except Exception as exc: # no launcher / single processCODE
LOWtests/experimental/test_allreduce_mhc_post_prenorm.py643 except Exception as exc: # noqa: BLE001CODE
LOWtests/experimental/test_cake_dsa_train_api.py294 except Exception as exc: # noqa: BLE001 -- the shipped kernel predates the modeCODE
LOWtests/experimental/test_cake_dsa_train_api.py330 except Exception as exc: # noqa: BLE001CODE
MEDIUMtests/experimental/test_cake_kimi_k3_latent_moe.py3516def first_call():CODE
LOWtests/experimental/test_cake_kimi_k3_latent_moe.py3520 except Exception as exc: # noqa: BLE001CODE
LOWtests/experimental/test_cake_dsa_train.py5996 except Exception as exc: # noqa: BLE001 -- the shipped kernel predates the interfaceCODE
LOWtests/experimental/test_cake_dsa_train.py6028 except Exception as exc: # noqa: BLE001 -- the shipped kernel predates the modeCODE
LOWtests/experimental/test_cake_gdn_det_train_kcp_dist.py352 except Exception: # noqa: BLE001 - a registry without library_name: the manifest's names decideCODE
LOWtests/experimental/test_cake_gdn_det_train_kcp_dist.py483 except Exception: # noqa: BLE001 - foreign objects may refuse attribute accessCODE
LOWtests/experimental/test_cake_gdn_det_train_kcp_dist.py512 except Exception: # noqa: BLE001CODE
LOWtests/experimental/test_cake_gdn_det_train_kcp_dist.py1254 except Exception as exc: # noqa: BLE001 - recorded for the decision tableCODE
LOWtests/experimental/test_cake_gdn_det_train_kcp_dist.py1356 except Exception as exc: # noqa: BLE001 - recorded; the gate decides belowCODE
LOW…s/experimental/qwen_3_8_block/test_import_isolation.py202 except Exception as exc: # noqa: BLE001CODE
LOW…s/experimental/b12x/attention/test_qsa_program_keys.py112 except Exception as error:CODE
LOW…l/b12x/attention/test_attention_mla_sglang_boundary.py32 except Exception as exc: # pragma: no cover - environment-dependent import pathCODE
LOW…ttention/test_attention_dsa_indexer_sglang_boundary.py32 except Exception as exc: # pragma: no cover - environment-dependent import pathCODE
LOW…ttention/test_attention_nsa_backend_sglang_boundary.py22 except Exception as exc: # pragma: no cover - environment-dependent import pathCODE
LOW…s/experimental/qwen_3_5_block/test_import_isolation.py135 except Exception as exc: # noqa: BLE001CODE
LOWtests/attention/conftest.py449 except Exception as e:CODE
LOWtests/attention/conftest.py494 except Exception as error:CODE
LOWtests/attention/conftest.py541 except Exception: # pragma: no cover - diagnostics must never fail the runCODE
LOWtests/attention/test_cudnn_decode.py1216 except Exception as exc: # noqa: BLE001 -- the frontend's error types varyCODE
LOWtests/attention/test_deepseek_mla.py110 except Exception as e:CODE
MEDIUMtests/attention/test_deepseek_mla.py50def warmup_jit():CODE
LOW…sts/trace/test_tgv_gemm_sm100_reference_correctness.py37 except Exception as exc:CODE
LOWtests/trace/test_mm_bf16_fp4_reference_correctness.py52 except Exception as exc:CODE
LOWtests/trace/test_single_decode_reference_correctness.py31 except Exception as exc:CODE
LOW…ize_fp8_append_paged_kv_cache_reference_correctness.py69 except Exception as exc:CODE
LOW…ize_fp8_append_paged_kv_cache_reference_correctness.py291 except Exception as exc:CODE
LOWtests/trace/test_bmm_fp8_reference_correctness.py38 except Exception as exc:CODE
LOW…/trace/test_cutlass_fused_moe_reference_correctness.py63 except Exception as exc:CODE
LOW…s/trace/test_segment_gemm_run_reference_correctness.py34 except Exception as exc:CODE
LOW…s/trace/test_block_sparse_run_reference_correctness.py58 except Exception as exc:CODE
LOW…s/trace/test_xqa_batch_decode_reference_correctness.py74 except Exception as exc:CODE
LOW…ace/test_var_block_sparse_run_reference_correctness.py67 except Exception as exc:CODE
LOWtests/trace/test_bmm_bf16_reference_correctness.py29 except Exception as exc:CODE
LOWtests/trace/test_mm_bf16_reference_correctness.py29 except Exception as exc:CODE
LOWtests/trace/test_fi_trace_template_consistency.py473 except Exception as exc: # noqa: BLE001CODE
LOW…ace/test_xqa_batch_decode_mla_reference_correctness.py72 except Exception as exc:CODE
LOW…trace/test_cudnn_batch_decode_reference_correctness.py80 except Exception as exc:CODE
969 more matches not shown…
AI Structural Patterns1134 hits · 877 pts
SeverityFileLineSnippetContext
LOWtests/kda/test_recurrent_kda_decode_export.py1366CODE
LOWtests/kda/test_recurrent_kda_cudnn_backend.py83CODE
LOWtests/prims_ts/test_batched_gemm_mx.py189CODE
LOWtests/prims_ts/test_batched_gemm_fp4_fc2.py77CODE
LOWtests/prims_ts/test_batched_gemm_fp4_fc2.py602CODE
LOWtests/prims_ts/test_batched_gemm_bf16_fc2.py65CODE
LOWtests/prims_ts/test_batched_gemm_fp4_fc1.py86CODE
LOWtests/prims_ts/test_batched_gemm_bf16_fc1.py107CODE
LOWtests/prims_ts/test_batched_gemm_bf16_fc1.py271CODE
LOWtests/prims_ts/test_batched_gemm_bf16_fc1.py469CODE
LOWtests/gdp/test_prefill_gdp_cudnn_backend.py62CODE
LOWtests/experimental/test_cake_rubin_mla_nvfp4_decode.py172CODE
LOWtests/experimental/test_mok_bf16.py58CODE
LOWtests/experimental/test_cake_lm_head_loss.py167CODE
LOWtests/experimental/test_cake_kda_det_train_kcp.py3639CODE
LOW…al/b12x/attention/test_dsa_indexer_mxfp4_boundaries.py98CODE
LOW…mental/b12x/attention/test_attention_mla_compressed.py161CODE
LOW…s/experimental/b12x/gemm/test_dense_gemm_expected_m.py1263CODE
LOWtests/experimental/b12x/sequence/test_kda_prefill.py61CODE
LOWtests/experimental/b12x/sequence/test_gdn_decode_kda.py46CODE
LOWtests/experimental/b12x/sequence/test_gdn_decode.py78CODE
LOWtests/experimental/b12x/preparation/test_session.py186CODE
LOW…sts/experimental/b12x/moe/test_dynamic_w4a8_trellis.py51CODE
LOWtests/experimental/b12x/moe/test_route_pack_cache.py7CODE
LOWtests/experimental/b12x/moe/test_w4a8_dynamic_kernel.py100CODE
LOWtests/attention/test_modular_fmha_prefill_paged.py127CODE
LOWtests/attention/test_attention_ts_decode.py1717CODE
LOWtests/attention/test_attention_ts_decode.py6174CODE
LOWtests/attention/test_dcp_spec_fp8.py624CODE
LOWtests/attention/test_cake_fmha.py3984CODE
LOWtests/attention/test_attention_ts_block_sparse.py950CODE
LOWtests/attention/test_sparse_mla_blackwell_dsv4_nvfp4.py187CODE
LOWtests/attention/test_fmha_v2_prefill.py68CODE
LOWtests/attention/test_mla_auto_backend.py471CODE
LOWtests/attention/test_xqa.py124CODE
LOWtests/attention/test_attention_ts_sparse_mla.py34CODE
LOWtests/attention/test_bidirectional_ranges_attention.py139CODE
LOW…/test_attention_ts_q_token_kv_block_sparse_metadata.py283CODE
LOWtests/attention/test_cute_dsl_mla_decode.py327CODE
LOWtests/attention/test_trtllm_ragged_kv_stride.py40CODE
LOWtests/attention/test_trtllm_gen_attention_decode.py631CODE
LOWtests/attention/test_trtllm_gen_attention_prefill.py300CODE
LOWtests/attention/test_batch_attention.py99CODE
LOWtests/attention/test_cudnn_decode.py1371CODE
LOWtests/msa_ops/test_msa_nvfp4_decode_sm100.py578CODE
LOWtests/msa_ops/test_blackwell_msa_sm100.py31CODE
LOW…ts/moe_ep/test_moe_ep_sm90_pull_bf16_mega_multirank.py346CODE
LOW…ts/moe_ep/test_moe_ep_sm90_pull_bf16_mega_multirank.py384CODE
LOWtests/moe_ep/test_nvfp4_cutedsl_kernel_vs_reference.py556CODE
LOWtests/moe_ep/test_nvfp4_cutedsl_kernel_vs_reference.py732CODE
LOW…sts/moe_ep/test_moe_ep_sm90_pull_fp8_mega_multirank.py381CODE
LOW…sts/moe_ep/test_moe_ep_sm90_pull_fp8_mega_multirank.py431CODE
LOWtests/moe_ep/test_sm90_push_fp8_kernel.py110CODE
LOWtests/moe_ep/test_sm90_push_fp8_gemm_contract.py444CODE
LOWtests/moe_ep/test_sm90_bf16_push_cake_backend.py140CODE
LOW…sts/moe_ep/test_moe_ep_nvfp4_cutedsl_mega_multirank.py446CODE
LOW…sts/moe_ep/test_moe_ep_nvfp4_cutedsl_mega_multirank.py1436CODE
LOWtests/diffusion_ops/test_minimax_h3_mlp.py1220CODE
LOWtests/mamba/test_chunk_scan_combined.py27CODE
LOWtests/mamba/test_cake_ssd_combined.py328CODE
1074 more matches not shown…
Empty Error Handlers155 hits · 775 pts
SeverityFileLineSnippetContext
HIGHbuild_backend.py142except Exception:CODE
HIGHbuild_backend.py588except Exception:CODE
HIGHflashinfer-cubin/flashinfer_cubin/__init__.py55except ImportError:CODE
HIGHflashinfer-cubin/flashinfer_cubin/__init__.py72except (ImportError, AttributeError):CODE
HIGHtests/conftest.py232except ImportError:CODE
HIGHtests/test_cake_causal_conv1d_det_train_kcp.py193except ImportError:CODE
HIGHtests/experimental/test_cake_gdn_det_train_kcp_dist.py1627except FileNotFoundError:CODE
HIGHtests/experimental/b12x/moe/test_nvfp4_split_backend.py481except ValueError:CODE
HIGHtests/attention/conftest.py541except Exception: # pragma: no cover - diagnostics must never fail the runCODE
HIGHtests/attention/conftest.py290except ImportError: # pragma: no cover - fixture still builds theseCODE
HIGHtests/trace/example.py772except Exception:CODE
HIGHtests/trace/example.py794except Exception:CODE
HIGHtests/trace/example.py805except Exception:CODE
HIGHtests/trace/example.py823except Exception:CODE
HIGHtests/trace/example.py833except Exception:CODE
HIGHtests/trace/example.py851except Exception:CODE
HIGHtests/trace/example.py865except Exception:CODE
HIGHtests/trace/example.py877except Exception:CODE
HIGHtests/msa_ops/test_msa_nvfp4_decode_sm100.py527except _LeaveBlock:CODE
HIGHtests/moe_ep/test_moe_ep_compute_correctness.py129except ImportError:CODE
HIGHtests/comm/test_ulysses_communicator.py2671except Boom:CODE
HIGHtests/comm/test_ulysses_communicator.py2861except queue_mod.Empty:CODE
HIGHtests/comm/test_ulysses_topology.py905except queue_mod.Empty:CODE
HIGHtests/gemm/test_ragged_block_scaled_bmm_cutile.py111except Exception:CODE
HIGHtests/test_helpers/prims_ts_attention_prebuild.py79except pytest.skip.Exception:CODE
HIGHbenchmarks/bench_cake_fused_kda_decode.py603except ValueError:CODE
HIGHbenchmarks/bench_cake_fused_kda_decode.py1276except ValueError:CODE
HIGHbenchmarks/bench_cudnn_wrapper_host.py58except (OSError, subprocess.CalledProcessError):CODE
HIGHbenchmarks/bench_cake_lm_head_loss.py147except (TypeError, RuntimeError):CODE
HIGHbenchmarks/bench_checkpointing_ssu.py1253except Exception:CODE
HIGHbenchmarks/experimental/b12x/benchmark_roce_oneshot.py74except OSError:CODE
HIGHbenchmarks/experimental/b12x/benchmark_roce_oneshot.py141except (OSError, subprocess.SubprocessError):CODE
HIGHbenchmarks/experimental/b12x/benchmark_mla.py841except Exception:CODE
HIGHbenchmarks/routines/attention.py18except ImportError:CODE
HIGHscripts/run_with_output_watchdog.py247except (OSError, subprocess.TimeoutExpired):CODE
HIGHscripts/unit_test_runner.py204except Exception:CODE
HIGHscripts/pr_checks/check_api_docs.py47except Exception:CODE
HIGHscripts/pr_checks/experimental_test_scope.py295except ValueError:CODE
HIGHscripts/pr_checks/experimental_test_scope.py308except ValueError:CODE
HIGHscripts/pr_checks/experimental_test_scope.py333except ValueError:CODE
HIGHscripts/pr_checks/experimental_test_scope.py258except ValueError:CODE
HIGHscripts/test_sharding/junit.py152except (OSError, AttributeError, json.JSONDecodeError):CODE
HIGHscripts/test_sharding/workers.py189except (OSError, ValueError):CODE
HIGHscripts/test_sharding/state.py43except FileExistsError:CODE
HIGHflashinfer/api_logging.py2515except Exception:CODE
HIGHflashinfer/collect_env.py461except Exception:CODE
HIGHflashinfer/__init__.py485except (ImportError, AttributeError):CODE
HIGHflashinfer/__init__.py634except Exception:CODE
HIGHflashinfer/cake_kda_tf32_runtime.py1365except OSError:CODE
HIGHflashinfer/cake_kda_tf32_runtime.py1234except Exception:CODE
HIGHflashinfer/cake_gdn_det_train_kcp.py395except ImportError:CODE
HIGHflashinfer/fi_trace.py139except AttributeError:CODE
HIGHflashinfer/fi_trace.py164except Exception:CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/measure.py58except (ImportError, PackageNotFoundError, RuntimeError, ValueError):CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/engine.py1195except (ImportError, RuntimeError):CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/engine.py1308except Exception:CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/engine.py1147except (ImportError, RuntimeError):CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/workers.py475except (AttributeError, ImportError, RuntimeError):CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/report.py193except (AttributeError, ImportError, RuntimeError):CODE
HIGHflashinfer/prims_ts/moe/tools/sweep/report.py216except Exception:CODE
95 more matches not shown…
Hallucination Indicators84 hits · 720 pts
SeverityFileLineSnippetContext
CRITICALflashinfer/fused_moe/runners.py4675 activation_name = self.config.activation.type.name.lower()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py783 txl.ptx.st.release.gpu.global_.s32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py791 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py798 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1018 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1022 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1026 txl.ptx.tcgen05.wait__st.sync.aligned()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1075 txl.ptx.ldmatrix.sync.aligned.m8n8.x4.trans.shared.b16(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1080 txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1086 txl.ptx.movmatrix.sync.aligned.m8n8.trans.b16(dst[z], src[z])CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1094 txl.ptx.mma.sync.aligned.m16n8k16.row.col.f32.bf16.bf16.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1233 txl.ptx.st.shared.v4.u32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1236 txl.ptx.st.shared.v4.u32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1239 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1441 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1449 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1451 txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1458 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1585 txl.ptx.ld.shared.v4.b32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1590 txl.ptx.st.shared.v4.b32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1596 txl.ptx.rcp.approx.ftz.f32(r, x)CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1653 txl.ptx.ld.global_.v4.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1660 txl.ptx.ld.global_.v4.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1667 txl.ptx.st.shared.v4.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1674 txl.ptx.st.shared.v4.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1684 txl.ptx.ld.shared.v4.f32(CODE
CRITICAL⚡flashinfer/kda_kernels/tirx/fused.py1687 txl.ptx.ld.shared.v4.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py241 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py243 txl.ptx.fence.mbarrier_init.release.cluster()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py350 txl.ptx.mbarrier.try_wait.parity.shared.b64(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py435 txl.ptx.cvt.rn.bf16x2.f32(r, hi, lo)CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py455 txl.ptx.ex2.approx.ftz.f32(r, x)CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py507 txl.ptx.mbarrier.arrive.expect_tx.shared.b64(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py517 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py534 txl.ptx.mbarrier.arrive.expect_tx.shared.b64(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py695 txl.ptx.ld.global_.v4.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py707 txl.ptx.tcgen05.wait__st.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py727 txl.ptx.ld.acquire.gpu.global_.s32(fl, flags.ptr_to([cta]))CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py746 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py755 txl.ptx.st.global_.v4.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py824 txl.ptx.stmatrix.sync.aligned.m8n8.x4.trans.shared.b16(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py831 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py851 txl.ptx.cp.async_.bulk.commit_group()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py852 txl.ptx.cp.async_.bulk.wait_group.read(0)CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py869 txl.ptx.ld.shared.v4.b32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py872 txl.ptx.st.global_.v4.b32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py894 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py897 txl.ptx.tcgen05.wait__st.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py909 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py970 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py973 txl.ptx.tcgen05.wait__st.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py990 txl.ptx.ld.shared.v4.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1000 txl.ptx.mul.rn.ftz.f32x2(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1253 txl.ptx.ld.shared.v2.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1266 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1269 txl.ptx.ld.shared.v2.f32(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1307 txl.ptx.tcgen05.wait__ld.sync.aligned()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1340 txl.ptx.stmatrix.sync.aligned.m8n8.x4.shared.b16(CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1393 txl.ptx.fence.proxy.async_.shared__cta()CODE
CRITICALflashinfer/kda_kernels/tirx/fused.py1486 txl.ptx.rsqrt.approx.ftz.f32(norm, n0 + n1 + txl.float32(EPS))CODE
24 more matches not shown…
Cross-Language Confusion104 hits · 514 pts
SeverityFileLineSnippetContext
HIGH…ts/experimental/test_cake_dense_projection_det_gemm.py7001 # the measured rules never key one weight-gradient row in both orientations (the decision would be undefined)COMMENT
HIGHtests/experimental/test_cake_lm_head_loss.py1964 # and in the fp32 fused cast; the bf16 cast keeps the 1-D raster; a pinned ``group_n`` (0 or null) keeps the defaultCOMMENT
HIGH⚡…ts/experimental/b12x/preparation/test_delta_prefill.py46 tensors["recurrent_state"][null].fill_(float("nan"))CODE
HIGH⚡…ts/experimental/b12x/preparation/test_delta_prefill.py47 tensors["initial_state_indices"].fill_(null)CODE
HIGH⚡…ts/experimental/b12x/preparation/test_delta_prefill.py53 expected, state = oracle(case, tensors, null_state_index=null)CODE
HIGHtests/attention/test_cake_fused_qk_rope_append_pdl.py102 TVM_FFI_ICHECK(out.device().device_type == kDLCUDA && out.IsContiguous() &&CODE
HIGHtests/attention/test_cake_fused_qk_rope_append_pdl.py106 TVM_FFI_ICHECK(bytes == in.numel() * in.dtype().bits / 8 && bytes % 16 == 0)CODE
HIGHtests/attention/test_cake_fmha.py731 " CAKE_FMHA_HAS_SINK == 1 && CAKE_FMHA_HAS_WINDOW == 0 && "CODE
HIGHtests/attention/test_cake_fmha.py834 " CAKE_FMHA_HAS_SINK == 0 && CAKE_FMHA_HAS_WINDOW == 0 && "CODE
HIGH…s/moe_ep/test_moe_ep_sm90_pull_mxfp4_mega_multirank.py202 """Canonical ``gate || up`` rows to the kernel's ``gate8, up8`` order."""STRING
HIGH⚡tests/moe_ep/test_nvlink_one_sided_lamport.py127 " if (rank >= 0 && token % 7 == 3) rank = (rank + 1) % p.ep_size;\n",CODE
HIGH⚡tests/moe_ep/test_nvlink_one_sided_lamport.py133 " if (token == 0 && target_mask) {\n"CODE
HIGH⚡tests/moe_ep/test_nvlink_one_sided_lamport.py143 " if (group == 0 && num_sources > 2) {\n"CODE
HIGH⚡tests/cpu/trace/test_paged_mqa_logits_checker.py80 With rnorm == 0 the relative error is undefined; substituting 0.0 madeSTRING
HIGHtests/cpu/jit/test_cake_bgmv_moe_jit.py277 "major == CAKE_BGMV_MOE_CC_MAJOR && minor == CAKE_BGMV_MOE_CC_MINOR" in bindingCODE
HIGHtests/cpu/jit/test_cake_bgmv_moe_jit.py765 "major == CAKE_BGMV_MOE_CC_MAJOR && minor == CAKE_BGMV_MOE_CC_MINOR" in bindingCODE
HIGHtests/cpu/jit/test_cake_bgmv_moe_jit.py783 "shrink_form == kShrinkFormPrefill || shrink_form == kShrinkFormPrefillS3"CODE
HIGHtests/cpu/jit/test_cake_bgmv_moe_jit.py809 assert "pdl_mode == 1 || pdl_mode == 2" in bindingCODE
HIGHtests/mamba/test_cake_ssd_combined.py2084 state undefined) -- both documented in D12, both flagged. A clean callSTRING
HIGHtests/comm/test_trtllm_allreduce_reduction.py43 TORCH_CHECK(num_threads > 0 && num_threads <= 1024, "invalid block size");CODE
HIGHtests/comm/test_cake_moe_alltoall_fused_adapter.py229 "(params.top_k == 1 || params.top_k == 2 || params.top_k == 4) &&"CODE
HIGHtests/comm/test_cake_moe_alltoall_fused_adapter.py233 "params.dtype == nvinfer1::DataType::kBF16 && params.elements_per_token % 8 == 0;"CODE
HIGHtests/comm/test_cake_moe_alltoall_fused_adapter.py346 assert "if (bid == 0 && blockIdx.y == 0)" in topk6_sourceCODE
HIGHtests/comm/test_cake_moe_alltoall_fused_adapter.py426 "params.local_num_tokens > 0 && params.elements_per_token % 32 == 0 && "CODE
HIGHtests/comm/test_trtllm_mnnvl_allreduce.py318 ordinary data; a `val == 0.F && signbit(val)` check would FTZ-flushSTRING
HIGHtests/comm/test_cake_ulysses_a2a.py348 TORCH_CHECK(dest.scalar_type() == at::kInt && status.scalar_type() == at::kInt &&CODE
HIGHtests/comm/test_cake_ulysses_a2a.py351 TORCH_CHECK(dest.numel() >= 1 && dest.numel() <= 160, "entry_poll: 1 .. 160 CTAs");CODE
HIGHtests/utils/test_jit_example.py193 if (qo_idx < qo_len && kv_idx < kv_len) {CODE
HIGHtests/utils/test_norm.py301 TORCH_CHECK(flag.scalar_type() == at::kInt && observed.scalar_type() == at::kInt,CODE
HIGHtests/gemm/test_nvfp4_svdquant_gemm.py3612 "x.size(1) == 5120 || x.size(1) == 7168 || x.size(1) == 14336" not in combinedCODE
HIGHtests/gemm/test_nvfp4_svdquant_gemm.py3662 assert "x.size(1) == 5120 || x.size(1) == 5376 ||" not in combinedCODE
HIGHtests/gemm/test_nvfp4_svdquant_gemm.py3677 assert "if constexpr (K == 5120 || K == 5376 || K == 7168)" in producerCODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py2897 if (tactic < 0 || tactic >= kNvfp4SvdquantGemmSm120NumTactics)CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3431 assert(argc == 4 || argc == 5);CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3448 if (entry == 3 && TEST_RANK != 32) {CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3479 assert(backend_calls == (rejected || empty ? 0 : (entry == 3 ? 2 : 1)));CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3645 assert(state.initialized && state.device_id == current_device);CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3666 assert(failed && live_resources == before);CODE
HIGHtests/gemm/test_nvfp4_svdquant_host.py3671 assert(recovered.initialized && live_resources == before + 6);CODE
HIGHtests/gdn/test_decode_ucache.py57 source env.sh && pytest tests/gdn/test_decode_ucache.py -vSTRING
HIGHtests/jit/test_flash_kda_packed_t1_jit.py207 assert "minor == 0 || minor == 3 || minor == 7" in bindingCODE
HIGHtests/jit/test_flash_kda_decode_jit.py144 assert "else if (has_token && k_lane == 0)" in generated_bodyCODE
HIGH⚡tests/jit/test_flash_kda_decode_jit.py187 assert "major == 10 && (minor == 0 || minor == 3)" in commonCODE
HIGH⚡tests/jit/test_flash_kda_decode_jit.py188 assert "major == 10 && minor == expected_minor" in commonCODE
HIGH⚡tests/jit/test_flash_kda_decode_jit.py192 assert "GateKind == 0 || GateKind == 1 || GateKind == 2" in commonCODE
HIGHtests/moe/test_cake_warp_decode_pdl_gpu.py111 TVM_FFI_ICHECK(tensor.device().device_type == kDLCUDA && tensor.IsContiguous())CODE
HIGHbenchmarks/bench_monomoe.py86 Uses mono_moe's `[gate || up]` fc1 half-ordering and the given (alreadySTRING
HIGHbenchmarks/bench_cake_dsa_train.py1668 "skipped: hole rows (cuDNN DSA takes dense top-k rows; -1 slots before valid keys are undefined)"CODE
HIGHbenchmarks/routines/attention.py4091 # Leave empty (null) when not explicitly overridden so legacyCOMMENT
HIGHflashinfer/collect_env.py156 _run("grep -sq -e docker -e containerd -e kubepods /proc/1/cgroup && echo 1")CODE
HIGHflashinfer/kda_decode.py1037 # slots are padding (the vLLM drop-in reserves slot 0 as null).STRING
HIGHflashinfer/prims_ts/moe/runner.py282 """Pick finalize weights. Match C++ ``ndim()==2 && size(0)>0``.STRING
HIGH…experimental/cake_moe_grouped_det_gemm/cake_backend.py755 if (threadIdx.x != 0 || smid >= 1024) return;CODE
HIGH…/experimental/b12x/attention/_shared/mla/prefill_mg.py181 XV path enables it (USE_WFP8_ROW_XOR = DUAL_CACHE && pbs_extra==2,STRING
HIGH…fer/experimental/b12x/testing/reference/prefill_ref.py38 if attn_sink != null:STRING
HIGH…imental/b12x/sequence/gdn_prefill/_parallel_kernels.py600 result = slot == Int64(self.null)CODE
HIGH…hinfer/experimental/b12x/sequence/gdn_prefill/_impl.py83 object.__setattr__(self, "null_state_index", null)CODE
HIGH…hinfer/experimental/b12x/sequence/kda_prefill/_impl.py66 object.__setattr__(self, "null_state_index", null)CODE
HIGH…er/experimental/b12x/sequence/kda_prefill/reference.py117 initial state from ``initial_state_indices[i]`` (zero when null), writes itsSTRING
HIGH…experimental/b12x/moe/_shared/kernels/w4a16/prepare.py2242 ``payload`` uses the reference container order ``record0 || record1`` andSTRING
44 more matches not shown…
AI Slop Vocabulary142 hits · 422 pts
SeverityFileLineSnippetContext
MEDIUMtests/experimental/test_cake_gdn_det_train_kcp.py66 import gdn_reference # the FP64 reference of the validation harnessCODE
MEDIUM⚡tests/experimental/test_cake_stepfun_moe_api.py245# Case construction (trtllm-gen harness data, unified-API inputs)COMMENT
MEDIUMtests/experimental/test_cake_stepfun_moe_api.py129# One entry per public precision: the quantization, the trtllm-gen test harness that producesCOMMENT
MEDIUMtests/experimental/test_cake_stepfun_moe_api.py172# The per-tensor FP8 harness keeps the native plural key spelling for the scale scalars.COMMENT
MEDIUMtests/experimental/test_cake_stepfun_moe_api.py221 # The harness reference is torch fp32 on the device; pin the matmul precision so the errorCOMMENT
MEDIUMtests/experimental/test_cake_dsa_train_api.py79# for the iid top-k-2048 configuration and are enforced by the project harness, not per test shape.COMMENT
MEDIUMtests/experimental/test_cake_dsa_train_api.py83# harness values); rope parts at twice the latent gate, peaked attention at one common gate.COMMENT
MEDIUMtests/experimental/test_cake_dsa_train.py78# for the iid top-k-2048 configuration and are enforced by the project harness, not per test shape.COMMENT
MEDIUMtests/experimental/test_cake_dsa_train.py82# harness values); rope parts at twice the latent gate, peaked attention at one common gate.COMMENT
MEDIUMtests/experimental/test_cake_kda_det_train_kcp.py334 # byte totals over the ranks match the harnessCOMMENT
MEDIUMtests/experimental/test_cake_kda_det_train_kcp.py368# --------------------------------------------------------------------------- ownership, plan rule, limits (no harness)COMMENT
MEDIUMtests/experimental/test_cake_kda_det_train_kcp.py4444 ) # natural-log decay in (-5, 0), the harness's default regimeCODE
MEDIUMtests/experimental/b12x/attention/test_fused_indexer.py347 # value-multiset parity (tie-robust); fp8 e4m3 dot in f32 matches the MMA.COMMENT
MEDIUMtests/experimental/b12x/attention/test_fused_indexer.py717 # returned index (rather than asserting an index order) keeps this robustCOMMENT
MEDIUM…ental/b12x/attention/test_attention_dsa_indexer_api.py1470 # tie-robust check is that the selected logit-VALUE multiset matches theCOMMENT
MEDIUMtests/experimental/b12x/moe/test_nvfp4_phase_kernels.py556 # direct torch chain must match the oracle too (sanity of the harness)COMMENT
MEDIUM⚡tests/msa_ops/test_msa_nvfp4_decode_sm100.py407# same numbers a consumer's capability probe and the kernel-level A/B harnessCOMMENT
MEDIUM⚡tests/msa_ops/test_msa_nvfp4_decode_sm100.py1856 # A warm launch is not a caller's call, and the A/B harness differencesCOMMENT
MEDIUMtests/moe_ep/test_moe_ep_sm120_w4a8_cake_mega.py504 # Element-wise bound scaled to the output range (the Cake harness' real-weight rule: max |error| <= 2 % ofCOMMENT
MEDIUMtests/moe_ep/test_sm120_w4a8_cake_fixture.py188 # -- canonical -> kernel layout reproduces the generator harness's operands --COMMENT
MEDIUMtests/moe_ep/test_sm120_w4a8_cake_fixture.py279 # -- bit-exact parity with the generator harness (optional) ---------------COMMENT
MEDIUMtests/cpu/autotuner/test_autotuner_distributed.py228# independent of how the harness imported the tests (a ``spawn`` worker thatCOMMENT
MEDIUM…sion_ops/test_minimax_h3_sm120_nvfp4_fp8pv_programs.py268 # default scale is spelled the same way, so the two arms of the kitchen's parity harness pass one float.COMMENT
MEDIUMtests/mamba/test_philox_rounding.py794 """Software e4m3 SR matches hardware PTX path bitwise across a comprehensiveSTRING
LOWtests/mamba/triton_reference/causal_conv1d_triton.py171 # first chunk and does not have prior-token, so just set to 0COMMENT
MEDIUM⚡tests/comm/test_cake_fp4_allreduce.py1250# process harnessCOMMENT
MEDIUMtests/gemm/test_nvfp4_svdquant_host.py2859 # Optional helpers let the same behavioral harness run against the pre-fix source.COMMENT
MEDIUM⚡tests/gemm/test_unified_gemm_fuzz.py595# + tight tolerance. Same model as the MoE harness: with exact-grid inputs the oracle measures theCOMMENT
MEDIUMtests/gemm/test_unified_gemm_fuzz.py549 # layout_128x4 / mxfp4 default this harness prepares). Toggling it on the cutlass/cudnn/autoCOMMENT
MEDIUM⚡tests/gdn/test_decode_delta_rule.py1482# Test MTP kernel with FP32 state, cache ON, state update ON (comprehensive)COMMENT
MEDIUMtests/test_helpers/cake_stepfun_moe_reference.py106# Per-tensor FP8 calibration of the FC1 output (the previous test's harness: StepFun is boundedCOMMENT
LOWtests/test_helpers/alibi_reference.py78 # Since it's causal mask we can just use $[0, 1, \dots, N]$ too.STRING
MEDIUMtests/test_helpers/cake_profiler.py3"""CUDA launch records of one call under ``torch.profiler``, robust to a session that loses its device records.STRING
MEDIUMtests/test_helpers/cake_kcp_fake_backend.py188 # the harness seeds its jitter by (row name, W, document index of the pack it cuts)COMMENT
MEDIUMtests/moe/test_trtllm_moe_valid_dims.py187 # harness / CUDA-only deps on machines that only run the unit-level checks above.COMMENT
MEDIUMtests/moe/test_trtllm_moe_valid_dims.py523# GEMM2 output width equal to hidden_size, which the harness FP4COMMENT
MEDIUMtests/moe/test_trtllm_moe_valid_dims.py705# The harness FP4 prepare_static_weights_for_kernel reshapes GEMM2 by a singleCOMMENT
MEDIUM⚡tests/moe/test_unified_moe_fuzz.py3424# different shape would produce a wrong answer here. (Shares the harness's snap/reference/prep.)COMMENT
MEDIUMtests/moe/test_unified_moe_fuzz.py1565# Covers the in-kernel-routing bug cluster the pre-routed harness structurally can't reach:COMMENT
MEDIUMtests/moe/test_unified_moe_fuzz.py1721 # separate validation, and EP collectives are out of scope for this single-GPU harness.COMMENT
MEDIUMtests/moe/test_unified_moe_fuzz.py1871 # In-kernel routing (FromLogits) headline cases the pre-routed harness can't reach:COMMENT
MEDIUMtests/moe/test_unified_moe_fuzz.py1568 RoutingMethodType.RenormalizeNaive, # == the harness's original host routingCODE
MEDIUMbenchmarks/bench_gdn_prefix_materialize.py177 # --timing graph the harness captures on a side stream; a stream boundCOMMENT
MEDIUM⚡benchmarks/bench_mamba_ssd_combined.py257# Layer 2: bench_mode — batched or varlen harnessCOMMENT
MEDIUMbenchmarks/diag_cake_dsa_indexer_sampling.py823 # The benchmark harness bounds a row at max(seg_k); time the arms with the call's own bound so theCOMMENT
MEDIUMbenchmarks/bench_silu_and_mul_nvfp4_quantize.py132 # more comprehensive correctness coverage.COMMENT
MEDIUM⚡benchmarks/bench_cake_dense_projection_det_gemm.py115# Inputs (the Cake eval harness distributions)COMMENT
MEDIUMbenchmarks/bench_recurrent_kda_prefill.py660 # harness while keeping route logging out of every timed call.COMMENT
MEDIUM…chmarks/experimental/b12x/benchmark_paged_attention.py2069 # copies introduced solely by the benchmark harness.COMMENT
MEDIUMbenchmarks/routines/kda.py329 # difference between the two APIs, not an artifact of this harness, and itCOMMENT
MEDIUMbenchmarks/routines/kda.py560 # published combination. They need a protocol this harness cannotCOMMENT
MEDIUMbenchmarks/routines/kda.py567 # what this harness is actually able to set up.COMMENT
MEDIUMscripts/task_test_moe_ep_smoke.sh4# Run the moe_ep smoke + multi-rank harness via torchrun.COMMENT
LOWflashinfer/api_logging.py1569 # The safest way is to just call the class constructor.COMMENT
MEDIUMflashinfer/aot.py368 # The holistic (persistent) batch-attention kernelCOMMENT
MEDIUMflashinfer/utils.py1756 # Hopper and newer supports a more nuanced query of confidentialCOMMENT
MEDIUMflashinfer/cake_sampling.py1033# in the interleaved CUPTI harness, +0.8 / +2.4 % in two idle-node matrices at k = 10 / 50), while the 16 %-fullCOMMENT
MEDIUMflashinfer/autotune_cache.py168 # execution_mode. Used by the accuracy harness to A/BCOMMENT
MEDIUM⚡flashinfer/prims_ts/batched_gemm/batched_gemm_run.py4377# Perf-harness interface (``@pytest.mark.perf`` profiler sweep).COMMENT
MEDIUMflashinfer/prims_ts/moe/tools/sweep/calibration.py477 """Derive a robust symmetric comparison band from repeated timings.STRING
82 more matches not shown…
Structural Annotation Overuse211 hits · 314 pts
SeverityFileLineSnippetContext
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h124 // Step 1: Load LE APIs from driver via cuGetProcAddress.COMMENT
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h158 // Step 2: Create this rank's unicast LE and bind it to fabric memory.COMMENT
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h406 // Step 3: Exchange LE handles across all ranks.COMMENT
LOWtests/attention/test_rope.py915 # Step 1: Pre-populate cache with existing tokensCOMMENT
LOWtests/attention/test_rope.py1126 # Step 2: Append new tokens to the pre-populated cacheCOMMENT
LOW…_quantize_fp8_append_paged_kv_cache_h8_kv2_rope64.json194 "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torchCODE
LOW…tize_fp8_append_paged_kv_cache_h8_kv2_rope64_ps16.json195 "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torchCODE
LOW⚡tests/utils/test_fp4_quantize.py404 # Step 1: Quantize with fp4_quantizeCOMMENT
LOW⚡tests/utils/test_fp4_quantize.py414 # Step 2: Dequantize with e2m1_and_ufp8sf_scale_to_floatCOMMENT
LOWtests/utils/test_fp4_quantize.py429 # Step 3: Compare resultsCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1081 # Step 1: Compute g = -exp(A_log) * softplus(a + dt_bias)COMMENT
LOW⚡tests/gdn/reference_delta_rule.py1136 # Step 1: Apply gating to hidden state: h *= exp(g)COMMENT
LOW⚡tests/gdn/reference_delta_rule.py1139 # 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.py1142 # Step 3: Apply beta gating: v *= betaCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1145 # Step 4: Update hidden state with outer product: h += k ⊗ v_newCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1148 # Step 5: Compute output: o = q^T @ hCOMMENT
LOWtests/gdn/reference_delta_rule.py1098 # Step 2: Compute beta = sigmoid(b)COMMENT
LOW.claude/skills/self-review/SKILL.md16## Step 1: Get the diffCOMMENT
LOW.claude/skills/self-review/SKILL.md29## Step 2: Apply the review guidanceCOMMENT
LOW.claude/skills/self-review/SKILL.md52## Step 3: Apply the PR rulesCOMMENT
LOW.claude/skills/self-review/SKILL.md71## Step 4: Report, then fixCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md63### Step 1: Choose Your Test RoutineCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md70### Step 2: Run a Single BenchmarkCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md118### Step 3: Understand the OutputCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md134### Step 4: Run Batch BenchmarksCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md156### Step 5: Common FlagsCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md174### Step 1: Write Your Benchmark ScriptCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md210### Step 2: Run Your BenchmarkCOMMENT
LOW.claude/skills/benchmark-kernel/SKILL.md229### Step 3: Advanced OptionsCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md24## Step 1: Enable API LoggingCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md109## Step 2: Reproduce the CrashCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md146## Step 3: Common CUDA Errors and How to DebugCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md249## Step 4: Multi-Process DebuggingCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md268## Step 5: Advanced Debugging with compute-sanitizerCOMMENT
LOW.claude/skills/debug-cuda-crash/SKILL.md309## Step 6: Kernel-Level Debugging with printf()COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md18## Step 1: Define CUDA Kernel in `include/`COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md76## Step 2: Create Launcher in `csrc/`COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md163## Step 3: Create TVM-FFI Binding in `csrc/`COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md183## Step 4: Create JIT Generator (No Jinja for Simple Case)COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md387## Step 5: Create Python API in `flashinfer/`COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md628## Step 6: Add a Trace TemplateCOMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md776## Step 7: Write Tests in `tests/`COMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md846## Step 7: Register in AOTCOMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md872## Step 8: Export APICOMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md883## Step 9: Run and TestCOMMENT
LOW.claude/skills/add-cuda-kernel/SKILL.md893## Step 10: Add BenchmarkCOMMENT
LOWdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py176# Step 1 - Compile and load the TVM FFI moduleCOMMENT
LOWdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py197# Step 2 - Register as a JAX FFI targetCOMMENT
LOWdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py240# Step 3 - Call as a regular JAX expressionCOMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py149 # Step 1: AddCOMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py151 # Step 2: RMSNormCOMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py153 # Step 3: FP4 quantize (with global_scale for NVFP4)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py179 # Step 1: Apply decay to hidden state: h *= exp(g)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py182 # Step 2: Delta rule: v -= sum(h * k, dim=0) = k @ hCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py187 # Step 3: Apply beta gating: v *= betaCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py190 # Step 4: Update hidden state: h += outer(k, v) = k[:, None] * v[None, :]COMMENT
LOW⚡benchmarks/gdn_triton_reference.py193 # Step 5: Compute output: o = q @ h = sum(q[:, None] * h, dim=0)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py361 # Step 1: Apply decay: h *= exp(g)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py364 # Step 2: Delta rule: v -= h @ k (h is [BV, BK], k is [BK])COMMENT
LOW⚡benchmarks/gdn_triton_reference.py369 # Step 3: Apply beta gatingCOMMENT
151 more matches not shown…
Verbosity Indicators184 hits · 277 pts
SeverityFileLineSnippetContext
LOW…mha_v2/fused_multihead_flash_attention_kernel_noloop.h286 // Do we need to check if there are negative inf for softmax row_max ?COMMENT
LOW…/fused_multihead_flash_attention_kernel_noloop_tiled.h92 // Do we need to check if there are negative inf for softmax row_max ?COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/epilogue.h73 // Whether we need to check if local_max could be -inf or not.COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/epilogue.h543 // Whether we need to check if local_max could be -inf or not.COMMENT
LOWcsrc/fmha_v2/fmha/warpspec/epilogue.h734 // Whether we need to check if local_max could be -inf or not.COMMENT
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h124 // Step 1: Load LE APIs from driver via cuGetProcAddress.COMMENT
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h158 // Step 2: Create this rank's unicast LE and bind it to fabric memory.COMMENT
LOW…_llm/kernels/moe/communication/moeAlltoAllCftManager.h406 // Step 3: Exchange LE handles across all ranks.COMMENT
LOWtests/attention/test_rope.py915 # Step 1: Pre-populate cache with existing tokensCOMMENT
LOWtests/attention/test_rope.py1126 # Step 2: Append new tokens to the pre-populated cacheCOMMENT
LOW…_quantize_fp8_append_paged_kv_cache_h8_kv2_rope64.json194 "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torchCODE
LOW…tize_fp8_append_paged_kv_cache_h8_kv2_rope64_ps16.json195 "reference": "from __future__ import annotations\nimport math\nimport torch\nimport torch.nn.functional as F\n\n@torchCODE
LOW⚡tests/utils/test_fp4_quantize.py404 # Step 1: Quantize with fp4_quantizeCOMMENT
LOW⚡tests/utils/test_fp4_quantize.py414 # Step 2: Dequantize with e2m1_and_ufp8sf_scale_to_floatCOMMENT
LOWtests/utils/test_fp4_quantize.py429 # Step 3: Compare resultsCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1081 # Step 1: Compute g = -exp(A_log) * softplus(a + dt_bias)COMMENT
LOW⚡tests/gdn/reference_delta_rule.py1136 # Step 1: Apply gating to hidden state: h *= exp(g)COMMENT
LOW⚡tests/gdn/reference_delta_rule.py1139 # 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.py1142 # Step 3: Apply beta gating: v *= betaCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1145 # Step 4: Update hidden state with outer product: h += k ⊗ v_newCOMMENT
LOW⚡tests/gdn/reference_delta_rule.py1148 # Step 5: Compute output: o = q^T @ hCOMMENT
LOWtests/gdn/reference_delta_rule.py1098 # Step 2: Compute beta = sigmoid(b)COMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py149 # Step 1: AddCOMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py151 # Step 2: RMSNormCOMMENT
LOW⚡benchmarks/bench_cute_dsl_add_rmsnorm_fp4quant.py153 # Step 3: FP4 quantize (with global_scale for NVFP4)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py179 # Step 1: Apply decay to hidden state: h *= exp(g)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py182 # Step 2: Delta rule: v -= sum(h * k, dim=0) = k @ hCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py187 # Step 3: Apply beta gating: v *= betaCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py190 # Step 4: Update hidden state: h += outer(k, v) = k[:, None] * v[None, :]COMMENT
LOW⚡benchmarks/gdn_triton_reference.py193 # Step 5: Compute output: o = q @ h = sum(q[:, None] * h, dim=0)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py361 # Step 1: Apply decay: h *= exp(g)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py364 # Step 2: Delta rule: v -= h @ k (h is [BV, BK], k is [BK])COMMENT
LOW⚡benchmarks/gdn_triton_reference.py369 # Step 3: Apply beta gatingCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py372 # Step 4: Update state: h += outer(v, k) = v[:, None] * k[None, :]COMMENT
LOW⚡benchmarks/gdn_triton_reference.py376 # Step 5: Compute output: o = h @ q = sum(h * q[None, :], axis=1) -> [BV]COMMENT
LOW⚡benchmarks/gdn_triton_reference.py633 # Step 1: Apply decay to hidden state: h *= exp(g)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py636 # Step 2: Delta rule: v -= h @ k = sum(h * k[None, :], axis=1)COMMENT
LOW⚡benchmarks/gdn_triton_reference.py640 # Step 3: Apply beta gating: v *= betaCOMMENT
LOW⚡benchmarks/gdn_triton_reference.py643 # Step 4: Update hidden state: h += outer(v, k) = v[:, None] * k[None, :]COMMENT
LOW⚡benchmarks/gdn_triton_reference.py646 # Step 5: Compute output: o = h @ q = sum(h * q[None, :], axis=1)COMMENT
LOW⚡benchmarks/bench_cute_dsl_rmsnorm_fp4quant.py157 # Step 1: RMSNormCOMMENT
LOW⚡benchmarks/bench_cute_dsl_rmsnorm_fp4quant.py159 # Step 2: FP4 quantize (with global_scale for NVFP4)COMMENT
LOWbenchmarks/routines/norm.py1356 # Step 2: RMSNorm on residualCOMMENT
LOW⚡scripts/pr_checks/check_api_docs.py63# Step 1: collect all @flashinfer_api-decorated function names via ASTCOMMENT
LOW⚡scripts/pr_checks/check_api_docs.py91# Step 2: collect documented symbols from docs/api/*.rstCOMMENT
LOW⚡scripts/pr_checks/check_api_docs.py162# Step 3: compare and reportCOMMENT
LOW⚡…/deepseek_sparse_attention/indexer_top_k/block_scan.py77 # Step 1: Warp-level prefix sum using shuffleCOMMENT
LOW⚡…/deepseek_sparse_attention/indexer_top_k/block_scan.py80 # Step 2: Store warp prefix sumsCOMMENT
LOW⚡…/deepseek_sparse_attention/indexer_top_k/block_scan.py85 # Step 3: Prefix sum across warpsCOMMENT
LOW⚡…/deepseek_sparse_attention/indexer_top_k/block_scan.py94 # Step 4: Add warp-level prefixCOMMENT
LOW⚡…/deepseek_sparse_attention/indexer_top_k/block_scan.py98 # Step 5: Get total sum if need_total_sum is TrueCOMMENT
LOWflashinfer/trace/templates/rope.py1059 # Step 3: append into paged cache (GQA/MHA) — materialize the quantizedCOMMENT
LOW⚡…e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py196 # Step 1: deterministic FP8 input + weight generationCOMMENT
LOW⚡…e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py625 # Step 2: FP8 referenceCOMMENT
LOW⚡…e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py696 # Step 5: FP8 validationCOMMENT
LOW⚡…e_cutedsl_megakernel/src/moe_hopper_fp8/mega_runner.py794 # Step 4: FP8 kernel launchCOMMENT
LOW…le_cutedsl_megakernel/src/moe_nvfp4_swapab/epilogue.py871 # Step 1: absmax over the weighted regs.COMMENT
LOW…l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py1407 # Step 0: load tmemCOMMENT
LOW…l_megakernel/src/moe_nvfp4_swapab/epilogue_refactor.py1454 # 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.py1482 # Step 2: QuantCOMMENT
124 more matches not shown…
Self-Referential Comments78 hits · 204 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py351 # Create a dict with module info for reportingCOMMENT
MEDIUMtests/kda/test_recurrent_kda_decode_export.py38# This file is the deprecated facade's regression suite, so its own deprecationCOMMENT
MEDIUMtests/attention/test_attention_sink.py303 # Create a fragmented page allocation patternCOMMENT
MEDIUMtests/attention/test_trtllm_gen_attention_decode.py2020 # Create a larger tensor with 2*D in the last dimensionCOMMENT
MEDIUM⚡tests/trace/test_fi_trace.py1225 # Create a dummy instance — we don't call run(), only fi_trace()COMMENT
MEDIUMtests/moe_ep/nccl_ep/test_handle_mock.py803 # Create the handle at 222 rows on a fleet sized for 128, so theCOMMENT
MEDIUMtests/cpu/autotuner/test_autotuner_configs.py802 # Create a cache file with a known configCOMMENT
MEDIUMtests/cpu/autotuner/test_autotuner_configs.py1000 # Create a cache fileCOMMENT
MEDIUMtests/mamba/utils.py266 # Create a simple linear chain structure by defaultCOMMENT
MEDIUMtests/comm/test_cake_moe_alltoall.py334 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_cake_moe_alltoall.py726 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_cake_moe_alltoall.py1398 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_nvlink_two_sided_alltoall.py100 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_nvlink_two_sided_alltoall.py163 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_mnnvl_memory.py138 # Create a random input tensorCOMMENT
MEDIUMtests/comm/test_cake_moe_alltoall_multi_gpu.py347 # Create the all-to-all driverCOMMENT
MEDIUMtests/comm/test_quantized_allreduce.py213 # This file is single-node spawn-managed; use a file store to avoidCOMMENT
MEDIUMtests/utils/test_fp4_quantize.py342 # Create a test scale factors tensor with uint8 dtypeCOMMENT
MEDIUMtests/utils/test_fp4_quantize.py392 # Create a reasonable test tensorCOMMENT
MEDIUMtests/utils/test_logging.py520 # Create a tensor with specific propertiesCOMMENT
MEDIUMtests/utils/test_logging_replay.py1131 # Create a mock dump with safetensors filesCOMMENT
MEDIUMtests/utils/test_norm.py1457 # Create a JIT spec for norm module without ENABLE_FP8 flagCOMMENT
MEDIUMtests/utils/test_load_cubin_compile_race_condition.py40 # Define the target file - same for all processesCOMMENT
MEDIUMtests/utils/test_load_cubin_compile_race_condition.py75 # Create a temporary directory for FLASHINFER_CUBIN_DIRCOMMENT
MEDIUMtests/cli/test_cli_cmds.py542 # Create a temporary JIT directory with some dummy cache filesSTRING
MEDIUMtests/cli/test_cli_cmds.py585 # Create a temporary cubin directory with some dummy cubin filesSTRING
MEDIUMtests/test_helpers/rope_reference.py113# The following code is from the vLLM's implementation of RoPE.COMMENT
MEDIUMtests/moe/test_dpsk_fused_moe_fp8.py596 # Create a mock MoE implementation for skip_checksCOMMENT
MEDIUMdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py1# This file is the canonical Sphinx-Gallery source for the tutorial.COMMENT
MEDIUMdocs/tutorials/jax_tvm_ffi/gemma3_flashinfer_jax.py1# This file is the canonical Sphinx-Gallery source for the tutorial.COMMENT
MEDIUMexamples/pytorch/wan/transformer_wan_flashinfer.py4# This file is adapted from the diffusers WanTransformer3DModel implementation:COMMENT
MEDIUMscripts/task_test_multi_gpu_comm_kernels.sh19# Define the specific test files for multi-GPU comm tests (single-node)COMMENT
MEDIUMscripts/task_test_multi_node_comm_kernels.sh23# Define the specific test files for multi-node comm testsCOMMENT
MEDIUMscripts/test_utils.sh3# This file is meant to be sourced by test runner scriptsCOMMENT
MEDIUMscripts/test_utils.sh1022 # Create a bash array with the node IDsCOMMENT
MEDIUMscripts/test_utils.sh1192 # Create a temporary directory for parallel job stateCOMMENT
MEDIUMscripts/test_utils.sh1207 # Create a results file for each testCOMMENT
MEDIUMscripts/pr_checks/check_skip_all.py585 # Create a JUnit XML with skip reasons for the GDN file.COMMENT
MEDIUMflashinfer/experimental/b12x/_lib/utils.py368 # Create a numpy arraySTRING
MEDIUMflashinfer/experimental/b12x/_lib/dense_gemm.py29# This file is ported from the CUTLASS dense block-scaled GEMM exampleCOMMENT
MEDIUMflashinfer/experimental/deepseek_v41/hca_v41.py2253 # This function is reached only by the dequant warp interval, soCOMMENT
MEDIUM…e_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py221 # Create a new cute.Pointer with generic address space, preserving alignmentCOMMENT
MEDIUM…e_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py249 # Create a new cute.Pointer with gmem address space, preserving alignmentCOMMENT
MEDIUM…b_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py220 # Create a new cute.Pointer with generic address space, preserving alignmentCOMMENT
MEDIUM…b_cutedsl_megakernel/src/moe_nvfp4_swapab/moe_utils.py248 # Create a new cute.Pointer with gmem address space, preserving alignmentCOMMENT
MEDIUM…dsl_megakernel/src/moe_sm120_mxfp8_swapab/moe_utils.py260 # Create a new cute.Pointer with generic address space, preserving alignmentCOMMENT
MEDIUM…dsl_megakernel/src/moe_sm120_mxfp8_swapab/moe_utils.py288 # Create a new cute.Pointer with gmem address space, preserving alignmentCOMMENT
MEDIUM…m100/cutedsl_megamoe/src/moe_nvfp4_swapab/moe_utils.py219 # Create a new cute.Pointer with generic address space, preserving alignmentCOMMENT
MEDIUM…m100/cutedsl_megamoe/src/moe_nvfp4_swapab/moe_utils.py247 # Create a new cute.Pointer with gmem address space, preserving alignmentCOMMENT
MEDIUMflashinfer/comm/dlpack_utils.py224 # Create a new capsule each timeSTRING
MEDIUMflashinfer/fused_moe/core.py575 # Create the outputCOMMENT
MEDIUMflashinfer/fused_moe/cute_dsl/rubin/custom_pipeline.py44# This file is copied and modified from https://github.com/NVIDIA/cutlass/tree/main/python/CuTeDSL/cutlass/pipelineCOMMENT
MEDIUMflashinfer/fused_moe/cute_dsl/rubin/utils.py146 # Create a numpy arraySTRING
MEDIUM…hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py44# This file is copied and modified from https://github.com/NVIDIA/cutlass/tree/main/python/CuTeDSL/cutlass/pipelineCOMMENT
MEDIUMflashinfer/fused_moe/cute_dsl/blackwell/utils.py44# 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.py317 """This class implements batched matrix multiplication (C = A x SFA x B x SFB) with support for various data typesSTRING
MEDIUM…ockscaled_contiguous_gather_grouped_gemm_act_fusion.py332 """This class implements contiguous grouped matrix multiplication with gather operation and SwiGLU fusionSTRING
MEDIUMflashinfer/fused_moe/cute_dsl/common/kernel_utils.py44# This file is copied and modified from cutlass https://github.com/NVIDIA/cutlass/blob/main/python/CuTeDSL/cutlass/cute/COMMENT
MEDIUMflashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py29# This file is ported from CUTLASS's sm103_dense_blockscaled_gemm_persistent.pyCOMMENT
MEDIUMflashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py54 """This class implements batched matrix multiplication (C = A x SFA x B x SFB) with support for FP4 data typesSTRING
18 more matches not shown…
Redundant / Tautological Comments70 hits · 104 pts
SeverityFileLineSnippetContext
LOWbuild_backend.py1059 # Check if we're in a git repositoryCOMMENT
LOWflashinfer-cubin/build_backend.py75 # Check if we're in a git repositoryCOMMENT
LOWtests/attention/test_attention_sink.py934 # Check if any request has qo_len > kv_len for causal caseCOMMENT
LOW…s/comm/test_trtllm_allreduce_fusion_group_fp8_quant.py218 # Check if current workspace is large enough; recreate if notCOMMENT
LOWtests/utils/test_fp8_quantize.py1833 # Check if the bits of paddings are zero.COMMENT
LOWtests/utils/test_load_cubin_compile_race_condition.py44 # Read the file from FLASHINFER_CUBIN_DIRCOMMENT
LOWtests/model_optimizations/test_dsv3_fused_routing.py276 # Check if kernel's selection matches expected experts (exact or tied)COMMENT
LOWtests/test_helpers/sink_attention_reference.py95 # Check if variable length mode is indicated by presence of indptrCOMMENT
LOWflashinfer-jit-cache/build_backend.py89 # Check if we're in a git repositoryCOMMENT
LOWbenchmarks/bench_tgv_gemm.py184 # Check if results are close enoughCOMMENT
LOWbenchmarks/bench_logging_overhead.py224 # Check if CUDA is availableCOMMENT
LOWbenchmarks/bench_dcp_alltoall.py297 # Print results (rank 0 only)COMMENT
LOWscripts/xfails_tracker.py52 # Check if this is a test function (starts with "test_" or has @pytest marks)COMMENT
LOWscripts/xfails_tracker.py70 # Check if this is a pytest.param callCOMMENT
LOWscripts/xfails_tracker.py77 # Check if this is a runtime pytest.xfail() callCOMMENT
LOWscripts/test_utils.sh1671 # Check if parallel execution is enabledCOMMENT
LOWscripts/codeowner_analyzer.py89 # Check if gh CLI is availableCOMMENT
LOWscripts/codeowner_analyzer.py114 # Check if it's already in our cacheCOMMENT
LOWscripts/codeowner_analyzer.py220 # Check if username is in allowed list (case-insensitive)COMMENT
LOWscripts/codeowner_analyzer.py290 # Check if it's a relevant code fileCOMMENT
LOWscripts/codeowner_analyzer.py420 # Check if contributor is in allowed users listCOMMENT
LOWscripts/codeowner_analyzer.py629 # Write file-level overrides LAST (CODEOWNERS uses last-match-wins)COMMENT
LOW.github/workflows/update-xfails-report.yml43 # Check if xfails report file is new (unstaged) or has changesCOMMENT
LOW.github/workflows/update-codeowners.yml50 # Check if CODEOWNERS file is new (unstaged) or has changesCOMMENT
LOW.github/workflows/issue-claim.yml86 # Check if issue already has assigneesCOMMENT
LOW.github/workflows/issue-claim.yml301 # Check if user is now a collaborator (accepted invitation)COMMENT
LOWflashinfer/api_logging.py2105 # Check if this parameter was providedCOMMENT
LOWflashinfer/utils.py391 # Check if it's a CUDA deviceCOMMENT
LOWflashinfer/prefill.py647 # Check if FP8 by presence of scale tensorsCOMMENT
LOWflashinfer/__main__.py1106 # Check if this is a single dump or a session / sequence rootCOMMENT
LOWflashinfer/cuda_utils.py20 # Check if cuda.cudart module is available and import accordinglyCOMMENT
LOW…e_attention/indexer_top_k/indexer_top_k_varlen_util.py1470 # Check if the number of valid indices matchesCOMMENT
LOW…ention/prims_ts/kernels/fmha_context/fmha_resources.py7103 # Check if we should skip correction (when old_max == new_max)COMMENT
LOW…utedsl_megamoe/src/moe_bf16_glu/mega_reference_bf16.py564 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/autotuner/autotuner.py3083 # Set time_measured to inf to notify the failure of the tactic. This can happen whenCOMMENT
LOWflashinfer/triton/sm_constraint_gemm.py66 # Set num_sms to be 100% of the available SMsCOMMENT
LOWflashinfer/comm/mnnvl.py884 # Check if cuda.cudart is available and import accordinglyCOMMENT
LOWflashinfer/comm/mnnvl.py921 # Check if device supports multicastingCOMMENT
LOW…hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py357 # Set mask to None if not using clusters (i.e. 1CTA kernels)COMMENT
LOW…hinfer/fused_moe/cute_dsl/blackwell/custom_pipeline.py363 # Set mask to None if not using 2CTA instructionsCOMMENT
LOWflashinfer/gemm/gemm_base.py10372 # Check if dimensions are aligned for cute-dsl (16-byte alignment)COMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py363 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py998 # Check if we're not at the last buffer of the last k_tileCOMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm103.py1083 # Check if we're not at the last stage of the last k_tileCOMMENT
LOWflashinfer/gemm/kernels/epilogue_utils.py241 # Check if tile_sched is StaticPersistentTileScheduler or any subclass inheriting from itCOMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py754 # Check if prefetch is enabled (prefetch_dist > 0)COMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py2069 # Check if the current combination is validCOMMENT
LOWflashinfer/gemm/kernels/dense_blockscaled_gemm_sm107.py2794 # Check if prefetch is enabled (prefetch_dist > 0)COMMENT
LOWflashinfer/gemm/kernels/blockwise_gemm_blackwell.py437 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/gemm/kernels/grouped_gemm_masked_rubin.py694 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/gemm/kernels/grouped_gemm_masked_rubin.py1950 # Check if the current combination is validCOMMENT
LOWflashinfer/gemm/kernels/bmm_fp8_rubin.py548 # Check if we should use Bkeep-Breuse patternCOMMENT
LOWflashinfer/gemm/kernels/bmm_fp8_blackwell.py311 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/gemm/kernels/blockwise_gemm_rubin.py1434 # Check if we should use Bkeep-Breuse patternCOMMENT
LOW…ashinfer/gemm/kernels/grouped_gemm_masked_blackwell.py907 # Check if input data types are compatible with MMA instructionCOMMENT
LOW…er/gemm/kernels/dense_blockscaled_gemm_sm100_common.py102 # Check if input data types are compatible with MMA instructionCOMMENT
LOW…nfer/gemm/kernels/grouped_gemm_contiguous_blackwell.py551 # Check if input data types are compatible with MMA instructionCOMMENT
LOWflashinfer/gemm/kernels/cutile/ragged_bmm_cutile.py780 # Check if autotune is enabledCOMMENT
LOW…ashinfer/gemm/kernels/cutile/gemm_alpha_beta_cutile.py411 # Check if autotune is requestedCOMMENT
LOWflashinfer/quantization/kernels/mxfp8_quantize.py741 # Check if this thread's row is validCOMMENT
10 more matches not shown…
Docstring Block Structure19 hits · 95 pts
SeverityFileLineSnippetContext
HIGHflashinfer/green_ctx.py133 Split the device into multiple `green contexts <https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__GREEN__COSTRING
HIGHflashinfer/green_ctx.py204 Split the device into multiple green contexts, each with a fixed number of SMs, and return the corresponding stSTRING
HIGHflashinfer/green_ctx.py348 Create one green context per locality domain (uGPU) of ``dev`` and return its stream and ``CUdevResource``, in STRING
HIGHflashinfer/utils.py375 Get GPU memory bandwidth in GB/s for the specified CUDA device. Args: device: torch.device object, e.gSTRING
HIGH…erimental/qwen_3_5_block/_cudnn_frost/QSA/selection.py258Select the ``top_k`` compressed blocks per query token (see the module docstring for the contract). Args: qSTRING
HIGHflashinfer/autotuner/autotuner.py113Map *x* to the nearest bucket using floor or ceil semantics. Args: x: The value to map. buckets: BuSTRING
HIGHflashinfer/autotuner/autotuner.py157Create a mapper function for :class:`DynamicTensorSpec.map_to_tuning_buckets`. The returned callable maps any integSTRING
HIGHflashinfer/autotuner/autotuner.py914Context manager for autotuning with optional file-based caching. Controls how FlashInfer profiles and selects the bSTRING
HIGHflashinfer/autotuner/autotuner.py4512Load autotuner configs from a JSON file. Populates the internal config lookup table so that ``search_cache()`` STRING
HIGH…blockscaled_contiguous_grouped_gemm_finalize_fusion.py380Blockscaled contiguous grouped GEMM for MoE GEMM2 workloads. Fused mode applies routing weights and atomically reduSTRING
HIGH…ockscaled_contiguous_gather_grouped_gemm_act_fusion.py503Blockscaled contiguous gather grouped GEMM with fused FC1 activation. Performs grouped matrix multiplication with fSTRING
HIGHflashinfer/attn_scores/attn_scores.py1610FP8 paged MQA logits for Blackwell (SM100/SM103) and Rubin (SM107). Computes weighted per-head ReLU attention scoreSTRING
HIGHflashinfer/attn_scores/attn_scores.py2127FP4 (MXFP4) paged MQA logits for Blackwell (SM100/SM103) and Rubin (SM107). Computes weighted per-head ReLU attentiSTRING
HIGHflashinfer/gemm/gemm_bf16_fp4.py177Prepare FP4 weights for the bf16 x fp4 GEMM, for a specific backend. The caller is expected to start with weights iSTRING
HIGHflashinfer/quantization/fp4_quantization.py484Quantize a batched tensor to FP4 (E2M1x2) with per-block scale factors. This function converts a float/bfloat16STRING
HIGHflashinfer/quantization/fp4_quantization.py685Quantize a silu and matmul with masked batched tensor to FP4 (E2M1x2) with per-block scale factors. This functiSTRING
HIGHflashinfer/topk_varlen/kernels/filtered_topk_util.py114Return the filtered top-k resource policy for an architecture. Args: compute_capability: A ``(major, minor)STRING
HIGHflashinfer/parallel_attention/utils.py356Create a device mesh and return the Ring and Ulysses process groups. Builds a ``DeviceMesh`` with up to three dimenSTRING
HIGHflashinfer/kda_kernels/kda_decode_wy_output_only.py2070Output-only (frozen-state) KDA decode over 1..16 tokens per sequence. Computes the KDA (Kimi Delta Attention) outpuSTRING
Modern AI Meta-Vocabulary28 hits · 85 pts
SeverityFileLineSnippetContext
MEDIUMtests/experimental/test_cake_gdn_det_train_kcp.py53 except KeyError: # the registry entry is added by the package scaffolding laneCODE
MEDIUMtests/autotuner/test_autotuner_core.py2078 # TODO: Let AutoTuner orchestrate multiple same-shaped value samples within one tuning transaction.COMMENT
MEDIUM…hinfer/experimental/cake_gdn_det_train_kcp/__init__.py24# the byte queries; the partition / context plan, the host orchestration, theCOMMENT
MEDIUM…hinfer/experimental/cake_kda_det_train_kcp/cake_kcp.py503# operand, state and output in FP64 so the orchestration can be checked against the global FP64 reference to ~1e-12.COMMENT
MEDIUM…l/qwen_3_5_block/_cudnn_frost/sdpa/bwd/config_sm100.py894# Rubin (SM107) usable dynamic SMEM: the 327 KiB cap minus the 2 KiB scaffold reserveCOMMENT
MEDIUM…l/qwen_3_5_block/_cudnn_frost/sdpa/bwd/config_sm100.py1227 f"bwd d512 2x2: SMEM {smem / 1024:.1f} KiB + {SMEM_SCAFFOLD_BYTES_2X2 // 1024} KiB scaffold over the {cfg.SMCODE
MEDIUM…l/qwen_3_5_block/_cudnn_frost/sdpa/bwd/config_sm107.py184# The honest bound is the device cap minus the declared scaffolding.COMMENT
MEDIUM…l/qwen_3_5_block/_cudnn_frost/sdpa/bwd/config_sm107.py1669 # --- SMEM: the per-CTA cap, and the scaffold budget -----------------------------------------COMMENT
MEDIUM⚡…cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py2414 # Top-level orchestrationCOMMENT
MEDIUM…cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py2658 # orchestration above is the part being smoke-tested for now.COMMENT
MEDIUM⚡…cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py2405 # Top-level orchestrationCOMMENT
MEDIUM…cutedsl_megakernel/src/moe_nvfp4_swapab/mega_runner.py2648 # orchestration above is the part being smoke-tested for now.COMMENT
MEDIUM⚡…l_megakernel/src/moe_sm120_mxfp8_swapab/mega_runner.py2151 # Top-level orchestrationCOMMENT
MEDIUM…l_megakernel/src/moe_sm120_mxfp8_swapab/mega_runner.py2378 # orchestration above is the part being smoke-tested for now.COMMENT
MEDIUM⚡…00/cutedsl_megamoe/src/moe_nvfp4_swapab/mega_runner.py2414 # Top-level orchestrationCOMMENT
MEDIUM…00/cutedsl_megamoe/src/moe_nvfp4_swapab/mega_runner.py2658 # orchestration above is the part being smoke-tested for now.COMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py522 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py609 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py695 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py1793 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py1884 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py1976 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUM…infer/cake_causal_conv1d_det_train_backend/cake_jit.py2067 # Rendered by the exporter from the family adapter's scaffold: the backwardCOMMENT
MEDIUMflashinfer/fused_moe/da_runtime.py770 # Strip orchestration-owned keywords before delegating dtype-specific allocation andCOMMENT
MEDIUMflashinfer/mla/cake_dsv4.py1568# Launch orchestration #COMMENT
MEDIUM⚡flashinfer/cute_dsl/attention/roles/epilogue.py74 # Prefill orchestration — proven-correct inline implementationCOMMENT
MEDIUM⚡flashinfer/cute_dsl/attention/roles/loader_tma.py282 # Prefill orchestration — proven-correct inline implementationCOMMENT
MEDIUM⚡flashinfer/cute_dsl/attention/roles/mma.py198 # Prefill orchestration — uses primitives for GEMMs and TMEM lifecycleCOMMENT
Example Usage Blocks20 hits · 30 pts
SeverityFileLineSnippetContext
LOWcsrc/fmha_v2/fmha/utils.h66// Example usage:COMMENT
LOWscripts/list_apis.sh10# Usage:COMMENT
LOW…_megakernel/src/moe_hopper_fp8/run_functional_tests.sh13# Usage:COMMENT
LOW…utedsl_megakernel/src/moe_hopper_fp8/run_mega_tests.sh21# Usage:COMMENT
LOW…cutedsl_megakernel/src/moe_hopper_fp8/run_perf_test.sh18# Usage:COMMENT
LOW…egakernel/src/moe_nvfp4_swapab/run_functional_tests.sh10# Usage:COMMENT
LOW…edsl_megakernel/src/moe_nvfp4_swapab/run_mega_tests.sh17# Usage:COMMENT
LOW…megakernel/src/moe_hopper_bf16/run_functional_tests.sh13# Usage:COMMENT
LOW…tedsl_megakernel/src/moe_hopper_bf16/run_mega_tests.sh19# Usage:COMMENT
LOW…utedsl_megakernel/src/moe_hopper_bf16/run_perf_test.sh18# Usage:COMMENT
LOW…egakernel/src/moe_nvfp4_swapab/run_functional_tests.sh10# Usage:COMMENT
LOW…edsl_megakernel/src/moe_nvfp4_swapab/run_mega_tests.sh17# Usage:COMMENT
LOW…l_megakernel/src/moe_mxfp8_glu/run_functional_tests.sh18# Usage:COMMENT
LOW…cutedsl_megakernel/src/moe_mxfp8_glu/run_mega_tests.sh22# Usage:COMMENT
LOW…l_megamoe/src/moe_nvfp4_swapab/run_functional_tests.sh10# Usage:COMMENT
LOW…cutedsl_megamoe/src/moe_nvfp4_swapab/run_mega_tests.sh17# Usage:COMMENT
LOW…edsl_megamoe/src/moe_mxfp8_glu/run_functional_tests.sh18# Usage:COMMENT
LOW…00/cutedsl_megamoe/src/moe_mxfp8_glu/run_mega_tests.sh22# Usage:COMMENT
LOW…tedsl_megamoe/src/moe_bf16_glu/run_functional_tests.sh18# Usage:COMMENT
LOW…100/cutedsl_megamoe/src/moe_bf16_glu/run_mega_tests.sh33# Usage:COMMENT
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py304# In this example, you should learn how minimal the JAX-TVM bridge can be when the function signature and ``arg_spec`` aCOMMENT
HIGHdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py427# In this example, you should learn how to handle two new complications that were absent in Example 1: a TVM function thCOMMENT
HIGHdocs/tutorials/jax_tvm_ffi/flashinfer_jax_tvm_ffi.py644# In this example, you should learn about three patterns that appear together for the first time: a kernel **compiled seCOMMENT
Overly Generic Function Names14 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/cpu/utils/test_decorators.py18 def my_function(x, y):CODE
LOWtests/utils/test_logging.py186 def test_function(x, y):CODE
LOWtests/utils/test_logging.py212 def test_function(tensor, value):CODE
LOWtests/utils/test_logging.py250 def test_function(tensor):CODE
LOWtests/utils/test_logging.py278 def test_function(mode: TestEnum, strategy: StringEnum):CODE
LOWtests/utils/test_logging.py308 def test_function(x, y=10, z=20, mode=TestEnum.OPTION_A):CODE
LOWtests/utils/test_logging.py339 def test_function(x, y=10, z=20):CODE
LOWtests/utils/test_logging.py479 def test_function(CODE
LOWtests/utils/test_logging.py517 def test_function(tensor):CODE
LOWtests/utils/test_logging.py550 def test_function(nested):CODE
LOWtests/utils/test_logging.py615 def test_function(x):CODE
LOWtests/utils/test_logging.py640 def test_function(a, b, c):CODE
LOWtests/jit/test_cute_dsl_strict_key_closure.py212 "from .impl import factor\n\ndef helper():\n return factor()\n",CODE
LOWflashinfer/api_logging.py2451 ... def my_function(x, y):STRING
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/workflows/update-codeowners.yml76 Auto-generated CODEOWNERS update based on commit activity over the last ${{ env.DAYS_BACK }} days.CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/experimental/b12x/preparation/test_session.py62CODE
MEDIUM…infer/experimental/b12x/comm/pcie/pcie_vocab_argmax.py300CODE
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡flashinfer/gdn_kernels/gdn_decode_mtp.py3085 dummy_key = (q.device, h0_source.dtype)CODE
LOW⚡flashinfer/gdn_kernels/gdn_decode_mtp.py3086 if dummy_key not in dummy_intermediate_states:CODE
LOW⚡flashinfer/gdn_kernels/gdn_decode_mtp.py3087 dummy_intermediate_states[dummy_key] = torch.empty(CODE
LOW⚡flashinfer/gdn_kernels/gdn_decode_mtp.py3090 intermediate_states = dummy_intermediate_states[dummy_key]CODE