Community maintained hardware plugin for vLLM on Ascend
This report presents the forensic synthetic code analysis of vllm-project/vllm-ascend, a C++ project with 2,730 GitHub stars. SynthScan v2.0 examined 812,559 lines of code across 3290 source files, recording 8127 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 14.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 8127 distinct pattern matches across 23 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 |
|---|---|---|---|---|
| LOW | collect_env.py | 110 | def run_and_parse_first_match(run_lambda, command, regex): | CODE |
| LOW | collect_env.py | 121 | def run_and_return_first_line(run_lambda, command): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 149 | def _expected_fd_compute_cores(case: FDCase, aic_num=ARCH35_MAX_AIC): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 378 | def test_fd_generalized_accuracy(case): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 386 | def test_fd_automatic_fallback_accuracy(case): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 397 | def test_zero_valid_blocks_should_produce_zero_output(): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 408 | def test_cross_base_task_partial_write_completion_is_stable(): | CODE |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 419 | def test_case_matrix_covers_fd_boundaries(): | CODE |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 25 | def _register_sparse_attention_score_op(): | CODE |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 69 | def generate_block_index_with_causal( | CODE |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 31 | def _register_sparse_attention_score_op(): | CODE |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 75 | def generate_block_index_with_causal( | CODE |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 40 | def _register_sparse_attention_score_op(): | CODE |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 84 | def generate_block_index_with_causal( | CODE |
| LOW | csrc/cmake/scripts/parse_changed_files.py | 87 | def get_test_example_ops_test_options(self, f: Path) -> list[str]: | CODE |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 307 | def _set_all_options_to_opdescs(op_descs, soc_ver_compile_options): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_impl_build.py | 82 | def add_dtype_fmt_option_single(x, x_n, is_ref: bool = False): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_impl_build.py | 124 | def get_shortsoc_compile_option(compile_option_list: list, shortsoc:str): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_ops_config.py | 36 | def get_specified_suffix_file(root_dir, suffix): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_ops_config.py | 58 | def get_input_or_output_config(in_or_out): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_ops_config.py | 79 | def get_inputs_or_outputs_config(inputs_or_outputs): | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_ops_config.py | 253 | def generate_operator_cfg_file(json_files, binary_info_config, soc, out_dir, gen_json_status): | CODE |
| LOW | csrc/cmake/scripts/examples/get_opapi_abs_path.py | 33 | def get_environ_custom_lib_paths() -> list[Path]: | CODE |
| LOW | csrc/cmake/scripts/examples/get_opapi_abs_path.py | 53 | def get_default_custom_lib_paths() -> list[Path]: | CODE |
| LOW | csrc/cmake/scripts/examples/get_opapi_abs_path.py | 90 | def get_default_builtin_lib_paths() -> list[Path]: | CODE |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 27 | def check_if_new_tiling_file_path_existed(ori_file: Path) -> Path: | CODE |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 104 | def convert_template_tilingkey(ori_file: Path): | CODE |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 145 | def convert_to_old_tiling_struct_style(redirected_file_path): | CODE |
| LOW | csrc/cmake/scripts/utest/gen_coverage.py | 36 | def get_exclude_paths_from_yaml(yaml_path: Path): | CODE |
| LOW | csrc/cmake/scripts/utest/gen_coverage.py | 68 | def init_filter_str_from_yaml(self, source_dir: Path, yaml_path: Path): | CODE |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 229 | def parser_compile_static_library(subparsers): | CODE |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 602 | def _gen_register_resouce_code(self, op_type: str): | STRING |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 645 | def _gen_tuning_register_resouce_code(self, op_type: str): | CODE |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 697 | def _gen_binary_resource_code(self, op_type: str) -> str: | CODE |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 728 | def generate_op_resource_h_file(args): | CODE |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 737 | def parser_generate_op_resource_h_file(subparsers): | CODE |
| LOW | csrc/scripts/package/package.py | 135 | def generate_version_header_content(target_conf) -> Iterator[str]: | CODE |
| LOW | csrc/scripts/package/package.py | 487 | def generate_filelist_file_by_xml_config(xml_config: XmlConfig, filter_key: list[str], package_check: bool): | CODE |
| LOW | csrc/scripts/package/package.py | 507 | def get_pkg_xml_relative_path(pkg_args: Namespace) -> str: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 247 | def parse_package_attr_by_args(args: Namespace) -> dict: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 424 | def get_env_items_by_version_dir(version_dir: str | None) -> Iterator[tuple[str, str]]: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 430 | def get_os_arch_default_env_items() -> Iterator[tuple[str, str]]: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 455 | def get_env_items_by_timestamp(timestamp: str | None) -> Iterator[tuple[str, str]]: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 506 | def extract_generate_info_content(generate_info_ele: ET.Element, env_dict: EnvDict) -> dict: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 512 | def parse_generate_infos_by_loaded_block( | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 626 | def replace_pkg_inner_softlink(key: str, value: str) -> tuple[str, str]: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 760 | def expand_file_info_asterisk(parsed_result: FileInfoParsedResult, env: ParseEnv) -> Iterator[FileInfoParsedResult]: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 827 | def trans_file_info_to_result(file_info: FileInfo) -> FileInfoParsedResult: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 924 | def make_loaded_block_element(root_ele: ET.Element, dst_path: str = "") -> LoadedBlockElement: | CODE |
| LOW | csrc/scripts/package/common/py/filelist.py | 111 | def get_filelist_header_string() -> str: | CODE |
| LOW | csrc/scripts/package/common/py/filelist.py | 135 | def get_soft_links_not_in_common_paths(filelist: FileList, target_env: str) -> Iterator[list[str]]: | CODE |
| LOW | csrc/scripts/package/common/py/filelist.py | 292 | def check_features_in_filelist(features: set[str], filelist: FileList) -> set[str]: | CODE |
| LOW | csrc/scripts/package/common/py/filelist.py | 457 | def convert_nested_path_in_filelist(filelist: FileList): | CODE |
| LOW | csrc/scripts/package/common/py/filelist.py | 511 | def get_transform_nested_path_func(parallel: bool) -> Callable[[FileList], FileList]: | CODE |
| LOW | csrc/scripts/package/common/py/packer.py | 184 | def create_makeself_pkg_params_factory( | CODE |
| LOW | csrc/scripts/package/common/py/packer.py | 189 | def create_makeself_pkg_params(makeself_dir: str, package_attr: dict, independent_pkg=False) -> MakeselfPkgParams: | CODE |
| LOW | csrc/scripts/package/common/py/packer.py | 220 | def create_run_package_command(params: MakeselfPkgParams) -> tuple[str | None, str | None]: | CODE |
| LOW | tools/aisbench.py | 330 | def maybe_download_from_modelscope( | CODE |
| LOW | tools/send_request.py | 22 | def _generate_prompt_for_length(server, seed: str, target_tokens: int, use_chat: bool = False) -> tuple[str, int]: | CODE |
| LOW | tools/check_python_src_init.py | 28 | def check_init_file_in_package(directory): | CODE |
| 4081 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .gitleaks.toml | 1 | # ============================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 6 | # ============================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 17 | # ============================================================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 19 | # ============================================================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 32 | # ============================================================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 35 | # ============================================================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 47 | # ============================================================================== | COMMENT |
| MEDIUM | .gitleaks.toml | 50 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 79 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 81 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 88 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitleaks.toml | 90 | # ============================================================================== | COMMENT |
| MEDIUM | csrc/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/build.sh | 2 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/build.sh | 10 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/grouped_matmul_swiglu_quant/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/grouped_matmul_swiglu_quant/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gmm/grouped_matmul_swiglu_quant/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …gmm/grouped_matmul_swiglu_quant/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/grouped_matmul_swiglu_quant_v2/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/gmm/grouped_matmul_swiglu_quant_v2/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/grouped_matmul_swiglu_quant_v2/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/grouped_matmul_swiglu_quant_v2/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tmul_swiglu_quant_weight_nz_tensor_list/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tmul_swiglu_quant_weight_nz_tensor_list/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/attention/recurrent_gated_delta_rule/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/attention/recurrent_gated_delta_rule/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_layout_swap12/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_layout_swap12/CMakeLists.txt | 6 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_layout_swap12/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_layout_swap12/op_host/CMakeLists.txt | 6 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kv_quant_sparse_attn_sharedkv_metadata/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/kv_quant_sparse_attn_sharedkv_metadata/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t_sparse_attn_sharedkv_metadata/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …t_sparse_attn_sharedkv_metadata/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_attn_sharedkv_metadata/op_kernel_aicpu/CMakeLists.txt | 1 | # --------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_attn_sharedkv_metadata/op_kernel_aicpu/CMakeLists.txt | 9 | # --------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/sparse_attn_sharedkv/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/sparse_attn_sharedkv/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/sparse_attn_sharedkv/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/sparse_attn_sharedkv/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_gate_cumsum/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_gate_cumsum/CMakeLists.txt | 6 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_gate_cumsum/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kda_gate_cumsum/op_host/CMakeLists.txt | 6 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/k2q_csr/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/k2q_csr/CMakeLists.txt | 4 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tion/k2q_csr/k2q_csr_row_prefix/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tion/k2q_csr/k2q_csr_row_prefix/op_host/CMakeLists.txt | 3 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ion/k2q_csr/k2q_csr_tile_prefix/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ion/k2q_csr/k2q_csr_tile_prefix/op_host/CMakeLists.txt | 3 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/k2q_csr/k2q_csr_meta/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/k2q_csr/k2q_csr_meta/op_host/CMakeLists.txt | 3 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/k2q_csr/k2q_csr_hist/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/k2q_csr/k2q_csr_hist/op_host/CMakeLists.txt | 3 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| 819 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | codecov.yml | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | setup.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | format.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/collect_user_first_contribution.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/shellcheck.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/aisbench.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/vllm_bench.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_repo.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_logger.sh | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_python_src_init.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/png-lint.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_symbolic_meta.py | 17 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/mooncake_installer.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/mooncake_installer.sh | 97 | # Define a function to handle the git clone operation | COMMENT |
| MEDIUM | tools/format_contributors.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/actionlint.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_boolean_context_manager.py | 17 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_forbidden_imports.py | 17 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/mypy.sh | 18 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/check_long_functions.py | 17 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/version_compat.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/coordinator.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/runner.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/config.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/auto_bisect.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/git_ops.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/worker_agent.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/good_table.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/__init__.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/build_manager.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/report.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/state.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tools/bisect/verdict.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/test_utils.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/conftest.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/test_batch_invariant.py | 14 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/test_envs.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/test_ascend_config.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/base.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM⚡ | tests/ut/test_logger.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/kv_offload/a2/test_remote_decode_lifecycle.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/kv_offload/a2/test_remote_prefill_lifecycle.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/_310p/test_model_runner_310p.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/_310p/test_kv_block_zeroer_310p.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/_310p/test_block_table_310p.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/_310p/ops/test_gdn_310.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/_310p/ops/test_rotary_embedding_310.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/attention/test_sfa_o_proj_tp.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/attention/utils.py | 318 | # Create a realistic slot mapping that corresponds to the block table | COMMENT |
| MEDIUM | tests/ut/attention/a2/test_mla_v1.py | 1923 | # Create a mock metadata where prefill_metadata.chunked_context.seq_tot is an empty list, so that iters == 0 | COMMENT |
| MEDIUM | tests/ut/attention/a2/test_sfa_v1_precision.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/core/test_short_request_first_scheduler.py | 3 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …t/core/test_recompute_scheduler_short_request_first.py | 3 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/core/test_profiling_chunk.py | 3 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …/ut/core/test_short_request_first_scheduler_install.py | 3 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …t/distributed/kv_transfer/test_kv_transfer_failures.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …/ut/distributed/weight_transfer/test_npu_ipc_engine.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …s/ut/distributed/weight_transfer/test_packed_tensor.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/distributed/ascend_store/test_backend.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | …sts/ut/distributed/ascend_store/test_pool_scheduler.py | 15 | # This file is a part of the vllm-ascend project. | COMMENT |
| 454 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codecov.yml | 1 | # | COMMENT |
| LOW | collect_env.py | 1 | # | COMMENT |
| LOW | setup.py | 1 | # | COMMENT |
| LOW | .gitleaks.toml | 1 | # ============================================== | COMMENT |
| LOW | .gitleaks.toml | 21 | # [extend] | COMMENT |
| LOW | .gitleaks.toml | 41 | # entropy = 3.5 | COMMENT |
| LOW | .gitleaks.toml | 81 | # ============================================================================== | COMMENT |
| LOW | .readthedocs.yaml | 1 | # Read the Docs configuration file (English + Chinese) | COMMENT |
| LOW | format.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | csrc/utils.h | 1 | #pragma once | COMMENT |
| LOW | csrc/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | csrc/build.sh | 741 | # function gen_op() { | COMMENT |
| LOW | csrc/build.sh | 761 | # rm -rf "${BASE_DIR}/examples" | COMMENT |
| LOW | csrc/torch_binding.cpp | 21 | #include <ATen/core/Formatting.h> | COMMENT |
| LOW | csrc/torch_binding.cpp | 41 | #include "moe/moe_gating_top_k/moe_gating_top_k_torch_adpt.h" | COMMENT |
| LOW | csrc/torch_binding.cpp | 61 | #include <c10/core/Scalar.h> | COMMENT |
| LOW | csrc/torch_binding_meta.cpp | 1941 | ops.impl("situ_mx_quant", &vllm_ascend::meta::situ_mx_quant_meta); | COMMENT |
| LOW | csrc/gmm/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | csrc/gmm/grouped_matmul_swiglu_quant/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …t/op_host/op_api/aclnn_grouped_matmul_swiglu_quant.cpp | 1 | /** | COMMENT |
| LOW | …lu_quant/op_kernel/grouped_matmul_swiglu_quant_utils.h | 21 | COMMENT | |
| LOW | …nt_v2/op_kernel/grouped_matmul_swiglu_quant_v2_utils.h | 21 | defined(DT_INT4) && ORIG_DTYPE_WEIGHT == DT_INT4 | COMMENT |
| LOW | …_grouped_matmul_swiglu_quant_weight_nz_tensor_list.cpp | 1 | /* | COMMENT |
| LOW | …tention/recurrent_gated_delta_rule/op_host/math_util.h | 61 | #endif // _MATH_UTIL_H_ | COMMENT |
| LOW | …ated_delta_rule/op_kernel/recurrent_gated_delta_rule.h | 581 | #endif | COMMENT |
| LOW | …/kv_quant_sparse_attn_sharedkv_metadata/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …t_sparse_attn_sharedkv_metadata/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …p_api/aclnn_kv_quant_sparse_attn_sharedkv_metadata.cpp | 21 | #include "aclnn_kernels/common/op_error_check.h" | COMMENT |
| LOW | …a_gate_cumsum/op_host/op_api/aclnn_kda_gate_cumsum.cpp | 1 | /** | COMMENT |
| LOW | …k2q_csr/k2q_csr_common/op_host/k2q_csr_tiling_common.h | 1 | /** | COMMENT |
| LOW | …rc/attention/kv_compress_epilog/op_host/CMakeLists.txt | 1 | # This program is free software, you can redistribute it and/or modify it. | COMMENT |
| LOW | …rc/attention/kv_compress_epilog/op_host/CMakeLists.txt | 21 | # target_sources(op_host_aclnn PRIVATE | COMMENT |
| LOW | …ttention/compressor/op_host/arch35/compressor_tiling.h | 21 | #include <vector> | COMMENT |
| LOW | …ttention/compressor/op_host/arch32/compressor_tiling.h | 21 | #include <vector> | COMMENT |
| LOW | …ssor/op_kernel/arch35/compressor_template_tiling_key.h | 21 | #define ASCENDC_TPL_1_BW 1 // 每个参数占用1个bit位 | COMMENT |
| LOW | …ssor/op_kernel/arch32/compressor_template_tiling_key.h | 21 | #define ASCENDC_TPL_1_BW 1 // 每个参数占用1个bit位 | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1781 | dual_golden_l1norm(npu_out_cpu, cpu_out_fp32, cpu_out, "NPU vs dual-golden") | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1801 | COMMENT | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1821 | # query_fp8, key_fp8, value_fp8, q_scales, k_scales, v_scales = ( | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1841 | # cpu_out = cpu_sparse_attention_score_fp8( | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1861 | # block_size=block_size, | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 1881 | # # --- Three blocks --- | COMMENT |
| LOW | …ion_score/op_kernel/sparse_attention_score_tilingkey.h | 21 | #define SASA_FP8_D128_BF16_TILING 10004 | COMMENT |
| LOW | …e_attention_score/op_kernel/attn_infra/gemm/helper.hpp | 121 | }; | COMMENT |
| LOW | …on_score/op_kernel/attn_infra/gemm/dispatch_policy.hpp | 61 | #endif // GEMM_DISPATCH_POLICY_HPP | COMMENT |
| LOW | …re/op_kernel/attn_infra/gemm/tile_common/tile_copy.hpp | 21 | #include "../../../attn_infra/gemm/tile_common/copy_l1_to_l0a_a5.hpp" | COMMENT |
| LOW | …nfra/gemm/block/block_mmad_qk_arch35_ABf16_C_to_UB.hpp | 21 | #include "../../../attn_infra/base_defs.hpp" | COMMENT |
| LOW | …n_score/op_kernel/attn_infra/gemm/block/block_mmad.hpp | 61 | #if (__CCE_AICORE__ == 310) | COMMENT |
| LOW | …nfra/gemm/block/block_mmad_pv_arch35_ABf16_C_to_UB.hpp | 21 | #include "../../../attn_infra/base_defs.hpp" | COMMENT |
| LOW | …op_kernel/attn_infra/epilogue/block/block_epilogue.hpp | 21 | > | COMMENT |
| LOW | …lightning_indexer/op_kernel/lightning_indexer_common.h | 161 | COMMENT | |
| LOW | …rc/attention/mla_prolog_v3/op_host/mla_prolog_tiling.h | 21 | #include <vector> | COMMENT |
| LOW | …a_prolog_v3/op_kernel/mla_prolog_template_tiling_key.h | 21 | #endif | COMMENT |
| LOW | …a_prolog_v3/op_kernel/mla_prolog_template_tiling_key.h | 41 | #endif | COMMENT |
| LOW | …a_prolog_v3/op_kernel/mla_prolog_template_tiling_key.h | 61 | // bit:6-11 量化场景:0-非量化 1-MMQcQr量化 2-MMQcQr量化+KVcache量化 3-MMcqCkvKr量化+MMQcQr量化 | COMMENT |
| LOW | …ntion/mla_prolog_v3/op_kernel/arch35/mla_prolog_comm.h | 161 | #define A_EVENT1 EVENT_ID5 | COMMENT |
| LOW | …mla_prolog_v3/op_api/aclnn_mla_prolog_v3_weight_nz.cpp | 1 | /** | COMMENT |
| LOW | …nel/vllm_quant_lightning_indexer_template_tiling_key.h | 21 | #define QLI_TPL_INT8 2 | COMMENT |
| LOW | …exer/op_kernel/arch35/quant_lightning_indexer_common.h | 161 | { | COMMENT |
| LOW | …ion/op_host/kv_quant_sparse_flash_attention_tiling.cpp | 101 | #define OP_LOGE_FOR_INVALID_SHAPE_WITH_REASON(opname, param, actual, reason) \ | COMMENT |
| 852 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test_memfabric_pd_read.py | 26 | CODE | |
| LOW | tools/test_memfabric_pd_read.py | 125 | CODE | |
| LOW | tools/upload_to_openlibing.py | 3 | CODE | |
| LOW | tools/check_symbolic_meta.py | 20 | CODE | |
| LOW | tools/send_mm_request.py | 1 | CODE | |
| LOW | tools/check_long_functions.py | 20 | CODE | |
| LOW | tools/docs_codegen/scanner.py | 1 | CODE | |
| LOW | tools/docs_codegen/sphinx_extension.py | 1 | CODE | |
| LOW | tools/docs_codegen/generator.py | 1 | CODE | |
| LOW | tools/docs_codegen/cli.py | 1 | CODE | |
| LOW | tools/docs_codegen/utils.py | 1 | CODE | |
| LOW | tools/docs_codegen/yaml_loader.py | 1 | CODE | |
| LOW | tools/docs_codegen/converters.py | 1 | CODE | |
| LOW | tools/docs_codegen/errors.py | 1 | CODE | |
| LOW | tests/ut/_310p/test_mamba_align_fallback_310p_source.py | 9 | CODE | |
| LOW | tests/ut/core/test_batch_job_aware_scheduler.py | 14 | CODE | |
| LOW | tests/ut/distributed/test_yuanrong_backend.py | 22 | CODE | |
| LOW | …s/ut/distributed/weight_transfer/test_packed_tensor.py | 26 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_backend.py | 25 | CODE | |
| LOW | …sts/ut/distributed/ascend_store/test_pool_scheduler.py | 23 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_pool_worker.py | 25 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_coordinator.py | 23 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_metadata.py | 21 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_kv_transfer.py | 25 | CODE | |
| LOW | …istributed/ascend_store/test_ascend_store_connector.py | 23 | CODE | |
| LOW | tests/ut/model_executor/test_qwen3_dspark.py | 20 | CODE | |
| LOW | tests/ut/model_executor/warmup/helpers.py | 4 | CODE | |
| LOW | tests/ut/models/minimax_m3/test_minimax_m3_eplb.py | 4 | CODE | |
| LOW | tests/ut/models/minimax_m3/test_minimax_m3_vit.py | 4 | CODE | |
| LOW | tests/ut/models/minimax_m3/test_minimax_m3.py | 4 | CODE | |
| LOW | tests/ut/models/minimax_m3/test_msa_m3.py | 5 | CODE | |
| LOW | tests/ut/_tools/test_docs_codegen.py | 1 | CODE | |
| LOW | tests/ut/spec_decode/test_step3p5_source_regression.py | 10 | CODE | |
| LOW | tests/ut/spec_decode/test_utils.py | 9 | CODE | |
| LOW | …t/spec_decode/test_eagle_aclgraph_source_regression.py | 4 | CODE | |
| LOW | tests/ut/spec_decode/test_speculators_vwn_eagle3.py | 22 | CODE | |
| LOW | …/ut/spec_decode/test_extract_hidden_states_proposer.py | 22 | CODE | |
| LOW | tests/ut/spec_decode/test_dspark_proposer.py | 20 | CODE | |
| LOW | tests/ut/spec_decode/test_llm_base_proposer.py | 19 | CODE | |
| LOW | …patch/platform/test_patch_speculative_config_dspark.py | 4 | CODE | |
| LOW | …s/ut/patch/worker/test_patch_routed_experts_capture.py | 16 | CODE | |
| LOW | …/ut/patch/worker/patch_common/test_hccl_pg_registry.py | 15 | CODE | |
| LOW | …ut/patch/worker/patch_common/test_patch_distributed.py | 15 | CODE | |
| LOW | tests/ut/lora/test_quant_moe.py | 6 | CODE | |
| LOW | tests/e2e/coverage_taxonomy.py | 23 | CODE | |
| LOW | tests/e2e/generate_coverage_html.py | 13 | CODE | |
| LOW | …ull_request/four_card/qwen3_32b_v2_migration_common.py | 33 | CODE | |
| LOW | …four_card/lora/test_qwen35_27b_multi_lora_mtp_eager.py | 10 | CODE | |
| LOW | …e2e/pull_request/two_card/test_hccl_weight_transfer.py | 51 | CODE | |
| LOW | …/pull_request/two_card/spec_decode/test_spec_decode.py | 19 | CODE | |
| LOW | …/pull_request/one_card/test_npu_ipc_weight_transfer.py | 33 | CODE | |
| LOW | …e/pull_request/one_card/test_minimax_m3_sparse_attn.py | 19 | CODE | |
| LOW | …sts/e2e/pull_request/one_card/model_runner_v2/utils.py | 18 | CODE | |
| LOW | …2e/pull_request/one_card/spec_decode/test_ngram_npu.py | 1 | CODE | |
| LOW | …ts/e2e/pull_request/one_card/spec_decode/test_eagle.py | 1 | CODE | |
| LOW | tests/e2e/pull_request/one_card/spec_decode/conftest.py | 1 | CODE | |
| LOW | …s/e2e/pull_request/one_card/spec_decode/test_dspark.py | 1 | CODE | |
| LOW | …s/e2e/pull_request/one_card/spec_decode/test_dflash.py | 1 | CODE | |
| LOW | …s/e2e/pull_request/one_card/spec_decode/test_suffix.py | 1 | CODE | |
| LOW | …est/one_card/spec_decode/test_mtp_eagle_correctness.py | 21 | CODE | |
| 403 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 202 | print(f"Error running build_aclnn.sh: {e}") | CODE |
| LOW | csrc/cmake/scripts/convert_yaml.py | 30 | except Exception as e: | CODE |
| LOW | csrc/cmake/scripts/convert_yaml.py | 81 | except Exception as e: | CODE |
| LOW | csrc/cmake/scripts/check_version_compatible.py | 92 | except Exception as e: | CODE |
| LOW | csrc/cmake/scripts/util/ascendc_gen_options.py | 23 | except Exception as err: | CODE |
| LOW | csrc/cmake/scripts/examples/get_soc_info.py | 52 | except Exception as e: | CODE |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 430 | except Exception as e: | CODE |
| LOW | csrc/scripts/opgen/opgen_standalone.py | 157 | except Exception as e: | CODE |
| LOW | csrc/scripts/package/package.py | 86 | except Exception as exception: | CODE |
| LOW | csrc/scripts/package/package.py | 166 | except Exception as ex: | CODE |
| LOW | csrc/scripts/package/package.py | 819 | except Exception as e: | CODE |
| LOW | csrc/scripts/package/common/py/pkg_parser.py | 989 | except Exception: | CODE |
| LOW | tools/aisbench.py | 293 | except Exception as e: | CODE |
| LOW | tools/send_request.py | 131 | except Exception: | CODE |
| LOW | tools/vllm_bench.py | 152 | except Exception as e: | CODE |
| MEDIUM | tools/vllm_bench.py | 146 | def run_vllm_bench_case(model_name, port, config, baseline, threshold=0.97, mode | CODE |
| LOW | tools/test_memfabric_pd_read.py | 167 | except Exception as error: | CODE |
| LOW⚡ | tools/test_memfabric_pd_read.py | 365 | except Exception as error: | CODE |
| LOW⚡ | tools/test_memfabric_pd_read.py | 372 | except Exception as error: | CODE |
| LOW⚡ | tools/test_memfabric_pd_read.py | 379 | except Exception as error: | CODE |
| LOW | tools/test_memfabric_pd_read.py | 412 | except Exception as error: | CODE |
| MEDIUM | tools/test_memfabric_pd_read.py | 122 | def _load_torch(): | CODE |
| LOW | tools/upload_to_openlibing.py | 52 | except Exception as e: | CODE |
| LOW | tools/upload_to_openlibing.py | 156 | except Exception: | CODE |
| LOW | tools/upload_to_openlibing.py | 247 | except Exception as e: | CODE |
| LOW | tools/ai_qos.py | 137 | except Exception as e: | CODE |
| MEDIUM | tools/ai_qos.py | 145 | print("Error: no visible NPU devices found.", file=sys.stderr) | CODE |
| MEDIUM | tools/ai_qos.py | 173 | print(f"Error: {VISIBLE_DEVICE_ENV} must list at least one device.", file=sys.stderr) | CODE |
| LOW | tools/format_contributors.py | 41 | except Exception: | CODE |
| LOW | tools/format_contributors.py | 45 | except Exception: | CODE |
| LOW | tools/bisect/version_compat.py | 166 | except Exception as exc: # noqa: BLE001 - broken metadata must not abort discovery | CODE |
| LOW | tools/bisect/version_compat.py | 248 | except Exception as exc: # noqa: BLE001 - add context for bisect logs | CODE |
| LOW | tools/bisect/build_manager.py | 73 | except Exception: # noqa: BLE001 - best effort; fall back to rebuild | CODE |
| LOW | tests/ut/attention/a2/test_sfa_v1_precision.py | 47 | except Exception: | CODE |
| MEDIUM | tests/e2e/conftest.py | 580 | def _read_output(self, pipe, prefix): | CODE |
| MEDIUM | tests/e2e/conftest.py | 736 | def _read_output(self, pipe, prefix): | CODE |
| MEDIUM | tests/e2e/conftest.py | 1179 | def __exit__(self, exc_type, exc_value, traceback): | CODE |
| LOW | tests/e2e/conftest.py | 364 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 587 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 743 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 952 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1208 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1331 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1390 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1474 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1542 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1577 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1693 | except Exception: | CODE |
| LOW | tests/e2e/utils.py | 53 | except Exception: | CODE |
| MEDIUM | tests/e2e/pull_request/four_card/test_graph_mode.py | 674 | print("Error: Timeout waiting for worker results. A worker might have crashed.") | CODE |
| MEDIUM | tests/e2e/pull_request/one_card/rlhf/conftest.py | 256 | def health(url) -> int: | CODE |
| LOW⚡ | tests/e2e/pull_request/one_card/rlhf/conftest.py | 169 | except Exception: | CODE |
| LOW⚡ | tests/e2e/pull_request/one_card/rlhf/conftest.py | 213 | except Exception: | CODE |
| LOW⚡ | tests/e2e/pull_request/one_card/rlhf/conftest.py | 259 | except Exception: | CODE |
| LOW | tests/e2e/pull_request/one_card/rlhf/conftest.py | 194 | except Exception: | CODE |
| LOW | tests/e2e/nightly/multi_node/scripts/utils.py | 142 | except Exception: | CODE |
| LOW | tests/e2e/nightly/multi_node/scripts/utils.py | 145 | except Exception: | CODE |
| LOW | …ts/e2e/nightly/multi_node/scripts/benchmark_results.py | 41 | except Exception: | CODE |
| MEDIUM | …ts/e2e/nightly/multi_node/scripts/benchmark_results.py | 36 | def get_vllm_version() -> str: | CODE |
| LOW | …/e2e/nightly/multi_node/external_dp/scripts/runtime.py | 150 | except Exception: | CODE |
| 241 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collect_env.py | 198 | CODE | |
| LOW | setup.py | 74 | CODE | |
| LOW | setup.py | 340 | CODE | |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 176 | CODE | |
| LOW | …tention_score/tests/test_flash_decoding_generalized.py | 269 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 25 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 69 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 133 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 269 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 31 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 75 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 155 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 40 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 84 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 209 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 345 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 467 | CODE | |
| LOW | …msa_index_score/tests/golden/msa_index_score_golden.py | 43 | CODE | |
| LOW | csrc/cmake/scripts/parse_changed_files.py | 186 | CODE | |
| LOW | csrc/cmake/scripts/parse_changed_files.py | 209 | CODE | |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 326 | CODE | |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 361 | CODE | |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 182 | CODE | |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 212 | CODE | |
| LOW | csrc/cmake/scripts/util/opdesc_parser.py | 283 | CODE | |
| LOW | csrc/cmake/scripts/util/parse_ini_to_json.py | 158 | CODE | |
| LOW | csrc/cmake/scripts/util/parse_ini_to_json.py | 239 | CODE | |
| LOW | csrc/cmake/scripts/util/parse_ini_to_json.py | 314 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_impl_build.py | 345 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_impl_build.py | 419 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_impl_build.py | 501 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_bin_param_build.py | 437 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_bin_param_build.py | 215 | CODE | |
| LOW | csrc/cmake/scripts/util/ascendc_gen_options.py | 28 | CODE | |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 83 | CODE | |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 104 | CODE | |
| LOW | csrc/cmake/scripts/utest/gen_tiling_data_stub.py | 200 | CODE | |
| LOW | csrc/scripts/package/package.py | 245 | CODE | |
| LOW | csrc/scripts/package/package.py | 403 | CODE | |
| LOW | csrc/scripts/package/common/py/filelist.py | 135 | CODE | |
| LOW | tools/upload_to_openlibing.py | 25 | CODE | |
| LOW | tools/upload_to_openlibing.py | 59 | CODE | |
| LOW | tools/generate_zh_docs.py | 309 | CODE | |
| LOW | tools/ai_qos.py | 338 | CODE | |
| LOW | tools/send_mm_request.py | 71 | CODE | |
| LOW | tools/check_boolean_context_manager.py | 38 | CODE | |
| LOW | tools/spec_decode_metrics.py | 15 | CODE | |
| LOW | tools/check_long_functions.py | 29 | CODE | |
| LOW | tools/check_long_functions.py | 82 | CODE | |
| LOW | tools/docs_codegen/converters.py | 109 | CODE | |
| LOW | tests/ut/test_envs.py | 26 | CODE | |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 3127 | CODE | |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 3156 | CODE | |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 3180 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_backend.py | 393 | CODE | |
| LOW | …sts/ut/distributed/ascend_store/test_pool_scheduler.py | 800 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_pool_worker.py | 1672 | CODE | |
| LOW | …istributed/ascend_store/test_ascend_store_connector.py | 227 | CODE | |
| LOW | tests/ut/spec_decode/test_step3p5_source_regression.py | 94 | CODE | |
| LOW | tests/ut/spec_decode/test_step3p5_source_regression.py | 154 | CODE | |
| 315 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …l_request/four_card/spec_decode/test_mtp_qwen3_next.py | 0 | compare the short outputs of hf and vllm when using greedy sampling. run `pytest tests/e2e/pull_request/one_card/test_vl | STRING |
| HIGH | …pull_request/four_card/spec_decode/test_mtp_step3p5.py | 0 | compare the short outputs of hf and vllm when using greedy sampling. run `pytest tests/e2e/pull_request/one_card/test_vl | STRING |
| HIGH | …equest/four_card/spec_decode/test_dspark_deepseekv4.py | 0 | compare the short outputs of hf and vllm when using greedy sampling. run `pytest tests/e2e/pull_request/one_card/test_vl | STRING |
| HIGH | …/e2e/pull_request/two_card/test_gpt_oss_distributed.py | 0 | compare the short outputs of hf and vllm when using greedy sampling. run `pytest tests/e2e/pull_request/one_card/test_vl | STRING |
| HIGH | tests/e2e/pull_request/one_card/test_vlm.py | 0 | compare the short outputs of hf and vllm when using greedy sampling. run `pytest tests/e2e/pull_request/one_card/test_vl | STRING |
| HIGH | …s/e2e/pull_request/two_card/lora/test_qwen3moe_lora.py | 0 | i want you to act as a sql terminal in front of an example database, you need only to return the sql command to me. do n | STRING |
| HIGH | …ts/e2e/pull_request/one_card/lora/test_llama32_lora.py | 0 | i want you to act as a sql terminal in front of an example database, you need only to return the sql command to me. do n | STRING |
| HIGH | tests/e2e/pull_request/one_card/lora/test_olmoe_lora.py | 0 | i want you to act as a sql terminal in front of an example database, you need only to return the sql command to me. do n | STRING |
| HIGH | vllm_ascend/_310p/quantization/methods/w8a8sc.py | 0 | 310p-only w8a8 dynamic linear scheme. notes: - this scheme is discovered via 310p local registry. | STRING |
| HIGH | vllm_ascend/_310p/quantization/methods/w8a8_static.py | 0 | 310p-only w8a8 dynamic linear scheme. notes: - this scheme is discovered via 310p local registry. | STRING |
| HIGH | vllm_ascend/_310p/quantization/methods/w8a8_dynamic.py | 0 | 310p-only w8a8 dynamic linear scheme. notes: - this scheme is discovered via 310p local registry. | STRING |
| HIGH | vllm_ascend/attention/dsa_v1.py | 0 | metadata for mlacommon. note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/sfa_v1.py | 0 | metadata for mlacommon. note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/mla_v1.py | 0 | metadata for mlacommon. note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/context_parallel/dsa_cp.py | 0 | metadata for mlacommon. note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/dsa_v1.py | 0 | note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/sfa_v1.py | 0 | note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/mla_v1.py | 0 | note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/context_parallel/dsa_cp.py | 0 | note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | vllm_ascend/attention/context_parallel/mla_cp.py | 0 | note: please read the comment at the top of the file before trying to understand this class | STRING |
| HIGH | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 0 | get and clear the requests that have been completed. returns: a set of request ids that have been completed. | STRING |
| HIGH | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 0 | get and clear the requests that have been completed. returns: a set of request ids that have been completed. | STRING |
| HIGH | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 0 | get and clear the requests that have been completed. returns: a set of request ids that have been completed. | STRING |
| HIGH | …ibuted/kv_transfer/kv_pool/ascend_store/kv_transfer.py | 0 | get and clear the requests that have been completed. returns: a set of request ids that have been completed. | STRING |
| HIGH | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 0 | run the thread to handle kv cache transfer requests. | STRING |
| HIGH | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 0 | run the thread to handle kv cache transfer requests. | STRING |
| HIGH | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 0 | run the thread to handle kv cache transfer requests. | STRING |
| HIGH | …ibuted/kv_transfer/kv_pool/ascend_store/kv_transfer.py | 0 | run the thread to handle kv cache transfer requests. | STRING |
| HIGH | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 0 | for remote prefill, pull all prompt blocks from remote asynchronously relative to engine execution. args: request (reque | STRING |
| HIGH | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 0 | for remote prefill, pull all prompt blocks from remote asynchronously relative to engine execution. args: request (reque | STRING |
| HIGH | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 0 | for remote prefill, pull all prompt blocks from remote asynchronously relative to engine execution. args: request (reque | STRING |
| HIGH | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 0 | once a request is finished, determine whether request blocks should be freed now or will be sent asynchronously and free | STRING |
| HIGH | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 0 | once a request is finished, determine whether request blocks should be freed now or will be sent asynchronously and free | STRING |
| HIGH | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 0 | once a request is finished, determine whether request blocks should be freed now or will be sent asynchronously and free | STRING |
| HIGH | …ted/kv_transfer/kv_pool/ascend_store/pool_scheduler.py | 0 | once a request is finished, determine whether request blocks should be freed now or will be sent asynchronously and free | STRING |
| HIGH | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 0 | hash the string using sha-256 and convert it into an int64 integer. | STRING |
| HIGH | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 0 | hash the string using sha-256 and convert it into an int64 integer. | STRING |
| HIGH | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 0 | hash the string using sha-256 and convert it into an int64 integer. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 302 | // Step 1: Read grouplist reduceSum to calculate total data count | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 310 | // Step 2: Calculate core allocation | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 333 | // Step 3: Calculate total data volume | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 339 | // Step 4: Allocate space | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 396 | // Step 1: Read grouplist reduceSum to calculate total data count | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 400 | // Step 2: Calculate core allocation | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 423 | // Step 3: Calculate total data volume | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 429 | // Step 4: Allocate space | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 446 | # Step 3: PV: [groupSize, valid_len] x [valid_len, D] -> [groupSize, D] | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 449 | # Step 4: rescale O | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 457 | # Step 5: final divide + cast | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 414 | # Step 1: QK: [groupSize, D] x [D, valid_len] -> [groupSize, valid_len] | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 236 | // Step 1: Cast int8 -> half -> fp32 | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 244 | // Step 2: Mul dequant_scale | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 252 | // Step 3: Add dequant_bias (if exists) | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 289 | // Step 1: tanh(gate / beta) * beta | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 299 | // Step 2: sigmoid(gate) = 1 / (1 + exp(-gate)) | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 334 | // Step 3: situ_a = tanhResult * sigmoidResult | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 338 | // Step 4: if linear_beta > 0: up = linear_beta * tanh(up / linear_beta) | COMMENT |
| LOW | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 349 | // Step 5: output = situ_a * up = tanhResult * up | COMMENT |
| LOW⚡ | …moe/situ_mx_quant/op_host/situ_mx_quant_infershape.cpp | 89 | // Step 1: Compute y shape (Situ output) | COMMENT |
| LOW⚡ | …moe/situ_mx_quant/op_host/situ_mx_quant_infershape.cpp | 96 | // Step 2: Compute mxscale shape | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 206 | // Step 1: Situ activation | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 211 | // Step 2: MxQuant - extract max exponent per 32-element block | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 216 | // Step 3: MxQuant - compute E8M0 scale and reciprocal scale | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 224 | // Step 4: MxQuant - quantize to FP8 | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 397 | # Step 1: Create weights | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 412 | # Step 2: Simulate weight loading | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 440 | # Step 3: Process after loading | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 322 | ### Step 1: Write your test logic in `test_single_node.py` | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 330 | ### Step 2: Register your function in `TEST_HANDLERS` | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 339 | ### Step 3: Enable in YAML | COMMENT |
| LOW | docs/source/user_guide/feature_guide/ucm_deployment.md | 782 | # Step 1: Pre-seed KV cache (25600 = 32000 * 0.8) | COMMENT |
| LOW | docs/source/user_guide/feature_guide/ucm_deployment.md | 796 | # Step 2: Run performance test | COMMENT |
| LOW | …r_guide/Design_Documents/ModelRunner_prepare_inputs.md | 99 | ### Step 1: All requests in the prefill phase | COMMENT |
| LOW | …r_guide/Design_Documents/ModelRunner_prepare_inputs.md | 209 | ### Step 2: Chunked prefill | COMMENT |
| LOW | …rials/features/pd_colocated_mooncake_multi_instance.md | 276 | ### Step 1: Baseline (No Cache) | COMMENT |
| LOW | …rials/features/pd_colocated_mooncake_multi_instance.md | 288 | ### Step 2: Local DRAM Hit | COMMENT |
| LOW | …rials/features/pd_colocated_mooncake_multi_instance.md | 293 | ### Step 3: Cross-Node DRAM Hit | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 262 | # Step 1: estimate how many tokens this round will advance | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 269 | # Step 2: simulate position after this round's execution | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 272 | # Step 3: estimate the NEXT round's token demand | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 281 | # Step 4: compute new blocks needed from that position | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 46 | # Step 1: Sort the items by weight in descending order (we are sorting by weight now) | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 59 | # Step 2: Calculate the number of items per box | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 64 | # Step 3: Initialize card_num boxes with empty lists to store item IDs | COMMENT |
| LOW | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 86 | # Step 4: Distribute items into boxes based on weight | COMMENT |
| LOW | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 108 | # Step 5: Output each box's contents and total weight | COMMENT |
| LOW⚡ | vllm_ascend/ops/cv_linear.py | 21 | # Step 1: Quantize (Vector) | STRING |
| LOW⚡ | vllm_ascend/ops/cv_linear.py | 24 | # Step 2: Matrix multiply (Cube) | STRING |
| LOW | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 52 | # Step 1: Compute sum of squares in float32 to avoid overflow | COMMENT |
| LOW⚡ | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 63 | # Step 2: Compute RMS (root mean square) in float32 | COMMENT |
| LOW⚡ | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 68 | # Step 3: Normalize and apply weight | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 421 | # Step 1: Compute diagonal blocks of attention | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 469 | # Step 2: Compute key-value outer products for each block in parallel. | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 496 | # Step 3: Reduce key-value outer products across blocks and update | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 516 | # Step 4: Compute non-diagonal blocks of attention. | COMMENT |
| LOW | examples/offline_inference_audio_language.py | 76 | # NOTE: The default `max_num_seqs` and `max_model_len` may result in OOM on | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 34 | # Step 2: Start the Proxy Server | COMMENT |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 302 | // Step 1: Read grouplist reduceSum to calculate total data count | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 310 | // Step 2: Calculate core allocation | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 333 | // Step 3: Calculate total data volume | COMMENT |
| LOW⚡ | …el/grouped_matmul_swiglu_quant_weight_nz_tensor_list.h | 339 | // Step 4: Allocate space | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 396 | // Step 1: Read grouplist reduceSum to calculate total data count | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 400 | // Step 2: Calculate core allocation | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 423 | // Step 3: Calculate total data volume | COMMENT |
| LOW⚡ | …d_matmul_swiglu_quant_weight_nz_tensor_list_split_ws.h | 429 | // Step 4: Allocate space | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 446 | # Step 3: PV: [groupSize, valid_len] x [valid_len, D] -> [groupSize, D] | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 449 | # Step 4: rescale O | COMMENT |
| LOW⚡ | …rc/attention/sparse_attention_score/tests/test_bf16.py | 457 | # Step 5: final divide + cast | COMMENT |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 414 | # Step 1: QK: [groupSize, D] x [D, valid_len] -> [groupSize, valid_len] | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 236 | // Step 1: Cast int8 -> half -> fp32 | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 244 | // Step 2: Mul dequant_scale | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 252 | // Step 3: Add dequant_bias (if exists) | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 289 | // Step 1: tanh(gate / beta) * beta | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 299 | // Step 2: sigmoid(gate) = 1 / (1 + exp(-gate)) | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 334 | // Step 3: situ_a = tanhResult * sigmoidResult | COMMENT |
| LOW⚡ | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 338 | // Step 4: if linear_beta > 0: up = linear_beta * tanh(up / linear_beta) | COMMENT |
| LOW | …/moe/dequant_situ_quant/op_kernel/dequant_situ_quant.h | 349 | // Step 5: output = situ_a * up = tanhResult * up | COMMENT |
| LOW⚡ | …moe/situ_mx_quant/op_host/situ_mx_quant_infershape.cpp | 89 | // Step 1: Compute y shape (Situ output) | COMMENT |
| LOW⚡ | …moe/situ_mx_quant/op_host/situ_mx_quant_infershape.cpp | 96 | // Step 2: Compute mxscale shape | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 206 | // Step 1: Situ activation | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 211 | // Step 2: MxQuant - extract max exponent per 32-element block | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 216 | // Step 3: MxQuant - compute E8M0 scale and reciprocal scale | COMMENT |
| LOW⚡ | …tu_mx_quant/op_kernel/arch35/situ_mx_quant_axis_last.h | 224 | // Step 4: MxQuant - quantize to FP8 | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 397 | # Step 1: Create weights | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 412 | # Step 2: Simulate weight loading | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 440 | # Step 3: Process after loading | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 262 | # Step 1: estimate how many tokens this round will advance | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 269 | # Step 2: simulate position after this round's execution | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 272 | # Step 3: estimate the NEXT round's token demand | COMMENT |
| LOW⚡ | vllm_ascend/core/batch_job_aware_scheduler.py | 281 | # Step 4: compute new blocks needed from that position | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 46 | # Step 1: Sort the items by weight in descending order (we are sorting by weight now) | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 59 | # Step 2: Calculate the number of items per box | COMMENT |
| LOW⚡ | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 64 | # Step 3: Initialize card_num boxes with empty lists to store item IDs | COMMENT |
| LOW | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 86 | # Step 4: Distribute items into boxes based on weight | COMMENT |
| LOW | vllm_ascend/eplb/core/policy/policy_default_eplb.py | 108 | # Step 5: Output each box's contents and total weight | COMMENT |
| LOW⚡ | vllm_ascend/ops/cv_linear.py | 21 | # Step 1: Quantize (Vector) | STRING |
| LOW⚡ | vllm_ascend/ops/cv_linear.py | 24 | # Step 2: Matrix multiply (Cube) | STRING |
| LOW | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 52 | # Step 1: Compute sum of squares in float32 to avoid overflow | COMMENT |
| LOW⚡ | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 63 | # Step 2: Compute RMS (root mean square) in float32 | COMMENT |
| LOW⚡ | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 68 | # Step 3: Normalize and apply weight | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 421 | # Step 1: Compute diagonal blocks of attention | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 469 | # Step 2: Compute key-value outer products for each block in parallel. | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 496 | # Step 3: Reduce key-value outer products across blocks and update | COMMENT |
| LOW | vllm_ascend/ops/triton/mamba/lightning_attn.py | 516 | # Step 4: Compute non-diagonal blocks of attention. | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 34 | # Step 2: Start the Proxy Server | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 48 | # Step 3: Send a Request to the Proxy | COMMENT |
| LOW⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 70 | # Step 4: Health Check | COMMENT |
| LOW⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 34 | # Step 2: Start the Proxy Server | COMMENT |
| LOW⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 48 | # Step 3: Send a Request to the Proxy | COMMENT |
| LOW⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 70 | # Step 4: Health Check | COMMENT |
| LOW⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 80 | # Step 5: Add or Remove Prefiller or Decoder Instances (Optional) | COMMENT |
| LOW⚡ | examples/eplb/eplb_deepseek.py | 108 | # Step 1: pack groups to nodes | COMMENT |
| LOW⚡ | examples/eplb/eplb_deepseek.py | 117 | # Step 2: construct redundant experts within nodes | COMMENT |
| LOW⚡ | examples/eplb/eplb_deepseek.py | 122 | # Step 3: pack physical_experts to GPUs | COMMENT |
| LOW⚡ | examples/offline_DSD_k_tuner/generate_config.py | 425 | # Step 1: get acceptance_rate_per_pos | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/bisect/runner.py | 234 | sources = " ; ".join(f"source {f} 2>/dev/null || true" for f in _ENV_SOURCE_FILES) | CODE |
| HIGH | tools/bisect/worker_agent.py | 58 | sources = " ; ".join(f"source {f} 2>/dev/null || true" for f in runner._ENV_SOURCE_FILES) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 502 | (r.coverage || {}).arch && r.coverage.arch.includes(filterType) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 507 | (r.coverage || {}).graph_mode && r.coverage.graph_mode.includes(filterGraph) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 513 | return Object.values(cov).some(arr => arr && arr.length > 0); | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 679 | while (i < total && rows.length < pageSize && scanned < ZERO_SCAN_CAP) { | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 682 | if (!coveredSet.has(key) && !isInvalidCombo(combo, dims)) rows.push(combo); | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 687 | scanCapped: scanned >= ZERO_SCAN_CAP && rows.length < pageSize, | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 405 | let currentSort = {col: null, asc: true}; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 421 | const c = r.card_count || 1; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 458 | const isMarked = Object.values(cov).some(arr => arr && arr.length > 0); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 534 | `<a href="#" onclick="window._hmFilter=null;filter();return false;" style="color:#2563eb">✕ clear</a>`; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 592 | return (vals && vals.length) ? new Set(vals) : new Set(); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 629 | for (const v of arr) next.push([...combo, v]); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 707 | return (vals && vals.length) ? vals.filter(v => allowed.includes(v)) : []; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 713 | for (const c of combos) for (const v of s) next.push([...c, v]); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 724 | entry.tests.push(r); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 866 | if (window._explorerState && explorerPage === 0) tbody.innerHTML = html; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 949 | window._hmFilter = null; | CODE |
| HIGH | vllm_ascend/ascend_config.py | 246 | "draft_window_size": null, | STRING |
| HIGH | vllm_ascend/ascend_config.py | 273 | "expert_map_path": null, | STRING |
| HIGH | vllm_ascend/ascend_config.py | 276 | "expert_map_record_path": null, | STRING |
| HIGH | vllm_ascend/ascend_config.py | 317 | "need_timing": null, | STRING |
| HIGH | vllm_ascend/ascend_config.py | 340 | "method": null, | STRING |
| HIGH | …nsfer/kv_pool/ascend_store/backend/mooncake_backend.py | 336 | raise TypeError(f"tenant_id must be a string or null, got {type(value).__name__}: {value!r}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/upload_to_openlibing.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/ai_qos.py | 338 | def set_qos(self, state_path: Path) -> None: | CODE |
| LOW | tools/bisect/version_compat.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/coordinator.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/runner.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/git_ops.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/good_table.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/build_manager.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/state.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/verdict.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/e2e/conftest.py | 90 | logger = logging.getLogger(__name__) | CODE |
| LOW | …htly/multi_node/internal_dp/scripts/test_multi_node.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ly/multi_node/internal_dp/scripts/multi_node_config.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 17 | __all__ = [ | CODE |
| LOW | tests/e2e/nightly/multi_node/scripts/utils.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/e2e/nightly/multi_node/scripts/benchmark_results.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW | …y/multi_node/external_dp/scripts/external_dp_config.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/e2e/nightly/multi_node/external_dp/scripts/runtime.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/e2e/nightly/multi_node/external_dp/scripts/utils.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tly/multi_node/external_dp/scripts/test_external_dp.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nightly/single_node/models/scripts/test_single_node.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ghtly/single_node/models/scripts/single_node_config.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …2e/vllm_interface/vllm_interface_contracts/__init__.py | 34 | __all__ = [ | CODE |
| LOW | …m_interface/vllm_interface_contracts/call_contracts.py | 1474 | __all__ = [ | CODE |
| LOW | vllm_ascend/logger.py | 137 | def _setup_file_logging(log_dir: str | None = None) -> None: | CODE |
| LOW⚡ | vllm_ascend/platform.py | 1008 | def _update_compilation_modes(vllm_config: VllmConfig, ascend_config) -> None: | CODE |
| LOW | vllm_ascend/platform.py | 326 | def update_block_size_for_backend(cls, vllm_config: VllmConfig) -> None: | CODE |
| LOW | vllm_ascend/platform.py | 1277 | def _set_pytorch_npu_alloc_env(vllm_config: VllmConfig) -> None: | CODE |
| LOW | vllm_ascend/utils.py | 1089 | def set_potential_max_tokens(vllm_config) -> None: | CODE |
| LOW | vllm_ascend/_310p/attention/metadata_builder.py | 39 | def set_query_lens_cpu(attn_metadata: AscendMetadata, query_lens_cpu: torch.Tensor) -> None: | CODE |
| LOW | vllm_ascend/_310p/spec_decode/__init__.py | 20 | __all__ = [ | CODE |
| LOW | vllm_ascend/_310p/quantization/__init__.py | 20 | __all__ = [ | CODE |
| LOW | vllm_ascend/_310p/sample/__init__.py | 3 | __all__ = ["AscendSampler310"] | CODE |
| LOW | vllm_ascend/_310p/ops/fla/__init__.py | 6 | __all__ = [ | CODE |
| LOW⚡ | vllm_ascend/attention/sfa_v1.py | 1252 | def _update_indexcache_topk_indices(self, topk_indices: torch.Tensor) -> None: | CODE |
| LOW⚡ | vllm_ascend/core/recompute_scheduler.py | 196 | def _update_waiting_for_remote_kv(self, request: Request) -> None: | CODE |
| LOW | vllm_ascend/core/profiling_chunk_predictor.py | 213 | def set_target_latency(self, base_chunk_size: int, elapsed_time: float = 0.0) -> None: | CODE |
| LOW | vllm_ascend/xlite/xlite.py | 440 | def set_xlite_attr(xlite_attr: str, layer_attr: str) -> None: | CODE |
| LOW | …end/distributed/device_communicators/pyhccl_wrapper.py | 256 | __all__ = [ | CODE |
| LOW⚡ | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 170 | def update_computed_tokens(self, computed_tokens: int) -> None: | CODE |
| LOW⚡ | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 174 | def update_transferred_tokens(self, transferred_tokens: int) -> None: | CODE |
| LOW | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 620 | def update_failed_task(self, req_id: str) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 1170 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 1463 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW⚡ | …istributed/kv_transfer/kv_p2p/sfa_pd_rd2h/scheduler.py | 62 | def update_computed_tokens(self, computed_tokens: int) -> None: | CODE |
| LOW⚡ | …istributed/kv_transfer/kv_p2p/sfa_pd_rd2h/scheduler.py | 65 | def update_transferred_tokens(self, transferred_tokens: int) -> None: | CODE |
| LOW | …d/kv_transfer/kv_pool/recompute_cpu_offload/manager.py | 534 | def update_connector_output(self, connector_output: KVConnectorOutput) -> None: | CODE |
| LOW | …tributed/kv_transfer/kv_pool/ucm_connector/__init__.py | 5 | __all__ = ["UCMConnectorV1"] | CODE |
| LOW⚡ | …ributed/kv_transfer/kv_pool/ucm_connector/connector.py | 265 | def update_connector_output(self, connector_output: KVConnectorOutput) -> None: | CODE |
| LOW⚡ | …ributed/kv_transfer/kv_pool/ucm_connector/connector.py | 281 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW | …ributed/kv_transfer/kv_pool/ucm_connector/connector.py | 94 | def set_host_xfer_buffer_ops(self, copy_operation: CopyBlocksOp) -> None: | CODE |
| LOW | …ributed/kv_transfer/kv_pool/ucm_connector/connector.py | 214 | def update_state_after_alloc(self, request: "Request", blocks: "KVCacheBlocks", num_external_tokens: int) -> None: | CODE |
| LOW⚡ | …ibuted/kv_transfer/kv_pool/ascend_store/pool_worker.py | 460 | def set_external_slot_release_waiter(self, waiter: Callable[[int], None]) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/kv_transfer.py | 479 | def _set_os_thread_name(self) -> None: | CODE |
| LOW | …ted/kv_transfer/kv_pool/ascend_store/pool_scheduler.py | 987 | def update_finished_sending(self, finished_sending: set[str] | None) -> None: | CODE |
| LOW | …ted/kv_transfer/kv_pool/ascend_store/pool_scheduler.py | 991 | def update_finished_recving(self, finished_recving: set[str] | None) -> None: | CODE |
| LOW | vllm_ascend/model_executor/offloader/__init__.py | 6 | __all__ = [ | CODE |
| LOW | vllm_ascend/model_executor/warmup/__init__.py | 6 | __all__ = [ | CODE |
| LOW | vllm_ascend/models/llama_eagle3.py | 14 | logger = logging.getLogger(__name__) | CODE |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 85 | # Check if Chip Name exists (Ascend950 includes it directly) | COMMENT |
| LOW | tools/collect_user_first_contribution.sh | 135 | # Check if it's in format "ID+username" or just "username" | COMMENT |
| LOW | tools/collect_user_first_contribution.sh | 166 | # Check if we should do incremental update | COMMENT |
| LOW | tools/collect_user_first_contribution.sh | 173 | # Check if LAST_COMMIT is an ancestor of CURRENT_HEAD | COMMENT |
| LOW | tools/collect_user_first_contribution.sh | 227 | # Check if contributor already exists (deduplication) | COMMENT |
| LOW | tools/mooncake_installer.sh | 196 | # Check if thirdparties directory exists | COMMENT |
| LOW | tools/mooncake_installer.sh | 206 | # Check if yalantinglibs is already installed | COMMENT |
| LOW | tools/mooncake_installer.sh | 255 | # Check if .gitmodules exists | COMMENT |
| LOW | tools/mooncake_installer.sh | 257 | # Check if submodules are already initialized by looking for the .git directory in the first submodule | COMMENT |
| LOW | tools/mooncake_installer.sh | 307 | # Check if Go is already installed | COMMENT |
| LOW | …ts/ut/model_loader/netloader/test_netloader_elastic.py | 742 | # Check if the start() method is called. | COMMENT |
| LOW | tests/ut/ops/test_comm_utils.py | 49 | # Check if the output tensor is created properly | COMMENT |
| LOW | …four_card/rlhf/consistency/test_batch_invariant_tp4.py | 219 | # Check if tokens match first | COMMENT |
| LOW | …s/e2e/pull_request/two_card/lora/test_qwen3moe_lora.py | 46 | # Print the outputs. | COMMENT |
| LOW | …est/one_card/compile/test_graphex_norm_quant_fusion.py | 166 | # Check if fusion operator is available | COMMENT |
| LOW | …est/one_card/compile/test_graphex_norm_quant_fusion.py | 189 | # Check if the bias operator exists | COMMENT |
| LOW | tests/e2e/pull_request/one_card/lora/test_ilama_lora.py | 32 | # Print the outputs. | COMMENT |
| LOW | tests/e2e/pull_request/one_card/lora/test_olmoe_lora.py | 69 | # Print the outputs. | COMMENT |
| LOW | tests/e2e/nightly/multi_node/scripts/run.sh | 66 | # Set transformers to offline mode to avoid downloading models during tests | COMMENT |
| LOW | …ingle_node/ops/singlecard_ops/triton/test_bad_words.py | 38 | # Check if adding this bad word would exceed the token limit | COMMENT |
| LOW | …ingle_node/ops/singlecard_ops/triton/test_bad_words.py | 64 | # Set input_ids to match the first bad word | COMMENT |
| LOW | …lm-ascend-release/scripts/update_version_references.py | 83 | # Check if this update has a regex pattern or a template pattern | COMMENT |
| LOW | …lm-ascend-release/scripts/update_version_references.py | 180 | # Check if all updates are manual actions | COMMENT |
| LOW | …ts/skills/vllm-ascend-release/scripts/fetch_commits.py | 172 | # Check if this tag's commit is an ancestor of head | COMMENT |
| LOW | …ts/skills/vllm-ascend-release/scripts/fetch_commits.py | 1210 | # Check if message already contains the full URL pattern | COMMENT |
| LOW | …ills/vllm-ascend-release/scripts/scan_test_coverage.py | 329 | # Check if there's a linked issue and if it's resolved | COMMENT |
| LOW | vllm_ascend/profiling_config.py | 561 | # Check if the configuration file already exists | STRING |
| LOW | vllm_ascend/core/dyntra_lb_scheduler.py | 1054 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | vllm_ascend/core/recompute_scheduler.py | 926 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | vllm_ascend/core/scheduler_profiling_chunk.py | 687 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 796 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 656 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 741 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | vllm_ascend/quantization/utils.py | 103 | # Check if it's a local path | COMMENT |
| LOW | vllm_ascend/quantization/methods/w8a8/w8a8_mxfp8.py | 142 | # Check if already transformed to avoid double transformation | COMMENT |
| LOW | vllm_ascend/quantization/methods/w8a8/w8a8_mxfp8.py | 331 | # Check if already transformed to avoid double transformation | COMMENT |
| LOW | vllm_ascend/patch/platform/patch_balance_schedule.py | 733 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW⚡ | …ascend/model_loader/netloader/executor/netloader_pg.py | 63 | # Check if world_size is positive | COMMENT |
| LOW⚡ | …ascend/model_loader/netloader/executor/netloader_pg.py | 66 | # Check if rank is within [0, world_size - 1] | COMMENT |
| LOW⚡ | …ascend/model_loader/netloader/executor/netloader_pg.py | 69 | # Check if HCCL is available | COMMENT |
| LOW⚡ | …ascend/model_loader/netloader/executor/netloader_pg.py | 72 | # Check if timeout is a timedelta type | COMMENT |
| LOW⚡ | …ascend/model_loader/netloader/executor/netloader_pg.py | 75 | # Check if group_name already exists | COMMENT |
| LOW | …ascend/model_loader/netloader/executor/netloader_pg.py | 121 | # Check if pg_options is None or not of type ProcessGroupHCCL.Options | COMMENT |
| LOW | …ascend/model_loader/netloader/executor/netloader_pg.py | 169 | # Check if pg is in keys of _world.pg_coalesce_state | COMMENT |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1215 | # Check if draft token is in candidates | COMMENT |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1539 | # Check if draft token is in candidates | COMMENT |
| LOW | …scend/ops/triton/v2/sample/apply_top_k_top_p_triton.py | 243 | # Check if any of the pivots satisfy termination condition | COMMENT |
| LOW | …scend/ops/triton/v2/sample/apply_top_k_top_p_triton.py | 317 | # Check if any of the pivots satisfy termination condition | COMMENT |
| LOW | …scend/ops/triton/v2/sample/apply_top_k_top_p_triton.py | 496 | # Check if the pivot satisfies termination condition | COMMENT |
| LOW | …scend/ops/triton/v2/sample/apply_top_k_top_p_triton.py | 651 | # Check if the pivot satisfies termination condition | COMMENT |
| LOW | …scend/ops/triton/v2/sample/apply_top_k_top_p_triton.py | 714 | # Check if the pivot satisfies termination condition | COMMENT |
| LOW | vllm_ascend/worker/worker.py | 1041 | # Check if profiling is enabled (RFC #6954 - align with upstream vLLM) | COMMENT |
| LOW | vllm_ascend/worker/model_runner_v1.py | 2046 | # Check if the scheduler signaled that calibration is complete. | COMMENT |
| LOW | vllm_ascend/worker/model_runner_v1.py | 4199 | # Check if shared_by contains both MambaSpec and HiddenStateCacheSpec. | COMMENT |
| LOW | vllm_ascend/compilation/compiler_interface.py | 128 | # Set sym_range to limit static kernel compilation to specified batch sizes. | COMMENT |
| LOW | examples/offline_data_parallel.py | 172 | # Print the outputs. | COMMENT |
| LOW | examples/eplb/eplb_strategy.py | 48 | # Check if element is numeric | COMMENT |
| LOW | .github/workflows/pr_revert_command.yml | 218 | # Check if a revert PR already exists for this PR. | COMMENT |
| LOW | .github/workflows/pr_cherry_pick_command.yml | 201 | # Check if a cherry-pick PR already exists for this target branch. | COMMENT |
| LOW | .github/workflows/scripts/test_selector.py | 760 | # Check if this test covers any line of this function | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 379 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_fp16.py | 421 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 493 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 621 | CODE | |
| LOW | …tention_score/tests/test_sparse_attention_score_fp8.py | 771 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 566 | CODE | |
| LOW | …rc/attention/sparse_attention_score/tests/test_bf16.py | 608 | CODE | |
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 226 | CODE | |
| LOW | tests/ut/test_ascend_forward_context.py | 21 | CODE | |
| LOW | tests/ut/attention/utils.py | 139 | CODE | |
| LOW | tests/ut/attention/a2/test_attention_v1_precision.py | 129 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_pool_worker.py | 42 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_pool_worker.py | 1528 | CODE | |
| LOW | tests/ut/model_executor/warmup/helpers.py | 12 | CODE | |
| LOW | tests/ut/ops/a2/test_token_dispatcher.py | 48 | CODE | |
| LOW | tests/e2e/conftest.py | 286 | CODE | |
| LOW | tests/e2e/conftest.py | 966 | CODE | |
| LOW | tests/e2e/conftest.py | 1398 | CODE | |
| LOW | …/singlecard_ops/test_kimi_kda_recurrent_ascendc_npu.py | 61 | CODE | |
| LOW | …e_node/ops/singlecard_ops/test_npu_moe_gating_top_k.py | 33 | CODE | |
| LOW | …/singlecard_ops/test_recurrent_gated_delta_rule_310.py | 38 | CODE | |
| LOW | vllm_ascend/ascend_forward_context.py | 59 | CODE | |
| LOW | vllm_ascend/_310p/model_runner_310p.py | 571 | CODE | |
| LOW | vllm_ascend/_310p/npu_input_batch.py | 10 | CODE | |
| LOW | vllm_ascend/_310p/fused_moe/fused_moe.py | 103 | CODE | |
| LOW | vllm_ascend/_310p/ops/fla/gdn_310.py | 146 | CODE | |
| LOW | vllm_ascend/attention/context_parallel/common_cp.py | 213 | CODE | |
| LOW | …stributed/kv_transfer/kv_pool/ascend_store/metadata.py | 490 | CODE | |
| LOW | …stributed/kv_transfer/kv_pool/ascend_store/metadata.py | 752 | CODE | |
| LOW | …stributed/kv_transfer/kv_pool/ascend_store/metadata.py | 871 | CODE | |
| LOW | …stributed/kv_transfer/kv_pool/ascend_store/metadata.py | 961 | CODE | |
| LOW | …stributed/kv_transfer/kv_pool/ascend_store/metadata.py | 1159 | CODE | |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/kv_transfer.py | 599 | CODE | |
| LOW | …ted/kv_transfer/kv_pool/ascend_store/pool_scheduler.py | 1028 | CODE | |
| LOW | vllm_ascend/models/minimax_m3/minimax_m3.py | 149 | CODE | |
| LOW | vllm_ascend/models/minimax_m3/minimax_m3.py | 694 | CODE | |
| LOW | …m_ascend/spec_decode/extract_hidden_states_proposer.py | 115 | CODE | |
| LOW | vllm_ascend/spec_decode/ngram_proposer_npu.py | 14 | CODE | |
| LOW | vllm_ascend/spec_decode/medusa_proposer.py | 16 | CODE | |
| LOW | vllm_ascend/spec_decode/llm_base_proposer.py | 575 | CODE | |
| LOW | vllm_ascend/spec_decode/llm_base_proposer.py | 769 | CODE | |
| LOW | vllm_ascend/spec_decode/suffix_proposer.py | 10 | CODE | |
| LOW | vllm_ascend/spec_decode/step3p5.py | 209 | CODE | |
| LOW | vllm_ascend/spec_decode/step3p5.py | 322 | CODE | |
| LOW | vllm_ascend/spec_decode/ngram_proposer.py | 15 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a8/w4a8_mxfp4.py | 97 | CODE | |
| LOW | vllm_ascend/quantization/methods/w8a8/w8a8_static.py | 117 | CODE | |
| LOW | …cend/quantization/methods/w4a4/w4a4_mxfp4_flatquant.py | 143 | CODE | |
| LOW | vllm_ascend/quantization/methods/wna16/w8a16.py | 72 | CODE | |
| LOW | vllm_ascend/patch/platform/patch_fused_moe.py | 91 | CODE | |
| LOW | …lm_ascend/patch/platform/patch_kv_cache_coordinator.py | 503 | CODE | |
| LOW | …lm_ascend/patch/platform/patch_kv_cache_coordinator.py | 573 | CODE | |
| LOW | vllm_ascend/patch/worker/patch_kimi_k25.py | 73 | CODE | |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1130 | CODE | |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1482 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 159 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 235 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 284 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 374 | CODE | |
| LOW | vllm_ascend/ops/activation.py | 32 | CODE | |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | vllm_ascend/attention/sfa_v1.py | 701 | weight_uq_qr = self.q_proj.weight.data.T.contiguous() | CODE |
| CRITICAL | vllm_ascend/spec_decode/llm_base_proposer.py | 435 | self.model.model.embed_tokens.weight.cpu(), | CODE |
| CRITICAL | vllm_ascend/ops/triton/triton_utils.py | 49 | device_properties: dict[str, Any] = triton.runtime.driver.active.utils.get_device_properties( | CODE |
| CRITICAL | vllm_ascend/ops/triton/rms_norm.py | 51 | device_properties = triton.runtime.driver.active.utils.get_device_properties(q.device) | CODE |
| CRITICAL | vllm_ascend/ops/triton/batch_invariant/rmsnorm.py | 115 | max_grid_size = triton.runtime.driver.active.utils.get_device_properties(torch.npu.current_device())[ | CODE |
| CRITICAL | vllm_ascend/ops/triton/batch_invariant/matmul.py | 272 | triton.runtime.driver.active.utils.get_device_properties(torch.npu.current_device())["num_vectorcore"] // 2 | CODE |
| CRITICAL | vllm_ascend/ops/triton/spec_decode/ngram.py | 214 | properties = triton.runtime.driver.active.utils.get_device_properties(device_idx) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/upload_to_openlibing.py | 64 | Upload files to OpenLibing OBS bucket. Args: file_paths: List of file paths to upload openlibi | STRING |
| HIGH | vllm_ascend/ascend_forward_context.py | 281 | Select the MoE communication method according to parallel settings, device generation, and token count. 1. Non- | STRING |
| HIGH | vllm_ascend/_310p/attention/attention_v1.py | 311 | Main dispatch method for attention operations. Routes the execution to Decode, Prefill, or Chunked Pre | STRING |
| HIGH | vllm_ascend/_310p/attention/attention_mask.py | 123 | Retrieves the appropriate attention mask based on the model configuration. When compressed mask is sup | STRING |
| HIGH | vllm_ascend/xlite/xlite.py | 655 | Look up and initialize the appropriate xlite model adapter based on the architecture specified in vLLM config and th | STRING |
| HIGH | vllm_ascend/xlite/xlite.py | 716 | Proxy unknown attributes to the wrapped runnable model. Args: key (str): The attribute name request | STRING |
| HIGH | …nsfer/kv_pool/ascend_store/backend/mooncake_backend.py | 342 | Parse storage size strings with support for units: GB, MB, KB, B Args: value: Input value (int, str, o | STRING |
| HIGH | …nsfer/kv_pool/ascend_store/backend/mooncake_backend.py | 388 | Convert numeric string to byte count Args: number_str: Numeric portion of input multiplier: Un | STRING |
| HIGH | …cend/quantization/methods/w4a4/w4a4_mxfp4_flatquant.py | 34 | Get decomposed dimensions for Kronecker quantization. Args: n: Dimension to decompose m: Tensor para | STRING |
| HIGH | …ascend/model_loader/netloader/executor/netloader_pg.py | 41 | Initializes a stateless process group. Args: host: Hostname. port: Port number. world_size: Size o | STRING |
| HIGH | vllm_ascend/ops/triton/fla/chunk.py | 276 | Args: q (torch.Tensor): queries of shape `[B, T, H, K]` if `head_first=False` else `[B, H, T, K | STRING |
| HIGH | examples/save_sharded_state_310.py | 121 | Extract quantization description from JSON configuration file. Args: json_file: Path to the JSON confi | STRING |
| HIGH | …es/dynamic_bucket_load_balancer/hybrid_proxy_server.py | 113 | Split servers into num_groups groups. Args: servers (list): the server list to group. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/ut/distributed/weight_transfer/test_packed_tensor.py | 84 | # already implements ``__enter__``/``__exit__`` so just return it. | COMMENT |
| LOW | tests/ut/ops/test_vocab_parallel_embedding.py | 146 | # Should just pass through without masking | COMMENT |
| MEDIUM⚡ | tests/e2e/pull_request/one_card/rlhf/conftest.py | 74 | # Server harness | COMMENT |
| LOW | vllm_ascend/attention/attention_v1.py | 1358 | # just use getattr to avoid attribute error. | COMMENT |
| MEDIUM | vllm_ascend/core/profiling_chunk_predictor.py | 138 | # Keep a robust fallback for environments where least-squares may | COMMENT |
| MEDIUM | vllm_ascend/ops/triton/rope.py | 273 | # TODO: use a more robust method to get BLOCK_SIZE_HEAD | COMMENT |
| LOW | vllm_ascend/worker/block_table.py | 189 | # NOTE(woosuk): We can't simply use `token_indices // block_size` | COMMENT |
| LOW | vllm_ascend/worker/v2/model_runner.py | 147 | # so here we just call init_speculator to reinitialize speculator. | COMMENT |
| MEDIUM | …fill_v1/load_balance_proxy_layerwise_server_example.py | 83 | # - For production, ensure your backend servers are robust and secure. | COMMENT |
| MEDIUM | …egated_prefill_v1/load_balance_proxy_server_example.py | 111 | # - For production, ensure your backend servers are robust and secure. | COMMENT |
| MEDIUM | examples/disaggregated_encoder/disagg_epd_proxy.py | 244 | # for nixl connector to facilitate kv transfer... | COMMENT |
| MEDIUM | …ted/epd_load_balance_proxy_layerwise_server_example.py | 92 | # - For production, ensure your backend servers are robust and secure. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ransfer/sparse_kv_offload/sparse_kv_offload_manager.py | 71 | # NOTE make sure to allocate k+v together and split them after allocate. | COMMENT |
| MEDIUM⚡ | …fill_v1/load_balance_proxy_layerwise_server_example.py | 27 | # For testing, you can use the provided mock server: | COMMENT |
| MEDIUM⚡ | …egated_prefill_v1/load_balance_proxy_server_example.py | 27 | # For testing, you can use the provided mock server: | COMMENT |
| MEDIUM⚡ | …ted/epd_load_balance_proxy_layerwise_server_example.py | 27 | # For testing, you can use the provided mock server: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/source/user_guide/feature_guide/rl.md | 312 | ## Tool calling for agentic RL | COMMENT |
| MEDIUM | docs/source/tutorials/models/GLM5.md | 7 | [GLM-5](https://huggingface.co/zai-org/GLM-5) uses a Mixture-of-Experts (MoE) architecture and targets complex systems e | CODE |
| MEDIUM | docs/source/tutorials/models/GLM5.2.md | 5 | [GLM-5.2](https://huggingface.co/zai-org/GLM-5.2) uses a Mixture-of-Experts (MoE) architecture and targets complex syste | CODE |
| MEDIUM | vllm_ascend/attention/dsa_v1.py | 716 | # the trailing context window plus the whole current draft block. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/e2e/pull_request/two_card/test_prefix_caching.py | 17 | # A prompt containing a large markdown table. The table is randomly generated by GPT-4. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ut/kv_offload/test_mooncake_hybrid_connector.py | 109 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_hybrid_connector.py | 151 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_hybrid_connector.py | 221 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 836 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 877 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 946 | def handle_request(req_meta: dict[str, Any]): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ut/attention/a2/test_mla_precision.py | 205 | for layer_name in ["placeholder"]: | CODE |
| LOW | tests/ut/attention/a2/test_mla_precision.py | 210 | ["placeholder"], | CODE |
| LOW | tests/ut/attention/a2/test_attention_v1_precision.py | 290 | ["placeholder"], | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vllm_ascend/worker/model_runner_v1.py | 2736 | # TODO: implement PR 28597 from vllm | COMMENT |