TokenSpeed is a speed-of-light LLM inference engine.
This report summarizes scanner evidence for lightseekorg/tokenspeed, a Python project with 2,832 GitHub stars. SynthScan examined 1,207,236 lines of code across 2953 source files, recording 16718 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 17.0 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 12496 finding(s).
Are imports declared and package/API names verified? 2164 finding(s).
Are wrappers, guards, and repeated structures necessary? 11015 finding(s).
Which changes need focused human review? 16718 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 16718 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tokenspeed-kernel-npu/test/test_weight_nz.py | 50 | def test_weight_nz_exact_shapes_eager_and_graph(shape, transpose, batch_size): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_weight_nz.py | 87 | def test_weight_nz_restores_internal_format_setting(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed_prefill.py | 115 | def test_execution_error_is_not_retried(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_prefill_prologue.py | 57 | def test_storeless_prefill_matches_original_write(tokens, style, sanitize): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_indexer_metadata.py | 34 | def test_grouped_metadata_graph_reads_changed_and_restored_causal_ends(rank): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_indexer_metadata.py | 164 | def test_fused_dsa_cp_metadata_exact_replay( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_indexer_metadata.py | 271 | def test_metadata_temporaries_survive_foreign_stream_allocator_reuse(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_cache_mask.py | 34 | def test_mla_cache_mask_graph(tokens: int, masked: bool): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_cache_mask.py | 84 | def test_fused_mla_layout_masks_and_value_projection_graph(heads, rows): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_contract.py | 40 | def native_constructor_dependencies(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_contract.py | 50 | def test_partial_merge_handles_all_empty_and_mixed_rows(monkeypatch, dtype): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa_contract.py | 83 | def test_cp_startup_requires_every_execution_operator(monkeypatch, missing): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 120 | def test_prolog_uses_backend_owned_write_locations(dispatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 131 | def test_prolog_preserves_pre_attention_communication(dispatch, needs_gather): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 148 | def test_prolog_retains_fallback_for_exclusions(dispatch, exclusion): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 163 | def test_forward_keeps_current_comm_manager_signature(dispatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 172 | def test_forward_passes_selected_cache_to_packaged_path(dispatch, fuse_value_gate): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 207 | def test_projection_helper_only_runs_prolog_and_query_concat(dispatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 232 | def test_operator_admission_rejection_keeps_primitive_forward(dispatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_stop_conditions.py | 50 | def test_stop_conditions_match_cpu( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_prolog.py | 50 | def test_lite_mla_prolog_nope_packed_cache_and_graph_replay( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_moe.py | 149 | def test_ascend_softmax_bias_topk_matches_torch(tokens: int): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_moe.py | 302 | def test_ascend_local_expert_npu_graph_replay(batch_size: int): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_layernorm.py | 53 | def test_add_rmsnorm_updates_residual(dtype: torch.dtype) -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_triton.py | 27 | def test_triton_adapter_allows_optional_modules_to_be_missing(monkeypatch) -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mha.py | 83 | def test_mha_prefill_from_fused_qkv() -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mha.py | 115 | def test_mha_extend_with_paged_cache() -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mha.py | 155 | def test_mha_decode_with_paged_cache() -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mha.py | 181 | def test_mha_decode_npugraph_updates_sequence_lengths() -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 179 | def test_exact_packaged_nope_call(inputs, monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 199 | def test_query_norm_can_be_returned_for_indexer_reuse(inputs, monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 212 | def test_large_lite_metadata_admission(inputs): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 221 | def test_ineligible_inputs_do_not_write(inputs, monkeypatch): | CODE |
| LOW⚡ | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 232 | def test_missing_package_keeps_fallback(inputs, monkeypatch): | CODE |
| LOW⚡ | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 240 | def test_operator_errors_are_not_retried(inputs, monkeypatch): | CODE |
| LOW⚡ | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 249 | def test_local_head_prolog_admission(inputs, heads): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_oe_table_placement.py | 38 | def test_append_packed_lookup_accepts_host_or_device_tables( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_oe_table_placement.py | 146 | def test_host_lookup_supports_npu_graph_replay() -> None: | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 39 | def test_signed_nibble_order_and_range(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 48 | def test_grouped_plan_shares_weights_and_encodes_scales_without_numeric_cast(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 71 | def test_prepare_preserves_layout_scales_and_matrix_orientation( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 143 | def test_flatquant_rejects_invalid_clip(clip): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 156 | def test_real_nz_weights_match_integer_gmm(transposed, h, i, activation_range): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 229 | def test_old_smooth_only_abi_is_rejected(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 244 | def test_fused_invocation_preserves_flatquant_inputs(transposed): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 64 | def test_supported_geometry_ignores_legacy_flag( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 106 | def test_broken_dependency_not_hidden(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 116 | def test_missing_capability_falls_back(monkeypatch, capability): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 144 | def test_registered_handler_updates_only_lengths(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 190 | def test_packed_graph_live_updates(monkeypatch, batch, heads, page_size, return_lse): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 270 | def test_fused_prolog_to_packed_graph( | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 351 | def test_prefill_capability_geometry(monkeypatch, queries, page_size): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 362 | def test_prefill_unsupported_geometry_falls_back(monkeypatch, case): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 384 | def test_prefill_missing_package(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 393 | def test_prefill_broken_dependency_propagates(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 404 | def test_prefill_package_capability(monkeypatch, capability): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 429 | def test_packed_graph_service_geometry(monkeypatch): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa.py | 29 | def test_full_scan_chunk_hints_are_cached_by_shape(): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa.py | 42 | def test_missing_fused_cp_operators_fail_at_device_boundary(monkeypatch, missing): | CODE |
| LOW | tokenspeed-kernel-npu/test/test_dsa.py | 52 | def test_fused_cp_topology_is_validated_by_the_installed_operators(degree): | CODE |
| 8687 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 37 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 39 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 73 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 75 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 149 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_proposal.py | 151 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 522 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 524 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 549 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 553 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 835 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 837 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 927 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 929 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 985 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_device_handle.py | 988 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_device_handle.py | 866 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_device_handle.py | 868 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_device_handle.py | 1326 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_device_handle.py | 1328 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_qwen4_exp.py | 2236 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_qwen4_exp.py | 2238 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 342 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 344 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 414 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 416 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 468 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 470 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 960 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_retraction_image_executor.py | 962 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_retraction_image_executor.py | 82 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_retraction_image_executor.py | 84 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_drafter_accept_indexing.py | 680 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_drafter_accept_indexing.py | 684 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_expert_location.py | 489 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_expert_location.py | 492 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_input_logprobs.py | 50 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/runtime/test_input_logprobs.py | 52 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 115 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 117 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 154 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 156 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 180 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 182 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 204 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_kimi_k3_dspark_model.py | 206 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 56 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 58 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 100 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 102 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 158 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 160 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 197 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 199 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 249 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 251 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 272 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 274 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 285 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/runtime/test_dspark_config.py | 287 | # -------------------------------------------------------------------------- | COMMENT |
| 1064 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tokenspeed-kernel-npu/test/test_weight_nz.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed_prefill.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_dsa_prefill_prologue.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_dsa_indexer_metadata.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mla_cache_mask.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_dsa_contract.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_rotary_embedding.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_dsa_prefill_indexer.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_stop_conditions.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_moe_int8.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mla_prolog.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_moe.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_layernorm.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_triton.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mha.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_oe_table_placement.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_w4a4_weights.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_dsa.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-kernel-npu/test/test_mla_cp_transport.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/__init__.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/_triton.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …npu/python/tokenspeed_kernel_npu/ops/over_embedding.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …rnel-npu/python/tokenspeed_kernel_npu/ops/layernorm.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/ops/w4a4.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …nel-npu/python/tokenspeed_kernel_npu/ops/mla_packed.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/ops/gemm.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …nel-npu/python/tokenspeed_kernel_npu/ops/mla_prolog.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/__init__.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …nel-npu/python/tokenspeed_kernel_npu/ops/activation.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …u/python/tokenspeed_kernel_npu/ops/rotary_embedding.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/moe.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mla.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mha.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | …kernel-npu/python/tokenspeed_kernel_npu/ops/mla_dcp.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/setup.py | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/CMakeLists.txt | 1 | # Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/build.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/tests/grammar.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/cxx/facade.h | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/src/lib.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/src/table.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-grammar/src/table.rs | 21 | //! The process's matchers, by handle, and the C entries the data plane | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/tests/prometheus.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/src/prom.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/src/prom.rs | 21 | //! Prometheus multiprocess files, in the format `prometheus_client` reads | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/src/lib.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/src/lib.rs | 21 | //! The engine's metrics (`metrics/collector.py`), produced in Rust (RFC | COMMENT |
| LOW | tokenspeed-engine/crates/ts-metrics/src/relay.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/tests/conformance.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/src/request.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/src/request.rs | 61 | /// Return the sampled tokens' logprobs. | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/src/multimodal.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/src/multimodal.rs | 121 | COMMENT | |
| LOW | tokenspeed-engine/crates/ts-wire/src/control.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| LOW | tokenspeed-engine/crates/ts-wire/src/error.rs | 1 | // Copyright (c) 2026 LightSeek Foundation | COMMENT |
| 2637 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tokenspeed-kernel-npu/test/test_weight_nz.py | 21 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_moe_int8.py | 21 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_moe.py | 21 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_mla_cp_transport.py | 30 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/_triton.py | 27 | CODE | |
| LOW | …npu/python/tokenspeed_kernel_npu/ops/over_embedding.py | 23 | CODE | |
| LOW | …npu/python/tokenspeed_kernel_npu/ops/over_embedding.py | 30 | CODE | |
| LOW | …rnel-npu/python/tokenspeed_kernel_npu/ops/layernorm.py | 23 | CODE | |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/ops/w4a4.py | 112 | CODE | |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/ops/w4a4.py | 342 | CODE | |
| LOW | …ed-kernel-npu/python/tokenspeed_kernel_npu/ops/gemm.py | 21 | CODE | |
| LOW | …nel-npu/python/tokenspeed_kernel_npu/ops/mla_prolog.py | 24 | CODE | |
| LOW | …u/python/tokenspeed_kernel_npu/ops/rotary_embedding.py | 23 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 23 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 28 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 28 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 28 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 28 | CODE | |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 28 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 23 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 816 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 260 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/moe.py | 23 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mla.py | 23 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mha.py | 23 | CODE | |
| LOW | …kernel-npu/python/tokenspeed_kernel_npu/ops/mla_dcp.py | 23 | CODE | |
| LOW | …kernel-npu/python/tokenspeed_kernel_npu/ops/mla_dcp.py | 160 | CODE | |
| LOW | …kernel-npu/python/tokenspeed_kernel_npu/ops/mla_dcp.py | 196 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 39 | CODE | |
| LOW | test/test_l3_tail_roundtrip.py | 30 | CODE | |
| LOW | test/l3_test_utils.py | 25 | CODE | |
| LOW | test/test_host_cache_storage.py | 21 | CODE | |
| LOW | test/test_l2_layerwise_load.py | 21 | CODE | |
| LOW | test/test_cache_transfer_layout.py | 21 | CODE | |
| LOW | test/test_l3_kvstore.py | 21 | CODE | |
| LOW | test/ci/npu/tests/scatter-test.py | 29 | CODE | |
| LOW | test/ci/npu/tests/scatter-test.py | 116 | CODE | |
| LOW | test/ci/npu/tests/virtual_slots_to_local-test.py | 29 | CODE | |
| LOW | test/ci/npu/tests/virtual_slots_to_local-test.py | 109 | CODE | |
| LOW | test/ci/deepswe/test_kimi_code.py | 3 | CODE | |
| LOW | test/ci/deepswe/kimi_code_environment.py | 3 | CODE | |
| LOW | test/ci/deepswe/kimi_code_pier_agent.py | 3 | CODE | |
| LOW | test/ci/deepswe/summarize.py | 4 | CODE | |
| LOW | test/runtime/test_unified_decode_path.py | 34 | CODE | |
| LOW | test/runtime/test_dspark_proposal.py | 11 | CODE | |
| LOW | test/runtime/test_update_weights_from_disk.py | 32 | CODE | |
| LOW | test/runtime/test_kimi_k3_eagle3.py | 3 | CODE | |
| LOW | test/runtime/test_block_tables_bridge.py | 1 | CODE | |
| LOW | test/runtime/test_device_handle.py | 38 | CODE | |
| LOW | test/runtime/test_launcher_rocm_tool_registration.py | 29 | CODE | |
| LOW | test/runtime/test_host_executor.py | 3 | CODE | |
| LOW | test/runtime/test_workspace_allreduce_gates.py | 27 | CODE | |
| LOW | test/runtime/test_glm53_flash_cache_spec.py | 3 | CODE | |
| LOW | test/runtime/test_cudagraph_probe_ladder.py | 23 | CODE | |
| LOW | test/runtime/test_kimi_mxfp4_dense_linear.py | 3 | CODE | |
| 2021 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …tic_benchmark/minimax_m3/tokenspeed/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …gentic_benchmark/kimi_k3/tokenspeed/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …gentic_benchmark/inkling/tokenspeed/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …st/agentic_benchmark/kimi_k2.5/vllm/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …ntic_benchmark/kimi_k2.5/tokenspeed/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …/agentic_benchmark/kimi_k2.5/sglang/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …/agentic_benchmark/kimi_k2.5/trtllm/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …agentic_benchmark/glm5.2/tokenspeed/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | test/agentic_benchmark/glm5.2/trtllm/collect_outputs.py | 0 | collect a sweep's per-config benchmark_summary.json files into one csv. | STRING |
| HIGH | …tic_benchmark/minimax_m3/tokenspeed/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …gentic_benchmark/kimi_k3/tokenspeed/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …gentic_benchmark/inkling/tokenspeed/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …st/agentic_benchmark/kimi_k2.5/vllm/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …ntic_benchmark/kimi_k2.5/tokenspeed/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …/agentic_benchmark/kimi_k2.5/sglang/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …/agentic_benchmark/kimi_k2.5/trtllm/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …agentic_benchmark/glm5.2/tokenspeed/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | test/agentic_benchmark/glm5.2/trtllm/collect_outputs.py | 0 | iteration-weighted accept length: sum(completion-1) / sum(n_chunks-1). the "decoded tok/iter" in benchmark_summary.json | STRING |
| HIGH | …time/layers/attention/backends/paged/tokenspeed_mla.py | 0 | per-bs decode metadata views over the persistent buffers. one builder for capture and refresh; cached per bs — pointer-s | STRING |
| HIGH | …/runtime/layers/attention/backends/paged/trtllm_mla.py | 0 | per-bs decode metadata views over the persistent buffers. one builder for capture and refresh; cached per bs — pointer-s | STRING |
| HIGH | …enspeed/runtime/layers/attention/backends/paged/mla.py | 0 | per-bs decode metadata views over the persistent buffers. one builder for capture and refresh; cached per bs — pointer-s | STRING |
| HIGH | …st/nvidia/ops/moe/test_mxfp4_situ_flashinfer_trtllm.py | 0 | minimal module carrying what the preprocessor and apply consume. | STRING |
| HIGH | …st/nvidia/ops/moe/test_nvfp4_situ_flashinfer_trtllm.py | 0 | minimal module carrying what the preprocessor and apply consume. | STRING |
| HIGH | …st/nvidia/ops/moe/test_bf16_relu2_flashinfer_trtllm.py | 0 | minimal module carrying what the preprocessor and apply consume. | STRING |
| HIGH | …t/nvidia/ops/moe/test_nvfp4_relu2_flashinfer_trtllm.py | 0 | minimal module carrying what the preprocessor and apply consume. | STRING |
| HIGH | …d-kernel/test/nvidia/thirdparty/bench_mnnvl_vs_nccl.py | 0 | true when the world spans hosts. cross-node cuda-ipc workspace creation fails and poisons the cuda context ('invalid res | STRING |
| HIGH | …ernel/test/nvidia/thirdparty/test_trtllm_mnnvl_comm.py | 0 | true when the world spans hosts. cross-node cuda-ipc workspace creation fails and poisons the cuda context ('invalid res | STRING |
| HIGH | …el/test/nvidia/thirdparty/test_trtllm_mnnvl_twoshot.py | 0 | true when the world spans hosts. cross-node cuda-ipc workspace creation fails and poisons the cuda context ('invalid res | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/kda/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/qsa/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/msa/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …ython/tokenspeed_kernel/ops/attention/rmha/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/dsa/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/mla/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/gdn/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …thon/tokenspeed_kernel/ops/attention/kpool/__init__.py | 0 | pick dense vs mxfp8 signature and build the scale kwargs splat. q_scale selects the block-scaled path; k_scale/v_scale m | STRING |
| HIGH | …l/ops/attention/rmha/_cute_dsl/flash_fwd_sm100_bias.py | 0 | set up configurations and parameters for the mla kernel operation. this method initializes and configures various attrib | STRING |
| HIGH | tokenspeed-mla/python/tokenspeed_mla/fmha.py | 0 | set up configurations and parameters for the mla kernel operation. this method initializes and configures various attrib | STRING |
| HIGH | …peed-mla/python/tokenspeed_mla/mla_decode_fp8_sm107.py | 0 | set up configurations and parameters for the mla kernel operation. this method initializes and configures various attrib | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | set up configurations that are dependent on gemm inputs this method configures various attributes based on the input ten | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | set up configurations that are dependent on gemm inputs this method configures various attributes based on the input ten | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | set up configurations that are dependent on gemm inputs this method configures various attributes based on the input ten | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | gpu device kernel performing the persistent batched gemm computation. | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | gpu device kernel performing the persistent batched gemm computation. | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | gpu device kernel performing the persistent batched gemm computation. | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | make tiledcopy for shared memory store, then use it to partition register array (source) and shared memory (destination) | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | make tiledcopy for shared memory store, then use it to partition register array (source) and shared memory (destination) | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | make tiledcopy for shared memory store, then use it to partition register array (source) and shared memory (destination) | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | make tiledcopy for global memory store, then use it to: partition shared memory (source) and global memory (destination) | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | make tiledcopy for global memory store, then use it to: partition shared memory (source) and global memory (destination) | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | make tiledcopy for global memory store, then use it to: partition shared memory (source) and global memory (destination) | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | computes the number of stages for a/b/c operands based on heuristics. :param tiled_mma: the tiled mma object defining th | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | computes the number of stages for a/b/c operands based on heuristics. :param tiled_mma: the tiled mma object defining th | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | computes the number of stages for a/b/c operands based on heuristics. :param tiled_mma: the tiled mma object defining th | STRING |
| HIGH | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 0 | use persistent tile scheduler to compute the grid size for the output tensor c. :param c: the output tensor c :type c: c | STRING |
| HIGH | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 0 | use persistent tile scheduler to compute the grid size for the output tensor c. :param c: the output tensor c :type c: c | STRING |
| HIGH | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 0 | use persistent tile scheduler to compute the grid size for the output tensor c. :param c: the output tensor c :type c: c | STRING |
| HIGH | tokenspeed-mla/python/tokenspeed_mla/mla_decode_fp8.py | 0 | the device split_kv kernel implementation of the multi-head latent attention. this kernel coordinates multiple specializ | STRING |
| HIGH | …peed-mla/python/tokenspeed_mla/mla_decode_fp8_sm107.py | 0 | the device split_kv kernel implementation of the multi-head latent attention. this kernel coordinates multiple specializ | STRING |
| HIGH | tokenspeed-mla/python/tokenspeed_mla/mla_decode_fp16.py | 0 | the device split_kv kernel implementation of the multi-head latent attention. this kernel coordinates multiple specializ | STRING |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/_triton.py | 68 | __all__ = ["libdevice", "proton", "tl", "triton"] | CODE |
| LOW | …npu/python/tokenspeed_kernel_npu/ops/over_embedding.py | 95 | __all__ = ["append_packed_lookup", "register_host_tables"] | CODE |
| LOW | …rnel-npu/python/tokenspeed_kernel_npu/ops/layernorm.py | 79 | __all__ = ["qk_rmsnorm", "rmsnorm"] | CODE |
| LOW | …u/python/tokenspeed_kernel_npu/ops/rotary_embedding.py | 54 | __all__ = ["apply_rope"] | CODE |
| LOW | …ernel-npu/python/tokenspeed_kernel_npu/ops/sampling.py | 69 | __all__ = [ | CODE |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/moe.py | 577 | __all__ = [ | CODE |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mla.py | 368 | __all__ = [ | CODE |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mha.py | 203 | __all__ = [ | CODE |
| LOW | tokenspeed-engine/python/tokenspeed_engine/__init__.py | 48 | __all__ = [ | CODE |
| LOW | test/runtime/cache_pool_test_utils.py | 111 | def set_kv_buffer(self, layer, loc, cache_k, cache_v) -> None: | CODE |
| LOW | test/runtime/test_logits_processor.py | 353 | def _set_fabric(monkeypatch, supported: bool) -> None: | CODE |
| LOW | test/runtime/distributed/test_comm_ops.py | 49 | def _set_fabric(monkeypatch, supported: bool) -> None: | CODE |
| LOW | test/ci_system/ci_utils.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | test/ci_system/ci_register.py | 23 | __all__ = [ | CODE |
| LOW | python/tokenspeed/runtime/hf_hub_retry.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/pd/cache_protocol.py | 185 | __all__ = [ | CODE |
| LOW | python/tokenspeed/runtime/metrics/service.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/metrics/registry.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/epd/prefill_receive.py | 66 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/epd/encode_host.py | 85 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/layers/hyperconnection.py | 351 | __all__ = [ | CODE |
| LOW | python/tokenspeed/runtime/layers/rotary_embedding.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/layers/parameter.py | 35 | __all__ = [ | CODE |
| LOW | python/tokenspeed/runtime/layers/qwen4_exp_ple.py | 1128 | __all__ = [ | CODE |
| LOW | …speed/runtime/layers/attention/mm_encoder_attention.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/layers/attention/registry.py | 86 | logger = logging.getLogger(__name__) | CODE |
| LOW | …on/tokenspeed/runtime/layers/attention/qsa/__init__.py | 34 | __all__ = [ | CODE |
| LOW | …okenspeed/runtime/layers/attention/qsa/verify_state.py | 218 | __all__ = ["QSAVerifyState"] | CODE |
| LOW | …hon/tokenspeed/runtime/layers/attention/qsa/indexer.py | 490 | __all__ = ["QSAIndexer"] | CODE |
| LOW⚡ | …n/tokenspeed/runtime/layers/attention/backends/base.py | 549 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …n/tokenspeed/runtime/layers/attention/backends/base.py | 136 | def set_cache_pool(self, cache_pool: CachePool) -> None: | CODE |
| LOW⚡ | …/runtime/layers/attention/backends/specific/inkling.py | 702 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …/runtime/layers/attention/backends/specific/inkling.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …time/layers/attention/backends/specific/qsa_indexer.py | 346 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW⚡ | …untime/layers/attention/backends/specific/qwen4_exp.py | 264 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …untime/layers/attention/backends/specific/qwen4_exp.py | 292 | __all__ = ["Qwen4ExpBackend", "qwen4_exp_backend"] | CODE |
| LOW | …enspeed/runtime/layers/attention/backends/paged/msa.py | 65 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …enspeed/runtime/layers/attention/backends/paged/msa.py | 500 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …runtime/layers/attention/backends/paged/tree_verify.py | 42 | __all__ = ["TreeCascadeRows", "TreeDraftInputs", "TreeVerifyInputs"] | CODE |
| LOW | …runtime/layers/attention/backends/paged/tree_verify.py | 94 | def set_frontier(self, bs: int, frontier: torch.Tensor) -> None: | CODE |
| LOW | …enspeed/runtime/layers/attention/backends/paged/dsa.py | 409 | def set_request_slots(self, req_pool_indices: torch.Tensor) -> None: | CODE |
| LOW | …enspeed/runtime/layers/attention/backends/paged/dsa.py | 596 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …time/layers/attention/backends/paged/tokenspeed_mla.py | 88 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …peed/runtime/layers/attention/backends/paged/router.py | 965 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW⚡ | …nspeed/runtime/layers/attention/backends/paged/base.py | 440 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …nspeed/runtime/layers/attention/backends/paged/base.py | 479 | def set_request_slots(self, req_pool_indices: torch.Tensor) -> None: | CODE |
| LOW | …/runtime/layers/attention/backends/state/checkpoint.py | 58 | __all__ = [ | CODE |
| LOW | …speed/runtime/layers/attention/backends/state/mamba.py | 100 | logger = logging.getLogger(__name__) | CODE |
| LOW | …speed/runtime/layers/attention/backends/state/mamba.py | 337 | def set_kv_pool(self, kv_pool: CachePool) -> None: | CODE |
| LOW⚡ | …eed/runtime/layers/attention/backends/hybrid/linear.py | 110 | def update_draft_forward_metadata(self, frontier: torch.Tensor) -> None: | CODE |
| LOW | …thon/tokenspeed/runtime/layers/attention/dsa/ascend.py | 815 | __all__ = [ | CODE |
| LOW | …enspeed/runtime/layers/attention/kv_cache/qwen4_exp.py | 66 | __all__ = [ | CODE |
| LOW | …/layers/attention/kv_cache/recipes/scheduler_bridge.py | 185 | __all__ = [ | CODE |
| LOW | …peed/runtime/layers/attention/kv_cache/recipes/spec.py | 683 | __all__ = [ | CODE |
| LOW | …/runtime/layers/attention/kv_cache/recipes/transfer.py | 235 | __all__ = [ | CODE |
| LOW | …runtime/layers/attention/kv_cache/recipes/qwen4_exp.py | 356 | __all__ = ["Qwen4ExpRecipe"] | CODE |
| LOW | python/tokenspeed/runtime/layers/dense/__init__.py | 29 | __all__ = [ | CODE |
| LOW | python/tokenspeed/runtime/layers/dense/nvfp4.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tokenspeed/runtime/layers/dense/mxfp4.py | 182 | __all__ = [ | CODE |
| LOW | …kenspeed/runtime/layers/quantization/modelopt_mixed.py | 65 | logger = logging.getLogger(__name__) | CODE |
| 485 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tokenspeed-kernel-npu/test/test_lite_mla_dispatch.py | 148 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_flash_mla_prolog.py | 127 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 79 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_mla_packed.py | 362 | CODE | |
| LOW | tokenspeed-kernel-npu/test/test_mla_cp_transport.py | 69 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 73 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 1021 | CODE | |
| LOW | test/test_utils.py | 27 | CODE | |
| LOW | test/test_l3_tail_roundtrip.py | 164 | CODE | |
| LOW | test/l3_test_utils.py | 146 | CODE | |
| LOW | …t/long_context_benchmark/tokenspeed/collect_outputs.py | 39 | CODE | |
| LOW | test/runtime/test_weight_loader_prefetch.py | 200 | CODE | |
| LOW | test/runtime/test_weight_loader_prefetch.py | 299 | CODE | |
| LOW | test/runtime/test_instanttensor_loader.py | 132 | CODE | |
| LOW | test/runtime/test_host_executor.py | 1527 | CODE | |
| LOW | test/runtime/test_host_executor.py | 1966 | CODE | |
| LOW | test/runtime/test_cudagraph_probe_ladder.py | 313 | CODE | |
| LOW | test/runtime/test_cli_config_compat.py | 383 | CODE | |
| LOW | test/runtime/test_cli_config_compat.py | 470 | CODE | |
| LOW | test/runtime/test_router_topk_invariance.py | 86 | CODE | |
| LOW | test/runtime/test_tree_attention_cascade.py | 109 | CODE | |
| LOW | test/runtime/cache_pool_test_utils.py | 361 | CODE | |
| LOW | test/runtime/test_flashmla_dcp.py | 71 | CODE | |
| LOW | test/runtime/test_drafter_accept_indexing.py | 586 | CODE | |
| LOW | test/runtime/test_expert_location.py | 92 | CODE | |
| LOW | test/runtime/test_inkling_real_checkpoint_load.py | 61 | CODE | |
| LOW | test/runtime/test_tree_spec.py | 96 | CODE | |
| LOW | test/runtime/test_tree_spec.py | 141 | CODE | |
| LOW | test/runtime/test_tree_spec.py | 183 | CODE | |
| LOW | test/runtime/test_kimi_k3_dspark_model.py | 279 | CODE | |
| LOW | test/runtime/test_gdn_state_paging.py | 611 | CODE | |
| LOW | test/runtime/test_eagle4_tree_lanes.py | 159 | CODE | |
| LOW | test/runtime/test_kvp_prefix_chunk_gather.py | 386 | CODE | |
| LOW | test/runtime/test_deepseek_v41_model.py | 224 | CODE | |
| LOW | test/runtime/test_deepseek_v41_model.py | 695 | CODE | |
| LOW | test/runtime/test_deepseek_v41_model.py | 1107 | CODE | |
| LOW | test/runtime/test_deepseek_v41_model.py | 2748 | CODE | |
| LOW | test/runtime/test_deepseek_v41_model.py | 3587 | CODE | |
| LOW | test/runtime/test_v4_sliding_window_groups_smoke.py | 70 | CODE | |
| LOW | test/runtime/test_v4_sliding_window_groups_smoke.py | 148 | CODE | |
| LOW | test/runtime/test_v4_sliding_window_groups_smoke.py | 205 | CODE | |
| LOW | test/runtime/test_inkling_load_weights.py | 87 | CODE | |
| LOW | test/runtime/test_eagle_harness_round.py | 135 | CODE | |
| LOW | test/runtime/test_slot_state.py | 611 | CODE | |
| LOW | test/runtime/test_dflash2.py | 340 | CODE | |
| LOW | test/runtime/test_copy_cache_pages.py | 378 | CODE | |
| LOW | test/runtime/run_deepseek_v41_eval.py | 54 | CODE | |
| LOW | test/runtime/run_deepseek_v41_eval.py | 130 | CODE | |
| LOW | test/runtime/test_pp_mapping.py | 266 | CODE | |
| LOW | test/runtime/test_kimi_k3_attn_res.py | 733 | CODE | |
| LOW | test/runtime/test_eagle_harness_device_policy.py | 81 | CODE | |
| LOW | test/runtime/test_prefill_graph.py | 1468 | CODE | |
| LOW | test/runtime/test_prefill_graph.py | 97 | CODE | |
| LOW | test/runtime/test_prefill_graph.py | 223 | CODE | |
| LOW | test/runtime/test_ascend_mla_prefill.py | 328 | CODE | |
| LOW | test/runtime/test_startup_process_ownership.py | 172 | CODE | |
| LOW | test/runtime/test_paged_attention_prologue.py | 624 | CODE | |
| LOW | test/runtime/test_prefix_cache_e2e.py | 246 | CODE | |
| LOW | test/runtime/test_prefix_cache_e2e.py | 340 | CODE | |
| LOW | test/runtime/test_qsa_backend.py | 343 | CODE | |
| 551 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/dsa.py | 808 | Owned addresses are translated to local storage; null, invalid or | STRING |
| HIGH | test/ci/deepswe/kimi_code_pier_agent.py | 125 | "/logs/agent/kimi-code.log 2>/dev/null || true' EXIT; " | CODE |
| HIGH | test/runtime/test_inkling_mtp_conv_state.py | 342 | over [committed history || accepted chunk prefix].""" | STRING |
| HIGH | test/runtime/test_inkling_mtp_conv_state.py | 489 | """Per-request reference: causal conv over [prefix || x].""" | STRING |
| HIGH | test/runtime/test_inkling_mtp_conv_state.py | 501 | the chunk): rows of [prefix || x[:upto]].""" | STRING |
| HIGH | test/runtime/test_inkling_mtp_conv_state.py | 520 | conv over [ring history || x_t]; the kernel persists the token's own | STRING |
| HIGH⚡ | test/runtime/test_unit_kv_scales.py | 141 | '{"kv_cache": {"scaling_factor": {"0": {"0": null}}}}', | CODE |
| HIGH⚡ | test/runtime/test_unit_kv_scales.py | 143 | '{"kv_cache": null}', | CODE |
| HIGH | test/runtime/test_cli_config_compat.py | 87 | ('{"org/model": "/local/model", "other": null}', "org/model"), | CODE |
| HIGH | test/runtime/test_cli_config_compat.py | 272 | '{"rope_scaling": null}', | CODE |
| HIGH | test/runtime/test_cli_config_compat.py | 300 | "hf_overrides": '{"rope_scaling": null}', | CODE |
| HIGH⚡ | test/runtime/test_retraction_image_executor.py | 949 | queue.push(first, "first") | CODE |
| HIGH⚡ | test/runtime/test_retraction_image_executor.py | 950 | queue.push(second, "second") | CODE |
| HIGH⚡ | test/runtime/test_retraction_image_executor.py | 955 | queue.push(Mock(), "stale") | CODE |
| HIGH⚡ | test/runtime/test_draft_page_table_scrub.py | 108 | # Rows 1..3 are padding: their pages are null, so slots are 0. | COMMENT |
| HIGH⚡ | test/runtime/test_gdn_state_paging.py | 195 | # slot 0 null, slot 1 a pad: a request with history has no block to | COMMENT |
| HIGH | test/runtime/test_gdn_state_paging.py | 1082 | # Block 0 is null; block 2 holds the prompt-end state, block 3 the | COMMENT |
| HIGH | test/runtime/test_gdn_state_paging.py | 1108 | # Prefill 8 tokens from the zero state (slot 0 null) into block 2. | COMMENT |
| HIGH | test/runtime/test_l3_factory.py | 109 | model_override_args='{"rope_scaling": null}', | CODE |
| HIGH | test/runtime/test_ascend_dsa_verify.py | 1348 | # Authoritative router slots include null, foreign, owned and invalid IDs. | COMMENT |
| HIGH | test/runtime/grammar_test_utils.py | 165 | return result.type_index == kTVMFFIBool && result.v_int64 != 0 ? 1 : 0; | CODE |
| HIGH | test/runtime/test_server_args_context_parallel.py | 105 | "--kv-parallel-size > 1 requires --disaggregation-mode null, prefill or decode", | CODE |
| HIGH | test/runtime/test_kimi_k3_kda.py | 216 | conv/recurrent component slabs indexed by page id (page 0 = null).""" | STRING |
| HIGH | test/runtime/test_kimi_k3_kda.py | 777 | # Prefill 3 tokens from the zero state (slot 0 null) into the checkpoint block. | COMMENT |
| HIGH | test/runtime/distributed/test_decode_tp_layouts.py | 558 | ``fused_qkv_a_proj_with_mqa`` takes ``[embeds || hidden]``).""" | STRING |
| HIGH | test/ci_system/test_dispatch_workflows.py | 658 | "${{ inputs.commit || inputs.pr || 'main' }}" | CODE |
| HIGH | test/ci_system/test_dispatch_workflows.py | 1248 | " && 30 || inputs.timeout_minutes }}" | CODE |
| HIGH | test/ci_system/test_dispatch_workflows.py | 1370 | "${{ (inputs.pr || inputs.commit) && '1' || '0' }}" | CODE |
| HIGH | test/ci_system/test_dispatch_workflows.py | 1457 | 'test "$GFX_ARCH" = gfx1250 || exit 1\n' | CODE |
| HIGH | test/ci_system/slurm_submit.py | 511 | nvidia_smi="$(command -v nvidia-smi 2>/dev/null || true)" | CODE |
| HIGH⚡ | test/ci_system/slurm_submit.py | 636 | if [ -n "$pid" ] && kill -0 "$pid" 2>/dev/null; then | CODE |
| HIGH⚡ | test/ci_system/slurm_submit.py | 637 | kill -TERM "$pid" 2>/dev/null || true | CODE |
| HIGH⚡ | test/ci_system/slurm_submit.py | 640 | [ -z "$client_step_pid" ] || wait "$client_step_pid" 2>/dev/null || true | CODE |
| HIGH⚡ | test/ci_system/slurm_submit.py | 641 | [ -z "$server_step_pid" ] || wait "$server_step_pid" 2>/dev/null || true | CODE |
| HIGH | test/ci_system/slurm_submit.py | 674 | kill -0 "$client_step_pid" 2>/dev/null; do | CODE |
| HIGH | test/ci_system/slurm_submit.py | 679 | if ! kill -0 "$server_step_pid" 2>/dev/null; then | CODE |
| HIGH | test/ci_system/test_package_cache.py | 53 | 'configure_package_cache >/dev/null; printf "%s|%s|%s" "${PIP_CACHE_DIR}" "${CI_WHEEL_CACHE_DIR}" "${CI_CCACHE_D | CODE |
| HIGH | test/ci_system/test_package_cache.py | 76 | 'configure_package_cache >/dev/null; printf "%s|%s|%s" "${PIP_CACHE_DIR}" "${CI_WHEEL_CACHE_DIR}" "${CI_CCACHE_D | CODE |
| HIGH | test/ci_system/test_package_cache.py | 121 | "configure_nvcc_cache >/dev/null; " | CODE |
| HIGH | test/ci_system/test_package_cache.py | 172 | "configure_nvcc_cache >/dev/null 2>/dev/null; " | CODE |
| HIGH⚡ | test/ci_system/pipeline.py | 739 | "sudo apt-get update -q && sudo apt-get install -y lsof; " | CODE |
| HIGH⚡ | test/ci_system/pipeline.py | 741 | f"pids=$(lsof -tiTCP:{port} -sTCP:LISTEN 2>/dev/null || true); " | CODE |
| HIGH⚡ | test/ci_system/pipeline.py | 744 | "kill -TERM $pids 2>/dev/null || true; " | CODE |
| HIGH⚡ | test/ci_system/pipeline.py | 746 | f"pids=$(lsof -tiTCP:{port} -sTCP:LISTEN 2>/dev/null || true); " | CODE |
| HIGH⚡ | test/ci_system/pipeline.py | 747 | 'if [ -n "$pids" ]; then kill -KILL $pids 2>/dev/null || true; fi; ' | CODE |
| HIGH | test/ci_system/pipeline.py | 697 | f'pkill -{signal_name} -f "{pattern}" 2>/dev/null || true', | CODE |
| HIGH | test/ci_system/test_worker_cleanup.py | 14 | if kill -0 "$worker" 2>/dev/null; then | CODE |
| HIGH | python/tokenspeed/runtime/grammar/grammar_host.py | 478 | if (matcher.stop_token_ids.count(token) || token < 0 || token >= vocab_size_) { | CODE |
| HIGH | …/runtime/layers/attention/backends/state/checkpoint.py | 210 | pad, ``0`` null). Wider rows are accepted and read at slots 0/1. | STRING |
| HIGH | python/tokenspeed/runtime/cache/l2/executor.py | 898 | self._completions.push( | CODE |
| HIGH | python/tokenspeed/runtime/cache/l2/executor.py | 965 | self._completions.push( | CODE |
| HIGH | python/tokenspeed/runtime/cache/l2/executor.py | 1002 | self._completions.push( | CODE |
| HIGH | python/tokenspeed/runtime/cache/l2/executor.py | 1147 | self._completions.push( | CODE |
| HIGH | python/tokenspeed/runtime/utils/server_args.py | 243 | "--kv-parallel-size > 1 requires --disaggregation-mode null, prefill " | CODE |
| HIGH | python/tokenspeed/runtime/utils/server_args.py | 3887 | help="Specify tp size for MoE part, default equals nprocs-per-node, if non dp_attn && combine_dense mode, th | CODE |
| HIGH | python/tokenspeed/runtime/models/llama_eagle3.py | 92 | the [embed || hidden] concat) and ``forward`` (= qkv_proj + o_proj | STRING |
| HIGH | python/tokenspeed/runtime/models/deepseek_v3.py | 2683 | concatenated [embeds || hidden_states] as input. | STRING |
| HIGH | python/tokenspeed/runtime/execution/drafter/mtp.py | 171 | prefix). Deeper depths are rolls of [window || drafts], built by the | STRING |
| HIGH | python/tokenspeed/runtime/execution/drafter/mtp.py | 199 | rows the stash. Over [stash || fresh] both cases are one gather at | STRING |
| HIGH | python/tokenspeed/runtime/execution/drafter/eagle.py | 299 | ``[prefill_part || decode_part]`` under MIXED, full prefill chunks | STRING |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …t/long_context_benchmark/tokenspeed/collect_outputs.py | 63 | except (TypeError, ValueError): | CODE |
| HIGH | …t/long_context_benchmark/tokenspeed/collect_outputs.py | 53 | except (TypeError, ValueError): | CODE |
| HIGH | test/runtime/run_deepseek_v41_eval.py | 223 | except (URLError, TimeoutError): | CODE |
| HIGH | test/runtime/run_deepseek_v41_eval.py | 327 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/runtime/run_deepseek_v41_eval.py | 333 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/runtime/test_startup_process_ownership.py | 181 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/runtime/test_startup_process_ownership.py | 179 | except psutil.NoSuchProcess: | CODE |
| HIGH | test/runtime/test_numerics_mode.py | 553 | except Rollback: | CODE |
| HIGH | test/runtime/distributed/test_deepseek_v41_pd_1p1d.py | 96 | except Exception: | CODE |
| HIGH | test/runtime/distributed/test_qwen35_epd_1e1p2d.py | 149 | except Exception: | CODE |
| HIGH | test/runtime/distributed/test_qwen35_epd_1e1p2d.py | 77 | except Exception: | CODE |
| HIGH | test/runtime/models/test_kimi_models.py | 103 | except Exception: | CODE |
| HIGH | test/runtime/models/test_qwen35_vlm_e2e.py | 117 | except Exception: | CODE |
| HIGH | test/runtime/models/test_qwen35_vlm_e2e.py | 195 | except subprocess.TimeoutExpired: | CODE |
| HIGH | test/runtime/models/test_kimi_k3_eagle3_e2e.py | 50 | except requests.RequestException: | CODE |
| HIGH | test/runtime/models/test_gpt_oss.py | 81 | except Exception: | CODE |
| HIGH | test/ci_system/process_group_manager.py | 79 | except (ProcessLookupError, PermissionError): | CODE |
| HIGH | test/ci_system/pipeline.py | 1776 | except subprocess.TimeoutExpired: | CODE |
| HIGH | test/ci_system/pipeline.py | 1729 | except (URLError, ConnectionError, TimeoutError): | CODE |
| HIGH | test/ci_system/npu/run_phase.py | 87 | except ProcessLookupError: | CODE |
| HIGH | test/ci_system/npu/run_phase.py | 91 | except subprocess.TimeoutExpired: | CODE |
| HIGH | test/ci_system/npu/run_phase.py | 96 | except ProcessLookupError: | CODE |
| HIGH | test/cli/test_serve_smg_unit.py | 1424 | except SystemExit: | CODE |
| HIGH | test/cli/test_serve_smg_integration.py | 60 | except (urllib.error.URLError, ConnectionError, TimeoutError): | CODE |
| HIGH | python/tokenspeed/_logging.py | 109 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/cache/l2/executor.py | 1183 | except BaseException: | CODE |
| HIGH | …tokenspeed/runtime/utils/torch_memory_saver_adapter.py | 32 | except ImportError: | CODE |
| HIGH | python/tokenspeed/runtime/utils/startup_timing.py | 56 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/common.py | 745 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/network.py | 86 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/network.py | 94 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/network.py | 118 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/network.py | 125 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/network.py | 132 | except Exception: | CODE |
| HIGH | python/tokenspeed/runtime/utils/process.py | 94 | except psutil.NoSuchProcess: | CODE |
| HIGH | python/tokenspeed/runtime/utils/process.py | 105 | except psutil.NoSuchProcess: | CODE |
| HIGH | python/tokenspeed/runtime/models/dflash.py | 567 | except TypeError: | CODE |
| HIGH | python/tokenspeed/runtime/models/deepseek_v41_engram.py | 401 | except FileNotFoundError: | CODE |
| HIGH | python/tokenspeed/runtime/models/deepseek_v41_engram.py | 405 | except ValueError: | CODE |
| HIGH | python/tokenspeed/runtime/models/deepseek_v41_engram.py | 365 | except FileNotFoundError: | CODE |
| HIGH | python/tokenspeed/runtime/models/deepseek_v41.py | 1364 | except NoKernelFoundError: | CODE |
| HIGH | python/tokenspeed/runtime/multimodal/shm_transport.py | 273 | except FileNotFoundError: | CODE |
| HIGH | python/tokenspeed/runtime/multimodal/shm_transport.py | 270 | except FileNotFoundError: | CODE |
| HIGH | python/tokenspeed/runtime/execution/drafter/__init__.py | 129 | except ValueError: | CODE |
| HIGH | python/tokenspeed/runtime/entrypoints/wire_driver.py | 256 | except ProcessLookupError: | CODE |
| HIGH | python/tokenspeed/runtime/engine/rust_host.py | 231 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/tokenspeed/cli/serve_smg.py | 1028 | except ImportError: | CODE |
| HIGH | python/tokenspeed/cli/serve_smg.py | 1049 | except ImportError: | CODE |
| HIGH | python/tokenspeed/cli/serve_smg.py | 904 | except NotImplementedError: | CODE |
| HIGH | tokenspeed-kernel/test/test_kimi_prefill_ops.py | 92 | except Exception: | CODE |
| HIGH | tokenspeed-kernel/python/setup.py | 196 | except AttributeError: | CODE |
| HIGH | tokenspeed-kernel/python/setup.py | 183 | except OSError: | CODE |
| HIGH | tokenspeed-kernel/python/setup.py | 607 | except Exception: | CODE |
| HIGH | tokenspeed-kernel/python/setup.py | 737 | except ImportError: | CODE |
| HIGH | tokenspeed-kernel/python/setup.py | 758 | except ImportError: | CODE |
| HIGH | tokenspeed-kernel/python/tokenspeed_kernel/platform.py | 56 | except Exception: | CODE |
| HIGH | tokenspeed-kernel/python/tokenspeed_kernel/platform.py | 699 | except Exception: | CODE |
| HIGH | tokenspeed-kernel/python/tokenspeed_kernel/_triton.py | 189 | except ValueError: | CODE |
| HIGH | …kenspeed-kernel/python/tokenspeed_kernel/ops/tuning.py | 469 | except FileNotFoundError: | CODE |
| HIGH | …thon/tokenspeed_kernel/ops/attention/dsa/flashinfer.py | 57 | except ImportError: | CODE |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tokenspeed/runtime/hf_hub_retry.py | 58 | Run ``call``, retrying Hugging Face Hub 429 rate limits. The hub answers an exhausted rate-limit window with 429 an | STRING |
| HIGH | python/tokenspeed/runtime/layers/logits_processor.py | 928 | Logprob of each named prompt row's next token, position-chunked. The rows (``logits_metadata.input_logprob_rows | STRING |
| HIGH | python/tokenspeed/runtime/layers/layernorm.py | 649 | A pre/post ("sandwich") norm boundary on a reduced sublayer output. ``a = post_norm(x)``, then ``residual_out = RN( | STRING |
| HIGH | python/tokenspeed/runtime/layers/layernorm.py | 728 | All-reduce a sublayer partial and run the sandwich boundary on the sum. The helper a model calls where a tensor-par | STRING |
| HIGH | …n/tokenspeed/runtime/layers/attention/dcp/placement.py | 101 | Count, on the host, how many history rows of each request every rank owns. The query-context-parallel history gathe | STRING |
| HIGH | …n/tokenspeed/runtime/layers/attention/dcp/placement.py | 170 | Count, on the host, how many rows of every prefix chunk each rank owns. Prefix-chunk loop ``j`` reads rows ``[j * c | STRING |
| HIGH | …untime/layers/attention/backends/specific/qwen4_exp.py | 79 | Build the consumers whose fields belong to this cache view. Args: config: This side's attention con | STRING |
| HIGH | …/runtime/layers/attention/backends/state/checkpoint.py | 103 | Resolve this forward's in-forward State checkpoints, if any. Args: checkpoint_lens_cpu: Host ``[>= num_exte | STRING |
| HIGH | …speed/runtime/layers/attention/backends/state/mamba.py | 153 | Host prefix sum of the scheduler's extend lengths, as an int64 tensor. The contents must equal ``query_start_loc`` | STRING |
| HIGH | …speed/runtime/layers/attention/backends/state/utils.py | 27 | Return the physical state-row stride in int32 words for batched copies. Args: tensor: State rows with a non | STRING |
| HIGH | …ed/runtime/layers/attention/kv_cache/virtual_blocks.py | 48 | Translate scheduler blocks to owned local pages, keeping the owner mask. Args: virtual_blocks: Scheduler bl | STRING |
| HIGH | …n/tokenspeed/runtime/layers/attention/kv_cache/base.py | 65 | Map each recurrent layer to the state group holding its fields. The memory plan is the single record of which group | STRING |
| HIGH | …n/tokenspeed/runtime/layers/attention/kv_cache/base.py | 117 | Map each attention layer to the history group holding its KV. The counterpart of :func:`derive_state_groups_by_laye | STRING |
| HIGH | …/tokenspeed/runtime/layers/attention/kv_cache/arena.py | 336 | Return one planned field's view into the arena. The view is shaped the way the field is addressed. A history fi | STRING |
| HIGH | …peed/runtime/layers/attention/kv_cache/recipes/plan.py | 64 | Return the plan-facing name of the dtype the arena views bytes as. Args: dtype: A ``torch.dtype`` or an alr | STRING |
| HIGH | …peed/runtime/layers/attention/kv_cache/recipes/plan.py | 99 | Return the byte width of one element of a plan dtype name. Args: dtype_name: A name produced by :func:`cach | STRING |
| HIGH | …peed/runtime/layers/attention/kv_cache/recipes/plan.py | 716 | Pack declared cache groups into one capacity-independent LCM block. The second stage of the pipeline: ``group`` say | STRING |
| HIGH | …peed/runtime/layers/attention/kv_cache/recipes/spec.py | 359 | Normalize either window spelling to one entry per layer. Args: sliding_window_tokens: A scalar window to br | STRING |
| HIGH | …peed/runtime/layers/attention/kv_cache/recipes/spec.py | 541 | Walk the layers once, building each group whole. A cache group has two halves -- the scheduler-facing spec and the | STRING |
| HIGH | …ime/layers/attention/kv_cache/recipes/cache_runtime.py | 39 | Validate that ``value`` is a positive, non-boolean integer. Args: name: Field name used in the error messag | STRING |
| HIGH | …pressed_tensors/schemes/compressed_tensors_w8a8_fp8.py | 148 | The FP8 codes' product with an FP8 weight, unscaled, in BF16. The per-tensor FP8 GEMM the registry selects (a vendo | STRING |
| HIGH | python/tokenspeed/runtime/cache/transfer/lanes.py | 160 | The static field geometry one executor's transfers share. One row per field in consumer (layer) order, each naming | STRING |
| HIGH | python/tokenspeed/runtime/distributed/pp_stage.py | 46 | All stages' [start, end) layer windows. The single source of the stage-split arithmetic: the model build, the KV | STRING |
| HIGH | python/tokenspeed/runtime/distributed/pp_stage.py | 101 | Map stage execution windows to the target cache-layer namespace. Stage windows partition execution blocks (decoder | STRING |
| HIGH | python/tokenspeed/runtime/distributed/comm_manager.py | 191 | Per-rank rows of the head group for one leg of the head-TP exchange. Head TP shards the head projections over ranks | STRING |
| HIGH | python/tokenspeed/runtime/utils/spec_block_geometry.py | 138 | Derive the launch widths a checkpoint block size implies. Args: algorithm: ``"DSPARK"`` or ``"DFLASH"`` (DF | STRING |
| HIGH | python/tokenspeed/runtime/utils/process.py | 169 | Receive one message per reader, failing when any child exits or closes its pipe. ``readers[i]`` is the ready pipe o | STRING |
| HIGH | python/tokenspeed/runtime/utils/launcher.py | 116 | Return the first hostname of a Slurm-compressed hostlist. Args: hostlist: A hostlist such as ``cn10``, ``cn | STRING |
| HIGH | python/tokenspeed/runtime/utils/launcher.py | 293 | Derive the multi-node topology from the launcher environment. Args: env: Environment mapping to read; defau | STRING |
| HIGH | python/tokenspeed/runtime/execution/device.py | 924 | Check a weight load's local prerequisites without changing anything. The control plane MIN-reduces this result | STRING |
| HIGH | python/tokenspeed/runtime/execution/device.py | 967 | Apply one in-place RL weight-sync request, ordered against forwards. Type-dispatched on the request — join the | STRING |
| HIGH | python/tokenspeed/runtime/execution/model_executor.py | 255 | Return the stage's DSpark context producer, or None when nothing is produced. A DSpark draft reads target taps that | STRING |
| HIGH | …thon/tokenspeed/runtime/execution/accept_simulation.py | 40 | Validate the simulated tokens per verify step. Args: value: Raw ``TOKENSPEED_SPEC_SIMULATED_ACCEPT_LEN``; e | STRING |
| HIGH | python/tokenspeed/runtime/execution/query_shard.py | 61 | How many of the sorted batch-global ``rows`` fall in each rank's shard. The one row split of a query shard: the sam | STRING |
| HIGH | python/tokenspeed/runtime/execution/query_shard.py | 240 | How many of ``rows`` fall in each rank's shard. The split a collective over those rows needs (the prompt-logpro | STRING |
| HIGH | python/tokenspeed/runtime/execution/query_shard.py | 269 | Per-rank row counts of the rows a collective moves. A model that reports a collective sizing (``report_collecti | STRING |
| HIGH | python/tokenspeed/runtime/execution/drafter/dflash.py | 72 | Resolve (verify_width, draft_block_size) for a block drafter. Args: cfg: The draft model's config. | STRING |
| HIGH | python/tokenspeed/runtime/engine/rank_setup.py | 165 | The longest request and the longest prompt this rank admits. Args: context_len: The model's context length. | STRING |
| HIGH | python/tokenspeed/runtime/engine/scheduler_utils.py | 553 | Bridge the per-group block tables to GPU int32 tensors: absolute page indices, null hole = 0 preserved, ragged-row p | STRING |
| HIGH | python/tokenspeed/runtime/engine/zmq_wire.py | 212 | Map a tokenspeed/torch dtype onto SMG's wire dtype enum string. Args: dtype: A torch dtype or its string fo | STRING |
| HIGH | python/tokenspeed/cli/trace_merge.py | 267 | Merge a Proton chrome trace into a VizTracer report. Shifts every Proton event by the difference between the two fi | STRING |
| HIGH | python/tokenspeed/cli/trace_merge.py | 303 | Merge and align Proton/VizTracer trace pairs from several TP ranks. Every input pair is first aligned using its own | STRING |
| HIGH | …ernel/python/tokenspeed_kernel/benchmark/validation.py | 92 | Return the output validator registered under ``name``. Args: name: Validator name from an output validation | STRING |
| HIGH | …peed_kernel/ops/attention/rmha/_cute_dsl/score_mods.py | 54 | Build a memoized FA4 score_mod adding a learned relative-position bias. The returned closure adds ``rel_logits[glob | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/dsa/cute_dsl.py | 95 | Length-aware per-row top-k over a dense indexer-logits matrix. Args: logits: 2-D row-major contiguous CUDA | STRING |
| HIGH | …python/tokenspeed_kernel/ops/attention/dsa/__init__.py | 336 | Select, without running it, the ``dsa_prefill_topk`` leaf for index keys handed as rows in workspace-row order of `` | STRING |
| HIGH | …l/python/tokenspeed_kernel/ops/attention/gdn/triton.py | 1294 | Replay all GDN layers and write their final accepted states. This portable Triton implementation is shared by every | STRING |
| HIGH | …n/tokenspeed_kernel/ops/attention/gdn/_triton/chunk.py | 145 | Args: q (torch.Tensor): queries of shape `[B, T, H, K]` if `head_first=False` else `[B, H, T, K | STRING |
| HIGH | …on/tokenspeed_kernel/ops/layernorm/qk_rmsnorm_ssmax.py | 209 | The kernel :func:`qk_rmsnorm_ssmax` runs for this call; nothing is launched. Args: q, k, q_weight, k_weight | STRING |
| HIGH | …on/tokenspeed_kernel/ops/layernorm/qk_rmsnorm_ssmax.py | 336 | Normalize the q and k heads and scale q by position through ``layernorm.qk_rmsnorm_ssmax``. Args: q: ``[... | STRING |
| HIGH | …on/tokenspeed_kernel/ops/layernorm/qk_rmsnorm_ssmax.py | 651 | One launch of the shared Q/K RMSNorm kernel with the SSMax fold on an admitted call; raise otherwise. ``dequant`` fo | STRING |
| HIGH | …rnel/python/tokenspeed_kernel/ops/activation/triton.py | 1695 | ``(x.float() / cap).tanh() * cap`` in one pass, byte for byte. The FP32 statement is three elementwise kernels afte | STRING |
| HIGH | …rnel/python/tokenspeed_kernel/ops/sampling/cute_dsl.py | 1006 | Build the cross-rank argmax state, requiring NVLS multicast. Args: group: The process group the argmax redu | STRING |
| HIGH | …/tokenspeed_kernel/ops/sampling/triton/dspark_block.py | 239 | Score this rank's vocabulary shard for one block step. Args: base_logits: ``[rows, block, local_vocab]`` FP | STRING |
| HIGH | …/tokenspeed_kernel/ops/sampling/triton/dspark_block.py | 352 | Write the winners of the gathered ``candidates`` into ``output[:, step]``. Args: candidates: ``[tp, rows, n | STRING |
| HIGH | …hon/tokenspeed_kernel/ops/sampling/triton/spec_path.py | 73 | Walk the lattice one locally best edge at a time. Args: candidate_ids: ``[batch, num_steps, top_k]`` candid | STRING |
| HIGH | …l/python/tokenspeed_kernel/ops/conv/_triton/grouped.py | 91 | Convolve packed blocks with per-row, per-group dynamic coefficients. Args: x: Input rows ``[T, C]`` packed | STRING |
| HIGH | …-kernel/python/tokenspeed_kernel/ops/kvcache/triton.py | 971 | Build batched verify-commit row ids for :func:`copy_state_rows`. Sinks the ``arange``/``clamp``/``where`` chain tha | STRING |
| HIGH | …-kernel/python/tokenspeed_kernel/ops/kvcache/triton.py | 1589 | Normalize, rotate and scatter every layer's latent KV in one launch. Each ``[kv_lora_rank + rope_dim]`` row is RMSN | STRING |
| HIGH | …el/python/tokenspeed_kernel/ops/quantization/triton.py | 885 | ``silu_and_mul_quantize_fp8`` in one launch with one program per row. Each element is the scaled GEMM's 16-bit outp | STRING |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ci/npu/tests/scatter-test.py | 214 | except Exception as exc: # pragma: no cover - device dependent | CODE |
| LOW | test/ci/npu/tests/scatter-test.py | 333 | except Exception as exc: # pragma: no cover - device dependent | CODE |
| LOW | test/ci/npu/tests/virtual_slots_to_local-test.py | 230 | except Exception as exc: # pragma: no cover - device dependent | CODE |
| LOW | test/ci/npu/tests/virtual_slots_to_local-test.py | 359 | except Exception as exc: # pragma: no cover - device dependent | CODE |
| LOW | test/runtime/test_inkling_load_weights.py | 563 | except Exception as e: # pragma: no cover - environment specific | CODE |
| LOW | test/runtime/distributed/test_deepseek_v41_pd_1p1d.py | 96 | except Exception: | CODE |
| LOW | test/runtime/distributed/test_qwen35_epd_1e1p2d.py | 77 | except Exception: | CODE |
| LOW | test/runtime/distributed/test_qwen35_epd_1e1p2d.py | 149 | except Exception: | CODE |
| LOW | test/runtime/distributed/test_dp_sampling_swap.py | 41 | except Exception: | CODE |
| MEDIUM | test/runtime/distributed/test_dp_sampling_swap.py | 23 | def _worker_main(rank, world_size, port, test_fn, error_dict, args): | CODE |
| LOW | test/runtime/distributed/test_named_process_groups.py | 88 | except Exception: # pragma: no cover - reported to the parent | CODE |
| LOW | …ime/distributed/test_batch_invariant_max_all_reduce.py | 44 | except Exception: | CODE |
| LOW | …runtime/distributed/test_batch_invariant_all_reduce.py | 65 | except Exception: | CODE |
| MEDIUM | …runtime/distributed/test_batch_invariant_all_reduce.py | 62 | def worker_fn(rank, world_size, port, attn_tp, error_dict): | CODE |
| LOW | …t/runtime/distributed/test_vocab_parallel_topk_nccl.py | 201 | except Exception: | CODE |
| MEDIUM | …t/runtime/distributed/test_vocab_parallel_topk_nccl.py | 183 | def _worker(rank, world_size, port, test_fn, error_dict): | CODE |
| MEDIUM | test/runtime/distributed/test_dp_sampling_comm.py | 29 | def _worker_main(rank, world_size, port, test_fn, error_dict, args): | CODE |
| MEDIUM | test/runtime/distributed/test_dp_sampling_comm.py | 66 | def _onesided_available_for_test(group) -> bool: | CODE |
| LOW⚡ | test/runtime/distributed/test_dp_sampling_comm.py | 69 | except Exception: | CODE |
| LOW | test/runtime/distributed/test_dp_sampling_comm.py | 47 | except Exception: | CODE |
| LOW⚡ | test/runtime/distributed/test_comm_manager.py | 81 | except Exception as e: | CODE |
| LOW | test/runtime/distributed/test_comm_manager.py | 310 | except Exception: | CODE |
| MEDIUM | test/runtime/distributed/test_comm_manager.py | 76 | def worker_fn( | CODE |
| MEDIUM | test/runtime/distributed/test_comm_manager.py | 307 | def _qcp_worker(rank, port, error_dict): | CODE |
| LOW | test/runtime/distributed/test_qcp_prompt_logprobs.py | 60 | except Exception: # pragma: no cover - reported to the parent | CODE |
| LOW | …t/runtime/distributed/test_eagle4_candidate_head_tp.py | 179 | except Exception: | CODE |
| MEDIUM | …t/runtime/distributed/test_eagle4_candidate_head_tp.py | 162 | def _worker(rank, world_size, port, error_dict): | CODE |
| LOW | test/runtime/distributed/test_qcp_history_gather.py | 133 | except Exception: # pragma: no cover - reported to the parent | CODE |
| LOW | test/runtime/distributed/test_qcp_history_gather.py | 413 | except Exception: # pragma: no cover - reported to the parent | CODE |
| MEDIUM | test/runtime/distributed/test_comm_ops.py | 380 | def worker_fn(rank, world_size, port, test_fn, error_dict): | CODE |
| LOW⚡ | test/runtime/distributed/test_comm_ops.py | 383 | except Exception: | CODE |
| LOW | test/runtime/sampling/test_flashinfer_verify_dp.py | 67 | except Exception: | CODE |
| MEDIUM | test/runtime/sampling/test_flashinfer_verify_dp.py | 49 | def _worker_main(rank, world_size, port, test_fn, error_dict, args): | CODE |
| LOW | test/runtime/sampling/test_dp_sampling_logits_verify.py | 80 | except Exception: | CODE |
| MEDIUM | test/runtime/sampling/test_dp_sampling_logits_verify.py | 62 | def _worker_main(rank, world_size, port, test_fn, error_dict, args): | CODE |
| LOW | test/runtime/models/test_kimi_models.py | 103 | except Exception: | CODE |
| LOW | test/runtime/models/test_qwen35_vlm_e2e.py | 117 | except Exception: | CODE |
| LOW | test/runtime/models/test_qwen35_vlm_e2e.py | 128 | except Exception as exc: # noqa: BLE001 | CODE |
| MEDIUM | test/runtime/models/test_qwen35_vlm_e2e.py | 125 | def setup_class(cls): | CODE |
| LOW | test/runtime/models/test_gpt_oss.py | 81 | except Exception: | CODE |
| LOW | test/ci_system/pipeline.py | 2135 | except Exception as exc: | CODE |
| LOW | test/ci_system/pipeline.py | 2165 | except Exception as exc: | CODE |
| LOW | test/ci_system/kernel_benchmark_ci.py | 1108 | except Exception as exc: # noqa: BLE001 - failures must become CI artifacts | CODE |
| LOW | test/ci_system/npu/run_phase.py | 160 | except Exception as exc: | CODE |
| LOW | test/ci_system/npu/run_phase.py | 232 | except Exception as exc: | CODE |
| LOW⚡ | test/ci_system/npu/run_phase.py | 377 | except Exception as summary_error: | CODE |
| LOW⚡ | test/ci_system/npu/run_phase.py | 380 | except Exception as exc: | CODE |
| LOW⚡ | test/ci_system/npu/run_phase.py | 386 | except Exception as summary_error: | CODE |
| LOW | test/ci_system/npu/reporting.py | 601 | except Exception as exc: | CODE |
| MEDIUM | test/ci_system/npu/reporting.py | 62 | def decode_record(text): | CODE |
| LOW | python/tokenspeed/_logging.py | 77 | except Exception: | CODE |
| LOW | python/tokenspeed/_logging.py | 109 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/metrics/service.py | 62 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/metrics/service.py | 88 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/metrics/service.py | 156 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/metrics/service.py | 194 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/epd/encode_host.py | 389 | except Exception as error: # noqa: BLE001 - fails this batch's rooms only | CODE |
| LOW | python/tokenspeed/runtime/layers/logits_processor.py | 309 | except Exception: | CODE |
| LOW | python/tokenspeed/runtime/layers/vocab_parallel_topk.py | 167 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | python/tokenspeed/runtime/cache/l3/identity.py | 344 | except Exception: | CODE |
| 138 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/moe.py | 421 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mha.py | 103 | CODE | |
| LOW | …eed-kernel-npu/python/tokenspeed_kernel_npu/ops/mha.py | 153 | CODE | |
| LOW | test/runtime/conftest.py | 30 | CODE | |
| LOW | test/runtime/test_drafter_accept_indexing.py | 88 | CODE | |
| LOW | test/runtime/test_dp_sampling_routing_metadata.py | 49 | CODE | |
| LOW | test/runtime/cache_pd_test_utils.py | 76 | CODE | |
| LOW | test/runtime/layers/test_mla_verify_metadata.py | 20 | CODE | |
| LOW | test/ci_system/pipeline.py | 1859 | CODE | |
| LOW | test/ci_system/test_kernel_benchmark_comment.py | 109 | CODE | |
| LOW | python/tokenspeed/runtime/layers/linear.py | 380 | CODE | |
| LOW | python/tokenspeed/runtime/layers/linear.py | 561 | CODE | |
| LOW | python/tokenspeed/runtime/layers/linear.py | 812 | CODE | |
| LOW | python/tokenspeed/runtime/layers/linear.py | 1169 | CODE | |
| LOW | …/tokenspeed/runtime/layers/vocab_parallel_embedding.py | 270 | CODE | |
| LOW | …/tokenspeed/runtime/layers/vocab_parallel_embedding.py | 682 | CODE | |
| LOW | …speed/runtime/layers/attention/mm_encoder_attention.py | 352 | CODE | |
| LOW | …thon/tokenspeed/runtime/layers/attention/dsa/ascend.py | 318 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/expert.py | 71 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/expert.py | 683 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/latent.py | 241 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/latent.py | 532 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/loader.py | 605 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/loader.py | 370 | CODE | |
| LOW | python/tokenspeed/runtime/layers/moe/topk.py | 458 | CODE | |
| LOW | python/tokenspeed/runtime/distributed/mapping.py | 608 | CODE | |
| LOW | python/tokenspeed/runtime/models/glm5.py | 264 | CODE | |
| LOW | python/tokenspeed/runtime/models/kimi_k3.py | 370 | CODE | |
| LOW | python/tokenspeed/runtime/models/kimi_k3.py | 2357 | CODE | |
| LOW | python/tokenspeed/runtime/models/gpt_oss.py | 116 | CODE | |
| LOW | python/tokenspeed/runtime/models/qwen3.py | 105 | CODE | |
| LOW | python/tokenspeed/runtime/models/deepseek_v3.py | 631 | CODE | |
| LOW | python/tokenspeed/runtime/models/moonvit.py | 294 | CODE | |
| LOW | python/tokenspeed/runtime/models/moonvit.py | 502 | CODE | |
| LOW | python/tokenspeed/runtime/models/moonvit.py | 599 | CODE | |
| LOW | python/tokenspeed/runtime/execution/forward_step.py | 209 | CODE | |
| LOW | python/tokenspeed/runtime/configs/inkling_config.py | 156 | CODE | |
| LOW | python/tokenspeed/runtime/configs/inkling_config.py | 393 | CODE | |
| LOW | python/tokenspeed/runtime/configs/inkling_config.py | 460 | CODE | |
| LOW | python/tokenspeed/runtime/configs/model_config.py | 654 | CODE | |
| LOW | …thon/tokenspeed/runtime/configs/qwen3_vision_config.py | 28 | CODE | |
| LOW | …hon/tokenspeed/runtime/configs/nemotron_omni_config.py | 203 | CODE | |
| LOW | …hon/tokenspeed/runtime/configs/nemotron_omni_config.py | 275 | CODE | |
| LOW | …on/tokenspeed/runtime/configs/kimi_k3_dspark_config.py | 53 | CODE | |
| LOW | …tokenspeed/runtime/configs/qwen3_5_text_base_config.py | 191 | CODE | |
| LOW | python/tokenspeed/runtime/configs/qwen3_asr_config.py | 50 | CODE | |
| LOW | python/tokenspeed/runtime/configs/kimi_k3_config.py | 60 | CODE | |
| LOW | python/tokenspeed/runtime/configs/kimi_k3_config.py | 140 | CODE | |
| LOW | python/tokenspeed/runtime/configs/qwen3_moe_config.py | 31 | CODE | |
| LOW | python/tokenspeed/runtime/configs/qwen4_exp_config.py | 52 | CODE | |
| LOW | python/tokenspeed/runtime/configs/qwen4_exp_config.py | 156 | CODE | |
| LOW | python/tokenspeed/runtime/configs/qwen3_config.py | 173 | CODE | |
| LOW | python/tokenspeed/runtime/configs/kimi_k25_config.py | 60 | CODE | |
| LOW | python/tokenspeed/runtime/configs/glm53_flash_config.py | 41 | CODE | |
| LOW | python/tokenspeed/runtime/configs/glm53_flash_config.py | 92 | CODE | |
| LOW | python/tokenspeed/runtime/configs/glm53_flash_config.py | 343 | CODE | |
| LOW | python/tokenspeed/runtime/configs/minimax_m3_config.py | 62 | CODE | |
| LOW | python/tokenspeed/runtime/configs/minimax_m3_config.py | 165 | CODE | |
| LOW | python/tokenspeed/runtime/engine/scheduler_utils.py | 105 | CODE | |
| LOW | tokenspeed-kernel/test/ops/test_kda_recurrent.py | 1697 | CODE | |
| 150 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 199 | // Step 1: expert groups onto nodes. | COMMENT |
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 222 | // Step 2: replicate within each node; rows are (layer, node). | COMMENT |
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 236 | // Step 3: replicas onto the node's GPUs. | COMMENT |
| LOW | test/runtime/test_draft_advance_seqlens.py | 441 | # Step 0: the drafter publishes the accepted frontier (vc + N -> vc + a); the | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 124 | # Step 1: Determine CUDA index and FlashInfer architecture | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 152 | # Step 2: Upgrade base tools | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 164 | # Step 3: Sync FlashInfer JIT cache on Blackwell runners | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 170 | # Step 4: Install tokenspeed-kernel | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 196 | # Step 5: Install TokenSpeed Scheduler (C++) | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 212 | # Step 6: Install TokenSpeed | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 221 | # Step 7: Optionally override tokenspeed-mla with in-tree source | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 235 | # Step 8: Pin critical kernel deps to exact versions | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 308 | # Step 9: Fix Triton ptxas (CUDA 13+ only) | COMMENT |
| LOW | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 165 | # Step 1: pack groups to nodes | COMMENT |
| LOW⚡ | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 176 | # Step 2: construct redundant experts within nodes | COMMENT |
| LOW⚡ | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 185 | # Step 3: pack physical_experts to GPUs | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 436 | # Step 1: Load LSE_partial from gmem to shared memory | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 477 | # Step 2: Load O_partial for pipeline stages | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 534 | # Step 3: Load and transpose LSE from smem to registers | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 552 | # Step 4: Compute final LSE along split dimension | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 619 | # Step 5: Store final LSE to gmem | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 645 | # Step 6: Read O_partial and accumulate final O | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 698 | # Step 7: Write final O to gmem | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 597 | # Step 1: Load LSE_partial from gmem to shared memory | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 736 | # Step 2: Load O_partial for pipeline stages | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 805 | # Step 3: Load and transpose LSE from smem to registers | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 831 | # Step 4: Compute final LSE along split dimension | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 953 | # Step 5: Store final LSE to gmem | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 990 | # Step 6: Read O_partial and accumulate final O | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 1048 | # Step 7: Write final O to gmem (fake→real via SMEM) | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1564 | # Step 0: load tmem | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1618 | # Step 1: perform swiglu on the first part, interleave with the second's 32x32 tmem transpose. | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1650 | # Step 2: Quant | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1661 | # Step 3: TMASTG | COMMENT |
| LOW⚡ | …eed_kernel/thirdparty/cute_dsl/mega_moe/kernel_fc12.py | 1988 | # Step 1: coarse-grain spin on ``fc1_done_counter[slot]`` | COMMENT |
| LOW | …eed_kernel/thirdparty/cute_dsl/mega_moe/kernel_fc12.py | 2083 | # Step 3: K-loop with 2x cute.copy per tile (B + | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 277 | # Step 1: Load chunk → smem (convert to ordered) | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 836 | # Step 3: Collect output indices and values | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1215 | # Step 1: Load chunk to smem as ordered | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1220 | # Step 2: Multi-round radix select | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 491 | # Step 1: Inclusive prefix sum directly on the histogram | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 510 | # Step 2: Find threshold bucket | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1367 | # Step 3: Collect output | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 284 | # Step 3: Collect output indices and values (cluster variant) | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 491 | # Step 1: Load chunk to smem as ordered | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 496 | # Step 2: Multi-round radix select | COMMENT |
| LOW | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 548 | # Step 3: Collect output (cluster barriers) | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 87 | # Step 1: Warp-level prefix sum using shuffle | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 90 | # Step 2: Store warp prefix sums | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 95 | # Step 3: Prefix sum across warps | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 106 | # Step 4: Add warp-level prefix | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 110 | # Step 5: Get total sum if need_total_sum is True | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2237 | # Step 1: validate inputs and reject unsupported modes. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2269 | # Step 2: shuffle w1 to the MFMA-tile layout the kernel expects. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2403 | # Step 3: materialise scalar / None args as device tensors so the | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2485 | # Step 4: launch the GEMM. One CTA per (M-tile, N-tile); the per-CTA | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1775 | # Step 1: validate inputs and reject unsupported modes. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1806 | # Step 2: shuffle w2 to MFMA-tile layout if the caller didn't. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1818 | # Step 3: flatten the (token, slot) axes so each row is one routed | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1964 | # Step 5: GEMM. Writes either to `partials` (reduce mode) or directly | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 199 | // Step 1: expert groups onto nodes. | COMMENT |
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 222 | // Step 2: replicate within each node; rows are (layer, node). | COMMENT |
| LOW | …enspeed-engine/crates/ts-control/src/eplb/algorithm.rs | 236 | // Step 3: replicas onto the node's GPUs. | COMMENT |
| LOW | test/runtime/test_draft_advance_seqlens.py | 441 | # Step 0: the drafter publishes the accepted frontier (vc + N -> vc + a); the | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 124 | # Step 1: Determine CUDA index and FlashInfer architecture | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 152 | # Step 2: Upgrade base tools | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 164 | # Step 3: Sync FlashInfer JIT cache on Blackwell runners | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 170 | # Step 4: Install tokenspeed-kernel | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 196 | # Step 5: Install TokenSpeed Scheduler (C++) | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 212 | # Step 6: Install TokenSpeed | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 221 | # Step 7: Optionally override tokenspeed-mla with in-tree source | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 235 | # Step 8: Pin critical kernel deps to exact versions | COMMENT |
| LOW⚡ | test/ci_system/install_deps.sh | 308 | # Step 9: Fix Triton ptxas (CUDA 13+ only) | COMMENT |
| LOW | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 165 | # Step 1: pack groups to nodes | COMMENT |
| LOW⚡ | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 176 | # Step 2: construct redundant experts within nodes | COMMENT |
| LOW⚡ | …hon/tokenspeed/runtime/moe/eplb_algorithms/deepseek.py | 185 | # Step 3: pack physical_experts to GPUs | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 436 | # Step 1: Load LSE_partial from gmem to shared memory | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 477 | # Step 2: Load O_partial for pipeline stages | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 534 | # Step 3: Load and transpose LSE from smem to registers | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 552 | # Step 4: Compute final LSE along split dimension | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 619 | # Step 5: Store final LSE to gmem | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 645 | # Step 6: Read O_partial and accumulate final O | COMMENT |
| LOW⚡ | …rnel/ops/attention/rmha/_cute_dsl/flash_fwd_combine.py | 698 | # Step 7: Write final O to gmem | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 597 | # Step 1: Load LSE_partial from gmem to shared memory | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 736 | # Step 2: Load O_partial for pipeline stages | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 805 | # Step 3: Load and transpose LSE from smem to registers | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 831 | # Step 4: Compute final LSE along split dimension | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 953 | # Step 5: Store final LSE to gmem | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 990 | # Step 6: Read O_partial and accumulate final O | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/msa/cute/src/sm100/fwd/combine.py | 1048 | # Step 7: Write final O to gmem (fake→real via SMEM) | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1564 | # Step 0: load tmem | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1618 | # Step 1: perform swiglu on the first part, interleave with the second's 32x32 tmem transpose. | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1650 | # Step 2: Quant | COMMENT |
| LOW | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1661 | # Step 3: TMASTG | COMMENT |
| LOW⚡ | …eed_kernel/thirdparty/cute_dsl/mega_moe/kernel_fc12.py | 1988 | # Step 1: coarse-grain spin on ``fc1_done_counter[slot]`` | COMMENT |
| LOW | …eed_kernel/thirdparty/cute_dsl/mega_moe/kernel_fc12.py | 2083 | # Step 3: K-loop with 2x cute.copy per tile (B + | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 277 | # Step 1: Load chunk → smem (convert to ordered) | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 836 | # Step 3: Collect output indices and values | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1215 | # Step 1: Load chunk to smem as ordered | COMMENT |
| LOW⚡ | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1220 | # Step 2: Multi-round radix select | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 491 | # Step 1: Inclusive prefix sum directly on the histogram | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 510 | # Step 2: Find threshold bucket | COMMENT |
| LOW | …ute_dsl/topk/top_k/single_pass_multi_cta_radix_topk.py | 1367 | # Step 3: Collect output | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 284 | # Step 3: Collect output indices and values (cluster variant) | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 491 | # Step 1: Load chunk to smem as ordered | COMMENT |
| LOW⚡ | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 496 | # Step 2: Multi-round radix select | COMMENT |
| LOW | …topk/top_k/single_pass_multi_cta_radix_topk_cluster.py | 548 | # Step 3: Collect output (cluster barriers) | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 87 | # Step 1: Warp-level prefix sum using shuffle | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 90 | # Step 2: Store warp prefix sums | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 95 | # Step 3: Prefix sum across warps | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 106 | # Step 4: Add warp-level prefix | COMMENT |
| LOW⚡ | …ed_kernel/thirdparty/cute_dsl/topk/top_k/block_scan.py | 110 | # Step 5: Get total sum if need_total_sum is True | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2237 | # Step 1: validate inputs and reject unsupported modes. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2269 | # Step 2: shuffle w1 to the MFMA-tile layout the kernel expects. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2403 | # Step 3: materialise scalar / None args as device tensors so the | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage1.py | 2485 | # Step 4: launch the GEMM. One CTA per (M-tile, N-tile); the per-CTA | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1775 | # Step 1: validate inputs and reject unsupported modes. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1806 | # Step 2: shuffle w2 to MFMA-tile layout if the caller didn't. | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1818 | # Step 3: flatten the (token, slot) axes so each row is one routed | COMMENT |
| LOW | …peed_kernel_amd/ops/gfx950/moe/mxfp4/prefill_stage2.py | 1964 | # Step 5: GEMM. Writes either to `partials` (reduce mode) or directly | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/runtime/test_dspark_proposal.py | 205 | drafter.markov_head.markov_w2.weight.data.zero_() | CODE |
| CRITICAL | test/runtime/test_dspark_proposal.py | 235 | drafter.markov_head.markov_w1.weight.data.normal_(0.0, 3.0) | CODE |
| CRITICAL | test/runtime/test_dspark_proposal.py | 236 | drafter.markov_head.markov_w2.weight.data.normal_(0.0, 3.0) | CODE |
| CRITICAL⚡ | test/runtime/test_qwen4_exp.py | 3590 | device.lookup.ngram_embedding.weight.data.copy_(payload) | CODE |
| CRITICAL⚡ | test/runtime/test_qwen4_exp.py | 3591 | host.lookup.ngram_embedding.weight.data.copy_(payload.cpu()) | CODE |
| CRITICAL | …n/tokenspeed_kernel/ops/attention/gdn/_triton/utils.py | 149 | triton.runtime.driver.active.utils.get_device_properties(i)[ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/runtime/test_kda_state_eviction_spec.py | 134 | # harness, with the complete unmodified scheduler tables supplied here. | COMMENT |
| MEDIUM | test/runtime/test_gdn_token_level_hit_resume.py | 228 | # projects a fresh one per forward, this harness replays a stream. | COMMENT |
| MEDIUM | test/runtime/test_inkling_activation_parity.py | 328 | # (bind_cache_groups); this harness plans a plain pool and hand-binds | COMMENT |
| MEDIUM | test/runtime/test_eagle_harness_config.py | 81 | # A harness chain takes the draft-tree path with one child per node. | COMMENT |
| MEDIUM | …eed/runtime/execution/drafter/eagle_harness/drafter.py | 368 | # The harness files decide each round's collectives: the TP ranks take the first rank's read. | COMMENT |
| MEDIUM | …kernel/test/benchmark/test_benchmark_gemm_generator.py | 257 | # The harness routes quant="none" through prepare_mm to the dense generator, | COMMENT |
| MEDIUM | tokenspeed-kernel/python/tokenspeed_kernel/selection.py | 1013 | # comprehensive warmup should pass explicit op signatures. | COMMENT |
| MEDIUM | …l/ops/attention/rmha/_cute_dsl/flash_fwd_sm100_bias.py | 1560 | # CLC buffers placed here to utilize padding before sO's 1024-byte alignment. | COMMENT |
| LOW | …on/tokenspeed_kernel/ops/conv/_triton/causal_conv1d.py | 186 | # first chunk and does not have prior-token, so just set to 0 | COMMENT |
| MEDIUM⚡ | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 998 | _EpilogueTokenTileSize = 64 # Fundamentally the epi_tile_n | CODE |
| MEDIUM⚡ | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 999 | _EpilogueFc1IntermediateGateUpTileSize = 128 # Fundamentally epi_tile_m | CODE |
| MEDIUM⚡ | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1000 | _EpilogueFc1IntermediateDownTileSize = 64 # Fundamentally epi_tile_m // 2 | CODE |
| MEDIUM⚡ | …rnel/thirdparty/cute_dsl/mega_moe/epilogue_refactor.py | 1001 | _EpilogueFc2HiddenTileSize = 128 # Fundamentally epi_tile_m | CODE |
| MEDIUM | …peed-mla/python/tokenspeed_mla/mla_decode_fp8_sm107.py | 8441 | # H and Q are contiguous in the harness's (B,Q,H,D) allocation. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nel/python/tokenspeed_kernel/ops/communication/nccl.py | 22 | # This file is a pure Python wrapper for the NCCL library. | COMMENT |
| MEDIUM | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 44 | # This file is copied and modified from cutlass example https://github.com/NVIDIA/cutlass/blob/main/examples/python/CuTe | COMMENT |
| MEDIUM | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 124 | """This class implements batched matrix multiplication (C = (SFA * A) * (SFB * B)) with support for fp8 (e4m3fn, | STRING |
| MEDIUM | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 115 | """This class implements batched matrix multiplication (C = A x SFA x B x SFB) with support for various data types | STRING |
| MEDIUM | …python/tokenspeed_kernel/thirdparty/cute_dsl/argmax.py | 18 | # This file contains code derived from the Quack library: | COMMENT |
| MEDIUM | …speed_kernel/thirdparty/cute_dsl/mega_moe/moe_utils.py | 189 | # Create a new cute.Pointer with generic address space, preserving alignment | COMMENT |
| MEDIUM | …speed_kernel/thirdparty/cute_dsl/mega_moe/moe_utils.py | 217 | # Create a new cute.Pointer with gmem address space, preserving alignment | COMMENT |
| MEDIUM | …on/tokenspeed_kernel/thirdparty/cute_dsl/topk/utils.py | 48 | # This file is copied and modified from cutlass https://github.com/NVIDIA/cutlass/blob/main/python/CuTeDSL/cutlass/cute/ | COMMENT |
| MEDIUM | …on/tokenspeed_kernel/thirdparty/cute_dsl/topk/utils.py | 177 | # Create a numpy array | STRING |
| MEDIUM | tokenspeed-mla/python/tokenspeed_mla/utils.py | 219 | # Create a numpy array | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 36 | - [2026/08] [Qwen3.8 Flash Next](https://developer.nvidia.com/blog/experiment-with-qwen3-8-flash-next-176b-model-on-nvid | CODE |
| MEDIUM | README.md | 42 | - [2026/05] 🚀 TokenSpeed hits 580 TPS on Qwen3.5-397B-A17B for agentic workloads. [[PyTorch blog](https://pytorch.org/bl | CODE |
| MEDIUM | test/cli/test_serve_smg_integration.py | 183 | # exercises orchestration/teardown, not tokenizer loading. | COMMENT |
| MEDIUM | test/agentic_benchmark/Qwen3.8-Flash-Next/README.md | 1 | # Qwen3.8-Flash-Next NVFP4 agentic benchmark | COMMENT |
| MEDIUM | python/tokenspeed/runtime/models/kimi_k3_nextn.py | 438 | # NextN scaffolding around the decoder layer. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/runners.py | 311 | # Check if the text is empty or only whitespace. | COMMENT |
| LOW | test/runners.py | 427 | # Check if the text is empty or only whitespace. | COMMENT |
| LOW | test/ci_system/ci_utils.py | 232 | # Check if we should retry | COMMENT |
| LOW | …/communication/_cute_dsl/fused_tp_projection_kernel.py | 611 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …kenspeed_kernel/thirdparty/trtllm_blockwise/_kernel.py | 442 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …l/thirdparty/cute_dsl/nvfp4_gemm_swiglu_nvfp4_quant.py | 490 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …hon/tokenspeed_kernel/thirdparty/cute_dsl/hc_up_mix.py | 250 | # Check if input data types are compatible with MMA instruction | COMMENT |
| LOW | …arty/cute_dsl/topk/top_k/filtered_top_k_varlen_util.py | 1236 | # Check if the number of valid indices matches | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/runners.py | 302 | # make sure to disable compile | COMMENT |
| LOW | …/python/tokenspeed_kernel/ops/communication/deep_ep.py | 687 | # Please make sure to change DeepEP code in internode_ll.cu dispatch / combine as below first and then reinstall | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/tokenspeed/runtime/models/kimi_k3.py | 515 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ci_system/pipeline.py | 1859 | def execute_task( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tokenspeed/runtime/execution/prefill_graph.py | 1400 | """Smallest captured request capacity, including native dummy-token room. | STRING |