TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.
This report presents the forensic synthetic code analysis of NVIDIA/TensorRT-LLM, a Python project with 14,494 GitHub stars. SynthScan v2.0 examined 2,115,652 lines of code across 5961 source files, recording 31610 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 21.8 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 31610 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | agent-flow/tests/workflows/perf_optimize/test_gitops.py | 190 | # ── where the git command runs ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …-flow/tests/workflows/perf_analyze/test_task_schema.py | 752 | # ── where the paths live decides whether they are checked ─────────────────── | COMMENT |
| MEDIUM | agent-flow/agent_flow/layers.py | 530 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | agent-flow/agent_flow/layers.py | 532 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 685 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 687 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 1022 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 1025 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/metrics/test_collector.py | 287 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/metrics/test_collector.py | 289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_triton_prefill.py | 168 | # =========================================================================== | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_triton_prefill.py | 170 | # =========================================================================== | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_triton_prefill.py | 398 | # =========================================================================== | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_triton_prefill.py | 400 | # =========================================================================== | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 86 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 532 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 534 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 628 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 630 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 694 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 697 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 265 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_attention_mla.py | 1240 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/test_attention_mla.py | 1258 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/attention/test_attention_backends.py | 232 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/attention/test_attention_backends.py | 237 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 139 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 215 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 217 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 292 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 294 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 550 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 552 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 52 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 54 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 130 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 132 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 328 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 330 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 46 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 48 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 325 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 327 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 492 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 494 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 591 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 593 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 427 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 430 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 478 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 481 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 500 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …torch/attention/sparse/test_cute_dsl_gvr_topk_tiers.py | 509 | # --------------------------------------------------------------------------- | COMMENT |
| 4962 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 241 | def should_skip_precompiled_package_data(filename: str) -> bool: | CODE |
| LOW | agent-flow/tests/test_utils.py | 49 | def test_probe_reports_the_skills_the_backend_lists(): | CODE |
| LOW | agent-flow/tests/test_utils.py | 60 | def test_probe_treats_a_backend_that_cannot_say_as_unreachable(): | CODE |
| LOW | agent-flow/tests/test_utils.py | 75 | def test_probe_surfaces_a_backend_failure_instead_of_raising(): | CODE |
| LOW | agent-flow/tests/test_utils.py | 83 | def test_probe_covers_every_requested_backend(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 95 | def test_resolve_returns_the_loaded_spelling_of_the_first_candidate(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 103 | def test_resolve_falls_open_when_the_probe_could_not_answer(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 108 | def test_resolve_reports_an_answered_miss_as_evidence_of_absence(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 113 | def test_resolve_handles_an_empty_candidate_list(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 123 | def test_resolve_matches_a_plugin_qualified_install_from_a_bare_name(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 132 | def test_resolve_returns_the_loaded_spelling_verbatim(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 138 | def test_resolve_prefers_an_exact_match_over_a_plugin_suffix(): | CODE |
| LOW⚡ | agent-flow/tests/test_utils.py | 147 | def test_resolve_does_not_match_across_plugins_or_on_a_partial_name(): | CODE |
| LOW | agent-flow/tests/test_console.py | 34 | def test_main_agent_tool_call_has_no_subagent_badge(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 45 | def test_bash_tool_call_extracts_description_and_command(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 66 | def test_bash_tool_call_surfaces_extra_flags(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 90 | def test_bash_tool_call_without_description_renders_only_command(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 101 | def test_bash_tool_call_prefixes_command_with_shell_prompt(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 111 | def test_read_tool_call_renders_path_without_json_braces(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 129 | def test_read_tool_call_surfaces_offset_and_limit(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 151 | def test_write_tool_call_renders_path_and_content_without_json(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 174 | def test_write_tool_call_truncates_very_long_content(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 197 | def test_edit_tool_call_renders_path_and_diff(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 221 | def test_edit_tool_call_surfaces_replace_all_flag(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 241 | def test_edit_tool_call_shows_added_and_deleted_line_counts(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 261 | def test_edit_tool_call_handles_empty_old_or_new_string(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 280 | def test_edit_tool_call_truncates_very_long_diffs(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 306 | def test_todowrite_tool_call_renders_checkbox_list(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 345 | def test_file_change_tool_call_renders_each_patch(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 393 | def test_file_change_tool_call_shows_added_and_deleted_line_counts(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 429 | def test_file_change_tool_call_truncates_long_diffs(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 455 | def test_file_change_tool_call_handles_empty_changes(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 470 | def test_todowrite_tool_call_handles_empty_list(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 485 | def test_unknown_tool_with_command_field_does_not_render_as_bash(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 510 | def test_unknown_tool_with_file_path_does_not_render_as_write(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 535 | def test_known_tool_with_wrong_shape_falls_through_to_json(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 557 | def test_subagent_tool_call_renders_label_and_indent(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 584 | def test_session_init_panel_lists_skills_plugins_and_agents(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 606 | def test_session_init_panel_handles_empty_payload(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 614 | def test_subagent_text_event_renders_label(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 630 | def test_server_tool_call_renders_distinct_label(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 643 | def test_thinking_event_renders_dim_and_truncates(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 655 | def test_rate_limit_warning_renders_status_and_metadata(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 674 | def test_compact_boundary_renders_trigger_and_token_counts(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 686 | def test_compact_boundary_renders_without_optional_fields(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 697 | def test_started_panel_renders_version_segment_when_present(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 714 | def test_started_panel_omits_version_segment_when_blank(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 730 | def test_started_panel_renders_reasoning_effort_when_present(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 743 | def test_started_panel_omits_reasoning_effort_when_blank(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 756 | def test_console_write_recovers_from_blocking_io_error(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 780 | def test_console_write_passes_through_when_no_error(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 796 | def test_print_message_recovers_from_blocking_io_error(monkeypatch): | CODE |
| LOW | agent-flow/tests/test_console.py | 819 | def test_ensure_blocking_streams_sets_flag(monkeypatch): | CODE |
| LOW⚡ | agent-flow/tests/test_agent_layer.py | 416 | def test_disallowed_tools_blocks_ask_user_question_when_hitl_enabled(): | CODE |
| LOW⚡ | agent-flow/tests/test_agent_layer.py | 426 | def test_disallowed_tools_skipped_when_hitl_disabled(): | CODE |
| LOW⚡ | agent-flow/tests/test_agent_layer.py | 436 | def test_ask_human_tool_resolves_numeric_choice_to_label(): | CODE |
| LOW | agent-flow/tests/test_agent_layer.py | 39 | def test_stateless_layer_creates_fresh_client_per_call(): | CODE |
| LOW | agent-flow/tests/test_agent_layer.py | 55 | def test_persistent_layer_reuses_client_across_calls(): | CODE |
| LOW | agent-flow/tests/test_agent_layer.py | 72 | def test_one_forward_performs_one_backend_send_and_appends_response(): | CODE |
| LOW | agent-flow/tests/test_agent_layer.py | 91 | def test_layer_prints_live_agent_activity(capsys): | CODE |
| 15233 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | constraints.txt | 1 | # setup.py appends these constraints to wheel install_requires, so every entry | COMMENT |
| LOW | constraints.txt | 21 | jupyter_server>=2.20.0 | COMMENT |
| LOW | setup.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | requirements-dev.txt | 1 | -r requirements.txt | COMMENT |
| LOW | ruff-legacy.toml | 1 | # <<<< AUTO-GENERATED by scripts/legacy_utils.py gen-configs >>>> | COMMENT |
| LOW | .coderabbit.yaml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | agent-flow/pyproject.toml | 101 | # | COMMENT |
| LOW | …flow/tests/workflows/modeling_bringup/test_workflow.py | 1141 | _task_schema.load_and_validate_task_yaml(missing) | COMMENT |
| LOW | …flow/tests/workflows/modeling_bringup/test_workflow.py | 1341 | assert "reopens the failing Goals" not in reviewer | COMMENT |
| LOW | agent-flow/agent_flow/config.py | 21 | # backend consumes this — it is forwarded verbatim to the Claude Agent | COMMENT |
| LOW | agent-flow/agent_flow/config.py | 81 | # Code's built-in ``AskUserQuestion`` so the agent's questions reach | COMMENT |
| LOW | agent-flow/agent_flow/config.py | 101 | # | COMMENT |
| LOW | …gent_flow/workflows/modeling_bringup/task.example.yaml | 1 | # Example brief for the modeling-bringup workflow. Copy this file to | COMMENT |
| LOW | …gent_flow/workflows/modeling_bringup/task.example.yaml | 21 | # Optional: free-form guidance for the PlanDrafter and Coder. Not a QA | COMMENT |
| LOW | …low/workflows/modeling_bringup/task.slurm.example.yaml | 1 | # Example Slurm brief for the modeling-bringup workflow. Copy this file to | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 121 | self.reviewer_context_reset_interval = reviewer_context_reset_interval | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 141 | # plan phase is skipped entirely and the workflow starts at the | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 161 | self.plan_path, | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 241 | # tools mutate ``status.md`` directly; no per-iteration context is | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 701 | "--clean to rerun from scratch, or pass " | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 741 | # Runs after the done-handling above, so a previously completed | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/state.py | 21 | # Stages in the workflow. | COMMENT |
| LOW | agent-flow/agent_flow/workflows/agent_team/state.py | 41 | # ``replan`` mode to revise ``plan.md`` and ``acceptance-criteria.md`` | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 1 | # Example brief for the perf-optimize workflow. Copy this file to | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 21 | # tuning config (tuning/extra_llm_api_options.yaml), which the optimizer | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 41 | # num_prompts: [32, 128, 512] # curve mode only: per-point num_prompts, | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 61 | nsys_iter_range: "100-150" | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 81 | # max_rounds: 5 # the loop RUNS this many rounds (each: an | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 101 | # accept_fraction: 0.5 # measured gain must reach this fraction of | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 121 | # target_metric: output_throughput # result-JSON key gains are computed on: | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 141 | # docker_image: /path/to/trtllm-pytorch-<version>.sqsh | COMMENT |
| LOW | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 161 | # sol: | COMMENT |
| LOW | …flow/agent_flow/workflows/perf_optimize/task_schema.py | 81 | load_disagg_config, | COMMENT |
| LOW | …flow/agent_flow/workflows/perf_optimize/task_schema.py | 121 | # Published, not enforced. The validator deliberately does NOT reject a | COMMENT |
| LOW | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 481 | # The analyzer just planned against the current | COMMENT |
| LOW | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 1121 | # ends the campaign is the break at the top of the loop, | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 41 | # Later fields are additive: old v2 checkpoints load with | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 61 | # expected perf benefit). Opens **replan-only** (no | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 121 | # Loop position. ``round_index`` / ``item_index`` / ``attempt_index`` | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 141 | # ``last_profiled_analysis_dir``. True initially, after every accept, | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 161 | approach_violation: str = "" | COMMENT |
| LOW | …ow/agent_flow/workflows/perf_analyze/task.example.yaml | 1 | # Example brief for the perf-analyze workflow. Copy this file to | COMMENT |
| LOW | …ow/agent_flow/workflows/perf_analyze/task.example.yaml | 21 | num_prompts: 200 | COMMENT |
| LOW | …ow/agent_flow/workflows/perf_analyze/task.example.yaml | 41 | # interpreted with the perf-nsight-compute-analysis skill. | COMMENT |
| LOW | …ow/agent_flow/workflows/perf_analyze/task.example.yaml | 61 | # The skill is internal, so open-source builds of the toolkit strip it. | COMMENT |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 81 | # and ``srun`` works here". Every existing ``task.yaml`` is written that | COMMENT |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 101 | COMMENT | |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 141 | # actionable error so stale task.yaml files fail loudly instead of | COMMENT |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 181 | # Keys nothing in the schema consumes, but which are deliberate channels to the | COMMENT |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 201 | ) | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_analyze/state.py | 21 | # valid), so the version stays at 1 — bumping it would hard-fail every | COMMENT |
| LOW | agent-flow/agent_flow/workflows/perf_analyze/state.py | 41 | # marked done) otherwise. | COMMENT |
| LOW | agent-flow/examples/human_in_the_loop.py | 61 | # Intentionally vague: the agent should call ``ask_human`` mid-turn | COMMENT |
| LOW | docker/common/install_ci.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/unittest/conftest.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/test_s3_output.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/metrics/test_collector.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/test_connector.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/test_utils.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/test_mmap_utils.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| 3326 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | agent-flow/agent_flow/workflows/agent_team/workflow.py | 0 | compose stop hooks that require *every* listed tool to be called. ``require_tool_call_stop_hook`` enforces "at least one | STRING |
| HIGH | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 0 | compose stop hooks that require *every* listed tool to be called. ``require_tool_call_stop_hook`` enforces "at least one | STRING |
| HIGH | …ent-flow/agent_flow/workflows/perf_analyze/workflow.py | 0 | compose stop hooks that require *every* listed tool to be called. ``require_tool_call_stop_hook`` enforces "at least one | STRING |
| HIGH | agent-flow/agent_flow/workflows/agent_team/progress.py | 0 | return the most recent entry written by ``agent``, or ``none``. | STRING |
| HIGH | …nt-flow/agent_flow/workflows/perf_optimize/progress.py | 0 | return the most recent entry written by ``agent``, or ``none``. | STRING |
| HIGH | …ent-flow/agent_flow/workflows/perf_analyze/progress.py | 0 | return the most recent entry written by ``agent``, or ``none``. | STRING |
| HIGH | agent-flow/agent_flow/workflows/agent_team/progress.py | 0 | log a freshly written progress entry as a styled yaml panel. | STRING |
| HIGH | …nt-flow/agent_flow/workflows/perf_optimize/progress.py | 0 | log a freshly written progress entry as a styled yaml panel. | STRING |
| HIGH | …ent-flow/agent_flow/workflows/perf_analyze/progress.py | 0 | log a freshly written progress entry as a styled yaml panel. | STRING |
| HIGH | agent-flow/agent_flow/workflows/agent_team/progress.py | 0 | log the content returned by ``read_latest_progress``. ``caller`` is the agent making the call and drives the panel style | STRING |
| HIGH | …nt-flow/agent_flow/workflows/perf_optimize/progress.py | 0 | log the content returned by ``read_latest_progress``. ``caller`` is the agent making the call and drives the panel style | STRING |
| HIGH | …ent-flow/agent_flow/workflows/perf_analyze/progress.py | 0 | log the content returned by ``read_latest_progress``. ``caller`` is the agent making the call and drives the panel style | STRING |
| HIGH | …ow/agent_flow/workflows/agent_team/prompts/__init__.py | 0 | return a new bundle with each non-empty extension appended. empty / whitespace-only extensions leave the corresponding b | STRING |
| HIGH | …agent_flow/workflows/perf_optimize/prompts/__init__.py | 0 | return a new bundle with each non-empty extension appended. empty / whitespace-only extensions leave the corresponding b | STRING |
| HIGH | …/agent_flow/workflows/perf_analyze/prompts/__init__.py | 0 | return a new bundle with each non-empty extension appended. empty / whitespace-only extensions leave the corresponding b | STRING |
| HIGH | tests/unittest/conftest.py | 0 | apply waives based on the waive state specified by the given waives_file. | STRING |
| HIGH | tests/integration/defs/test_list_parser.py | 0 | apply waives based on the waive state specified by the given waives_file. | STRING |
| HIGH | …sts/integration/defs/triton_server/test_list_parser.py | 0 | apply waives based on the waive state specified by the given waives_file. | STRING |
| HIGH | …s/unittest/_torch/attention/test_attention_no_cache.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | tests/unittest/_torch/attention/test_attention_mla.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | tests/unittest/_torch/attention/test_attention.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | …ch/auto_deploy/custom_ops/attention/torch_attention.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | …h/auto_deploy/models/custom/modeling_nemotron_flash.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | tensorrt_llm/_torch/attention_backend/vanilla.py | 0 | this is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). the hidden states go from (batch, num_key_va | STRING |
| HIGH | …torch/attention/sparse/test_minimax_m3_dense_decode.py | 0 | replay must recompute from the live buffers, not reuse captured values. | STRING |
| HIGH | …attention/sparse/test_minimax_m3_index_decode_score.py | 0 | replay must recompute from the live buffers, not reuse captured values. | STRING |
| HIGH | …attention/sparse/test_minimax_m3_sparse_attn_decode.py | 0 | replay must recompute from the live buffers, not reuse captured values. | STRING |
| HIGH | …ts/unittest/_torch/visual_gen/test_wan_vsa_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …sts/unittest/_torch/visual_gen/test_wan_transformer.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …ts/unittest/_torch/visual_gen/test_trtllm_serve_e2e.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | tests/unittest/_torch/visual_gen/test_model_loader.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | tests/integration/defs/conftest.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | tests/integration/defs/triton_server/conftest.py | 0 | return llm_models_root path if it is set in env, assert when it's set but not a valid path | STRING |
| HIGH | …ts/unittest/_torch/visual_gen/test_wan_vsa_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | run full trtllm pipeline including vae decode; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …ts/unittest/_torch/visual_gen/test_wan_vsa_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_glm_image_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …st/_torch/visual_gen/test_hunyuan_video1_5_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | cosine similarity between two tensors (flattened to 1d, cast to float32 on cpu). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_glm_image_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| HIGH | …st/_torch/visual_gen/test_hunyuan_video1_5_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | load huggingface diffusers pipeline (auto-detects class from model_index.json). | STRING |
| 391 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-flow/tests/test_utils.py | 9 | CODE | |
| LOW | agent-flow/tests/conftest.py | 1 | CODE | |
| LOW | agent-flow/tests/test_console.py | 1 | CODE | |
| LOW | agent-flow/tests/test_agent_layer.py | 1 | CODE | |
| LOW | agent-flow/tests/test_sessions.py | 1 | CODE | |
| LOW | agent-flow/tests/test_module_composition.py | 1 | CODE | |
| LOW | agent-flow/tests/test_hooks.py | 1 | CODE | |
| LOW | agent-flow/tests/test_backends.py | 1 | CODE | |
| LOW | agent-flow/tests/helpers.py | 1 | CODE | |
| LOW | agent-flow/tests/test_examples.py | 1 | CODE | |
| LOW | …flow/tests/workflows/modeling_bringup/test_workflow.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/agent_team/test_status.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/agent_team/test_progress.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/agent_team/test_workflow.py | 1 | CODE | |
| LOW | agent-flow/tests/workflows/perf_optimize/test_reuse.py | 3 | CODE | |
| LOW | …ent-flow/tests/workflows/perf_optimize/test_prompts.py | 10 | CODE | |
| LOW | …ow/tests/workflows/perf_optimize/test_kernel_ledger.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/perf_optimize/test_state.py | 3 | CODE | |
| LOW | …nt-flow/tests/workflows/perf_optimize/test_progress.py | 3 | CODE | |
| LOW | …nt-flow/tests/workflows/perf_optimize/test_workflow.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/perf_optimize/test_gitops.py | 9 | CODE | |
| LOW | …flow/tests/workflows/perf_optimize/test_task_schema.py | 3 | CODE | |
| LOW | agent-flow/tests/workflows/perf_optimize/test_disagg.py | 9 | CODE | |
| LOW | …w/tests/workflows/perf_optimize/test_roadmap_schema.py | 3 | CODE | |
| LOW | …w/tests/workflows/perf_analyze/test_sol_methodology.py | 14 | CODE | |
| LOW | agent-flow/tests/workflows/perf_analyze/test_prompts.py | 8 | CODE | |
| LOW | agent-flow/tests/workflows/perf_analyze/test_state.py | 3 | CODE | |
| LOW | …ent-flow/tests/workflows/perf_analyze/test_progress.py | 3 | CODE | |
| LOW | …ent-flow/tests/workflows/perf_analyze/test_workflow.py | 3 | CODE | |
| LOW | …-flow/tests/workflows/perf_analyze/test_task_schema.py | 3 | CODE | |
| LOW | agent-flow/agent_flow/console.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/hooks.py | 24 | CODE | |
| LOW | agent-flow/agent_flow/config.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 8 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 8 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 9 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 10 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 10 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/__init__.py | 11 | CODE | |
| LOW | agent-flow/agent_flow/types.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/logger.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/runtime.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/utils.py | 13 | CODE | |
| LOW | agent-flow/agent_flow/module.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/layers.py | 1 | CODE | |
| LOW | agent-flow/agent_flow/backends/codex.py | 1 | CODE | |
| 1928 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 233 | except Exception as e: | CODE |
| LOW | setup.py | 351 | except Exception as e: | CODE |
| LOW | …flow/tests/workflows/modeling_bringup/test_workflow.py | 844 | except Exception as exc: # CLI missing / backend unreachable | CODE |
| LOW | agent-flow/tests/workflows/agent_team/test_workflow.py | 2289 | except Exception as exc: # CLI missing / backend unreachable | CODE |
| LOW | agent-flow/agent_flow/runtime.py | 37 | except Exception as exc: | CODE |
| LOW | agent-flow/agent_flow/utils.py | 99 | except Exception as exc: # noqa: BLE001 - surface any backend failure as a probe error | CODE |
| LOW | agent-flow/agent_flow/module.py | 100 | except Exception: | CODE |
| MEDIUM | agent-flow/agent_flow/module.py | 19 | def runner() -> None: | CODE |
| LOW | agent-flow/agent_flow/layers.py | 380 | except Exception: # noqa: BLE001 - an observer cannot fail the run | CODE |
| LOW | agent-flow/agent_flow/layers.py | 456 | except Exception as exc: | CODE |
| LOW | agent-flow/agent_flow/layers.py | 484 | except Exception: | CODE |
| LOW | agent-flow/agent_flow/backends/codex.py | 593 | except Exception as exc: # noqa: BLE001 — surface any tool error to model | CODE |
| LOW | agent-flow/agent_flow/backends/codex.py | 678 | except Exception: | CODE |
| LOW | agent-flow/agent_flow/backends/codex.py | 800 | except Exception: | CODE |
| LOW | agent-flow/agent_flow/backends/claude_code.py | 82 | except Exception: | CODE |
| LOW | agent-flow/agent_flow/backends/claude_code.py | 98 | except Exception: | CODE |
| LOW | agent-flow/agent_flow/backends/claude_code.py | 302 | except Exception: | CODE |
| LOW | …ent_flow/workflows/modeling_bringup/prompts/_common.py | 92 | except Exception: | STRING |
| LOW | agent-flow/agent_flow/workflows/agent_team/state.py | 146 | except Exception: | CODE |
| LOW | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 617 | except Exception as exc: | CODE |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/state.py | 258 | except Exception: | CODE |
| LOW | …w/agent_flow/workflows/perf_analyze/sol_methodology.py | 105 | except Exception: # noqa: BLE001 - a probe failure must never fail the run | CODE |
| LOW | agent-flow/agent_flow/workflows/perf_analyze/state.py | 123 | except Exception: | CODE |
| LOW | tests/unittest/conftest.py | 454 | except Exception: | CODE |
| LOW | tests/unittest/conftest.py | 505 | except Exception: | CODE |
| MEDIUM | tests/unittest/conftest.py | 140 | def pytest_pyfunc_call(pyfuncitem) -> Any: | CODE |
| LOW | tests/unittest/test_pip_install.py | 126 | except Exception as e: | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 39 | except Exception: | CODE |
| LOW | tests/unittest/_torch/misc/test_autotuner.py | 1221 | except Exception: | CODE |
| LOW | tests/unittest/_torch/misc/test_share_tensor.py | 35 | except Exception as e: | CODE |
| LOW⚡ | tests/unittest/_torch/misc/test_share_tensor.py | 204 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 87 | except Exception: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3045 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3098 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3240 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3365 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3474 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 3538 | except Exception as e: | CODE |
| MEDIUM | …attention/sparse/deepseek_v4/test_compressor_module.py | 891 | def __del__(self): | CODE |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 894 | except Exception: | CODE |
| LOW⚡ | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 1785 | except Exception: | CODE |
| LOW | …ts/unittest/_torch/visual_gen/test_trtllm_serve_e2e.py | 166 | except Exception as err: | CODE |
| LOW | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 1089 | except Exception as e: | CODE |
| LOW | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 1270 | except Exception as e: | CODE |
| LOW⚡ | tests/unittest/_torch/visual_gen/test_attention_perf.py | 768 | except Exception as e: | CODE |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 602 | except Exception as e: | CODE |
| LOW | …ts/unittest/_torch/visual_gen/test_ltx2_transformer.py | 112 | except Exception: | CODE |
| LOW⚡ | tests/unittest/_torch/visual_gen/test_media_decode.py | 175 | except Exception as exc: # pragma: no cover - diagnostic path | CODE |
| LOW | …t/_torch/visual_gen/multi_gpu/test_attn2d_attention.py | 157 | except Exception as e: | CODE |
| MEDIUM | …t/_torch/visual_gen/multi_gpu/test_attn2d_attention.py | 153 | def _distributed_worker(rank, world_size, backend, test_fn, port): | CODE |
| LOW | …/_torch/visual_gen/multi_gpu/test_wan_async_ulysses.py | 88 | except Exception as e: | CODE |
| MEDIUM | …/_torch/visual_gen/multi_gpu/test_wan_async_ulysses.py | 84 | def _distributed_worker(rank, world_size, backend, test_fn, port, fn_args): | CODE |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_parallel_vae.py | 76 | except Exception as e: | CODE |
| MEDIUM | …ttest/_torch/visual_gen/multi_gpu/test_parallel_vae.py | 72 | def _distributed_worker(rank, world_size, test_fn, port): | CODE |
| LOW | …isual_gen/multi_gpu/test_flux2_transformer_parallel.py | 96 | except Exception as e: | CODE |
| MEDIUM | …isual_gen/multi_gpu/test_flux2_transformer_parallel.py | 92 | def _distributed_worker(rank, world_size, backend, test_fn, port, kwargs): | CODE |
| LOW | …torch/visual_gen/multi_gpu/test_parallel_group_norm.py | 62 | except Exception as e: | CODE |
| MEDIUM | …torch/visual_gen/multi_gpu/test_parallel_group_norm.py | 58 | def _distributed_worker(rank, world_size, test_fn, port): | CODE |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_ltx2_ulysses.py | 79 | except Exception as e: | CODE |
| MEDIUM | …ttest/_torch/visual_gen/multi_gpu/test_ltx2_ulysses.py | 75 | def _distributed_worker(rank, world_size, backend, test_fn, port, fn_args): | CODE |
| 1092 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 26 | CODE | |
| LOW | setup.py | 253 | CODE | |
| LOW | agent-flow/agent_flow/hooks.py | 75 | CODE | |
| LOW | agent-flow/agent_flow/runtime.py | 26 | CODE | |
| LOW | agent-flow/agent_flow/layers.py | 358 | CODE | |
| LOW | agent-flow/agent_flow/backends/codex.py | 544 | CODE | |
| LOW | agent-flow/agent_flow/backends/codex.py | 446 | CODE | |
| LOW | agent-flow/agent_flow/backends/claude_code.py | 235 | CODE | |
| LOW | …w/agent_flow/workflows/modeling_bringup/task_schema.py | 41 | CODE | |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 316 | CODE | |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 520 | CODE | |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 1042 | CODE | |
| LOW | agent-flow/agent_flow/workflows/agent_team/progress.py | 180 | CODE | |
| LOW | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 350 | CODE | |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 369 | CODE | |
| LOW | tests/unittest/conftest.py | 347 | CODE | |
| LOW | tests/unittest/gc_utils.py | 11 | CODE | |
| LOW | tests/unittest/metrics/test_collector.py | 405 | CODE | |
| LOW | tests/unittest/metrics/test_collector.py | 416 | CODE | |
| LOW | tests/unittest/_torch/helpers.py | 183 | CODE | |
| LOW | …sts/unittest/_torch/misc/test_pinned_weight_staging.py | 52 | CODE | |
| LOW | tests/unittest/_torch/misc/test_autotuner.py | 776 | CODE | |
| LOW | tests/unittest/_torch/misc/test_share_tensor.py | 20 | CODE | |
| LOW | tests/unittest/_torch/misc/test_share_tensor.py | 188 | CODE | |
| LOW | tests/unittest/_torch/attention/backend_case.py | 860 | CODE | |
| LOW | tests/unittest/_torch/attention/test_attention_mla.py | 749 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 110 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 166 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 326 | CODE | |
| LOW | …s/unittest/_torch/attention/test_attention_backends.py | 128 | CODE | |
| LOW | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 555 | CODE | |
| LOW | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 733 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 846 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1058 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1172 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1661 | CODE | |
| LOW | …torch/attention/sparse/test_minimax_m3_msa_selector.py | 401 | CODE | |
| LOW | …attention/sparse/test_cute_dsl_fp8_paged_mqa_logits.py | 578 | CODE | |
| LOW | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 1218 | CODE | |
| LOW | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 1274 | CODE | |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2630 | CODE | |
| LOW | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 177 | CODE | |
| LOW | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 531 | CODE | |
| LOW | …ttest/_torch/attention/sparse/rocketkv/test_kernels.py | 75 | CODE | |
| LOW | …ttest/_torch/attention/sparse/rocketkv/test_kernels.py | 171 | CODE | |
| LOW | …test/_torch/attention/sparse/rocketkv/test_rocketkv.py | 408 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1236 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1301 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1510 | CODE | |
| LOW | …tion/sparse/deepseek_v4/test_deepseek_v4_sparse_mla.py | 323 | CODE | |
| LOW | …tion/sparse/deepseek_v4/test_deepseek_v4_sparse_mla.py | 451 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 1644 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2221 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2346 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2419 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2464 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2544 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2617 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2713 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 253 | CODE | |
| 1443 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1477 | # Step 2: Run TRT-LLM forward to populate actual KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1589 | # Step 1: Call indexer to get topk indices (indexer internally uses its compressor) | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1602 | # Step 2: Call MLA's compressor to compress KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1613 | # Step 3: Process context requests | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1632 | # Step 4: Process generation requests | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1594 | # Step 1: beam 0 was latched STOP_WORDS by the finish handler. | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1619 | # Step 3: run again. Neither slot finished this step -- they hold the | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1637 | # Step 4: the refilled continuation must not be pooled or masked again. | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 559 | # Step 3: For each backend, capture and immediately test all tactics | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 615 | # Step 4: Test cuda_core if it's available (single tactic, no capture needed) | COMMENT |
| LOW | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 106 | # Step 1: Repack weights to Marlin tiled format | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 118 | # Step 2: Process weight scales for Marlin kernel | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 127 | # Step 3: Process global scale (includes exponent bias correction) | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 466 | # Step 3: first 2 complete, now context 2,3 get scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 542 | # Step 1: slot 0 — req0, req1 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 547 | # Step 2: slot 1 — req0/req1 still inflight, req2/req3 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 552 | # Step 3: slot 0 freed (inflight = slot1 only) — req0/req1 scheduled again | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 438 | # Step 1: 4 context requests, only 2 fit | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 451 | # Step 2: first 2 become generation, remaining 2 still context | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 66 | # Step 1: req 7 accepts bonus+2 drafts, req 8 bonus only. | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 69 | # Step 2: req 7 accepts everything (bonus + 3 drafts, clamped input 5). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 218 | # Step 1: nothing pending yet; both requests accept 0 drafts (n=1). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 221 | # Step 2: req 1 accepts 2 drafts (n=3), req 2 accepts 0 (n=1). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 224 | # Step 3: req 1 accepts 1 draft (n=2), req 2 accepts all 3 (n=4). | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2821 | # Step 1: Apply pre_quant_scale (AWQ smoothing) if present | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2825 | # Step 2: Quantize activation to FP8 and dequantize back (Q/DQ simulation) | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2833 | # Step 3: Dequantize weight | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2840 | # Step 4: Compute matmul and scale output | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 406 | # Step 3: s2 uniquely least (10 < 100 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 410 | # Step 4: s0 uniquely least (100 < 410 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 414 | # Step 5: s2 uniquely least (410 < 500 < 2100) | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 951 | # Step 1: Context side calls prepare_context_requests, no kvcache request is sent, thus no request | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 965 | # Step 2: Generation side submits receive requests | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 995 | # Step 1: Generation side submits receive requests, now context side doesn't know the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1010 | # Step 2: Context side calls prepare_context_requests, now context side knows the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1020 | # Step 3: Context side sends the data | COMMENT |
| LOW⚡ | tests/unittest/llmapi/test_llm_telemetry_payload.py | 75 | # Step 1: Load real model, capture report_usage kwargs | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 96 | # Step 2: Call _background_reporter with real args, capture payload | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 119 | # Step 3: Spot-check against ground truth | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 133 | # Step 4: String length checks (ShortString<=128, LongString<=256) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 158 | # Step 5: Integer range checks (0 <= x <= 4294967295) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 174 | # Step 6: featuresJson check | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 187 | # Step 7: Full jsonschema validation | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 53 | # Step 1: Retrieve KV cache | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 56 | # Step 2: Dequantize KV cache | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 59 | # Step 3: Apply RoPE | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 60 | # Step 4: Compute attention | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/custom_ops/rope/test_triton_rope.py | 137 | # Step 1: Index cos/sin with position_ids | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/custom_ops/rope/test_triton_rope.py | 141 | # Step 2: Apply PyTorch rope with qk interleaving | COMMENT |
| LOW | …stom_ops/moe/test_trtllm_quant_mxfp4_trtllm_gen_moe.py | 278 | # Step 1: deinterleave gate/up halves so dst gets [up | gate] in the row dim. | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 243 | # Step 1: Split gate_up into w1 and w3 | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 253 | # Step 2: Split down into w2 | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 114 | # Step 1: Decompose — rmsnorm should be expanded into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 118 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 126 | # Step 3: Generate kernel | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 298 | # Step 1: Decompose — rmsnorm decomposes into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 302 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 319 | # Step 3: Generate Triton kernel from the novel subgraph | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 413 | # Step 1: FX → MLIR | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 417 | # Step 2: Decompose | COMMENT |
| 458 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | agent-flow/tests/workflows/perf_optimize/test_gitops.py | 64 | # Creating an existing branch is an error, not a silent reset. | COMMENT |
| MEDIUM | tests/unittest/_torch/test_connector.py | 188 | # Create a mock request in generation state with draft tokens | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/misc/test_share_tensor.py | 194 | # Create a new tensor each time | COMMENT |
| MEDIUM | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 662 | # Create a mock instance with a simple forward method | COMMENT |
| MEDIUM | …attention/sparse/deepseek_v4/test_compressor_module.py | 844 | # Create the Compressor | COMMENT |
| MEDIUM | tests/unittest/_torch/distributed/test_cp_broadcast.py | 141 | # Create a large list to test chunking behavior | COMMENT |
| MEDIUM | …ttest/_torch/visual_gen/test_trtllm_serve_endpoints.py | 1480 | # Create a dummy reference image file | COMMENT |
| MEDIUM⚡ | …rnels/parallel/test_fused_dit_layernorm_shift_scale.py | 339 | # Create a strided (non-contiguous) view by slicing a wider tensor. | COMMENT |
| MEDIUM | …s/unittest/_torch/modeling/test_modeling_multimodal.py | 841 | # Create a dummy torch module if skipping HF inference. | COMMENT |
| MEDIUM | tests/unittest/_torch/multi_gpu/test_mnnvl_allreduce.py | 360 | # Create a single AllReduce instance to be reused for all sequence lengths | COMMENT |
| MEDIUM | tests/unittest/_torch/sampler/test_beam_search_util.py | 33 | # Define a dummy model to create deterministic outputs for the test | COMMENT |
| MEDIUM | …test/_torch/thop/parallel/test_fp8_block_scale_gemm.py | 486 | # Create a copy of the current environment | COMMENT |
| MEDIUM | tests/unittest/_torch/thop/serial/test_moe_alltoall.py | 67 | # Create a random input tensor | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_py_executor.py | 456 | # Create a mock request | COMMENT |
| MEDIUM | …/unittest/_torch/executor/test_pytorch_model_engine.py | 2364 | # Create a dedicated execution stream | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_resource_manager.py | 363 | # Create the PeftCacheConfig with parameter names that match the expected API | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_resource_manager.py | 830 | # Create a real KVCacheManager, it will run calculate_max_num_blocks_for_vswa in __init__ | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_resource_manager.py | 1026 | # Create a dedicated execution stream | COMMENT |
| MEDIUM | …nittest/_torch/executor/test_executor_request_queue.py | 272 | # Create a mock request without sampling_config to avoid beam validation | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 355 | # Create a mock KV cache manager | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 556 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 1148 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 1208 | # Create the LLM instance | COMMENT |
| MEDIUM | …s/unittest/_torch/speculative/hw_agnostic/test_pard.py | 59 | # Create the LLM instance | COMMENT |
| MEDIUM | …ch/speculative/hw_agnostic/test_dynamic_spec_decode.py | 38 | # Create a Mock object with the mock function as side_effect | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/test_awq_quantization.py | 30 | # Create a Linear module with NVFP4 quantization using actual initialization | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/test_moe_load_balancer.py | 342 | # Create a real MoeLoadBalancer | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/test_moe_load_balancer.py | 406 | # Create a real MoeLoadBalancer | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/test_fused_moe.py | 2523 | # Create a mock module with required attributes for NVFP4CutlassFusedMoEMethod.get_weights_shapes test. | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/modules/moe/test_moe_backend.py | 1290 | # This file provides a UNIFIED TEST FRAMEWORK for testing all MoE backend | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/moe/quantize_utils.py | 1319 | # Initialize base class with use_cute_dsl_blockscaling_mm=False | COMMENT |
| MEDIUM | tests/unittest/api_stability/api_stability_core.py | 273 | # Create a MethodSnapshot for Pydantic model's __init__, | COMMENT |
| MEDIUM | tests/unittest/grpc/smg/test_smg.py | 969 | # Create a synthetic RGBA image to test RGB conversion | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 347 | # Create a temporary JSON file for testing | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 374 | # Create a temporary file | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 613 | # Create the diagram | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 672 | # Create the diagram | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_remoteDictionary.py | 63 | # Create a clean etcd client for test setup/teardown | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_remoteDictionary.py | 66 | # Create the dictionary under test | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_llm_encode.py | 213 | # Create a batch that exceeds max_batch_size | COMMENT |
| MEDIUM | tests/unittest/llmapi/test_llm_kv_cache_events.py | 224 | # Create a mock mm_key with new format (hash, offset, uuid) | COMMENT |
| MEDIUM | tests/unittest/llmapi/test_llm_kv_cache_events.py | 313 | # Create a different image | COMMENT |
| MEDIUM | …nittest/llmapi/apps/test_harmony_channel_validation.py | 320 | # Create a proper output mock | COMMENT |
| MEDIUM | …_deploy/multigpu/custom_ops/test_ad_dist_strategies.py | 56 | # Create a simple MLP model | COMMENT |
| MEDIUM | …y/multigpu/transformations/library/test_ep_sharding.py | 208 | # Create a simple graph with torch_moe node using stacked tensor format | COMMENT |
| MEDIUM | …egpu/transformations/library/test_attention_matcher.py | 137 | # Define the scaling approach based on use_division flag | COMMENT |
| MEDIUM | …egpu/transformations/library/test_attention_matcher.py | 972 | # Create a llama-3.1 style causal mask | COMMENT |
| MEDIUM | …egpu/transformations/library/test_attention_matcher.py | 1063 | # Create a deterministic pseudo-random attention mask | COMMENT |
| MEDIUM | …y/singlegpu/transformations/library/test_moe_fusion.py | 793 | # Create a module with the FP8 MoE op | COMMENT |
| MEDIUM | …y/singlegpu/transformations/library/test_moe_fusion.py | 1124 | # Create a module with the NVFP4 MoE op | COMMENT |
| MEDIUM | …pu/transformations/library/test_rope_transformation.py | 63 | # Create a complex tensor from magnitude=1 and the computed angles. | COMMENT |
| MEDIUM | …u/transformations/library/test_redundant_transposes.py | 245 | # Create a check function for this specific model | COMMENT |
| MEDIUM⚡ | …loy/singlegpu/transformations/library/test_kv_cache.py | 547 | # Create a mock module | COMMENT |
| MEDIUM⚡ | …loy/singlegpu/transformations/library/test_kv_cache.py | 550 | # Create the transform with a proper config | COMMENT |
| MEDIUM⚡ | …loy/singlegpu/transformations/library/test_kv_cache.py | 586 | # Create the transform with a proper config | COMMENT |
| MEDIUM⚡ | …loy/singlegpu/transformations/library/test_kv_cache.py | 589 | # Create a mock module | COMMENT |
| MEDIUM | …loy/singlegpu/transformations/library/test_kv_cache.py | 260 | # Create the model with embedding layer and SDPA, wrap it in a fake factory | COMMENT |
| MEDIUM | …loy/singlegpu/transformations/library/test_kv_cache.py | 629 | # Create the transform with a proper config | COMMENT |
| MEDIUM | …loy/singlegpu/transformations/library/test_kv_cache.py | 632 | # Create a simple mock module that just returns None | COMMENT |
| MEDIUM | …loy/singlegpu/transformations/library/test_kv_cache.py | 676 | # Create a model | COMMENT |
| 200 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1202 | mla_layer.mqa.indexer.wq_b.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1204 | mla_layer.mqa.indexer.wk.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1206 | mla_layer.mqa.indexer.weights_proj.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1216 | mla_layer.mqa.indexer.wq_b.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1218 | mla_layer.mqa.indexer.weights_proj.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1223 | mla_layer.mqa.indexer.compressor.wkv_gate.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1225 | mla_layer.mqa.indexer.compressor.ape.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1228 | mla_layer.mqa.indexer.compressor.norm.weight.fill_(1.0) | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1232 | mla_layer.mqa.compressor.wkv_gate.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1237 | mla_layer.mqa.compressor.norm.weight.fill_(1.0) | CODE |
| CRITICAL⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 306 | mla.mqa.indexer.wq_b.weight.normal_(mean=0.0, std=NN_INIT_STD) | CODE |
| CRITICAL⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 307 | mla.mqa.indexer.wk.weight.normal_(mean=0.0, std=NN_INIT_STD) | CODE |
| CRITICAL⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 308 | mla.mqa.indexer.weights_proj.weight.normal_(mean=0.0, std=NN_INIT_STD) | CODE |
| CRITICAL | …attention/sparse/deepseek_v4/test_compressor_module.py | 1571 | comp.compressor.norm.weight.data.copy_(ref.norm.weight.data) | CODE |
| CRITICAL⚡ | tests/unittest/_torch/visual_gen/test_runtime_lora.py | 146 | model.block.img_mlp.up_proj.weight.zero_() | CODE |
| CRITICAL⚡ | tests/unittest/_torch/visual_gen/test_runtime_lora.py | 147 | model.block.img_mlp.down_proj.weight.zero_() | CODE |
| CRITICAL⚡ | tests/unittest/_torch/visual_gen/test_runtime_lora.py | 148 | model.block.txt_mlp.up_proj.weight.zero_() | CODE |
| CRITICAL⚡ | tests/unittest/_torch/visual_gen/test_runtime_lora.py | 149 | model.block.txt_mlp.down_proj.weight.zero_() | CODE |
| CRITICAL | tests/unittest/_torch/models/test_minimax_m3_vl.py | 549 | pe = model.vision_model.embeddings.patch_embedding.weight.detach() | CODE |
| CRITICAL | tests/unittest/_torch/modeling/test_modeling_gemma4.py | 1300 | layer.self_attn.k_norm.weight.data.normal_(0, 0.5) | CODE |
| CRITICAL⚡ | …torch/modules/moe/kimi_k3_ref_moe/kimi_k3_moe_block.py | 695 | k3.shared_experts.gate_up_proj.weight.data.copy_(gate_up_fused) | CODE |
| CRITICAL⚡ | …torch/modules/moe/kimi_k3_ref_moe/kimi_k3_moe_block.py | 696 | k3.shared_experts.down_proj.weight.data.copy_( | CODE |
| CRITICAL⚡ | …torch/modules/moe/kimi_k3_ref_moe/kimi_k3_moe_block.py | 697 | hf.shared_experts.down_proj.weight.data.to(k3.shared_experts.down_proj.weight.dtype) | CODE |
| CRITICAL | …u/custom_ops/mamba/test_torch_causal_conv_cached_op.py | 108 | tensorrt_llm._torch.auto_deploy.custom_ops.mamba.torch_backend_causal_conv._torch_causal_conv1d_decode( # type: | CODE |
| CRITICAL | …u/custom_ops/mamba/test_torch_causal_conv_cached_op.py | 179 | tensorrt_llm._torch.auto_deploy.custom_ops.mamba.torch_backend_causal_conv._torch_causal_conv1d_prefill( # | CODE |
| CRITICAL | …nglegpu/custom_ops/mamba/test_torch_mamba_cached_op.py | 119 | tensorrt_llm._torch.auto_deploy.custom_ops.mamba.torch_backend_mamba._torch_cached_ssm_decode( # type: ignore | CODE |
| CRITICAL | …nglegpu/custom_ops/mamba/test_torch_mamba_cached_op.py | 199 | y_i, s_i = tensorrt_llm._torch.auto_deploy.custom_ops.mamba.torch_mamba._torch_ssm_prefill( # type: ignore # n | CODE |
| CRITICAL | …pu/custom_ops/mamba/test_cuda_causal_conv_cached_op.py | 184 | tensorrt_llm._torch.auto_deploy.custom_ops.mamba.torch_backend_causal_conv._torch_causal_conv1d_prefill( # | CODE |
| CRITICAL | …pu/transformations/library/test_shared_kv_attention.py | 345 | shared_op_name = torch.ops.auto_deploy.flashinfer_attention_mha_with_cache.default.name() | CODE |
| CRITICAL⚡ | …o_deploy/singlegpu/models/test_hunyuan_moe_modeling.py | 467 | custom_moe.gate.wg.weight.data.copy_(hf_moe.gate_wg.weight.data) | CODE |
| CRITICAL⚡ | …o_deploy/singlegpu/models/test_hunyuan_moe_modeling.py | 486 | custom_model.model.embed_tokens.weight.data.copy_(hf_model.model.embed_tokens.weight.data) | CODE |
| CRITICAL⚡ | …o_deploy/singlegpu/models/test_hunyuan_moe_modeling.py | 487 | custom_model.model.norm.weight.data.copy_(hf_model.model.norm.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1474 | ad_mlp.gate_proj.linear.weight.data.copy_(ref_mlp.gate_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1475 | ad_mlp.up_proj.linear.weight.data.copy_(ref_mlp.up_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1476 | ad_mlp.down_proj.linear.weight.data.copy_(ref_mlp.down_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1481 | ad_attn.q_proj.linear.weight.data.copy_(ref_attn.q_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1482 | ad_attn.k_proj.linear.weight.data.copy_(ref_attn.k_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1483 | ad_attn.v_proj.linear.weight.data.copy_(ref_attn.v_proj.weight.data) | CODE |
| CRITICAL⚡ | …t/auto_deploy/singlegpu/models/test_gemma4_modeling.py | 1484 | ad_attn.o_proj.linear.weight.data.copy_(ref_attn.o_proj.weight.data) | CODE |
| CRITICAL | …t/auto_deploy/singlegpu/models/test_llama4_modeling.py | 476 | hf_layer.feed_forward.experts.gate_up_proj.data.normal_(mean=0.0, std=std) | CODE |
| CRITICAL | …t/auto_deploy/singlegpu/models/test_llama4_modeling.py | 477 | hf_layer.feed_forward.experts.down_proj.data.normal_(mean=0.0, std=std) | CODE |
| CRITICAL | …/auto_deploy/singlegpu/models/test_gemma3n_modeling.py | 383 | model.lm_head.weight.data_ptr() == model.model.language_model.embed_tokens.weight.data_ptr() | CODE |
| CRITICAL⚡ | …deploy/singlegpu/models/test_hunyuan_dense_modeling.py | 211 | custom_model.model.embed_tokens.weight.data.copy_(hf_model.model.embed_tokens.weight.data) | CODE |
| CRITICAL⚡ | …deploy/singlegpu/models/test_hunyuan_dense_modeling.py | 212 | custom_model.model.norm.weight.data.copy_(hf_model.model.norm.weight.data) | CODE |
| CRITICAL⚡ | …crobenchmarks/attention_perf/attention_perf_harness.py | 672 | mla.mqa.indexer.wq_b.weight.normal_(mean=0.0, std=std) | CODE |
| CRITICAL⚡ | …crobenchmarks/attention_perf/attention_perf_harness.py | 673 | mla.mqa.indexer.wk.weight.normal_(mean=0.0, std=std) | CODE |
| CRITICAL⚡ | …crobenchmarks/attention_perf/attention_perf_harness.py | 674 | mla.mqa.indexer.weights_proj.weight.normal_(mean=0.0, std=std) | CODE |
| CRITICAL | tensorrt_llm/_torch/modules/fla/utils.py | 260 | return triton.runtime.driver.active.utils.get_device_properties( | CODE |
| CRITICAL | tensorrt_llm/_torch/modules/fla/utils.py | 313 | triton.runtime.driver.active.utils.get_device_properties(i) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1477 | # Step 2: Run TRT-LLM forward to populate actual KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1589 | # Step 1: Call indexer to get topk indices (indexer internally uses its compressor) | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1602 | # Step 2: Call MLA's compressor to compress KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1613 | # Step 3: Process context requests | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1632 | # Step 4: Process generation requests | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1594 | # Step 1: beam 0 was latched STOP_WORDS by the finish handler. | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1619 | # Step 3: run again. Neither slot finished this step -- they hold the | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_beam_search.py | 1637 | # Step 4: the refilled continuation must not be pooled or masked again. | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 559 | # Step 3: For each backend, capture and immediately test all tactics | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 615 | # Step 4: Test cuda_core if it's available (single tactic, no capture needed) | COMMENT |
| LOW | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 106 | # Step 1: Repack weights to Marlin tiled format | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 118 | # Step 2: Process weight scales for Marlin kernel | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 127 | # Step 3: Process global scale (includes exponent bias correction) | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 466 | # Step 3: first 2 complete, now context 2,3 get scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 542 | # Step 1: slot 0 — req0, req1 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 547 | # Step 2: slot 1 — req0/req1 still inflight, req2/req3 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 552 | # Step 3: slot 0 freed (inflight = slot1 only) — req0/req1 scheduled again | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 438 | # Step 1: 4 context requests, only 2 fit | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 451 | # Step 2: first 2 become generation, remaining 2 still context | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 66 | # Step 1: req 7 accepts bonus+2 drafts, req 8 bonus only. | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 69 | # Step 2: req 7 accepts everything (bonus + 3 drafts, clamped input 5). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 218 | # Step 1: nothing pending yet; both requests accept 0 drafts (n=1). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 221 | # Step 2: req 1 accepts 2 drafts (n=3), req 2 accepts 0 (n=1). | COMMENT |
| LOW⚡ | …ch/speculative/hw_agnostic/test_dflash_accept_stats.py | 224 | # Step 3: req 1 accepts 1 draft (n=2), req 2 accepts all 3 (n=4). | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2821 | # Step 1: Apply pre_quant_scale (AWQ smoothing) if present | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2825 | # Step 2: Quantize activation to FP8 and dequantize back (Q/DQ simulation) | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2833 | # Step 3: Dequantize weight | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2840 | # Step 4: Compute matmul and scale output | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 406 | # Step 3: s2 uniquely least (10 < 100 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 410 | # Step 4: s0 uniquely least (100 < 410 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 414 | # Step 5: s2 uniquely least (410 < 500 < 2100) | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 951 | # Step 1: Context side calls prepare_context_requests, no kvcache request is sent, thus no request | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 965 | # Step 2: Generation side submits receive requests | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 995 | # Step 1: Generation side submits receive requests, now context side doesn't know the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1010 | # Step 2: Context side calls prepare_context_requests, now context side knows the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1020 | # Step 3: Context side sends the data | COMMENT |
| LOW⚡ | tests/unittest/llmapi/test_llm_telemetry_payload.py | 75 | # Step 1: Load real model, capture report_usage kwargs | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 96 | # Step 2: Call _background_reporter with real args, capture payload | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 119 | # Step 3: Spot-check against ground truth | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 133 | # Step 4: String length checks (ShortString<=128, LongString<=256) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 158 | # Step 5: Integer range checks (0 <= x <= 4294967295) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 174 | # Step 6: featuresJson check | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_telemetry_payload.py | 187 | # Step 7: Full jsonschema validation | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 53 | # Step 1: Retrieve KV cache | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 56 | # Step 2: Dequantize KV cache | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 59 | # Step 3: Apply RoPE | COMMENT |
| LOW⚡ | …u/custom_ops/attention/test_flashinfer_attention_op.py | 60 | # Step 4: Compute attention | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/custom_ops/rope/test_triton_rope.py | 137 | # Step 1: Index cos/sin with position_ids | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/custom_ops/rope/test_triton_rope.py | 141 | # Step 2: Apply PyTorch rope with qk interleaving | COMMENT |
| LOW | …stom_ops/moe/test_trtllm_quant_mxfp4_trtllm_gen_moe.py | 278 | # Step 1: deinterleave gate/up halves so dst gets [up | gate] in the row dim. | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 243 | # Step 1: Split gate_up into w1 and w3 | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 253 | # Step 2: Split down into w2 | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 114 | # Step 1: Decompose — rmsnorm should be expanded into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 118 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 126 | # Step 3: Generate kernel | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 298 | # Step 1: Decompose — rmsnorm decomposes into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 302 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 319 | # Step 3: Generate Triton kernel from the novel subgraph | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 413 | # Step 1: FX → MLIR | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 417 | # Step 2: Decompose | COMMENT |
| 278 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …unittest/_torch/multi_gpu/test_kv_pool_rebalance_tp.py | 607 | Local per-rank ``need_adjustment`` readings for each skew scenario. Args: case: Name of the skew scenario. | STRING |
| HIGH | tests/unittest/tools/test_prepare_dataset.py | 53 | Build the base command for running trtllm-bench prepare-dataset. Args: output_path: Path t | STRING |
| HIGH | tests/unittest/tools/test_prepare_dataset.py | 114 | Execute trtllm-bench prepare-dataset with specified parameters and capture output. Args: | STRING |
| HIGH | …/unittest/auto_deploy/_utils_test/_model_test_utils.py | 588 | Get the small model configuration for a given HuggingFace model hub ID. Args: model_hub_id: The Huggin | STRING |
| HIGH | …/integration/defs/stress_test/disagg_cancel/harness.py | 99 | Parse and validate a marathon YAML in one call. Callers that construct ``StressConfig`` directly via `` | STRING |
| HIGH | …/integration/defs/stress_test/disagg_cancel/harness.py | 450 | Map a YAML target string to a tracked worker. Args: target: One of ``gen_worker_random``, ``ctx_worker_rand | STRING |
| HIGH | tests/integration/defs/utils/timeout_manager.py | 71 | Context manager for timing an operation and updating remaining timeout. Args: phase_name: | STRING |
| HIGH | tests/integration/defs/utils/timeout_manager.py | 100 | Execute an operation with timeout tracking. Args: operation: The operation to execute. | STRING |
| HIGH | tests/integration/defs/utils/timeout_manager.py | 122 | Call a function with timeout tracking. Args: func: The function to call. *args | STRING |
| HIGH | …f-sanity/cache_transceiver_precheck/precheck_config.py | 251 | Launch-script export lines wiring the precheck gate. Single owner of the enable/kill-switch policy, the step-timeou | STRING |
| HIGH | …pts/cute_dsl_kernels/run_dense_bf16_gemm_persistent.py | 103 | Runs and benchmarks the persistent dense BF16/FP16 GEMM/BMM. This function prepares input tensors, launches the ker | STRING |
| HIGH | …e_dsl_kernels/run_dense_blockscaled_gemm_persistent.py | 94 | Runs and benchmarks the persistent batched dense block-scaled GEMM. This function prepares input tensors, launches | STRING |
| HIGH | …e_dsl_kernels/run_dense_blockscaled_gemm_act_fusion.py | 153 | Runs and benchmarks the persistent batched dense block-scaled GEMM with activation fusion. This function prepares i | STRING |
| HIGH | tensorrt_llm/_torch/weight_sharing/source_identity.py | 271 | Build an identity from a torch-backend :class:`ModelConfig`. Args: model_config: The resolved torch | STRING |
| HIGH | tensorrt_llm/_torch/weight_sharing/source_identity.py | 581 | Decide whether a receiver may consume `source`'s shared weights. Args: local: The receiver's own identity. | STRING |
| HIGH | tensorrt_llm/_torch/weight_sharing/artifact_identity.py | 161 | Build an identity from an immutable snapshot or local checkpoint. Args: checkpoint_path: A model ch | STRING |
| HIGH | tensorrt_llm/_torch/shared_tensor/shared_tensor.py | 112 | Get a rebuild method by its key. Args: key: The numeric key of the method Returns: | STRING |
| HIGH | tensorrt_llm/_torch/shared_tensor/shared_tensor.py | 380 | Create a SharedTensorContainer from a serialized dictionary (Consumer side). This method is called by the consu | STRING |
| HIGH | tensorrt_llm/_torch/custom_ops/torch_custom_ops.py | 1211 | Unified NVFP4 GEMM with automatic backend selection. This function automatically chooses the best backend from the | STRING |
| HIGH | tensorrt_llm/_torch/memory/gpu_memory_backend.py | 303 | Context manager scoping CUDA allocations to the GMS pool. All `torch.empty` / `torch.zeros` / etc. allocations | STRING |
| HIGH | tensorrt_llm/_torch/memory/gpu_memory_backend.py | 418 | Register tensors, commit them, and transition this client to RO. After this returns successfully, `is_rw` flips | STRING |
| HIGH | tensorrt_llm/_torch/visual_gen/pipeline_loader.py | 77 | Resolve checkpoint_dir to a local directory path. If checkpoint_dir is an existing local path, returns it uncha | STRING |
| HIGH | tensorrt_llm/_torch/models/modeling_deepseekv4.py | 130 | Dequantizes the given weight tensor using the provided scale tensor. Args: x (torch.Tensor): The quant | STRING |
| HIGH | tensorrt_llm/_torch/models/modeling_deepseekv3.py | 117 | Dequantizes the given weight tensor using the provided scale tensor. Args: x (torch.Tensor): The quant | STRING |
| HIGH | tensorrt_llm/_torch/models/modeling_nemotron_nano.py | 1648 | Replace each `<video>` placeholder in `prompt_token_ids` with the full per-frame expansion (optional "This is a | STRING |
| HIGH | tensorrt_llm/_torch/models/modeling_hyperclovax.py | 627 | Get the number of tokens per image. This method must be called after __call__ is executed. Use | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/loaders.py | 45 | Extract and organize NeMo LoRA weights by layer and direction. Args: lora_weights: Dictionary mapping weigh | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/loaders.py | 90 | Iterate over HuggingFace LoRA weights and call iterator function for each weight. Args: iter_fn: Function t | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/loaders.py | 297 | Find .nemo files from a single path (file or directory). This function is cached per individual path to maximize ca | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/loaders.py | 332 | Find all .nemo files from a list of directories or file paths. This function is optimized for repeated calls at gen | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/loaders.py | 403 | Unpack model config and weights from a NeMo .nemo archive file. Args: nemo_archive_path: Path to the .nemo | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/layer.py | 150 | Convert a string to the corresponding LoraModuleType. Args: name: The string name of the module typ | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/manager.py | 184 | Load NeMo LoRA checkpoint for PyTorch workflow. This is a PyTorch-specific loader for NeMo LoRA checkpoints, simila | STRING |
| HIGH | tensorrt_llm/_torch/peft/lora/manager.py | 232 | Load LoRA checkpoint for PyTorch workflow. This function routes to the appropriate loader based on lora_ckpt_source | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/request_utils.py | 194 | Partition context for Helix CP. Args: input_token_ids: List of input token IDs. cp_rank: Current CP | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/request_utils.py | 335 | Merge RequestQueueItems to LlmRequests based on CP configuration. This is a router function that dispatches to the | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | 20 | Initialize module variables Args: None: Returns: None: Raises: | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | 38 | Descends iterators that contains Tensors and prints the Tensor Recursive function that descends iterator type | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | 65 | Callback function that ends the NVTX marker Records the module name and tensor information Called afte | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | 92 | Creates an NVTX marker with the module name in it. This function is called before the module executes | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/layerwise_nvtx_marker.py | 130 | User level function that activates all the hooks The user needs to call this method from the network source co | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/sampler/sampler.py | 228 | Validate that the request can be processed by the sampler. If the request is not supported by the sampler, this | STRING |
| HIGH | …/_torch/auto_deploy/custom_ops/fused_moe/trtllm_moe.py | 682 | TensorRT-LLM Cutlass FP8 (W8A8) MoE for gated and non-gated MLP. Computes (per expert): For gated_mlp: | STRING |
| HIGH | …/_torch/auto_deploy/custom_ops/fused_moe/trtllm_moe.py | 952 | TensorRT-LLM Cutlass FP8 Block Scale MoE for FineGrainedFP8 format. This op uses the DeepSeek FP8 block scale forma | STRING |
| HIGH | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 612 | Get an attribute specified by a dot-separated path on an object. Args: obj: The root object from which to r | STRING |
| HIGH | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 767 | Remove a graph input from the given GraphModule. This is the inverse operation of add_graph_input(). It removes a p | STRING |
| HIGH | …llm/_torch/auto_deploy/models/custom/modeling_eagle.py | 721 | Forward pass for Eagle drafter. Args: inputs_embeds: Input token embeddings [batch, seq, hidden_siz | STRING |
| HIGH | …lm/_torch/auto_deploy/transform/library/sharding_ir.py | 106 | Convert string names like 'AUTO' to AllReduceStrategy enum. This is a shared validator for allreduce_strategy field | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/interface.py | 714 | Quantize input tensor - unified interface for all MoE backends NOTE: This is a temporary interface. In | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/routing.py | 1131 | Generate GPU-aware load balanced expert indices with rank-aware scheduling. Dispatch kernel background | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/routing.py | 1667 | Create logits that produce GPU-aware load balanced expert assignment. The heavy lifting is delegated to a rout | STRING |
| HIGH | …nsorrt_llm/_torch/modules/fused_moe/ep_group_health.py | 129 | Mark ``rank`` as failed. Idempotent. Args: rank: Index of the rank to mark, in ``[0, moe_world_size | STRING |
| HIGH | …nsorrt_llm/_torch/modules/fused_moe/ep_group_health.py | 153 | Mark ``rank`` as active. Idempotent. Used when a replacement rank rejoins the group after a failure. Hi | STRING |
| HIGH | …nsorrt_llm/_torch/modules/fused_moe/ep_group_health.py | 200 | Return the active-rank bitmask split into little-endian uint64 words. Suitable for passing to CUDA kernels that | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/specs.py | 297 | Compute page-aligned layout for given parameters. Args: expert_bytes: Bytes per single expert. | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/page_pool.py | 237 | Get handle for a specific page. Args: slot: Double buffer slot (0 or 1). page_idx: Page | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/page_pool.py | 268 | Map pages from pool[slot] starting at page_offset into VA. Maps ceil(size / page_size) pool page handles sequen | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/transport.py | 234 | Allocate MNNVL handles, populate them, and exchange with all peers. This is the main entry point. Each of the ` | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/vmm.py | 47 | Check CUDA driver API result and raise on error. Args: cu_func_ret: Return value from CUDA driver API call. | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/vmm.py | 75 | Align value up to the nearest multiple of alignment. Args: value: Value to align. alignment: Alignm | STRING |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | agent-flow/tests/test_utils.py | 126 | # skill that is plainly installed, because the harness lists only the | COMMENT |
| LOW | …flow/tests/workflows/modeling_bringup/test_workflow.py | 643 | # hosts, not just call out that Slurm commands need srun. | COMMENT |
| MEDIUM | agent-flow/tests/workflows/perf_optimize/test_disagg.py | 119 | # The same value the harness implies is not a conflict, and what was | COMMENT |
| MEDIUM | …ent_flow/workflows/modeling_bringup/prompts/_common.py | 21 | # paths). If neither harness can resolve it, the getter returns an empty | COMMENT |
| MEDIUM⚡ | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 166 | # workers + router). `config` is the harness config consumed by | COMMENT |
| MEDIUM⚡ | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 168 | # workflow drives that harness instead of launching trtllm-serve itself. | COMMENT |
| MEDIUM⚡ | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 171 | # Two of its conventions are easy to trip on: `concurrency` is the harness' | COMMENT |
| MEDIUM⚡ | …w/agent_flow/workflows/perf_optimize/task.example.yaml | 176 | # with this: the live tuning config is seeded from the harness config's | COMMENT |
| MEDIUM | agent-flow/agent_flow/workflows/perf_optimize/disagg.py | 55 | #: The harness only knows how to wrap workers in nsys (``profiling.nsys_on`` | COMMENT |
| MEDIUM | agent-flow/agent_flow/workflows/perf_optimize/disagg.py | 206 | # The harness client is hard-wired to `--dataset-name trtllm_custom | COMMENT |
| MEDIUM | …flow/agent_flow/workflows/perf_optimize/task_schema.py | 381 | # from the harness config's worker_config block, so an | COMMENT |
| MEDIUM | …flow/agent_flow/workflows/perf_optimize/task_schema.py | 411 | # Disagg first: the harness config is the source of truth for the | COMMENT |
| MEDIUM | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 305 | # "Reporter produced HTML" check robust to empty-file edge | COMMENT |
| MEDIUM | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 682 | # holds the harness config's ctx / gen worker_config instead, so | COMMENT |
| MEDIUM | …w/agent_flow/workflows/perf_analyze/sol_methodology.py | 33 | # ships, and the harness loads a plugin skill *only* under its | COMMENT |
| MEDIUM | …ent-flow/agent_flow/workflows/perf_analyze/workflow.py | 242 | # "Reporter produced HTML" check robust to empty-file edge | COMMENT |
| MEDIUM | docker/common/install.sh | 6 | # Resolve script directory for robust relative pathing | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/backend_capability.py | 29 | # backend harness. (1) The NVFP4 attention op aborts without the per-tensor / | COMMENT |
| LOW | …unittest/_torch/attention/test_flashinfer_attention.py | 812 | # For simplicity, just use 1 page per request in this example. | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 100 | # Vanilla golden / FlashInfer get harness-applied RoPE. Only affects TRTLLM. | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 108 | # MLA latent dims (only meaningful when is_mla). The unified harness runs the | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 111 | # Vanilla golden vs FlashInfer and TRTLLM. The harness skips | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 273 | # harness feeds the *absorbed* fused_q + latent directly (random), exercising | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/backend_case.py | 502 | # The harness feeds a pre-RoPE'd fused_q, so skip the RoPE step; | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/backend_case.py | 1015 | # num_seqs+1). The model engine sets these; the standalone harness | COMMENT |
| LOW | …ttest/_torch/visual_gen/test_trtllm_serve_endpoints.py | 881 | # we can verify per-image output mapping, not just call counts. | COMMENT |
| MEDIUM⚡ | …rch/visual_gen/multi_gpu/test_wan_pipeline_parallel.py | 126 | # Distributed harness (mirrors tests/.../multi_gpu/test_wan_attn2d.py) | COMMENT |
| MEDIUM | …sts/unittest/_torch/peft/test_moe_lora_grouped_gemm.py | 711 | # *reassignment* invariant, and uses a precision-robust discriminative check | COMMENT |
| MEDIUM | …ittest/_torch/multimodal/test_mm_encoder_standalone.py | 744 | # the tensor's contents), while others should actually differ (those pertaining to the underlying | COMMENT |
| MEDIUM | tests/unittest/_torch/thop/serial/test_moe.py | 2718 | # Reuse the established THOP packing/reference harness directly; its | COMMENT |
| LOW | tests/unittest/_torch/modules/test_awq_quantization.py | 74 | # just return a dummy output since we are capturing the input before input quantization | COMMENT |
| LOW | tests/unittest/_torch/modules/test_awq_quantization.py | 175 | # just return a dummy output since we are capturing the input before input quantization | COMMENT |
| MEDIUM | …dules/fused_moe/test_deepgemm_fused_gather_finalize.py | 204 | # Committed gate: tight tolerance (robust across FMA-contraction differences | COMMENT |
| MEDIUM | …/unittest/_torch/modules/dwdp/test_dwdp_peer_ranges.py | 61 | # ``compute_peer_ranges`` itself stays robust. | COMMENT |
| MEDIUM | …s/unittest/_torch/modules/moe/test_kimi_k3_situ_moe.py | 1435 | # That observation was an artifact of the harness truncating pytest output | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/moe/test_moe_module.py | 1029 | # fused kernel, so the test harness must NOT force a host | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/moe/moe_test_utils.py | 723 | # checkpoints load fine on this path, but this harness's synthetic MXFP4 | COMMENT |
| MEDIUM | tests/unittest/others/test_kv_cache_transceiver.py | 572 | # Drive the transfer to completion so the harness tears down cleanly. | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 71 | # The helpers are mirrored from lm-evaluation-harness so the behaviour must | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 187 | # can override the greedy defaults baked into lm-eval-harness task YAMLs. | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 1475 | # calling conventions between the harness and the wrapper (instance | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 1478 | # survived precisely because nothing ran the real harness loop. | COMMENT |
| MEDIUM | …t/disaggregated/test_cache_transceiver_precheck_e2e.py | 105 | # memory into the following tests (same contract as the harness's | COMMENT |
| MEDIUM | …t/disaggregated/test_cache_transceiver_precheck_e2e.py | 132 | # Same combination the merged single-node harness test runs: | COMMENT |
| MEDIUM⚡ | tests/unittest/disaggregated/kv_transfer_harness.py | 41 | # This harness builds real NIXL transfer agents, so force a known-good | COMMENT |
| MEDIUM⚡ | tests/unittest/disaggregated/kv_transfer_harness.py | 48 | # (and flaky) in the single-process threaded harness. | COMMENT |
| MEDIUM | tests/unittest/scripts/test_perf_submit.py | 390 | # gen_only run of the local harness, not just BOLT ones. | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_llm_pytorch.py | 162 | # anyways more robust than delegating cleanup to __del__. | COMMENT |
| MEDIUM | tests/unittest/llmapi/test_llm_pytorch.py | 178 | # anyways more robust than delegating cleanup to __del__. | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_gms_args.py | 79 | # field path so the assertion is robust across Pydantic 2.x error | COMMENT |
| MEDIUM | tests/unittest/llmapi/test_bench_async.py | 160 | # this robust on a loaded machine while staying far below the ~5s an | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_session_prefetcher.py | 511 | # Accuracy-harness classes declare MODEL_PATH; warming must pick it up | COMMENT |
| MEDIUM | …llmapi/apps/_test_trtllm_serve_multimodal_benchmark.py | 54 | # Use pytorch backend for multimodal support and fix port to facilitate benchmarking | COMMENT |
| MEDIUM | …sts/unittest/llmapi/apps/_test_trtllm_serve_example.py | 36 | # fix port to facilitate concise trtllm-serve examples | COMMENT |
| LOW | tests/unittest/llmapi/apps/utils.py | 258 | # No brackets, just add the node as-is | COMMENT |
| MEDIUM | …to_deploy/multigpu/transformations/library/conftest.py | 49 | # registered as CausalLM classes for this harness. Keep canonical discovery | COMMENT |
| MEDIUM | …pu/transformations/library/test_step3p7_sharding_ir.py | 34 | # The generic harness and helpers live alongside this file / under _utils_test. | COMMENT |
| MEDIUM | …pu/transformations/library/test_step3p7_sharding_ir.py | 45 | # A bare module name lets the harness resolve the model from either bundled | COMMENT |
| MEDIUM⚡ | …ansformations/library/test_sharding_num_correctness.py | 498 | # the standalone-export test harness has no factory or per-model YAML | COMMENT |
| MEDIUM | …ansformations/library/test_sharding_num_correctness.py | 662 | # * the on-the-fly NVFP4 quant harness yields packed-uint8 / pack-factor | COMMENT |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …-flow/tests/workflows/perf_analyze/test_task_schema.py | 151 | # Every field is optional, so a bare ``sol:`` (YAML null) says | COMMENT |
| HIGH | …w/agent_flow/workflows/perf_optimize/roadmap_schema.py | 232 | errors.append(f"'{where}.measured_gain_pct' must be a number or null, got {measured!r}") | CODE |
| HIGH⚡ | …w/agent_flow/workflows/perf_analyze/prompts/_common.py | 156 | kill -TERM -"$PID" 2>/dev/null || kill -TERM "$PID" 2>/dev/null || true | CODE |
| HIGH⚡ | …w/agent_flow/workflows/perf_analyze/prompts/_common.py | 158 | kill -0 "$PID" 2>/dev/null || break | CODE |
| HIGH⚡ | …w/agent_flow/workflows/perf_analyze/prompts/_common.py | 161 | kill -0 "$PID" 2>/dev/null && { kill -KILL -"$PID" 2>/dev/null; kill -KILL "$PID" 2>/dev/null; } || true | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 155 | subprocess.check_call("rm *.whl || true", shell=True) | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 156 | subprocess.check_call(f"apt-get install -y wget && wget -q {wheel_url}", | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 254 | subprocess.check_call("pip3 install --ignore-installed pip || true", | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 256 | subprocess.check_call("pip3 install --ignore-installed setuptools || true", | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 258 | subprocess.check_call("pip3 install --ignore-installed wheel || true", | CODE |
| HIGH⚡ | …ts/unittest/_torch/visual_gen/test_visual_gen_utils.py | 590 | """Schema-aware null sentinel: ``{"stg_scale": null}`` does not | STRING |
| HIGH⚡ | …ts/unittest/_torch/visual_gen/test_visual_gen_utils.py | 609 | null}`` reach the engine as a silent no-op.""" | STRING |
| HIGH | …/_torch/peft/test_fp8_lora_grouped_gemm_regressions.py | 313 | assert "minKN >= kFp8TmaAlignment && minKN % kFp8TmaAlignment == 0" in source | CODE |
| HIGH⚡ | tests/unittest/tools/test_infra_dry_run_pipeline.py | 49 | self.assertIn("if (nodeCount > 1 || runWithSbatch)", dispatch) | CODE |
| HIGH | …ittest/kv_cache_manager_v2_tests/test_nvbug_6625710.py | 24 | while (curr && curr->next.empty() && curr->storage.at(lcIdx) == nullptr) | STRING |
| HIGH | …ittest/kv_cache_manager_v2_tests/test_nvbug_6625710.py | 28 | it. That request is left holding a tree block whose ``prev`` is null; its next | STRING |
| HIGH | …ittest/kv_cache_manager_v2_tests/test_nvbug_6625710.py | 42 | pruning a tail node: the attention page keeps a slot non-null, so the walk stops | STRING |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 85 | return token == other.token && layer == other.layer && role == other.role && beam == other.beam; | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 107 | if (idxToken < numTokens && idxHead < numHeads) { | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 112 | if (sleepTime > 0 && tid == 0) { | CODE |
| HIGH⚡ | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 138 | if (idxToken < numTokens && idxHead < numHeads) { | CODE |
| HIGH⚡ | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 143 | if (sleepTime > 0 && tid == 0) { | CODE |
| HIGH⚡ | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 153 | for (uint64_t i = 0; *flag == 0u && i < maxIters; ++i) { | CODE |
| HIGH⚡ | tests/unittest/others/test_lazy_model_zoo.py | 276 | assert not undefined, f"index maps classes to modules that do not define them: {undefined}" | CODE |
| HIGH | tests/unittest/usage/test_llmapi_config_capture.py | 605 | """None on an Optional allowlist field is captured as null, not excluded. | STRING |
| HIGH | tests/unittest/scripts/test_pulse_triage.py | 67 | '{"license_correction_ticket": null, "version_bump_tickets": []}' | CODE |
| HIGH | tests/unittest/scripts/test_pulse_triage.py | 80 | 'Triage completed.\n{"license_correction_ticket": null, "version_bump_tickets": []}' | CODE |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 443 | # NOT None: "(null)" means the partition really has no GPU GRES (e.g. EOS), | COMMENT |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 475 | # "(null)" is definitive, so ask for nothing -- --gres would be rejected as | COMMENT |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 436 | _fake_sinfo(monkeypatch, local_submit_module, "(null)\ngpu:8\n") | CODE |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 445 | _fake_sinfo(monkeypatch, local_submit_module, "(null)\n") | CODE |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 446 | assert local_submit_module.partition_gpu_gres("batch") == "(null)" | CODE |
| HIGH⚡ | tests/unittest/scripts/test_perf_submit.py | 477 | _fake_sinfo(monkeypatch, local_submit_module, "(null)\n") | CODE |
| HIGH⚡ | tests/unittest/llmapi/apps/test_tool_parsers.py | 1487 | "command": "pwd && ls" | CODE |
| HIGH | tests/unittest/llmapi/apps/test_tool_parsers.py | 1052 | [', "arguments": {}}', "}", ', "arguments": null}'], | CODE |
| HIGH | tests/unittest/llmapi/apps/test_tool_parsers.py | 1457 | "pwd && ls\n" | CODE |
| HIGH | tests/integration/defs/triton_server/common.py | 17 | r"curl -s -w %{http_code} 0.0.0.0:8000/v2/health/ready || true", | CODE |
| HIGH | tests/integration/defs/triton_server/common.py | 21 | r"curl -s -w %{http_code} 0.0.0.0:8003/v2/health/ready || true", | CODE |
| HIGH | .devcontainer/make_env.py | 37 | ("(echo set -a && cat " + | CODE |
| HIGH | .devcontainer/make_env.py | 39 | " && echo && echo exec /usr/bin/env python3 -c \"'import json; import os; print(json.dumps(dict(os.environ) | CODE |
| HIGH | …m/_torch/visual_gen/models/cosmos3/pipeline_cosmos3.py | 464 | "- `pip install cosmos_guardrail==0.3.0 && pip uninstall opencv-python`" | CODE |
| HIGH | tensorrt_llm/_torch/peft/lora/manager.py | 519 | "enable_lora": null, | STRING |
| HIGH⚡ | …rnels/blackwell/top_k/gvr_topk_decode_self_sampling.py | 1120 | HB=NBS; KBIG=(KPT>=2 && KPT*BLK>=2048); SCPB=(BLK>=1024)?(SPLIT?8192:16384) | STRING |
| HIGH | …ch/cute_dsl_kernels/blackwell/moe_as_dense_gemm/fc1.py | 2517 | :param c_sf_ptr: Pointer to scale factor tensor for C (can be null) | STRING |
| HIGH | …ch/cute_dsl_kernels/blackwell/moe_as_dense_gemm/fc1.py | 2524 | :param norm_const_ptr: Pointer to normalization constant for SFC generation (can be null) | STRING |
| HIGH | …m/_torch/cute_dsl_kernels/mega_moe_nvfp4/flag_batch.py | 23 | flag_addr: Int64 # per-lane counter-slot address (0 == null) | CODE |
| HIGH | tensorrt_llm/scaffolding/contrib/Dynasor/evaluator.py | 986 | if a.equals(b) or simplify(a - b) == 0: | CODE |
| HIGH | tensorrt_llm/scaffolding/contrib/Dynasor/evaluator.py | 1010 | if _a.equals(_b): | CODE |
| HIGH | tensorrt_llm/scaffolding/contrib/Coder/prompts.py | 331 | ``cd /testbed && git diff --no-color -- path/to/file1.py path/to/file2.py > patch.txt`` | STRING |
| HIGH | tensorrt_llm/usage/llmapi_config.py | 480 | # None: Optional field unset -> capture as null, regardless of converter. | COMMENT |
| HIGH | tensorrt_llm/evaluate/mmlu.py | 261 | "wget https://people.eecs.berkeley.edu/~hendrycks/data.tar && tar -xf data.tar. " | CODE |
| HIGH | tensorrt_llm/serve/visual_gen_utils.py | 92 | ``{"stg_sclae": null}`` produce a 200 with retained defaults. | STRING |
| HIGH | tensorrt_llm/serve/harmony_adapter.py | 1525 | # Now process the actual harmony deltas (all with role=null) | COMMENT |
| HIGH | tensorrt_llm/serve/tool_parser/minimax_m2_parser.py | 44 | # Try JSON parsing for structured types (object, array, null, etc.). | COMMENT |
| HIGH | tensorrt_llm/serve/tool_parser/qwen3_coder_parser.py | 26 | pwd && ls | STRING |
| HIGH | tensorrt_llm/serve/tool_parser/minimax_m3_parser.py | 49 | (object / array / null) attempt JSON first; numerics and booleans | STRING |
| HIGH | tensorrt_llm/serve/tool_parser/gemma4_parser.py | 233 | # Bare value (number, boolean, null, or unquoted string) | COMMENT |
| HIGH | tensorrt_llm/serve/tool_parser/gemma4_parser.py | 303 | - Supports: strings, numbers, booleans, null, nested objects, arrays | STRING |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1668 | }}).filter(function(t) {{ return t !== null; }}); | CODE |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1673 | pageYLabels.push('Req ' + reqId + ' (GPU)'); | CODE |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-flow/tests/test_backends.py | 125 | CODE | |
| LOW | agent-flow/agent_flow/workflows/agent_team/workflow.py | 94 | CODE | |
| LOW | …ittest/_torch/weight_sharing/_source_identity_fakes.py | 99 | CODE | |
| LOW | …/_torch/weight_sharing/test_post_transform_profiles.py | 45 | CODE | |
| LOW | tests/unittest/_torch/misc/test_virtual_memory.py | 240 | CODE | |
| LOW | …ttest/_torch/attention/sparse/test_sparse_attention.py | 579 | CODE | |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 915 | CODE | |
| LOW | …ttention/sparse/deepseek_v4/test_deepseek_v4_o_proj.py | 107 | CODE | |
| LOW | …ittest/_torch/visual_gen/test_attention_integration.py | 85 | CODE | |
| LOW | …ittest/_torch/visual_gen/test_attention_integration.py | 120 | CODE | |
| LOW | …ittest/_torch/visual_gen/test_attention_trtllm_sage.py | 53 | CODE | |
| LOW | …ts/unittest/_torch/visual_gen/test_qwen_image_infer.py | 26 | CODE | |
| LOW | …ttest/_torch/visual_gen/test_trtllm_serve_endpoints.py | 178 | CODE | |
| LOW | …unittest/_torch/visual_gen/test_cosmos3_transformer.py | 158 | CODE | |
| LOW | …ts/unittest/_torch/modeling/test_modeling_step3p7vl.py | 94 | CODE | |
| LOW | tests/unittest/_torch/multi_gpu/test_user_buffers.py | 437 | CODE | |
| LOW | tests/unittest/_torch/multi_gpu/test_user_buffers.py | 1156 | CODE | |
| LOW | tests/unittest/_torch/multi_gpu/test_user_buffers.py | 109 | CODE | |
| LOW | …unittest/_torch/thop/parallel/test_fp4_bmm_quantize.py | 59 | CODE | |
| LOW | …unittest/_torch/thop/parallel/test_fp4_bmm_quantize.py | 72 | CODE | |
| LOW | …h/thop/parallel_hw_agnostic/test_fused_qk_norm_rope.py | 100 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_moe.py | 573 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_moe.py | 604 | CODE | |
| LOW | …tor/multi_gpu/test_accuracy_with_allreduce_strategy.py | 71 | CODE | |
| LOW | …s/unittest/_torch/executor/test_kv_cache_estimation.py | 179 | CODE | |
| LOW | …s/unittest/_torch/executor/test_mamba_cache_manager.py | 2098 | CODE | |
| LOW | …s/unittest/_torch/executor/test_mamba_cache_manager.py | 2150 | CODE | |
| LOW | …unittest/_torch/executor/test_kv_cache_v2_scheduler.py | 195 | CODE | |
| LOW | tests/unittest/_torch/executor/test_benchmark_disagg.py | 84 | CODE | |
| LOW | tests/unittest/_torch/executor/test_benchmark_disagg.py | 580 | CODE | |
| LOW | tests/unittest/_torch/executor/test_py_executor.py | 1689 | CODE | |
| LOW | …unittest/_torch/executor/test_token_budget_fallback.py | 34 | CODE | |
| LOW | …s/unittest/_torch/executor/test_iter_stats_populate.py | 721 | CODE | |
| LOW | …s/unittest/_torch/executor/test_iter_stats_populate.py | 71 | CODE | |
| LOW | …sts/unittest/_torch/executor/test_kv_pool_rebalance.py | 52 | CODE | |
| LOW | …test/_torch/executor/test_kv_cache_v2_extra_buffers.py | 30 | CODE | |
| LOW | …ts/unittest/_torch/executor/test_per_layer_head_dim.py | 35 | CODE | |
| LOW | tests/unittest/_torch/modules/test_fused_moe.py | 1002 | CODE | |
| LOW | …test/_torch/modules/mamba/test_mamba2_mtp_ssm_cache.py | 22 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 467 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 528 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 847 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/quantize_utils.py | 237 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/quantize_utils.py | 2118 | CODE | |
| LOW | …cache_manager_v2_tests/test_kv_cache_stats_behavior.py | 241 | CODE | |
| LOW | …/kv_cache_manager_v2_tests/test_kv_cache_manager_v2.py | 1691 | CODE | |
| LOW | …/kv_cache_manager_v2_tests/test_kv_cache_manager_v2.py | 3188 | CODE | |
| LOW | tests/unittest/others/test_lora_manager.py | 54 | CODE | |
| LOW | tests/unittest/utils/torch_ref.py | 552 | CODE | |
| LOW | tests/unittest/utils/torch_ref.py | 747 | CODE | |
| LOW | tests/unittest/disaggregated/test_peer.py | 145 | CODE | |
| LOW | tests/unittest/disaggregated/region/test_block.py | 34 | CODE | |
| LOW | tests/unittest/llmapi/test_utils.py | 61 | CODE | |
| LOW | tests/unittest/llmapi/lora_test_utils.py | 134 | CODE | |
| LOW | tests/unittest/llmapi/apps/openai_server.py | 22 | CODE | |
| LOW | tests/unittest/executor/test_stats_serializer.py | 52 | CODE | |
| LOW | …y/multigpu/transformations/library/test_tp_sharding.py | 283 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 99 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 200 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 290 | CODE | |
| 409 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-flow/agent_flow/__init__.py | 24 | __all__ = [ | CODE |
| LOW | agent-flow/agent_flow/backends/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …flow/agent_flow/workflows/modeling_bringup/__init__.py | 24 | __all__ = [ | CODE |
| LOW | …w/agent_flow/workflows/modeling_bringup/task_schema.py | 125 | __all__ = [ | CODE |
| LOW | …nt_flow/workflows/modeling_bringup/prompts/__init__.py | 64 | __all__ = ["MODELING_BRINGUP_PROMPTS", "build_modeling_bringup_prompts"] | CODE |
| LOW | agent-flow/agent_flow/workflows/agent_team/__init__.py | 34 | __all__ = [ | CODE |
| LOW | …ow/agent_flow/workflows/agent_team/prompts/__init__.py | 63 | __all__ = [ | CODE |
| LOW | …nt-flow/agent_flow/workflows/perf_optimize/__init__.py | 49 | __all__ = [ | CODE |
| LOW | …flow/agent_flow/workflows/perf_optimize/task_schema.py | 517 | __all__ = [ | CODE |
| LOW | agent-flow/agent_flow/workflows/perf_optimize/reuse.py | 393 | __all__ = [ | CODE |
| LOW | …/agent_flow/workflows/perf_optimize/prompts/_common.py | 44 | __all__ = [ | CODE |
| LOW | …agent_flow/workflows/perf_optimize/prompts/__init__.py | 206 | __all__ = [ | CODE |
| LOW | …ent-flow/agent_flow/workflows/perf_analyze/__init__.py | 29 | __all__ = [ | CODE |
| LOW | …-flow/agent_flow/workflows/perf_analyze/task_schema.py | 731 | __all__ = [ | CODE |
| LOW | …/agent_flow/workflows/perf_analyze/prompts/__init__.py | 103 | __all__ = [ | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 115 | def _set_torch_top_k(indexer: Indexer) -> None: | CODE |
| LOW⚡ | tests/unittest/_torch/visual_gen/test_cache_dit.py | 231 | def set_timesteps(self, n: int, device=None) -> None: | CODE |
| LOW | …est/_torch/visual_gen/test_flux2_image_conditioning.py | 173 | def set_timesteps(self, *_args, **_kwargs) -> None: | CODE |
| LOW | …est/_torch/visual_gen/test_flux2_image_conditioning.py | 176 | def set_begin_index(self, _index: int) -> None: | CODE |
| LOW | …s/unittest/_torch/modeling/test_modeling_deepseekv4.py | 1171 | def update_quant_config(self, _quant_config: object) -> None: | CODE |
| LOW | tests/unittest/_torch/sampler/test_torch_sampler.py | 1513 | def set_finished_reason(self, finish_reason: FinishReason, beam: int) -> None: | CODE |
| LOW | …/unittest/_torch/executor/test_pytorch_model_engine.py | 1496 | def set_attn_max_seq_len(self, max_seq_len: int) -> None: | CODE |
| LOW | …s/unittest/_torch/executor/test_kv_cache_manager_v2.py | 605 | def set_prepopulated_prompt_len(self, length: int, tokens_per_block: int) -> None: | CODE |
| LOW | tests/unittest/_torch/modules/test_alltoall_watchdog.py | 49 | def set_flags(self, phase: str, flags: list[int]) -> None: | CODE |
| LOW | tests/unittest/_torch/modules/test_mla_registry.py | 39 | def update_quant_config(self, _quant_config: object) -> None: | CODE |
| LOW | tests/unittest/_torch/modules/moe/test_moe_backend.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …cache_manager_v2_tests/test_kv_cache_stats_behavior.py | 98 | def set_prepopulated_prompt_len(self, length: int, tokens_per_block: int) -> None: | CODE |
| LOW | …/kv_cache_manager_v2_tests/test_kv_cache_manager_v2.py | 1458 | def update_batch(self, stream: CudaStream) -> None: | CODE |
| LOW | tests/unittest/others/test_tracing.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/unittest/utils/llm_data.py | 12 | __all__ = [ | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_sync_transfer_timing.py | 44 | def set_kv_cache_transfer_start(self, v: int) -> None: | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_sync_transfer_timing.py | 47 | def set_kv_cache_transfer_end(self, v: int) -> None: | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_sync_transfer_timing.py | 50 | def set_kv_cache_size(self, v: int) -> None: | CODE |
| LOW⚡ | tests/unittest/scripts/test_fetch_cache.py | 168 | def _set_origin_url(worktree: Path, url: str) -> None: | CODE |
| LOW | tests/unittest/llmapi/apps/_test_openai_prometheus.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/unittest/llmapi/apps/_test_openai_perf_metrics.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sts/unittest/executor/test_fatal_error_health_check.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | …_deploy/singlegpu/custom_ops/test_multi_stream_attn.py | 109 | def _set_linear_meta(node: Node, out_features: int) -> None: | CODE |
| LOW | tests/integration/defs/conftest.py | 70 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …/integration/defs/stress_test/disagg_cancel/harness.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/integration/defs/utils/periodic_junit.py | 376 | def _setup_hang_dump(self) -> None: | CODE |
| LOW | tests/integration/defs/utils/__init__.py | 26 | __all__ = [ | CODE |
| LOW | …s/integration/defs/accuracy/test_llm_api_autodeploy.py | 69 | def _set_quant_config(llm, model_id: str) -> None: | CODE |
| LOW | tests/integration/defs/sysinfo/get_sysinfo.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/integration/defs/perf/utils.py | 501 | def set_runtime_configs(self, *args) -> None: | CODE |
| LOW | tests/integration/defs/thirdparty/test_git_modules.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/integration/defs/thirdparty/test_cmake_third_party.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_common/s3_output.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/microbenchmarks/bench_moe/cli.py | 683 | def set_if_unset(dest: str, value: Any) -> None: | CODE |
| LOW | tests/microbenchmarks/bench_moe/timing/__init__.py | 48 | __all__ = [ | CODE |
| LOW | tests/microbenchmarks/bench_moe/routing/__init__.py | 76 | __all__ = [ | CODE |
| LOW | …crobenchmarks/attention_perf/attention_perf_harness.py | 72 | __all__ = ["AttnCase", "Signals", "collect_signals", "sm_arch", "device_name"] | CODE |
| LOW⚡ | tensorrt_llm/sampling_params.py | 469 | def _set_request_provided_fields(self, field_names: Iterable[str]) -> None: | CODE |
| LOW | tensorrt_llm/_common.py | 42 | __all__ = [ | CODE |
| LOW | tensorrt_llm/ray_stub.py | 44 | __all__ = [ | CODE |
| LOW | tensorrt_llm/__init__.py | 138 | __all__ = [ | CODE |
| LOW | tensorrt_llm/prompt_adapter_manager.py | 35 | __all__ = [ | CODE |
| LOW | tensorrt_llm/lora_manager.py | 46 | __all__ = [ | CODE |
| LOW | tensorrt_llm/serialization.py | 51 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_ray_utils.py | 37 | __all__ = [ | CODE |
| 320 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 309 | # Check if file matches any pattern using fnmatch (same as wheel extraction) | COMMENT |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2809 | # Check if exactly the same | COMMENT |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 2639 | # Print results | COMMENT |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 2755 | # Print results | COMMENT |
| LOW | …arse/deepseek_v4/test_deepseek_v4_indices_transform.py | 67 | # Set compressed_topk to 2048 to test all compressed tokens | COMMENT |
| LOW | …ittest/_torch/multi_gpu/test_lowprecision_allreduce.py | 164 | # Check if total differences is multiple of 8 | COMMENT |
| LOW | …ittest/_torch/multi_gpu/test_lowprecision_allreduce.py | 166 | # Check if all diff_values_output are in tmp_raw_result | COMMENT |
| LOW | …ittest/_torch/multi_gpu/test_lowprecision_allreduce.py | 214 | # Print results | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_logits_logprobs.py | 525 | # Check if the logprob matches the top-rank logprob from the logits | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_logits_logprobs.py | 535 | # Check if the logprob matches the token-id logprob from the logits | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_torch_sampler.py | 1343 | # Check if sizes are correct | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_torch_sampler.py | 1354 | # Check if values are added correctly | COMMENT |
| LOW | …sts/unittest/_torch/thop/parallel/test_fp8_quantize.py | 194 | # Check if the bits of paddings are zero. | COMMENT |
| LOW | …test/_torch/thop/parallel/test_fp8_block_scale_gemm.py | 498 | # Print the output | COMMENT |
| LOW | …sts/unittest/_torch/executor/test_router_dealer_ipc.py | 86 | # Check if any process is still alive and terminate if needed | COMMENT |
| LOW | tests/unittest/_torch/modules/test_moe_host_sharer.py | 44 | # Check if the data matches the expected pattern | COMMENT |
| LOW | tests/unittest/_torch/modules/test_moe_host_sharer.py | 157 | # Check if all expert tensors are correctly shared and stored in all_tensors | COMMENT |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 338 | # Check if we should run full tactic replay | COMMENT |
| LOW | tests/unittest/_torch/modules/moe/test_moe_backend.py | 1548 | # Check if this backend+quant_algo combination supports autotuner capture/replay | COMMENT |
| LOW | tests/unittest/tools/test_test_to_stage_mapping.py | 330 | # Check if stage name contains the backend identifier | COMMENT |
| LOW | tests/unittest/scaffolding/test_mcp_worker.py | 148 | # Check if process exited unexpectedly | COMMENT |
| LOW | tests/unittest/scaffolding/test_mcp_worker.py | 152 | # Check if timeout occurred | COMMENT |
| LOW | tests/unittest/disaggregated/test_perf_logger.py | 125 | # Close file handlers before the temporary directory exits. | COMMENT |
| LOW | tests/unittest/disaggregated/test_perf_logger.py | 151 | # Close file handlers before the temporary directory exits. | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 780 | # Print results and assert on rank 0 | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_args.py | 3132 | # Check if this field is exempt (check class and all parent classes) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_args.py | 3304 | # Check if the default is a mutable type instance | COMMENT |
| LOW | tests/unittest/llmapi/apps/_test_openai_prometheus.py | 192 | # Check if iteration stats metrics have sample values | COMMENT |
| LOW | tests/unittest/llmapi/apps/utils.py | 218 | # Check if this group has bracket notation | COMMENT |
| LOW | tests/unittest/llmapi/apps/utils.py | 230 | # Check if it's a range (contains dash) | COMMENT |
| LOW | tests/unittest/llmapi/apps/_test_openai_cache_salt.py | 79 | # Check if metrics endpoint is available | COMMENT |
| LOW | tests/unittest/llmapi/apps/_test_openai_cache_salt.py | 157 | # Check if metrics are available | COMMENT |
| LOW | …ions/library/test_allreduce_residual_rmsnorm_fusion.py | 141 | # Check if fused node in the graph and verify strategy | COMMENT |
| LOW | …glegpu/transformations/library/test_trtllm_gen_diag.py | 382 | # Print values | COMMENT |
| LOW | …eploy/singlegpu/utils/test_delete_unused_submodules.py | 171 | # Check if any of the node's inputs come from a target module's get_attr | COMMENT |
| LOW | …deploy/singlegpu/models/test_glm4_moe_lite_modeling.py | 401 | # Check if this is an MoE expert weight | COMMENT |
| LOW | tests/integration/defs/conftest.py | 1516 | # Check if nvidia-smi returned a valid numeric value | COMMENT |
| LOW | tests/integration/defs/conftest.py | 1891 | # Check if any suite name matches the test name | COMMENT |
| LOW | tests/integration/defs/common.py | 781 | # Check if the port is free | COMMENT |
| LOW | tests/integration/defs/test_e2e.py | 1746 | # Print the outputs. | COMMENT |
| LOW | tests/integration/defs/test_list_validation.py | 81 | # Check if perf test config can be successfully loaded. | COMMENT |
| LOW⚡ | tests/integration/defs/stress_test/stress_test.py | 1476 | # Check if we have any valid data | COMMENT |
| LOW | tests/integration/defs/stress_test/stress_test.py | 623 | # Check if port is available | COMMENT |
| LOW | tests/integration/defs/stress_test/stress_test.py | 627 | # Check if server is already running | COMMENT |
| LOW | tests/integration/defs/stress_test/stress_test.py | 769 | # Check if process is still running | COMMENT |
| LOW | tests/integration/defs/stress_test/stress_test.py | 1339 | # Check if process completed successfully | COMMENT |
| LOW | …s/integration/defs/disaggregated/test_disaggregated.py | 2920 | # Check if process completed successfully | COMMENT |
| LOW | …ntegration/defs/accuracy/test_disaggregated_serving.py | 94 | # Check if the command executed successfully | COMMENT |
| LOW | …integration/defs/examples/run_llm_quickstart_atexit.py | 23 | # Print the outputs. | COMMENT |
| LOW | …egration/defs/examples/test_ad_speculative_decoding.py | 322 | # Set up to test the prefill-only version of the EagleWrapper model in test_eagle_wrapper_forward(). | COMMENT |
| LOW | …egration/defs/examples/test_ad_speculative_decoding.py | 911 | # Set previously_accepted_tokens to the length of input_ids (all context tokens are accepted) | COMMENT |
| LOW | tests/integration/defs/sysinfo/get_sysinfo.py | 278 | #Set is_remote to False temporarily | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 96 | # Set trigger_mr_commit to commit | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 152 | # Check if all valid values are identical | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 341 | # Check if this metric is regressive (only for key regression metrics) | COMMENT |
| LOW | tests/integration/defs/perf/test_perf.py | 644 | # Check if device subtype is present (for autodeploy tests) | COMMENT |
| LOW | tests/integration/defs/perf/test_perf.py | 1753 | # Check if any commands failed. | COMMENT |
| LOW | tests/integration/defs/perf/data_export.py | 434 | # Check if someone the log could not be found or set | COMMENT |
| LOW | tests/integration/defs/perf/utils.py | 630 | # Print the output log to buf. | COMMENT |
| LOW | tests/integration/defs/perf/utils.py | 635 | # Print the output log to buf. | COMMENT |
| 168 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | requirements.txt | 88 | mcp<2.0.0 # 2.0.0 removed mcp.server.fastmcp; scaffolding still uses the 1.x APIs | CODE |
| MEDIUM | …flow/tests/workflows/modeling_bringup/test_workflow.py | 1154 | # (manual or in CI), but the prompt scaffolding must stay intact across | COMMENT |
| MEDIUM | …nt-flow/tests/workflows/perf_optimize/test_workflow.py | 271 | # ------------------------------------------------------- stubbed orchestration | COMMENT |
| MEDIUM⚡ | …ent-flow/tests/workflows/perf_analyze/test_workflow.py | 164 | # ------------------------------------------------------- stubbed orchestration | COMMENT |
| MEDIUM | agent-flow/agent_flow/workflows/agent_team/workflow.py | 314 | # ------------------------------------------------------------- orchestration | COMMENT |
| MEDIUM | …nt-flow/agent_flow/workflows/perf_optimize/workflow.py | 348 | # ------------------------------------------------------------- orchestration | COMMENT |
| MEDIUM | …ent-flow/agent_flow/workflows/perf_analyze/workflow.py | 291 | # ------------------------------------------------------------- orchestration | COMMENT |
| MEDIUM | …ittest/_torch/modeling/test_modeling_qwen3_5_vl_moe.py | 233 | # --- Layered parity test scaffold ------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/modeling/test_modeling_qwen3_5_vl.py | 213 | # --- Layered parity test scaffold ------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/modules/helix_test_utils.py | 281 | # MPI orchestration | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 525 | # format, thinking-mode chain-of-thought, empty output, etc.). | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_mamba_transfer.py | 241 | # dummy attention layer (page table scaffolding) | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_kda_mamba_transfer.py | 163 | # dummy attention layer (page table scaffolding) | COMMENT |
| MEDIUM | tests/unittest/llmapi/apps/_test_openai_embeddings.py | 195 | # sentence-embedding model. A separate, opt-in server (loads a multi-GB | COMMENT |
| MEDIUM⚡ | tests/unittest/executor/test_proxy_fast_death.py | 101 | # Broadcast happened event-driven: sticky flag set + EngineDeadError pushed. | COMMENT |
| MEDIUM | …ation/defs/accuracy/test_llm_api_pytorch_multimodal.py | 473 | # chain-of-thought reasoning before outputting the answer. | COMMENT |
| MEDIUM | …on/defs/examples/visual_gen/test_visual_gen_cosmos3.py | 51 | # Cosmos3 requires VANILLA attention and guardrails disabled in CI. | COMMENT |
| MEDIUM | …m-test-specialist/references/test_config_template.yaml | 225 | # [optional] Number of few-shot examples prepended to each prompt (--num_fewshot). | COMMENT |
| MEDIUM | …e/skills/perf-host-optimization/references/examples.md | 149 | # Use UPPER_WORKSPACE_DIR to isolate agentic runs from manual runs | COMMENT |
| MEDIUM | …tllm-test-script-builder/scripts/build_slurm_script.py | 617 | # the orchestrating host. Callers should pass --local-log-dir pointing to | STRING |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 9 | - [Introduction for Scaffolding: A Framework for inference-time compute](#introduction-for-scaffolding) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 10 | - [Core Features](#scaffolding-core-feature) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 11 | - [Architecture](#scaffolding-architecture) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 12 | - [Worker](#scaffolding-architecture-worker) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 13 | - [Controller](#scaffolding-architecture-controller) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 14 | - [ScaffoldingLlm](#scaffolding-architecture-scaffoldingllm) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 15 | - [An Example: Implement Dynasor on Scaffolding](#example-for-scaffolding) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 17 | - [Implement Dynasor-CoT in Scaffolding](#dynasor-cot-implement-in-scaffolding) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 18 | - [Implement Dynasor-CoT based Majority Voting in Scaffolding](#dynasor-cot-based-majority-vote-in-scaffolding) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 21 | - [Feature List on Scaffolding](#scaffolding-feature-list) | CODE |
| MEDIUM⚡ | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 22 | - [Future Work](#scaffolding-future-work) | CODE |
| MEDIUM | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 334 | # For the probe task, append the suffix to force a chain-of-thought leading to an answer. | COMMENT |
| MEDIUM | …ference_Time_Compute_Implementation_in_TensorRT-LLM.md | 347 | # If the current prompt indicates the chain-of-thought phase has ended, use one type of suffix. | COMMENT |
| MEDIUM⚡ | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 43 | - [Part II. Agentic-Workload Optimizations](#part-ii-agentic-workload-optimizations) | CODE |
| MEDIUM⚡ | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 45 | - [Lessons from DeepSeek-V3.2 Agentic Workload Optimization](#lessons-from-deepseek-v32-agentic-workload-optimization) | CODE |
| MEDIUM⚡ | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 46 | - [End-to-End Optimizations for Agentic Serving](#end-to-end-optimizations-for-agentic-serving) | CODE |
| MEDIUM⚡ | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 54 | - [Optimize scheduling, orchestration, and protocol handling](#optimize-scheduling-orchestration-and-protocol-hand | CODE |
| MEDIUM | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 319 | The latest measured fixed-shape InferenceX curve establishes the clean model/runtime baseline for [Part II](#part-ii-age | CODE |
| MEDIUM | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 326 | [AA-AgentPerf](https://artificialanalysis.ai/methodology/agentperf) measures how many active coding agents an inference | CODE |
| MEDIUM | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 364 | Starting from the final model/runtime stack in [Part I](#part-i-deepseek-v4-model-support-and-optimizations), this secti | CODE |
| MEDIUM | …_and_Agentic_Workload_Optimizations_in_TensorRT-LLM.md | 425 | ##### Optimize scheduling, orchestration, and protocol handling | COMMENT |
| MEDIUM | tensorrt_llm/_torch/models/modeling_mistral.py | 727 | # path) or intentionally absent (e.g. raw few-shot eval like MMLU). | COMMENT |
| MEDIUM | tensorrt_llm/_torch/pyexecutor/sampler/__init__.py | 74 | # Lazily forward everything else to the sampler orchestration module. | COMMENT |
| MEDIUM | tensorrt_llm/_torch/modules/dwdp/__init__.py | 84 | # Setup orchestration | COMMENT |
| MEDIUM | …dsl_kernels/blackwell/pertoken_adaln/pertoken_adaln.py | 19 | # Provenance: the row-per-CTA scaffold (two-pass mean/var warp+CTA reduce, | COMMENT |
| MEDIUM | …_llm/scaffolding/contrib/Dynasor/dynasor_controller.py | 104 | # For the probe task, append the suffix to force a chain-of-thought leading to an answer. | COMMENT |
| MEDIUM | tensorrt_llm/scaffolding/contrib/Dynasor/evaluator.py | 468 | # Handle Chinese few-shot multiple choice problem answer extraction | COMMENT |
| MEDIUM | …nsorrt_llm/scaffolding/contrib/iter_research/README.md | 31 | ### MCP tools under `examples/scaffolding/mcp` | COMMENT |
| MEDIUM⚡ | tensorrt_llm/scaffolding/contrib/Coder/__init__.py | 21 | # python examples/scaffolding/mcp/coder/coder_mcp.py --port 8083 | STRING |
| MEDIUM⚡ | tensorrt_llm/scaffolding/contrib/Coder/coder.py | 262 | # python examples/scaffolding/mcp/coder/coder_mcp.py --port 8083 | STRING |
| MEDIUM | tensorrt_llm/evaluate/covost2.py | 264 | # rfind so that if the model dumps chain-of-thought with the | COMMENT |
| MEDIUM | tensorrt_llm/evaluate/longbench_v2.py | 238 | # Handle RAG mode | COMMENT |
| MEDIUM | tensorrt_llm/evaluate/lm_eval.py | 223 | # whose chain-of-thought output exceeds lm-eval's default (~512). | COMMENT |
| MEDIUM | tensorrt_llm/evaluate/lm_eval.py | 318 | # thinking mode produces long chain-of-thought output. Default | COMMENT |
| MEDIUM | tensorrt_llm/evaluate/lm_eval_tasks/mmmu_pro/utils.py | 29 | # smaller / MoE models that benefit the most from chain-of-thought). | COMMENT |
| MEDIUM | tensorrt_llm/llmapi/llm_args.py | 2963 | # internal plumbing remain as scaffolding (see DSparkConfidenceHead / | COMMENT |
| MEDIUM | tensorrt_llm/executor/proxy.py | 428 | # event-driven (see _handle_worker_death), so a coarse interval is | COMMENT |
| MEDIUM | tensorrt_llm/commands/serve.py | 802 | # causal-LM architecture; remap it to the text-embedding model class so the | COMMENT |
| MEDIUM | tensorrt_llm/serve/openai_server.py | 137 | # request body: the large agentic chat body otherwise blocks the serving event | COMMENT |
| MEDIUM | tensorrt_llm/serve/openai_protocol.py | 1200 | # outright. Codex multi-agent sessions carry "agent_message" items, which no | COMMENT |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/unittest/_torch/multimodal/test_multimodal_runtime.py | 885 | extra = {"multimodal_data": {"multimodal_embedding": "placeholder"}} | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_disagg_openai_client.py | 251 | dummy_data = [ | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_disagg_openai_client.py | 258 | for data in dummy_data: | CODE |
| LOW | …ts/unittest/disaggregated/test_disagg_openai_client.py | 279 | assert chunk == dummy_data[i] | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1537 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore mag | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1537 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore mag | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1622 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1622 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1805 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1805 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | tests/unittest/llmapi/apps/test_chat_utils.py | 435 | "placeholder": retrieve_multimodal_placeholder(_MM_MODEL_TYPE, modality, index + 1), | CODE |
| LOW | …y/multigpu/transformations/library/test_tp_sharding.py | 503 | placeholder_targets = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …eploy/singlegpu/transformations/test_pipeline_cache.py | 810 | restored_input = next(node for node in restored.graph.nodes if node.op == "placeholder") | CODE |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 1869 | if node.op == "placeholder" and node.target == "routing_weights": | CODE |
| LOW⚡ | …/singlegpu/transformations/library/test_gemm_fusion.py | 721 | if node.op in ("placeholder", "output", "get_attr"): | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 91 | return [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 144 | and arg.op == "placeholder" | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 186 | if node.op == "placeholder" and "seq_len_with_cache" in str(node.target): | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 173 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 317 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 403 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 52 | if n.op == "placeholder": | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 77 | if n.op == "placeholder": | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 104 | if n.op == "placeholder": | CODE |
| LOW | …t/auto_deploy/singlegpu/compile/test_captured_graph.py | 119 | node for node in gm.graph.nodes if node.op == "placeholder" and node.target == "out" | CODE |
| LOW⚡ | …/auto_deploy/singlegpu/compile/test_piecewise_utils.py | 247 | for op_type in ("placeholder", "call_method", "call_module", "output", "get_attr"): | CODE |
| LOW | tests/integration/defs/llmapi/test_llm_api_connector.py | 176 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | tests/integration/defs/llmapi/test_llm_api_connector.py | 176 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …k/references/runtime-execution/attention-dp-padding.md | 29 | - **Expected effect:** higher throughput and MFU under ragged DP load by removing dummy-token compute + per-step host pa | CODE |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/resource_manager.py | 283 | TODO(TRTLLM-12045): each model should provide its own warmup dummy_data | STRING |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/node_utils.py | 979 | # in the graph, and this input_id_node op is "placeholder". Nevertheless, it serves as a proper | COMMENT |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/node_utils.py | 967 | if input_id_node is None and node.op == "placeholder": | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 418 | inps = [node.meta.get("val", _NO_VAL) for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 502 | node_last_input = graph.find_nodes(op="placeholder", sort=True)[-1] | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 545 | if n.op != "placeholder": | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 789 | if input_node.op != "placeholder": | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/_graph.py | 796 | placeholder_nodes = graph.find_nodes(op="placeholder", sort=True) | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/graph_writer.py | 54 | if node.op == "placeholder": | CODE |
| LOW | …lm/_torch/auto_deploy/models/custom/modeling_gemma4.py | 2251 | node.target for node in language_model.graph.nodes if node.op == "placeholder" | CODE |
| LOW⚡ | …llm/_torch/auto_deploy/models/custom/modeling_eagle.py | 996 | return {node.name for node in submodule.graph.nodes if node.op == "placeholder"} | CODE |
| LOW⚡ | tensorrt_llm/_torch/auto_deploy/mlir/fx_to_mlir.py | 175 | if node.op == "placeholder": | CODE |
| LOW | …orrt_llm/_torch/auto_deploy/compile/piecewise_utils.py | 291 | if node.op in ("placeholder", "output"): | CODE |
| LOW⚡ | …_torch/auto_deploy/compile/backends/torch_cudagraph.py | 719 | if node.op == "placeholder": | CODE |
| LOW | …_torch/auto_deploy/compile/backends/torch_cudagraph.py | 130 | if node.op == "placeholder": | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/shim/ad_executor.py | 791 | dummy_token = -1 | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/shim/ad_executor.py | 850 | input_ids.extend([dummy_token] * (1 + draft_len)) | CODE |
| LOW | tensorrt_llm/_torch/auto_deploy/transform/interface.py | 801 | input_nodes = gm.graph.find_nodes(op="placeholder", target=name) | CODE |
| LOW | …torch/auto_deploy/transform/graph_module_visualizer.py | 208 | "placeholder": {"fillcolor": "lightgreen", "shape": "box"}, | CODE |
| LOW | …torch/auto_deploy/transform/graph_module_visualizer.py | 615 | elif node.op == "placeholder": | CODE |
| LOW⚡ | …rch/auto_deploy/transform/pipeline_cache/structural.py | 242 | if node.op in ("placeholder", "get_attr"): | CODE |
| LOW | …lm/_torch/auto_deploy/transform/library/sharding_ir.py | 1284 | batch_info_host_nodes = gm.graph.find_nodes(op="placeholder", target="batch_info_host") | CODE |
| LOW | …rt_llm/_torch/auto_deploy/transform/library/kvcache.py | 142 | op="placeholder", target=input_name | CODE |
| LOW | …rt_llm/_torch/auto_deploy/transform/library/kvcache.py | 153 | node_last_input = gm.graph.find_nodes(op="placeholder", sort=True)[-1] | CODE |
| LOW | …rt_llm/_torch/auto_deploy/transform/library/kvcache.py | 177 | node_last_input = gm.graph.find_nodes(op="placeholder", sort=True)[-1] | CODE |
| LOW | …sorrt_llm/_torch/auto_deploy/transform/library/rope.py | 435 | if current.op in ("get_attr", "placeholder"): | CODE |
| LOW | …_deploy/transform/library/cleanup_input_constraints.py | 46 | input_node = graph.find_nodes(op="placeholder")[1] | CODE |
| LOW | tensorrt_llm/_torch/modules/fused_moe/moe_scheduler.py | 167 | # Existing truncation at Step 4 discards dummy-token outputs automatically. | COMMENT |
| LOW | tensorrt_llm/_torch/compilation/piecewise_optimizer.py | 88 | if node.op == "placeholder": | CODE |
| LOW | tensorrt_llm/_torch/compilation/piecewise_optimizer.py | 290 | if node.op in ("output", "placeholder"): | CODE |
| LOW | tensorrt_llm/_torch/compilation/backend.py | 203 | if node.op == "placeholder": | CODE |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tensorrt_llm/scaffolding/contrib/Coder/__init__.py | 16 | api_key="your-api-key", | STRING |
| HIGH⚡ | tensorrt_llm/scaffolding/contrib/Coder/coder.py | 257 | api_key="your-api-key", | STRING |
| HIGH | examples/scaffolding/mcp/README.md | 45 | export TAVILY_API_KEY=<your_api_key> | CODE |
| HIGH | examples/scaffolding/mcp/README.md | 90 | python3 mcptest.py --API_KEY YOUR_API_KEY | CODE |
| HIGH | .github/ISSUE_TEMPLATE/06-bug-report.yml | 21 | Consider redacting or replacing sensitive values with placeholders like `<YOUR_TOKEN_HERE>` when sharing configura | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorrt_llm/functional.py | 441 | # Note: When not using deepseek_yarn, make sure to set mscale_all_dim to 0.0. | COMMENT |
| LOW | …m/_torch/auto_deploy/custom_ops/attention_interface.py | 1371 | # set new input_ids and make sure to flatten it | COMMENT |
| LOW | …m/_torch/auto_deploy/custom_ops/attention_interface.py | 1446 | # set new position_ids and make sure to flatten it | COMMENT |
| LOW | …m/_torch/auto_deploy/transform/library/export_to_gm.py | 79 | # make sure to prepend the hook so that it is called before any other hooks so we can | COMMENT |
| MEDIUM | tensorrt_llm/_torch/modules/fused_moe/deep_ep_utils.py | 157 | # Later, you can use our GEMM library to do the computation with this specific format | COMMENT |
| MEDIUM | tensorrt_llm/commands/utils.py | 118 | "registered LLM/VLM architecture; treating it as a language model." | CODE |
| LOW | cpp/kernels/fmha_v2/src/softmax_impl.h | 615 | // Don't forget to put the value in sum_fp32 :) | COMMENT |
| LOW | cpp/kernels/fmha_v2/src/softmax_impl.h | 709 | // Don't forget to put the value in sum_fp32 :) | COMMENT |
| LOW | cpp/kernels/fmha_v2/src/softmax_impl.h | 753 | // Don't forget to put the value in sum_fp32 :) | COMMENT |
| LOW | cpp/kernels/fmha_v2/src/softmax_impl.h | 792 | // Don't forget to put the value in sum_fp32 :) | COMMENT |
| MEDIUM | examples/llm-api/llm_kv_cache_connector.py | 79 | **NOTE:** This example connector implementation is designed for demonstration purposes | STRING |
| MEDIUM | examples/llm-api/llm_mgmn_llm_distributed.sh | 44 | # NOTE: This is a template - you can replace quickstart_advanced.py with any | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CODING_GUIDELINES.md | 734 | # In this example, the return type can be expressed as | COMMENT |
| HIGH | …sts/integration/test_input_files/pg64317_sanitized.txt | 1 | The Project Gutenberg eBook of The Great Gatsby\n\nThis ebook is for the use of anyone anywhere in the United States an | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kills/trtllm-case-executor/scripts/detect_slurm_env.sh | 27 | # Usage: | COMMENT |
| LOW | cpp/kernels/fmha_v2/src/fmha/utils.h | 74 | // Example usage: | COMMENT |
| LOW | examples/visual_gen/serve/benchmark_visual_gen.sh | 8 | # Usage: | COMMENT |
| LOW | examples/trtllm-eval/install_nemo_skills.sh | 16 | # Usage: | COMMENT |
| LOW | scripts/release_check.py | 164 | # Usage: | COMMENT |
| LOW | scripts/bolt/bolt_lib.sh | 25 | # Usage: | COMMENT |
| LOW | jenkins/scripts/bash_utils.sh | 9 | # Usage: | COMMENT |
| LOW | jenkins/scripts/perf/local/run_disagg.sh | 7 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/singlegpu/transformations/library/test_gemm_fusion.py | 252 | # TODO: consider adding test cases for classic GQA and MLP layers | COMMENT |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/kv_cache_manager_v2.py | 3871 | # TODO: implement this | COMMENT |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/kv_cache_manager_v2.py | 3875 | # TODO: implement this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unittest/llmapi/_run_multi_mpi_comm_tasks.py | 12 | def run_task(task_type: Literal["submit", "submit_sync"]): | CODE |
| LOW | tensorrt_llm/scaffolding/worker.py | 58 | async def run_task(self, task: Task) -> TaskStatus: | CODE |
| LOW | tensorrt_llm/llmapi/utils.py | 843 | def my_method(self, *args, **kwargs): | STRING |
| LOW | tensorrt_llm/llmapi/utils.py | 848 | def my_method(self, *args, **kwargs): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ts/unittest/_torch/executor/test_hang_detector_kill.py | 708 | CODE |