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,114 GitHub stars. SynthScan v2.0 examined 1,828,041 lines of code across 5507 source files, recording 23751 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 20.1 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 23751 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⚡ | tests/unittest/metrics/test_collector.py | 683 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 685 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 946 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/metrics/test_collector.py | 949 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/metrics/test_collector.py | 285 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/metrics/test_collector.py | 287 | # --------------------------------------------------------------------------- | 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 | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 568 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 570 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 661 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 663 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 727 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unittest/_torch/attention/model_attn_config.py | 730 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 265 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/attention/backend_case.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/attention/test_attention_backends.py | 229 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/attention/test_attention_backends.py | 234 | # --------------------------------------------------------------------------- | 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⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 44 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 46 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 323 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 325 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 490 | # =================================================================== | COMMENT |
| MEDIUM | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 492 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 305 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 313 | # =========================================================================== | COMMENT |
| MEDIUM | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 432 | # =========================================================================== | COMMENT |
| MEDIUM | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 448 | # =========================================================================== | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 148 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 150 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 404 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 406 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 114 | # --------------------------------------------------------------------------- | COMMENT |
| 4125 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 200 | def should_skip_precompiled_package_data(filename: str) -> bool: | CODE |
| LOW | tests/unittest/conftest.py | 301 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | tests/unittest/conftest.py | 452 | def process_gpu_memory_info_available(): | CODE |
| LOW | tests/unittest/test_pip_install.py | 11 | def get_expected_license_files(): | CODE |
| LOW⚡ | tests/unittest/test_pip_install.py | 160 | def get_torch_constraint_file(constraint_dir="."): | CODE |
| LOW | tests/unittest/test_s3_output.py | 54 | def test_small_stdout_is_inlined_without_upload(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 67 | def test_empty_stdout_is_removed_after_report(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 80 | def test_large_stdout_keeps_existing_upload_report(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 96 | def test_uploaded_stdout_is_removed_after_sync_upload(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 117 | def test_deferred_stdout_is_removed_after_upload_finishes(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 138 | def test_small_log_file_is_not_inlined(tmp_path): | CODE |
| LOW | tests/unittest/test_s3_output.py | 152 | def test_fd_redirector_reader_thread_is_daemon_when_pipe_writer_lingers(tmp_path): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 99 | def test_queue_and_load_gauges(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 106 | def test_completed_requests_counter(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 114 | def test_completed_requests_zero_not_incremented(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 119 | def test_iteration_latency_ms_to_seconds(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 161 | def test_inflight_batching_gauges(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 171 | def test_missing_inflight_batching_stats(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 180 | def test_spec_decoding_metrics(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 188 | def test_missing_spec_decoding_stats(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 330 | def test_prompt_tokens_incremented(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 334 | def test_generation_tokens_incremented(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 338 | def test_token_counters_accumulate(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 345 | def test_missing_token_counts_no_error(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 428 | def test_prefill_time_observed(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 433 | def test_decode_time_observed(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 438 | def test_inference_time_observed(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 513 | def test_phase_timings_computed(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 520 | def test_base_latencies_computed(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 526 | def test_zero_queue_time_is_included(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 538 | def test_generation_tokens_in_stat(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 542 | def test_output_length_one_has_tokens_but_no_tpot(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 548 | def test_per_candidate_metrics_computed_independently(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 664 | def test_empty_bucket_list_raises(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 670 | def test_unsorted_bucket_list_raises(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 676 | def test_duplicate_bucket_values_raises(self): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 952 | def _counter_value_with_labels(metric, labels: Dict[str, str]) -> float: | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 960 | def test_cached_tokens_counter_incremented(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 968 | def test_cached_tokens_histogram_observed(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 990 | def test_cached_tokens_accumulate(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1000 | def test_cache_metrics_absent_no_increment(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1009 | def test_no_observation_without_finish_reason(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1200 | def test_missing_ifb_stats_no_error(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1210 | def test_error_counter_incremented_by_code(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1215 | def test_error_counter_accumulates_per_code(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1224 | def test_error_counter_accepts_string_code(self, collector): | CODE |
| LOW⚡ | tests/unittest/metrics/test_collector.py | 1231 | def test_error_counter_default_empty_code(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 141 | def test_kv_cache_block_gauges(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 149 | def test_kv_cache_utilization(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 233 | def test_parallel_config_info(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 247 | def test_speculative_config_info(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 262 | def test_kv_cache_config_info(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 308 | def test_success_counter_incremented(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 313 | def test_success_counter_tracks_finish_reason_separately(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 356 | def test_zero_tokens_not_incremented(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 462 | def test_missing_phase_times_no_observation(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 474 | def test_no_observation_without_finish_reason(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 488 | def test_queue_time_zero_is_recorded_to_prometheus(self, collector): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 560 | def test_zero_output_length_excludes_tokens(self): | CODE |
| LOW | tests/unittest/metrics/test_collector.py | 564 | def test_missing_timestamps_no_phase_timings(self): | CODE |
| 9892 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | constraints.txt | 1 | # These vulnerabilities were inherited from the base image (pytorch:25.12-py3) and should be removed when the base image | COMMENT |
| LOW | setup.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | 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 | 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_hf_quant_config.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/test_torch_multi_arange.py | 1 | # Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …ittest/_torch/weight_sharing/_source_identity_fakes.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …_torch/weight_sharing/test_gms_source_identity_gate.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …/_torch/weight_sharing/test_mx_source_identity_gate.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …unittest/_torch/weight_sharing/test_source_identity.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/attention/test_triton_prefill.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/attention/backend_capability.py | 21 | # sliding_window - sliding-window attention via attention_window_size | COMMENT |
| LOW | …s/unittest/_torch/attention/test_skip_softmax_sm120.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/attention/backend_case.py | 101 | fused_rope: bool = False | COMMENT |
| LOW | tests/unittest/_torch/attention/backend_case.py | 261 | ) | COMMENT |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 1 | # Copyright (c) 2025-2026, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …attention/sparse/test_cute_dsl_fp4_paged_mqa_logits.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1 | # Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved. | COMMENT |
| LOW | …attention/sparse/test_cute_dsl_fp8_paged_mqa_logits.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …attention/sparse/test_cute_dsl_fp8_paged_mqa_logits.py | 261 | # next_n positions in one atom regardless of value). | COMMENT |
| LOW | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 1821 | # Previously cached tokens | COMMENT |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2081 | # Expected results: | COMMENT |
| LOW | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ttention/sparse/deepseek_v4/test_deepseek_v4_o_proj.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …tion/sparse/deepseek_v4/test_deepseek_v4_sparse_mla.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …ittest/_torch/attention/sparse/deepseek_v4/__init__.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …arse/deepseek_v4/test_deepseek_v4_indices_transform.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/distributed/test_safe_mpi_comm.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …/unittest/_torch/visual_gen/test_attention_cute_dsl.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …isual_gen/test_wan21_t2v_teacache_user_coefficients.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/visual_gen/test_utils.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/visual_gen/test_teacache.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …/unittest/_torch/visual_gen/test_wan22_i2v_teacache.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ttest/_torch/visual_gen/test_attention_cute_dsl_vsa.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …/unittest/_torch/visual_gen/test_wan22_t2v_teacache.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …s/unittest/_torch/visual_gen/test_visual_gen_params.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …t/_torch/visual_gen/multi_gpu/test_attn2d_attention.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …isual_gen/multi_gpu/test_flux2_transformer_parallel.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_ltx2_ulysses.py | 101 | # ============================================================================= | COMMENT |
| LOW | …/_torch/visual_gen/multi_gpu/_visual_gen_dist_utils.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …st/_torch/visual_gen/multi_gpu/test_wan_vsa_ulysses.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …est/_torch/visual_gen/multi_gpu/test_ring_attention.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …s/unittest/_torch/visual_gen/multi_gpu/test_flux_tp.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ch/visual_gen/multi_gpu/test_ulysses_sage_attention.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …/visual_gen/multi_gpu/test_wan_transformer_parallel.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_tp_attention.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ts/unittest/_torch/visual_gen/multi_gpu/test_wan_tp.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …rch/visual_gen/multi_gpu/test_wan_pipeline_parallel.py | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| 2723 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | …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_wan22_i2v_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_wan22_i2v_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 |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | run hf pipeline with output_type='np'; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | run hf pipeline with output_type='np'; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | run hf pipeline with output_type='np'; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | run hf pipeline with output_type='np'; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | run hf pipeline with output_type='np'; return (t, h, w, c) float in [0, 1]. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_i2v_pipeline.py | 0 | run trtllm and hf pipelines sequentially, compare decoded video output. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | run trtllm and hf pipelines sequentially, compare decoded video output. | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | run trtllm and hf pipelines sequentially, compare decoded video output. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | run trtllm and hf pipelines sequentially, compare decoded video output. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | run trtllm and hf pipelines sequentially, compare decoded video output. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | load trtllm wanpipeline without torch.compile or warmup. | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | load trtllm wanpipeline without torch.compile or warmup. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | load trtllm wanpipeline without torch.compile or warmup. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_t2v_pipeline.py | 0 | i2v single prompt returns (b, t, h, w, c) for backward compatibility. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan22_i2v_pipeline.py | 0 | i2v single prompt returns (b, t, h, w, c) for backward compatibility. | STRING |
| HIGH | …/unittest/_torch/visual_gen/test_wan21_t2v_pipeline.py | 0 | i2v single prompt returns (b, t, h, w, c) for backward compatibility. | STRING |
| HIGH | …ttest/_torch/visual_gen/test_wan22_ti2v_5b_pipeline.py | 0 | i2v single prompt returns (b, t, h, w, c) for backward compatibility. | STRING |
| HIGH | …s/unittest/_torch/visual_gen/multi_gpu/test_flux_tp.py | 0 | clean up tllm_disable_mpi env var after tests complete. | STRING |
| HIGH | …ch/visual_gen/multi_gpu/test_ulysses_sage_attention.py | 0 | clean up tllm_disable_mpi env var after tests complete. | STRING |
| HIGH | …/_torch/visual_gen/multi_gpu/test_ulysses_attention.py | 0 | clean up tllm_disable_mpi env var after tests complete. | STRING |
| HIGH | …ttest/_torch/visual_gen/multi_gpu/test_flux_ulysses.py | 0 | clean up tllm_disable_mpi env var after tests complete. | STRING |
| HIGH | …ts/unittest/_torch/visual_gen/multi_gpu/test_wan_tp.py | 0 | clean up tllm_disable_mpi env var after tests complete. | STRING |
| 357 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 18 | CODE | |
| LOW | tests/conftest.py | 18 | CODE | |
| LOW | tests/conftest.py | 18 | CODE | |
| LOW | tests/unittest/conftest.py | 35 | CODE | |
| LOW | …sts/unittest/_torch/test_custom_config_registration.py | 20 | CODE | |
| LOW | …test/_torch/custom_ops/test_deepseek_v4_block_table.py | 7 | CODE | |
| LOW | …est/_torch/custom_ops/test_fused_inv_rope_fp8_quant.py | 19 | CODE | |
| LOW | …/unittest/_torch/custom_ops/test_deepseek_v4_q_norm.py | 9 | CODE | |
| LOW | …ittest/_torch/attention/sparse/test_dsa_fp4_indexer.py | 27 | CODE | |
| LOW | …nittest/_torch/attention/sparse/test_cpp_custom_ops.py | 27 | CODE | |
| LOW | …orch/attention/sparse/test_cute_dsl_gvr_topk_decode.py | 21 | CODE | |
| LOW | …st/_torch/attention/sparse/dsa/test_dsa_fp4_indexer.py | 27 | CODE | |
| LOW | …ion/sparse/deepseek_v4/test_deepseek_v4_fp4_indexer.py | 25 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_cache_dit.py | 11 | CODE | |
| LOW | …unittest/_torch/visual_gen/test_qwen_image_registry.py | 26 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_tensor_payload.py | 10 | CODE | |
| LOW | …t/_torch/visual_gen/test_qwen_image_pipeline_config.py | 12 | CODE | |
| LOW | …ts/unittest/_torch/visual_gen/test_visual_gen_utils.py | 12 | CODE | |
| LOW | tests/unittest/_torch/models/test_minimax_m3_vl.py | 16 | CODE | |
| LOW | tests/unittest/_torch/models/test_minimax_m3.py | 21 | CODE | |
| LOW | …ttest/_torch/modeling/test_multimodal_encoder_graph.py | 10 | CODE | |
| LOW | …sts/unittest/_torch/modeling/test_gemma4_multimodal.py | 35 | CODE | |
| LOW | …ttest/_torch/modeling/test_modeling_qwen3_embedding.py | 24 | CODE | |
| LOW | …/unittest/_torch/modeling/test_modeling_out_of_tree.py | 83 | CODE | |
| LOW | …parallel/test_fused_dit_gate_resid_norm_shift_scale.py | 22 | CODE | |
| LOW | …st/_torch/thop/parallel/test_weight_only_quant_gemm.py | 49 | CODE | |
| LOW | …sts/unittest/_torch/thop/parallel/test_arcquant_fp4.py | 6 | CODE | |
| LOW | …sts/unittest/_torch/thop/parallel/test_indexer_topk.py | 46 | CODE | |
| LOW | …est/_torch/thop/parallel/test_weight_only_quant_ops.py | 24 | CODE | |
| LOW | …thop/parallel_hw_agnostic/test_cuda_tile_custom_ops.py | 22 | CODE | |
| LOW | …ch/thop/parallel_hw_agnostic/test_logits_bitmask_op.py | 5 | CODE | |
| LOW | …thop/parallel_hw_agnostic/test_fused_dit_split_norm.py | 10 | CODE | |
| LOW | …st/_torch/thop/parallel_hw_agnostic/test_custom_ops.py | 5 | CODE | |
| LOW | …h/thop/parallel_hw_agnostic/test_inplace_slice_copy.py | 25 | CODE | |
| LOW | …allel_hw_agnostic/test_fused_dit_split_qk_norm_rope.py | 9 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_fused_cat_fp8.py | 39 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_moe_gate.py | 25 | CODE | |
| LOW | …s/unittest/_torch/executor/test_iter_stats_populate.py | 39 | CODE | |
| LOW | …/flashinfer/test_trtllm_flashinfer_symbol_collision.py | 33 | CODE | |
| LOW | …_deploy/unit/singlegpu/models/test_gpt_oss_modeling.py | 19 | CODE | |
| LOW | …/_torch/modules/fused_ops/test_rmsnorm_residual_add.py | 34 | CODE | |
| LOW | …/_torch/modules/fused_ops/test_rmsnorm_residual_add.py | 35 | CODE | |
| LOW | …est/_torch/modules/fused_ops/test_rmsnorm_fp4_quant.py | 37 | CODE | |
| LOW | …est/_torch/modules/fused_ops/test_rmsnorm_fp4_quant.py | 38 | CODE | |
| LOW | …orch/modules/fused_ops/test_gelu_tanh_mul_fp4_quant.py | 30 | CODE | |
| LOW | …orch/modules/fused_ops/test_gelu_tanh_mul_fp4_quant.py | 31 | CODE | |
| LOW | …t/_torch/modules/mamba/test_ssd_combined_flashinfer.py | 34 | CODE | |
| LOW | …test/_torch/modules/mamba/test_flashinfer_chunk_gdn.py | 97 | CODE | |
| LOW | …torch/modules/fused_moe/test_triton_fp8_block_scale.py | 10 | CODE | |
| LOW | …dules/fused_moe/test_deepgemm_fused_gather_finalize.py | 30 | CODE | |
| LOW | …dules/fused_moe/test_deepgemm_fused_gather_finalize.py | 37 | CODE | |
| LOW | …/modules/fused_moe/test_deepgemm_fused_expand_quant.py | 34 | CODE | |
| LOW | …/modules/fused_moe/test_deepgemm_fused_expand_quant.py | 41 | CODE | |
| LOW | tests/unittest/api_stability/test_serve_cli.py | 50 | CODE | |
| LOW | tests/unittest/api_stability/test_serve_api.py | 62 | CODE | |
| LOW | tests/unittest/api_stability/api_stability_core.py | 5 | CODE | |
| LOW | tests/unittest/api_stability/api_stability_core.py | 6 | CODE | |
| LOW | tests/unittest/api_stability/api_stability_core.py | 8 | CODE | |
| LOW | tests/unittest/api_stability/api_stability_core.py | 10 | CODE | |
| LOW | tests/unittest/api_stability/api_stability_core.py | 10 | CODE | |
| 1600 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 23 | CODE | |
| LOW | setup.py | 212 | CODE | |
| LOW | tests/unittest/conftest.py | 340 | CODE | |
| LOW | tests/unittest/gc_utils.py | 11 | CODE | |
| LOW | tests/unittest/metrics/test_collector.py | 403 | CODE | |
| LOW | tests/unittest/metrics/test_collector.py | 414 | CODE | |
| LOW | tests/unittest/_torch/helpers.py | 183 | CODE | |
| LOW | tests/unittest/_torch/misc/test_autotuner.py | 718 | 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 | 590 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 105 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 161 | CODE | |
| LOW | …ts/unittest/_torch/attention/test_attention_op_sync.py | 321 | CODE | |
| LOW | …s/unittest/_torch/attention/test_attention_backends.py | 124 | 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 | 828 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1040 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1154 | CODE | |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1660 | CODE | |
| LOW | …attention/sparse/test_cute_dsl_fp8_paged_mqa_logits.py | 578 | CODE | |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2178 | CODE | |
| LOW | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 176 | CODE | |
| LOW | …est/_torch/attention/sparse/dsa/test_dsa_sparse_mla.py | 530 | CODE | |
| LOW | …test/_torch/attention/sparse/rocketkv/test_rocketkv.py | 407 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1318 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1383 | CODE | |
| LOW | …n/sparse/deepseek_v4/test_deepseek_v4_cache_manager.py | 1592 | CODE | |
| LOW | …tion/sparse/deepseek_v4/test_deepseek_v4_sparse_mla.py | 324 | CODE | |
| LOW | …tion/sparse/deepseek_v4/test_deepseek_v4_sparse_mla.py | 452 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 1591 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2168 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2293 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2366 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2411 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2491 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2564 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 2660 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 250 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 461 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 1127 | CODE | |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 1421 | CODE | |
| LOW | …arse/deepseek_v4/test_deepseek_v4_indices_transform.py | 172 | CODE | |
| LOW | …unittest/_torch/attention/sparse/kernel/test_triton.py | 72 | CODE | |
| LOW | …unittest/_torch/attention/sparse/kernel/test_triton.py | 168 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 230 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 271 | CODE | |
| LOW | …sts/unittest/_torch/visual_gen/test_wan_transformer.py | 189 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 154 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 395 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 474 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 711 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_ltx2_pipeline.py | 204 | CODE | |
| LOW | …ts/unittest/_torch/visual_gen/test_ltx2_transformer.py | 63 | CODE | |
| LOW | …ts/unittest/_torch/visual_gen/test_ltx2_transformer.py | 88 | CODE | |
| LOW | …unittest/_torch/visual_gen/test_cosmos3_transformer.py | 137 | CODE | |
| LOW | tests/unittest/_torch/visual_gen/test_wan_vae.py | 74 | CODE | |
| LOW | …ttest/_torch/visual_gen/test_attention_cute_dsl_vsa.py | 248 | CODE | |
| 1251 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 192 | except Exception as e: | CODE |
| LOW | setup.py | 295 | except Exception as e: | CODE |
| LOW | tests/unittest/conftest.py | 447 | except Exception: | CODE |
| LOW | tests/unittest/conftest.py | 498 | except Exception: | CODE |
| MEDIUM | tests/unittest/conftest.py | 133 | 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 | 37 | 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 | 69 | except Exception: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2593 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2645 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2754 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2862 | except Exception as e: | CODE |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2914 | except Exception as e: | CODE |
| MEDIUM | …attention/sparse/deepseek_v4/test_compressor_module.py | 844 | def __del__(self): | CODE |
| LOW | …attention/sparse/deepseek_v4/test_compressor_module.py | 847 | except Exception: | CODE |
| LOW⚡ | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 1769 | 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 | 1018 | except Exception as e: | CODE |
| LOW | tests/unittest/_torch/visual_gen/test_flux_pipeline.py | 1199 | except Exception as e: | CODE |
| LOW⚡ | tests/unittest/_torch/visual_gen/test_attention_perf.py | 770 | except Exception as e: | CODE |
| LOW | tests/unittest/_torch/visual_gen/test_attention_perf.py | 604 | except Exception as e: | CODE |
| LOW | …ts/unittest/_torch/visual_gen/test_ltx2_transformer.py | 112 | except Exception: | 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 | 70 | except Exception as e: | CODE |
| MEDIUM | …ttest/_torch/visual_gen/multi_gpu/test_parallel_vae.py | 66 | 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 |
| LOW | …st/_torch/visual_gen/multi_gpu/test_wan_vsa_ulysses.py | 92 | except Exception as e: | CODE |
| MEDIUM | …st/_torch/visual_gen/multi_gpu/test_wan_vsa_ulysses.py | 88 | def _distributed_worker(rank, world_size, backend, test_fn, port, kwargs): | CODE |
| MEDIUM | …est/_torch/visual_gen/multi_gpu/test_ring_attention.py | 140 | def _distributed_worker(rank, world_size, backend, test_fn, port): | CODE |
| LOW | …est/_torch/visual_gen/multi_gpu/test_ring_attention.py | 144 | except Exception as e: | CODE |
| LOW | …s/unittest/_torch/visual_gen/multi_gpu/test_flux_tp.py | 99 | except Exception as e: | CODE |
| LOW | …test/_torch/visual_gen/multi_gpu/test_parallel_conv.py | 73 | except Exception as e: | CODE |
| MEDIUM | …test/_torch/visual_gen/multi_gpu/test_parallel_conv.py | 69 | def _distributed_worker(rank, world_size, test_fn, port): | CODE |
| LOW | …ch/visual_gen/multi_gpu/test_ulysses_sage_attention.py | 98 | except Exception as e: | CODE |
| LOW | …/visual_gen/multi_gpu/test_wan_transformer_parallel.py | 102 | except Exception as e: | CODE |
| MEDIUM | …/visual_gen/multi_gpu/test_wan_transformer_parallel.py | 98 | def _distributed_worker(rank, world_size, backend, test_fn, port, kwargs): | CODE |
| LOW | …/_torch/visual_gen/multi_gpu/test_ulysses_attention.py | 77 | except Exception as e: | CODE |
| LOW | …ual_gen/multi_gpu/test_cosmos3_transformer_parallel.py | 179 | except Exception as e: | CODE |
| MEDIUM | …ual_gen/multi_gpu/test_cosmos3_transformer_parallel.py | 161 | def cleanup_distributed(): | CODE |
| LOW | …/_torch/visual_gen/multi_gpu/test_ltx2_parallel_vae.py | 69 | except Exception as e: | CODE |
| MEDIUM | …/_torch/visual_gen/multi_gpu/test_ltx2_parallel_vae.py | 65 | def _distributed_worker(rank, world_size, test_fn, port): | CODE |
| MEDIUM | …ttest/_torch/visual_gen/multi_gpu/test_tp_attention.py | 88 | def _distributed_worker(rank, world_size, test_fn, port, *args): | CODE |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_tp_attention.py | 92 | except Exception as e: | CODE |
| LOW | …_torch/visual_gen/multi_gpu/test_parallel_attention.py | 68 | except Exception as e: | CODE |
| MEDIUM | …_torch/visual_gen/multi_gpu/test_parallel_attention.py | 64 | def _distributed_worker(rank, world_size, test_fn, port): | CODE |
| LOW | …ttest/_torch/visual_gen/multi_gpu/test_flux_ulysses.py | 82 | except Exception as e: | CODE |
| LOW | …ts/unittest/_torch/visual_gen/multi_gpu/test_wan_tp.py | 105 | except Exception as e: | CODE |
| LOW | …rch/visual_gen/multi_gpu/test_wan_pipeline_parallel.py | 148 | except Exception as e: | CODE |
| MEDIUM | …rch/visual_gen/multi_gpu/test_wan_pipeline_parallel.py | 144 | def _distributed_worker(rank, world_size, backend, test_fn, port, kwargs): | CODE |
| LOW | …_torch/visual_gen/multi_gpu/test_ltx2_async_ulysses.py | 90 | except Exception as e: | CODE |
| 920 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unittest/_torch/test_connector.py | 186 | # 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 | 212 | # Create a mock instance with a simple forward method | COMMENT |
| MEDIUM | …attention/sparse/deepseek_v4/test_compressor_module.py | 797 | # Create the Compressor | COMMENT |
| MEDIUM | tests/unittest/_torch/distributed/test_cp_broadcast.py | 139 | # Create a large list to test chunking behavior | COMMENT |
| MEDIUM | …ttest/_torch/visual_gen/test_trtllm_serve_endpoints.py | 820 | # Create a dummy reference image file | COMMENT |
| MEDIUM | …s/unittest/_torch/modeling/test_modeling_multimodal.py | 842 | # Create a dummy torch module if skipping HF inference. | COMMENT |
| MEDIUM | tests/unittest/_torch/multi_gpu/test_mnnvl_allreduce.py | 377 | # 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 | 125 | # Create a mock request | COMMENT |
| MEDIUM | …/unittest/_torch/executor/test_pytorch_model_engine.py | 657 | # Create a dedicated execution stream | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_resource_manager.py | 259 | # Create the PeftCacheConfig with parameter names that match the expected API | COMMENT |
| MEDIUM | tests/unittest/_torch/executor/test_resource_manager.py | 713 | # 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 | 868 | # Create a dedicated execution stream | COMMENT |
| MEDIUM | …nittest/_torch/executor/test_executor_request_queue.py | 286 | # Create a mock request without sampling_config to avoid beam validation | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 166 | # Create a mock KV cache manager | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 327 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 873 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 927 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 1053 | # Create the LLM instance | COMMENT |
| MEDIUM | tests/unittest/_torch/speculative/test_eagle3.py | 1113 | # Create the LLM instance | COMMENT |
| MEDIUM | …s/unittest/_torch/speculative/hw_agnostic/test_pard.py | 65 | # 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 | …culative/hw_agnostic/test_draft_token_tree_sampling.py | 60 | # Create the chain drafter | 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 | 2963 | # Create a mock module with required attributes for NVFP4CutlassFusedMoEMethod.get_weights_shapes test. | COMMENT |
| MEDIUM⚡ | tests/unittest/_torch/modules/moe/test_moe_backend.py | 732 | # 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 | 261 | # Create a MethodSnapshot for Pydantic model's __init__, | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 341 | # Create a temporary JSON file for testing | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 368 | # Create a temporary file | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 566 | # Create the diagram | COMMENT |
| MEDIUM | tests/unittest/others/test_time_breakdown.py | 625 | # Create the diagram | COMMENT |
| MEDIUM | tests/unittest/others/test_leak.py | 62 | # Create a TRT builder to warm up the memory, and avoid the noise of leak detection. | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_remoteDictionary.py | 59 | # Create a clean etcd client for test setup/teardown | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_remoteDictionary.py | 62 | # 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_grpc.py | 949 | # Create a synthetic RGBA image to test RGB conversion | 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 | 309 | # Create a proper output mock | COMMENT |
| MEDIUM | …_deploy/multigpu/custom_ops/test_ad_dist_strategies.py | 331 | # 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 |
| 218 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1460 | # Step 2: Run TRT-LLM forward to populate actual KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1590 | # Step 1: Call indexer to get topk indices (indexer internally uses its compressor) | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1603 | # Step 2: Call MLA's compressor to compress KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1614 | # 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/thop/parallel/test_fp4_linear.py | 544 | # Step 3: For each backend, capture and immediately test all tactics | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 600 | # 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 | 103 | # Step 1: Repack weights to Marlin tiled format | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 115 | # Step 2: Process weight scales for Marlin kernel | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 124 | # Step 3: Process global scale (includes exponent bias correction) | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 464 | # Step 3: first 2 complete, now context 2,3 get scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 540 | # Step 1: slot 0 — req0, req1 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 545 | # Step 2: slot 1 — req0/req1 still inflight, req2/req3 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 550 | # Step 3: slot 0 freed (inflight = slot1 only) — req0/req1 scheduled again | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 436 | # Step 1: 4 context requests, only 2 fit | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 449 | # Step 2: first 2 become generation, remaining 2 still context | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2801 | # Step 1: Apply pre_quant_scale (AWQ smoothing) if present | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2805 | # Step 2: Quantize activation to FP8 and dequantize back (Q/DQ simulation) | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2813 | # Step 3: Dequantize weight | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2820 | # Step 4: Compute matmul and scale output | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 265 | # Step 3: s2 uniquely least (10 < 100 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 269 | # Step 4: s0 uniquely least (100 < 410 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 273 | # Step 5: s2 uniquely least (410 < 500 < 2100) | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 949 | # 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 | 963 | # Step 2: Generation side submits receive requests | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 993 | # 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 | 1008 | # Step 2: Context side calls prepare_context_requests, now context side knows the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1018 | # 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 | 241 | # Step 1: Split gate_up into w1 and w3 | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 251 | # Step 2: Split down into w2 | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 113 | # Step 1: Decompose — rmsnorm should be expanded into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 117 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 125 | # Step 3: Generate kernel | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 293 | # Step 1: Decompose — rmsnorm decomposes into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 297 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 314 | # Step 3: Generate Triton kernel from the novel subgraph | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 408 | # Step 1: FX → MLIR | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 412 | # Step 2: Decompose | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 416 | # Step 3: Discover | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 421 | # Step 4: Generate kernel + replace | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 426 | # Step 5: MLIR → FX | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 430 | # Step 6: Run the new graph and verify correctness | COMMENT |
| LOW | tests/integration/defs/common.py | 984 | # Step 1: Get base model outputs (no LoRA) as the ground truth. | COMMENT |
| LOW | tests/integration/defs/common.py | 1017 | # Step 2: Run with LoRA adapters and compare against base outputs. | COMMENT |
| LOW⚡ | …egration/defs/disaggregated/test_disaggregated_etcd.py | 321 | # Step 1: Start etcd server | COMMENT |
| LOW⚡ | …egration/defs/disaggregated/test_disaggregated_etcd.py | 326 | # Step 2: Clean etcd data | COMMENT |
| 386 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1460 | # Step 2: Run TRT-LLM forward to populate actual KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1590 | # Step 1: Call indexer to get topk indices (indexer internally uses its compressor) | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1603 | # Step 2: Call MLA's compressor to compress KV cache | COMMENT |
| LOW | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1614 | # 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/thop/parallel/test_fp4_linear.py | 544 | # Step 3: For each backend, capture and immediately test all tactics | COMMENT |
| LOW | tests/unittest/_torch/thop/parallel/test_fp4_linear.py | 600 | # 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 | 103 | # Step 1: Repack weights to Marlin tiled format | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 115 | # Step 2: Process weight scales for Marlin kernel | COMMENT |
| LOW⚡ | …/unittest/_torch/thop/serial/test_nvfp4_marlin_gemm.py | 124 | # Step 3: Process global scale (includes exponent bias correction) | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 464 | # Step 3: first 2 complete, now context 2,3 get scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 540 | # Step 1: slot 0 — req0, req1 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 545 | # Step 2: slot 1 — req0/req1 still inflight, req2/req3 scheduled | COMMENT |
| LOW⚡ | tests/unittest/_torch/executor/test_py_scheduler.py | 550 | # Step 3: slot 0 freed (inflight = slot1 only) — req0/req1 scheduled again | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 436 | # Step 1: 4 context requests, only 2 fit | COMMENT |
| LOW | tests/unittest/_torch/executor/test_py_scheduler.py | 449 | # Step 2: first 2 become generation, remaining 2 still context | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2801 | # Step 1: Apply pre_quant_scale (AWQ smoothing) if present | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2805 | # Step 2: Quantize activation to FP8 and dequantize back (Q/DQ simulation) | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2813 | # Step 3: Dequantize weight | COMMENT |
| LOW⚡ | tests/unittest/_torch/modules/moe/quantize_utils.py | 2820 | # Step 4: Compute matmul and scale output | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 265 | # Step 3: s2 uniquely least (10 < 100 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 269 | # Step 4: s0 uniquely least (100 < 410 < 500) | COMMENT |
| LOW⚡ | tests/unittest/disaggregated/test_router.py | 273 | # Step 5: s2 uniquely least (410 < 500 < 2100) | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 949 | # 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 | 963 | # Step 2: Generation side submits receive requests | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 993 | # 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 | 1008 | # Step 2: Context side calls prepare_context_requests, now context side knows the requests | COMMENT |
| LOW⚡ | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 1018 | # 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 | 241 | # Step 1: Split gate_up into w1 and w3 | COMMENT |
| LOW⚡ | …inglegpu/transformations/library/test_bmm_moe_hooks.py | 251 | # Step 2: Split down into w2 | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 113 | # Step 1: Decompose — rmsnorm should be expanded into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 117 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 125 | # Step 3: Generate kernel | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 293 | # Step 1: Decompose — rmsnorm decomposes into primitives | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 297 | # Step 2: Discover fusible subgraphs | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 314 | # Step 3: Generate Triton kernel from the novel subgraph | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 408 | # Step 1: FX → MLIR | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 412 | # Step 2: Decompose | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 416 | # Step 3: Discover | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 421 | # Step 4: Generate kernel + replace | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 426 | # Step 5: MLIR → FX | COMMENT |
| LOW⚡ | …o_deploy/singlegpu/mlir/test_elementwise_fusion_e2e.py | 430 | # Step 6: Run the new graph and verify correctness | COMMENT |
| LOW | tests/integration/defs/common.py | 984 | # Step 1: Get base model outputs (no LoRA) as the ground truth. | COMMENT |
| LOW | tests/integration/defs/common.py | 1017 | # Step 2: Run with LoRA adapters and compare against base outputs. | COMMENT |
| LOW⚡ | …egration/defs/disaggregated/test_disaggregated_etcd.py | 321 | # Step 1: Start etcd server | COMMENT |
| LOW⚡ | …egration/defs/disaggregated/test_disaggregated_etcd.py | 326 | # Step 2: Clean etcd data | COMMENT |
| 256 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1184 | mla_layer.mqa.indexer.wq_b.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1186 | mla_layer.mqa.indexer.wk.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1188 | mla_layer.mqa.indexer.weights_proj.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1198 | mla_layer.mqa.indexer.wq_b.weight.normal_(mean=0.0, | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1200 | mla_layer.mqa.indexer.weights_proj.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1205 | mla_layer.mqa.indexer.compressor.wkv_gate.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1207 | mla_layer.mqa.indexer.compressor.ape.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1210 | mla_layer.mqa.indexer.compressor.norm.weight.fill_(1.0) | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1214 | mla_layer.mqa.compressor.wkv_gate.weight.normal_( | CODE |
| CRITICAL⚡ | …est/_torch/attention/sparse/test_sparse_mla_forward.py | 1219 | mla_layer.mqa.compressor.norm.weight.fill_(1.0) | CODE |
| CRITICAL⚡ | …test/_torch/attention/sparse/dsa/test_short_seq_mha.py | 302 | 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 | 303 | 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 | 304 | mla.mqa.indexer.weights_proj.weight.normal_(mean=0.0, std=NN_INIT_STD) | CODE |
| CRITICAL | …attention/sparse/deepseek_v4/test_compressor_module.py | 1518 | comp.compressor.norm.weight.data.copy_(ref.norm.weight.data) | 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 | 1037 | layer.self_attn.k_norm.weight.data.normal_(0, 0.5) | 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 | 339 | 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 | 1469 | 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 | 1470 | 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 | 1471 | 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 | 1476 | 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 | 1477 | 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 | 1478 | 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 | 1479 | 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 | 375 | 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 |
|---|---|---|---|---|
| HIGH | tests/unittest/tools/test_prepare_dataset.py | 52 | Build the base command for running prepare_dataset.py. Args: output_path: Path to the outp | STRING |
| HIGH | tests/unittest/tools/test_prepare_dataset.py | 112 | Execute prepare_dataset.py with specified parameters and capture output. Args: llm | STRING |
| HIGH | …/unittest/auto_deploy/_utils_test/_model_test_utils.py | 616 | 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 | 426 | 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 | …pts/cute_dsl_kernels/run_dense_bf16_gemm_persistent.py | 101 | 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/lora_manager.py | 70 | Extract and organize NeMo LoRA weights by layer and direction. Args: lora_weights: Dictionary mapping weigh | STRING |
| HIGH | tensorrt_llm/lora_manager.py | 116 | Iterate over HuggingFace LoRA weights and call iterator function for each weight. Args: iter_fn: Function t | STRING |
| HIGH | tensorrt_llm/lora_manager.py | 323 | Find .nemo files from a single path (file or directory). This function is cached per individual path to maximize ca | STRING |
| HIGH | tensorrt_llm/lora_manager.py | 358 | 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/lora_manager.py | 523 | Unpack model config and weights from a NeMo .nemo archive file. Args: nemo_archive_path: Path to the .nemo | STRING |
| HIGH | tensorrt_llm/_torch/weight_sharing/source_identity.py | 523 | Decide whether a receiver may consume `source`'s shared weights. Args: local: The receiver's own identity. | 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 | 126 | 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 | 113 | 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 | 1621 | 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/layer.py | 93 | Convert a string to the corresponding LoraModuleType. Args: name: The string name of the module typ | STRING |
| HIGH | tensorrt_llm/_torch/pyexecutor/request_utils.py | 248 | 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 | 462 | 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 | 231 | 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 | 679 | 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 | 949 | 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 | …rrt_llm/_torch/modules/fused_moe/fused_moe_deepgemm.py | 947 | Run MoE computation with DeepGemm backend. This method encapsulates the core MoE computation logic, ha | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/interface.py | 879 | Quantize input tensor - unified interface for all MoE backends NOTE: This is a temporary interface. In | STRING |
| HIGH | …t_llm/_torch/modules/fused_moe/fused_moe_trtllm_gen.py | 687 | Run MoE computation with TRTLLMGen backend. This method encapsulates the core MoE computation logic, h | STRING |
| HIGH | …rrt_llm/_torch/modules/fused_moe/fused_moe_cute_dsl.py | 814 | Run MoE computation with CuteDSL backend. This method encapsulates the core MoE computation logic, han | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/routing.py | 1086 | Generate GPU-aware load balanced expert indices with rank-aware scheduling. Dispatch kernel background | STRING |
| HIGH | tensorrt_llm/_torch/modules/fused_moe/routing.py | 1622 | 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 |
| HIGH | tensorrt_llm/_torch/modules/dwdp/vmm.py | 93 | Align value down to the nearest multiple of alignment. Args: value: Value to align. alignment: Alig | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/vmm.py | 213 | Create a peer-shareable memory handle. The handle type is selected by ``peer_handle_type()``: FABRIC on aarch64 | STRING |
| HIGH | tensorrt_llm/_torch/modules/dwdp/vmm.py | 235 | Create a local (non-shareable) memory handle. Uses CU_MEM_HANDLE_TYPE_NONE — the handle cannot be exported to other | STRING |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ittest/_torch/weight_sharing/_source_identity_fakes.py | 94 | CODE | |
| LOW | tests/unittest/_torch/misc/test_virtual_memory.py | 240 | CODE | |
| LOW | …ttest/_torch/attention/sparse/test_sparse_attention.py | 457 | CODE | |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 465 | CODE | |
| LOW | …ttention/sparse/deepseek_v4/test_deepseek_v4_o_proj.py | 104 | CODE | |
| LOW | …ittest/_torch/visual_gen/test_attention_integration.py | 86 | CODE | |
| LOW | …ittest/_torch/visual_gen/test_attention_integration.py | 121 | 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 | …unittest/_torch/visual_gen/test_cosmos3_transformer.py | 154 | CODE | |
| LOW | …ts/unittest/_torch/modeling/test_modeling_step3p7vl.py | 98 | CODE | |
| LOW | tests/unittest/_torch/multi_gpu/test_user_buffers.py | 437 | CODE | |
| LOW | tests/unittest/_torch/multi_gpu/test_user_buffers.py | 1140 | 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 | 94 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_moe.py | 523 | CODE | |
| LOW | tests/unittest/_torch/thop/serial/test_moe.py | 554 | CODE | |
| LOW | …tor/multi_gpu/test_accuracy_with_allreduce_strategy.py | 71 | CODE | |
| LOW | …unittest/_torch/executor/test_kv_cache_v2_scheduler.py | 182 | CODE | |
| LOW | tests/unittest/_torch/executor/test_benchmark_disagg.py | 72 | CODE | |
| LOW | tests/unittest/_torch/executor/test_benchmark_disagg.py | 482 | CODE | |
| LOW | …s/unittest/_torch/executor/test_iter_stats_populate.py | 596 | CODE | |
| LOW | …sts/unittest/_torch/executor/test_kv_pool_rebalance.py | 42 | CODE | |
| LOW | …test/_torch/executor/test_kv_cache_v2_extra_buffers.py | 29 | CODE | |
| LOW | …ts/unittest/_torch/executor/test_per_layer_head_dim.py | 34 | CODE | |
| LOW | tests/unittest/_torch/modules/test_fused_moe.py | 1466 | CODE | |
| LOW | …test/_torch/modules/mamba/test_mamba2_mtp_ssm_cache.py | 22 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 435 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 496 | CODE | |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 822 | 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 | 228 | CODE | |
| LOW | …/kv_cache_manager_v2_tests/test_kv_cache_manager_v2.py | 1012 | CODE | |
| LOW | …/kv_cache_manager_v2_tests/test_kv_cache_manager_v2.py | 1939 | 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 | 78 | CODE | |
| LOW | tests/unittest/disaggregated/region/test_block.py | 17 | CODE | |
| LOW | tests/unittest/llmapi/test_utils.py | 57 | CODE | |
| LOW | tests/unittest/llmapi/lora_test_utils.py | 186 | CODE | |
| LOW | tests/unittest/llmapi/apps/openai_server.py | 22 | CODE | |
| LOW | tests/unittest/executor/test_stats_serializer.py | 48 | CODE | |
| LOW | …y/multigpu/transformations/library/test_tp_sharding.py | 282 | 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 | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 419 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 923 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 1029 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 1118 | CODE | |
| LOW | …egpu/transformations/library/test_attention_matcher.py | 1156 | CODE | |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 111 | CODE | |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 186 | CODE | |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 604 | CODE | |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 1438 | CODE | |
| LOW | …y/singlegpu/transformations/library/test_moe_fusion.py | 1491 | CODE | |
| LOW | …_deploy/singlegpu/models/test_skywork_r1v2_modeling.py | 63 | CODE | |
| 357 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 488 | # 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 | 638 | # 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 | …ittest/_torch/multimodal/test_mm_encoder_standalone.py | 749 | # the tensor's contents), while others should actually differ (those pertaining to the underlying | COMMENT |
| MEDIUM | …sts/unittest/_torch/lora/test_moe_lora_grouped_gemm.py | 463 | # *reassignment* invariant, and uses a precision-robust discriminative check | 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 | 57 | # ``compute_peer_ranges`` itself stays robust. | COMMENT |
| MEDIUM | tests/unittest/_torch/modules/moe/test_moe_module.py | 1004 | # fused kernel, so the test harness must NOT force a host | COMMENT |
| MEDIUM | tests/unittest/others/test_kv_cache_transceiver.py | 514 | # Drive the transfer to completion so the harness tears down cleanly. | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 52 | # The helpers are mirrored from lm-evaluation-harness so the behaviour must | COMMENT |
| MEDIUM⚡ | tests/unittest/others/test_lm_eval.py | 168 | # can override the greedy defaults baked into lm-eval-harness task YAMLs. | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_llm_pytorch.py | 160 | # anyways more robust than delegating cleanup to __del__. | COMMENT |
| MEDIUM | tests/unittest/llmapi/test_llm_pytorch.py | 176 | # anyways more robust than delegating cleanup to __del__. | COMMENT |
| MEDIUM⚡ | tests/unittest/llmapi/test_gms_args.py | 76 | # field path so the assertion is robust across Pydantic 2.x error | 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 |
| MEDIUM | …ansformations/library/test_sharding_num_correctness.py | 669 | # quant). Skip them for nvfp4 until the tiny-config FP4 harness is | COMMENT |
| MEDIUM | …ansformations/library/test_sharding_num_correctness.py | 696 | # *pre-existing* sharding-compat issues unrelated to this test harness. | COMMENT |
| MEDIUM | …ansformations/library/test_sharding_num_correctness.py | 829 | # legacy source we can drive from this standalone-export harness. | COMMENT |
| MEDIUM | …ansformations/library/test_sharding_num_correctness.py | 227 | # tiny harness reproduce the real fused-kernel bug -- something the unfused | STRING |
| MEDIUM | …u/transformations/library/test_attention_matcher_hf.py | 104 | # TODO (lucaslie, #4783): don't check for causal mask until we have more robust handling | COMMENT |
| LOW | …to_deploy/singlegpu/models/test_modeling_nemotron_h.py | 186 | # 2. Can't get `padding` / `truncation` to work without other steps so just use the prompts | COMMENT |
| LOW | …st/auto_deploy/singlegpu/models/test_hybrid_patches.py | 89 | # 2. Can't get `padding` / `truncation` to work without other steps so just use the prompts | COMMENT |
| MEDIUM | …/integration/defs/stress_test/disagg_cancel/harness.py | 93 | # Full YAML subtree, for fields the harness consumes lazily | COMMENT |
| MEDIUM⚡ | …ration/defs/stress_test/disagg_cancel/test_injector.py | 195 | # Injector thread integration (harness wiring) | COMMENT |
| MEDIUM | …integration/defs/stress_test/disagg_cancel/_testing.py | 34 | # Minimal valid marathon YAML for tests that only need the harness to | COMMENT |
| MEDIUM⚡ | …ion/defs/stress_test/disagg_cancel/test_log_scanner.py | 418 | # Tests: _LogSource unit behaviour (without the harness wrapper) | COMMENT |
| MEDIUM⚡ | …st/disagg_cancel/configs/marathon_cpp_v1_deepseek.yaml | 51 | # Stress harness configuration (consumed by harness.py::StressConfig). | COMMENT |
| MEDIUM | tests/integration/defs/deterministic/payload.json | 4 | "content": "DOCUMENTS:\n[\n {\n \"id\": \"doc_1\",\n \"title\": \"Employee Benefits - India\",\n \"con | CODE |
| MEDIUM | tests/integration/defs/deterministic/payload.json | 4 | "content": "DOCUMENTS:\n[\n {\n \"id\": \"doc_1\",\n \"title\": \"Employee Benefits - India\",\n \"con | CODE |
| MEDIUM | …ntegration/defs/accuracy/test_epd_disagg_multimodal.py | 13 | # harness. Placing them on different physical GPUs silently corrupts the | COMMENT |
| MEDIUM | tests/integration/defs/accuracy/accuracy_core.py | 532 | # NOTE: LongBench v1 is driven by lm-evaluation-harness task configs. | COMMENT |
| MEDIUM | …tegration/defs/accuracy/test_llm_api_pytorch_encode.py | 412 | # Chosen to be robust to near-tie argmax flips under FP16/BF16 rounding | COMMENT |
| MEDIUM | tests/integration/defs/accuracy/references/mmmu.yaml | 52 | # While enabling reasoning for current test harness is not supported, the metric here is for model | COMMENT |
| MEDIUM⚡ | …/defs/examples/visual_gen/test_visual_gen_multi_gpu.py | 74 | # Distributed helpers (mirrors unittest multi_gpu harness) | COMMENT |
| MEDIUM | tests/integration/defs/perf/session_data_writer.py | 42 | # Perf specific session properties and values to utilize | COMMENT |
| MEDIUM | tests/microbenchmarks/all_reduce.py | 375 | # ── nccl-tests style comprehensive benchmark (--benchmark mode) ────────────── | COMMENT |
| MEDIUM | …enchmarks/attention_perf/test_attention_perf_module.py | 72 | # independent session) and gates on the median-of-medians, which is robust to a | COMMENT |
| MEDIUM | …enchmarks/attention_perf/test_attention_perf_module.py | 355 | # harness extensions — added in follow-ups. | COMMENT |
| MEDIUM | …enchmarks/attention_perf/test_attention_perf_module.py | 431 | # routes the harness to the latent-KV two-call forward (mla_rope_generation -> | COMMENT |
| MEDIUM | …enchmarks/attention_perf/test_attention_perf_module.py | 433 | # qk_rope 64, v 128 (harness defaults). use_paged_context_fmha is forced False | COMMENT |
| MEDIUM | …enchmarks/attention_perf/test_attention_perf_module.py | 505 | # attention path. is_dsa routes the harness to an MLA module whose backend is | COMMENT |
| MEDIUM | …crobenchmarks/attention_perf/attention_perf_harness.py | 178 | # MLA (DeepSeek-style latent attention). When True the harness uses the MLA | COMMENT |
| MEDIUM | …crobenchmarks/attention_perf/attention_perf_harness.py | 192 | # DSA (DeepSeek-V3.2 sparse attention). When True the harness uses the DSA | COMMENT |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 268 | # Check if file matches any pattern using fnmatch (same as wheel extraction) | COMMENT |
| LOW | …ittest/_torch/attention/sparse/dsa/test_dsa_indexer.py | 2357 | # Check if exactly the same | COMMENT |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 2623 | # Print results | COMMENT |
| LOW | …attention/sparse/deepseek_v4/test_compressor_kernel.py | 2739 | # Print results | COMMENT |
| LOW | …arse/deepseek_v4/test_deepseek_v4_indices_transform.py | 65 | # Set compressed_topk to 2048 to test all compressed tokens | COMMENT |
| LOW | …s/unittest/_torch/modeling/test_modeling_starcoder2.py | 334 | # Check if we have enough GPU memory (need ~10GB for StarCoder2-3B + LoRA) | 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 | 498 | # Check if the logprob matches the top-rank logprob from the logits | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_logits_logprobs.py | 508 | # Check if the logprob matches the token-id logprob from the logits | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_torch_sampler.py | 1026 | # Check if sizes are correct | COMMENT |
| LOW | tests/unittest/_torch/sampler/test_torch_sampler.py | 1037 | # 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 | 84 | # Check if any process is still alive and terminate if needed | COMMENT |
| LOW | tests/unittest/_torch/modules/test_moe_host_sharer.py | 41 | # Check if the data matches the expected pattern | COMMENT |
| LOW | tests/unittest/_torch/modules/test_moe_host_sharer.py | 154 | # Check if all expert tensors are correctly shared and stored in all_tensors | COMMENT |
| LOW | tests/unittest/_torch/modules/moe/test_moe_module.py | 309 | # Check if we should run full tactic replay | COMMENT |
| LOW | tests/unittest/_torch/modules/moe/test_moe_backend.py | 990 | # Check if this backend+quant_algo combination supports autotuner capture/replay | COMMENT |
| LOW | tests/unittest/tools/test_test_to_stage_mapping.py | 239 | # Check if stage name contains the backend identifier | COMMENT |
| LOW | tests/unittest/scaffolding/test_mcp_worker.py | 145 | # Check if process exited unexpectedly | COMMENT |
| LOW | tests/unittest/scaffolding/test_mcp_worker.py | 149 | # Check if timeout occurred | COMMENT |
| LOW | …unittest/disaggregated/test_py_cache_transceiver_mp.py | 778 | # Print results and assert on rank 0 | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_args.py | 2222 | # Check if this field is exempt (check class and all parent classes) | COMMENT |
| LOW | tests/unittest/llmapi/test_llm_args.py | 2394 | # Check if the default is a mutable type instance | COMMENT |
| LOW | tests/unittest/llmapi/apps/_test_openai_prometheus.py | 167 | # 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 | 398 | # Check if this is an MoE expert weight | COMMENT |
| LOW | tests/unittest/bindings/test_executor_bindings.py | 781 | # Check if finish reason is correct. | COMMENT |
| LOW | tests/integration/defs/conftest.py | 1930 | # Check if nvidia-smi returned a valid numeric value | COMMENT |
| LOW | tests/integration/defs/conftest.py | 2285 | # Check if any suite name matches the test name | COMMENT |
| LOW | tests/integration/defs/common.py | 1232 | # Check if the port is free | COMMENT |
| LOW | tests/integration/defs/test_e2e.py | 1739 | # Set max_seq_len to 4096 to use short rope factor. | COMMENT |
| LOW | tests/integration/defs/test_e2e.py | 1859 | # 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 | 2252 | # Check if process completed successfully | COMMENT |
| LOW | …s/integration/defs/accuracy/test_llm_api_autodeploy.py | 429 | # Set explicitly to match default build_config behavior | COMMENT |
| LOW | …ntegration/defs/accuracy/test_disaggregated_serving.py | 75 | # Check if the command executed successfully | COMMENT |
| LOW | …integration/defs/examples/run_llm_quickstart_atexit.py | 23 | # Print the outputs. | COMMENT |
| LOW | …tegration/defs/examples/run_llm_fp8_quant_llama_70b.py | 33 | # 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/examples/test_flux.py | 24 | # Check if CLIP is available | COMMENT |
| LOW | tests/integration/defs/sysinfo/get_sysinfo.py | 251 | #Set is_remote to False temporarily | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 101 | # Set trigger_mr_commit to commit | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 157 | # Check if all valid values are identical | COMMENT |
| LOW | tests/integration/defs/perf/perf_regression_utils.py | 346 | # Check if this metric is regressive (only for key regression metrics) | COMMENT |
| LOW | tests/integration/defs/perf/test_perf.py | 637 | # Check if device subtype is present (for autodeploy tests) | COMMENT |
| 182 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 247 | subprocess.check_call("pip3 install --ignore-installed pip || true", | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 249 | subprocess.check_call("pip3 install --ignore-installed setuptools || true", | CODE |
| HIGH⚡ | tests/unittest/test_pip_install.py | 251 | subprocess.check_call("pip3 install --ignore-installed wheel || true", | CODE |
| HIGH⚡ | …ts/unittest/_torch/visual_gen/test_visual_gen_utils.py | 315 | """Schema-aware null sentinel: ``{"stg_scale": null}`` does not | STRING |
| HIGH⚡ | …ts/unittest/_torch/visual_gen/test_visual_gen_utils.py | 334 | null}`` reach the engine as a silent no-op.""" | STRING |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 84 | return token == other.token && layer == other.layer && role == other.role && beam == other.beam; | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 106 | if (idxToken < numTokens && idxHead < numHeads) { | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 111 | if (sleepTime > 0 && tid == 0) { | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 137 | if (idxToken < numTokens && idxHead < numHeads) { | CODE |
| HIGH | tests/unittest/kv_cache_manager_v2_tests/kernels.py | 142 | if (sleepTime > 0 && tid == 0) { | CODE |
| HIGH | tests/unittest/usage/test_llmapi_config_capture.py | 619 | """None on an Optional allowlist field is captured as null, not excluded. | STRING |
| HIGH⚡ | tests/unittest/llmapi/apps/test_tool_parsers.py | 1185 | "command": "pwd && ls" | CODE |
| HIGH | tests/unittest/llmapi/apps/test_tool_parsers.py | 1155 | "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 | tensorrt_llm/lora_manager.py | 825 | "enable_lora": null, | STRING |
| HIGH | …m/_torch/visual_gen/models/cosmos3/pipeline_cosmos3.py | 175 | "- `pip install cosmos_guardrail==0.3.0 && pip uninstall opencv-python`" | CODE |
| 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 | 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 | 69 | ``{"stg_sclae": null}`` produce a 200 with retained defaults. | STRING |
| HIGH | tensorrt_llm/serve/harmony_adapter.py | 1462 | # 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 | 1638 | }}).filter(function(t) {{ return t !== null; }}); | CODE |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1643 | pageYLabels.push('Req ' + reqId + ' (GPU)'); | CODE |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1644 | pageYLabels.push('Req ' + reqId + ' (CPU)'); | CODE |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1650 | if (trace.base && trace.x) {{ | CODE |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1621 | indices.push(i); | CODE |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1625 | if (indices.length === 0) return null; | CODE |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1868 | if (y === cpuLabel || y === gpuLabel) {{ | STRING |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1869 | indices.push(i); | STRING |
| HIGH⚡ | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1873 | if (indices.length === 0) return null; | STRING |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1815 | var originalData = null; | STRING |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1816 | var plotDiv = null; | STRING |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1827 | if (data.points && data.points.length > 0) {{ | STRING |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1886 | }}).filter(function(t) {{ return t !== null; }}); | STRING |
| HIGH | …rrt_llm/serve/scripts/time_breakdown/time_breakdown.py | 1891 | if (trace.base && trace.x) {{ | STRING |
| HIGH | tensorrt_llm/inputs/multimodal.py | 825 | and the content together: BLAKE3(UUID || Content). This ensures: | STRING |
| HIGH | tensorrt_llm/inputs/multimodal.py | 849 | """Hash UUID and content together: BLAKE3(UUID || Content). | STRING |
| HIGH | cpp/kernels/fmha_v2/setup.py | 1618 | USE_TMA_STORE && false, | STRING |
| HIGH | cpp/kernels/fmha_v2/setup.py | 1639 | USE_TMA_STORE && false, | STRING |
| HIGH | cpp/kernels/fmha_v2/setup.py | 1660 | USE_TMA_STORE && false, | STRING |
| HIGH | cpp/kernels/fmha_v2/setup.py | 2518 | code = 'if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b > {unroll_threshold})))'.format( | STRING |
| HIGH | cpp/kernels/fmha_v2/setup.py | 2521 | code = 'if (!{has_noloop} || (!force_unroll && (ignore_b1opt || b * h > {unroll_threshold})))'.format( | STRING |
| HIGH | examples/mmlu.py | 21 | tar -xf data/mmlu.tar -C data && mv data/data data/mmlu | STRING |
| HIGH | examples/scaffolding/mcp/coder/coder_mcp.py | 118 | "NR >= start && (max_lines < 0 || printed < max_lines) { " | CODE |
| HIGH | examples/scaffolding/contrib/Coder/run_swebench.py | 367 | "Start it with `apiary init && apiary daemon --bind ...`." | CODE |
| HIGH | examples/scaffolding/contrib/Coder/run_coder.py | 123 | "Start it with `apiary init && apiary daemon --bind ...`." | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unittest/_torch/visual_gen/test_cache_dit.py | 172 | def set_timesteps(self, n: int, device=None) -> 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/moe/test_moe_backend.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …cache_manager_v2_tests/test_kv_cache_stats_behavior.py | 85 | 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 | 775 | 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⚡ | tests/unittest/scripts/test_fetch_cache.py | 165 | 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 | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …sts/unittest/executor/test_fatal_error_health_check.py | 42 | 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 | 62 | 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/__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 | 487 | 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 | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/microbenchmarks/bench_moe/cli.py | 663 | 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/__init__.py | 149 | __all__ = [ | CODE |
| LOW | tensorrt_llm/lora_manager.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | tensorrt_llm/metrics/__init__.py | 5 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/virtual_memory.py | 14 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/__init__.py | 3 | __all__ = ["LLM"] | CODE |
| LOW | tensorrt_llm/_torch/llm.py | 13 | __all__ = ['LLM'] | CODE |
| LOW | tensorrt_llm/_torch/mmap_utils.py | 27 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/hostfunc.py | 12 | def set_low_latency_dispatch(enabled: bool) -> None: | CODE |
| LOW | tensorrt_llm/_torch/expert_statistic.py | 38 | def set_iter(iter_id: int) -> None: | CODE |
| LOW | tensorrt_llm/_torch/expert_statistic.py | 43 | def set_layer(layer_id: int) -> None: | CODE |
| LOW | tensorrt_llm/_torch/expert_statistic.py | 67 | def _set_iter(self, iter_id: int) -> None: | CODE |
| LOW | tensorrt_llm/_torch/expert_statistic.py | 82 | def _set_layer(self, layer: int) -> None: | CODE |
| LOW | tensorrt_llm/_torch/weight_sharing/__init__.py | 27 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/shared_tensor/__init__.py | 7 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/shared_tensor/shared_tensor.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rt_llm/_torch/custom_ops/cute_dsl_megamoe_custom_op.py | 52 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/custom_ops/__init__.py | 21 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/custom_ops/torch_custom_ops.py | 2404 | def set_stream(stream_id: int) -> None: | CODE |
| LOW | …rt_llm/_torch/disaggregation/native/bounce/__init__.py | 34 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/memory/__init__.py | 18 | __all__ = ["GPUMemoryBackend", "GMSBackend"] | CODE |
| LOW | tensorrt_llm/_torch/distributed/__init__.py | 11 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/pipeline_loader.py | 145 | def _setup_visual_gen_mapping(self, config: DiffusionPipelineConfig) -> None: | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/__init__.py | 21 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/pipeline.py | 490 | def _setup_cache_acceleration(self) -> None: | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/cache/__init__.py | 10 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/checkpoints/__init__.py | 5 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/models/__init__.py | 42 | __all__ = [ | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/models/ltx2/__init__.py | 8 | __all__ = [ | CODE |
| LOW | …_llm/_torch/visual_gen/models/ltx2/transformer_ltx2.py | 2052 | def set_ulysses_enabled(self, enabled: bool) -> None: | CODE |
| LOW | …lm/_torch/visual_gen/models/ltx2/ltx2_core/__init__.py | 48 | __all__ = [ | CODE |
| LOW | …visual_gen/models/ltx2/ltx2_core/audio_vae/__init__.py | 10 | __all__ = [ | CODE |
| LOW | …visual_gen/models/ltx2/ltx2_core/video_vae/__init__.py | 9 | __all__ = [ | CODE |
| LOW | …l_gen/models/ltx2/ltx2_core/video_vae/normalization.py | 7 | __all__ = ["PixelNorm", "build_normalization_layer"] | CODE |
| LOW | tensorrt_llm/_torch/visual_gen/models/flux/__init__.py | 11 | __all__ = [ | CODE |
| LOW | …rt_llm/_torch/visual_gen/models/qwen_image/__init__.py | 25 | __all__ = [ | CODE |
| 201 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ittest/_torch/modeling/test_modeling_qwen3_5_vl_moe.py | 170 | # --- Layered parity test scaffold ------------------------------------------- | COMMENT |
| MEDIUM | …s/unittest/_torch/modeling/test_modeling_qwen3_5_vl.py | 188 | # --- 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 | 490 | # format, thinking-mode chain-of-thought, empty output, etc.). | COMMENT |
| MEDIUM | tests/unittest/disaggregated/test_mamba_transfer.py | 207 | # dummy attention layer (page table scaffolding) | COMMENT |
| MEDIUM | tests/unittest/llmapi/apps/_test_openai_embeddings.py | 286 | # sentence-embedding model. A separate, opt-in server (loads a multi-GB | COMMENT |
| MEDIUM⚡ | tests/unittest/executor/test_proxy_fast_death.py | 91 | # Broadcast happened event-driven: sticky flag set + EngineDeadError pushed. | COMMENT |
| MEDIUM | …ation/defs/accuracy/test_llm_api_pytorch_multimodal.py | 633 | # chain-of-thought reasoning before outputting the answer. | COMMENT |
| MEDIUM | …ation/defs/accuracy/test_llm_api_pytorch_multimodal.py | 908 | # the chain-of-thought). The text-only GSM8K path lives in | COMMENT |
| MEDIUM | …ntegration/defs/examples/visual_gen/test_visual_gen.py | 112 | # Cosmos3 requires VANILLA attention and guardrails disabled in CI. | COMMENT |
| MEDIUM | …e/skills/perf-host-optimization/references/examples.md | 149 | # Use UPPER_WORKSPACE_DIR to isolate agentic runs from manual runs | COMMENT |
| 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 | tensorrt_llm/_torch/pyexecutor/sampler/__init__.py | 41 | # Lazily forward everything else to the sampler orchestration module. | COMMENT |
| MEDIUM | tensorrt_llm/_torch/modules/dwdp/__init__.py | 84 | # Setup orchestration | 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 | 78 | # whose chain-of-thought output exceeds lm-eval's default (~512). | COMMENT |
| MEDIUM | tensorrt_llm/evaluate/lm_eval.py | 151 | # 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/executor/proxy.py | 377 | # event-driven (see _handle_worker_death), so a coarse interval is | COMMENT |
| MEDIUM | tensorrt_llm/commands/serve.py | 646 | # causal-LM architecture; remap it to the text-embedding model class so the | COMMENT |
| MEDIUM | tensorrt_llm/serve/openai_server.py | 109 | # request body: the large agentic chat body otherwise blocks the serving event | COMMENT |
| MEDIUM | …mples/scaffolding/contrib/open_deep_research/README.md | 1 | # Open Deep Research (scaffolding example) | COMMENT |
| MEDIUM | …scaffolding/contrib/tree_of_thought_research/README.md | 1 | # Tree-of-Thought Research (scaffolding example) | COMMENT |
| MEDIUM | examples/scaffolding/contrib/iter_research/README.md | 1 | # IterResearch (scaffolding example) | COMMENT |
| MEDIUM | examples/scaffolding/trace_replay/README.md | 269 | ### 1) Generate traces from a scaffold run | COMMENT |
| MEDIUM | …lding/trace_replay/analysis/compute_cache_hit_trace.py | 28 | # directly (``python examples/scaffolding/trace_replay/analysis/compute_cache_hit_trace.py``). | STRING |
| MEDIUM | jenkins/scripts/perf/local/run_disagg.sh | 219 | # be launched with the disagg orchestration (and produce no report.xml). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/unittest/_torch/multimodal/test_multimodal_runtime.py | 883 | extra = {"multimodal_data": {"multimodal_embedding": "placeholder"}} | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_disagg_openai_client.py | 158 | dummy_data = [ | CODE |
| LOW⚡ | …ts/unittest/disaggregated/test_disagg_openai_client.py | 165 | for data in dummy_data: | CODE |
| LOW | …ts/unittest/disaggregated/test_disagg_openai_client.py | 186 | assert chunk == dummy_data[i] | CODE |
| LOW | tests/unittest/llmapi/test_llm_pytorch.py | 1627 | "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 | 1627 | "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 | 1712 | "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 | 1712 | "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 | 1895 | "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 | 1895 | "lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | …y/multigpu/transformations/library/test_tp_sharding.py | 501 | placeholder_targets = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …eploy/singlegpu/transformations/test_pipeline_cache.py | 807 | 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 | 720 | if node.op in ("placeholder", "output", "get_attr"): | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 89 | return [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 142 | and arg.op == "placeholder" | CODE |
| LOW | …/transformations/library/test_kvcache_vswa_metadata.py | 184 | if node.op == "placeholder" and "seq_len_with_cache" in str(node.target): | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 172 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 312 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …pu/transformations/library/test_shared_kv_attention.py | 395 | placeholder_names = [node.target for node in gm.graph.nodes if node.op == "placeholder"] | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 48 | if n.op == "placeholder": | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 73 | if n.op == "placeholder": | CODE |
| LOW | …inglegpu/transformations/library/test_fuse_silu_mul.py | 100 | 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 | 243 | for op_type in ("placeholder", "call_method", "call_module", "output", "get_attr"): | CODE |
| LOW | tests/integration/defs/llmapi/test_llm_api_connector.py | 173 | "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 | 173 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/resource_manager.py | 230 | TODO(TRTLLM-12045): each model should provide its own warmup dummy_data | STRING |
| LOW | tensorrt_llm/_torch/pyexecutor/_util.py | 571 | # Gate on `MultimodalModelMixin`: the dummy-data sizing below only | COMMENT |
| LOW | tensorrt_llm/_torch/auto_deploy/utils/node_utils.py | 989 | # 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 | 977 | 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 | 170 | # 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 | 291 | if node.op in ("output", "placeholder"): | CODE |
| LOW | tensorrt_llm/_torch/compilation/backend.py | 209 | if node.op == "placeholder": | CODE |
| LOW | …m/_torch/compilation/multi_stream/auto_multi_stream.py | 183 | if node.op == "placeholder": | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tensorrt_llm/functional.py | 440 | # 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 | 116 | "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 |
| LOW | …ecutor/cache_transmission/nixl_utils/transferAgent.cpp | 502 | // Don't forget to add the last region | 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⚡ | 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 |
|---|---|---|---|---|
| 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 | …/unittest/_torch/multimodal/test_external_embedding.py | 34 | # TODO: Add test for more VLM models | COMMENT |
| LOW | …/unittest/_torch/multimodal/test_external_embedding.py | 139 | # TODO: Add test for more modalities (audio, video, etc.) | COMMENT |
| LOW | …/singlegpu/transformations/library/test_gemm_fusion.py | 251 | # TODO: consider adding test cases for classic GQA and MLP layers | COMMENT |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/kv_cache_manager_v2.py | 3020 | # TODO: implement this | COMMENT |
| LOW⚡ | tensorrt_llm/_torch/pyexecutor/kv_cache_manager_v2.py | 3024 | # TODO: implement this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | jenkins/scripts/bash_utils.sh | 9 | # Usage: | COMMENT |
| LOW | jenkins/scripts/perf/local/run_disagg.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/openai_triton/manual_plugin/README.md | 150 | When the plugin is used more than once within a model, the function cuModuleUnload() will be invoked multiple times duri | CODE |
| 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 | 44 | async def run_task(self, task: Task) -> TaskStatus: | CODE |
| LOW | tensorrt_llm/llmapi/utils.py | 835 | def my_method(self, *args, **kwargs): | STRING |
| LOW | tensorrt_llm/llmapi/utils.py | 840 | def my_method(self, *args, **kwargs): | STRING |