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,504 GitHub stars. SynthScan v2.0 examined 642,386 lines of code across 2762 source files, recording 6242 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 14.2 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 6242 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 | 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 | 306 | def maybe_download_from_modelscope( | CODE |
| LOW | tools/check_python_src_init.py | 28 | def check_init_file_in_package(directory): | CODE |
| LOW | tools/ai_qos.py | 50 | def _unset_state_parse_failed(state_path: Path) -> None: | CODE |
| LOW | tools/ai_qos.py | 56 | def _parse_and_validate_unset_state(data: object) -> tuple[dict, list[str], dict[str, list[int]], dict[str, list[int]]]: | CODE |
| LOW | tools/ai_qos.py | 195 | def _capture_original_sdma_mata( | CODE |
| LOW | tools/ai_qos.py | 224 | def _merge_baseline_for_new_devices( | CODE |
| LOW | tools/ai_qos.py | 249 | def _load_first_apply_baseline( | CODE |
| LOW | tools/docs_codegen/scanner.py | 208 | def _validate_unique_block_names(blocks: Sequence[ModelCodeBlock]) -> None: | CODE |
| LOW | tools/docs_codegen/generator.py | 115 | def _validate_generated_script(generated_script: GeneratedScript, *, block: ModelCodeBlock) -> None: | CODE |
| LOW | tools/docs_codegen/generator.py | 138 | def create_default_generator_service(repo_root: str | Path | None = None) -> GeneratorService: | CODE |
| LOW | tools/docs_codegen/utils.py | 179 | def substitute_template_positionals( | CODE |
| LOW⚡ | tools/docs_codegen/converters.py | 232 | def _resolve_single_node_server_port(envs: Mapping[str, ScalarValue]) -> ScalarValue: | CODE |
| LOW⚡ | tools/docs_codegen/converters.py | 240 | def _convert_single_node_case( | CODE |
| LOW⚡ | tools/docs_codegen/converters.py | 366 | def _convert_external_dp_template(loaded_yaml: LoadedYaml, *, block: ModelCodeBlock) -> GeneratedScript: | CODE |
| LOW⚡ | tools/docs_codegen/converters.py | 417 | def _convert_external_dp_launch(loaded_yaml: LoadedYaml, *, block: ModelCodeBlock) -> GeneratedScript: | CODE |
| 2882 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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/ngram_spec_decode/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/ngram_spec_decode/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | 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/kv_compress_epilog/CMakeLists.txt | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/kv_compress_epilog/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …rc/attention/kv_compress_epilog/op_host/CMakeLists.txt | 8 | # ====================================================================================================================== | COMMENT |
| MEDIUM | csrc/attention/compressor/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/compressor/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/compressor/README.md | 185 | # ------------- | COMMENT |
| MEDIUM | csrc/attention/compressor/README.md | 339 | # ------------- | COMMENT |
| MEDIUM | csrc/attention/compressor/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/compressor/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/lightning_indexer/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/lightning_indexer/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/lightning_indexer/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/lightning_indexer/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/vllm_quant_lightning_indexer/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/attention/vllm_quant_lightning_indexer/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/vllm_quant_lightning_indexer/README.md | 87 | # ------------- | COMMENT |
| MEDIUM | csrc/attention/vllm_quant_lightning_indexer/README.md | 165 | # ------------- | COMMENT |
| MEDIUM | …on/vllm_quant_lightning_indexer/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …on/vllm_quant_lightning_indexer/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tention/kv_quant_sparse_flash_attention/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tention/kv_quant_sparse_flash_attention/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kv_quant_sparse_flash_attention/op_host/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …kv_quant_sparse_flash_attention/op_host/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/store_kv_block/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/store_kv_block/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/store_kv_block/op_host/CMakeLists.txt | 8 | # ====================================================================================================================== | COMMENT |
| MEDIUM | csrc/attention/rms_norm_dynamic_quant/CMakeLists.txt | 1 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | csrc/attention/rms_norm_dynamic_quant/CMakeLists.txt | 9 | # ----------------------------------------------------------------------------------------------------------- | COMMENT |
| 639 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/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/vllm_compat.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/test_sfa_cp.py | 13 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/attention/utils.py | 330 | # Create a realistic slot mapping that corresponds to the block table | COMMENT |
| MEDIUM | tests/ut/attention/a2/test_sfa_cp_precision.py | 16 | # This file is a part of the vllm-ascend project. | COMMENT |
| MEDIUM | tests/ut/attention/a2/test_mla_v1.py | 1880 | # 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_mla_cp_precision.py | 16 | # This file is a part of the vllm-ascend project. | 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 | …ts/ut/core/test_short_request_first_scheduler_mixin.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 |
| 394 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 | .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 "gmm/grouped_matmul_swiglu_quant_v2/grouped_matmul_swiglu_quant_v2_torch_adpt.h" | COMMENT |
| LOW | csrc/torch_binding_meta.cpp | 1761 | ops.impl("device_print_tensor", &vllm_ascend::meta::device_print_tensor_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 | …ntion/ngram_spec_decode/ngram_spec_decode_torch_adpt.h | 1 | /* | COMMENT |
| LOW | …ntion/ngram_spec_decode/ngram_spec_decode_torch_adpt.h | 41 | // CopyOut path issues DataCopyPad GM writes whose burst length can | COMMENT |
| LOW | …tion/ngram_spec_decode/op_kernel/ngram_spec_decode.cpp | 1 | // Licensed under the BSD 3-Clause License (the "License"); | 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 | …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 | …lightning_indexer/op_kernel/lightning_indexer_common.h | 161 | 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 |
| LOW | …ion/op_host/kv_quant_sparse_flash_attention_tiling.cpp | 121 | #define OP_LOGE_FOR_INVALID_VALUE_WITH_REASON(opname, param, actual, reason) \ | COMMENT |
| LOW | …5/kv_quant_sparse_flash_attention_service_vector_mla.h | 21 | #include "lib/matmul_intf.h" | COMMENT |
| LOW | …el/arch35/kv_quant_sparse_flash_attention_kernel_mla.h | 21 | #include "kernel_tiling/kernel_tiling.h" | COMMENT |
| LOW | …h35/kv_quant_sparse_flash_attention_service_cube_mla.h | 21 | #include "lib/matrix/matmul/tiling.h" | COMMENT |
| LOW | …h35/kv_quant_sparse_flash_attention_service_cube_mla.h | 381 | // /* 生成Arg Traits, kernel中只需要调用ARGS_TRAITS就可以获取所有CubeBlock中的模板参数 */ | COMMENT |
| LOW | …arch35/kv_quant_sparse_flash_attention_common_arch35.h | 21 | #include "../../sparse_flash_attention/arch35/common/util_regbase.h" | COMMENT |
| LOW | …ttention/rms_norm_dynamic_quant/op_host/CMakeLists.txt | 1 | # This program is free software, you can redistribute it and/or modify it. | COMMENT |
| LOW | …ttention/rms_norm_dynamic_quant/op_host/CMakeLists.txt | 21 | # ) | COMMENT |
| LOW | csrc/attention/common/op_kernel/buffer_manager.h | 61 | #endif | COMMENT |
| LOW | csrc/attention/common/op_kernel/offset_calculator.h | 21 | #include "kernel_operator.h" | COMMENT |
| LOW | …ernel/arch35/sparse_flash_attention_service_cube_mla.h | 21 | #include "lib/matmul_intf.h" | COMMENT |
| LOW | …n/op_kernel/arch35/sparse_flash_attention_kernel_mla.h | 21 | #include "kernel_tiling/kernel_tiling.h" | COMMENT |
| LOW | …nel/arch35/sparse_flash_attention_service_vector_mla.h | 21 | #include "lib/matmul_intf.h" | COMMENT |
| LOW | …c/attention/load_index_kv_cache/op_host/CMakeLists.txt | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| LOW | …c/attention/load_index_kv_cache/op_host/CMakeLists.txt | 21 | COMMENT | |
| LOW | …ad_index_kv_cache/op_host/load_index_kv_cache_tiling.h | 21 | #include <iostream> | COMMENT |
| LOW | csrc/attention/store_kv_block_metadata/CMakeLists.txt | 1 | # --------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …lock_metadata/op_api/aclnn_store_kv_block_metadata.cpp | 21 | #include "aclnn_kernels/common/op_error_check.h" | COMMENT |
| LOW | …tion/indexer_compress_epilog_v2/op_host/CMakeLists.txt | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| LOW | …tion/indexer_compress_epilog_v2/op_host/CMakeLists.txt | 21 | COMMENT | |
| LOW | …_epilog_v2/op_host/indexer_compress_epilog_v2_tiling.h | 21 | #include <iostream> | COMMENT |
| LOW | …_epilog_v2/op_kernel/indexer_compress_epilog_v2_base.h | 281 | #endif | COMMENT |
| LOW | …on/recurrent_gated_delta_rule_v310/op_host/math_util.h | 61 | #endif // _MATH_UTIL_H_ | COMMENT |
| LOW | …tention/indexer_compress_epilog/op_host/CMakeLists.txt | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| 759 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_symbolic_meta.py | 20 | 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/distributed/ascend_store/test_backend.py | 24 | CODE | |
| LOW | …sts/ut/distributed/ascend_store/test_pool_scheduler.py | 21 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_config_data.py | 22 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_pool_worker.py | 21 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_coordinator.py | 23 | CODE | |
| LOW | tests/ut/distributed/ascend_store/test_kv_transfer.py | 23 | CODE | |
| LOW | …istributed/ascend_store/test_ascend_store_connector.py | 22 | 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 | 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_llm_base_proposer.py | 19 | CODE | |
| LOW | …ut/patch/platform/test_patch_glm47_tool_call_parser.py | 28 | 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/ops/test_moe_mlp.py | 8 | CODE | |
| LOW | tests/e2e/coverage_taxonomy.py | 23 | CODE | |
| LOW | tests/e2e/generate_coverage_html.py | 13 | CODE | |
| LOW | …pull_request/two_card/test_sequence_parallelism_moe.py | 48 | 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 | …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 | |
| LOW | …ts/e2e/pull_request/one_card/spec_decode/test_ngram.py | 1 | CODE | |
| LOW | tests/e2e/pull_request/one_card/spec_decode/utils.py | 1 | CODE | |
| LOW | …est/one_card/spec_decode/test_extract_hidden_states.py | 28 | CODE | |
| LOW | …ll_request/one_card/spec_decode/test_draft_parallel.py | 1 | CODE | |
| LOW | …ull_request/one_card/compile/test_norm_quant_fusion.py | 27 | CODE | |
| LOW | …glecard_ops/test_chunk_gated_delta_rule_fwd_h_aclnn.py | 8 | CODE | |
| LOW | …single_node/ops/singlecard_ops/test_chunk_fwd_o_310.py | 7 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/internal_dp/scripts/utils.py | 3 | CODE | |
| LOW | …ts/e2e/nightly/multi_node/external_dp/scripts/utils.py | 29 | CODE | |
| LOW | …node/ops/singlecard_ops/test_vocabparallelembedding.py | 5 | CODE | |
| LOW | …node/ops/singlecard_ops/test_vocabparallelembedding.py | 7 | CODE | |
| LOW | …le_node/ops/singlecard_ops/test_compressor_metadata.py | 8 | CODE | |
| 261 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 230 | 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 | 269 | except Exception as e: | 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/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/build_manager.py | 73 | except Exception: # noqa: BLE001 - best effort; fall back to rebuild | CODE |
| LOW | tools/bisect/vllm_compat.py | 49 | except Exception as exc: # noqa: BLE001 - vllm may be absent/broken | CODE |
| LOW | tests/ut/attention/a2/test_sfa_v1_precision.py | 47 | except Exception: | CODE |
| LOW | tests/ut/ops/a3_2/test_select_experts.py | 54 | except Exception as exc: | CODE |
| MEDIUM | tests/e2e/conftest.py | 566 | def _read_output(self, pipe, prefix): | CODE |
| MEDIUM | tests/e2e/conftest.py | 722 | def _read_output(self, pipe, prefix): | CODE |
| LOW | tests/e2e/conftest.py | 350 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 573 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 729 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 941 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1196 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1319 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1378 | except Exception as e: | CODE |
| LOW | tests/e2e/conftest.py | 1464 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1532 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1567 | except Exception: | CODE |
| LOW | tests/e2e/conftest.py | 1683 | except Exception: | CODE |
| LOW | tests/e2e/utils.py | 53 | except Exception: | CODE |
| MEDIUM | tests/e2e/pull_request/four_card/test_graph_mode.py | 650 | print("Error: Timeout waiting for worker results. A worker might have crashed.") | CODE |
| LOW | …pull_request/two_card/test_sequence_parallelism_moe.py | 385 | except Exception: | CODE |
| LOW | …pull_request/two_card/test_sequence_parallelism_moe.py | 411 | 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 | 213 | except Exception: | CODE |
| LOW | …tly/multi_node/external_dp/scripts/test_external_dp.py | 72 | except Exception as exc: # pragma: no cover - diagnostic only | CODE |
| LOW | tests/e2e/nightly/scripts/update_good_table.py | 52 | except Exception: | CODE |
| LOW | …s/multicard_ops_a3/test_dispatch_gmm_combine_decode.py | 533 | except Exception as e: | CODE |
| LOW | …ops/singlecard_ops/triton/test_compute_slot_mapping.py | 105 | except Exception as e: | CODE |
| MEDIUM | …ops/singlecard_ops/triton/test_compute_slot_mapping.py | 106 | print(f"Error during executionm: {e}") | CODE |
| LOW | …kills/vllm-ascend-release/scripts/scan_release_bugs.py | 71 | except Exception: | CODE |
| LOW | …kills/vllm-ascend-release/scripts/scan_release_bugs.py | 92 | except Exception: | CODE |
| MEDIUM | …lm-ascend-release/scripts/update_version_references.py | 223 | print(f"Error: {e}") | CODE |
| MEDIUM | …llm-ascend-release/scripts/update_checklist_section.py | 134 | print(f"Error: Content file not found: {content_path}") | CODE |
| LOW | …ts/skills/vllm-ascend-release/scripts/fetch_commits.py | 1540 | except Exception as e: | CODE |
| MEDIUM | …ts/skills/vllm-ascend-release/scripts/fetch_commits.py | 1541 | print(f"Error: {e}") | CODE |
| MEDIUM | …ills/vllm-ascend-release/scripts/generate_checklist.py | 57 | print(f"Error: Template not found at {template_path}") | CODE |
| LOW | …ills/vllm-ascend-release/scripts/scan_test_coverage.py | 137 | except Exception: | CODE |
| LOW | …ills/vllm-ascend-release/scripts/scan_test_coverage.py | 158 | except Exception: | CODE |
| 193 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | collect_env.py | 198 | CODE | |
| LOW | setup.py | 74 | CODE | |
| LOW | setup.py | 368 | 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/generate_zh_docs.py | 114 | CODE | |
| LOW | tools/generate_zh_docs.py | 216 | CODE | |
| LOW | tools/ai_qos.py | 340 | CODE | |
| LOW | tools/check_boolean_context_manager.py | 38 | 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 | 2464 | CODE | |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 2493 | CODE | |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 2517 | CODE | |
| LOW | tests/ut/attention/a2/test_sfa_cp_precision.py | 275 | CODE | |
| LOW | tests/ut/attention/a2/test_sfa_cp_precision.py | 573 | CODE | |
| LOW | tests/ut/attention/a2/test_attention_cp_precision.py | 308 | CODE | |
| LOW | tests/ut/spec_decode/test_step3p5_source_regression.py | 106 | CODE | |
| LOW | tests/ut/spec_decode/test_step3p5_source_regression.py | 166 | CODE | |
| LOW | …ch/platform/test_patch_deepseek_v4_tool_call_parser.py | 32 | CODE | |
| LOW | …tch/platform/test_patch_minimax_m2_tool_call_parser.py | 69 | CODE | |
| LOW | tests/ut/ops/test_fused_moe.py | 267 | CODE | |
| LOW | tests/ut/worker/a2/test_block_table.py | 89 | CODE | |
| LOW | tests/ut/worker/a2/test_block_table.py | 252 | CODE | |
| LOW | tests/e2e/conftest.py | 874 | CODE | |
| LOW | tests/e2e/conftest.py | 335 | CODE | |
| LOW | tests/e2e/conftest.py | 379 | CODE | |
| LOW | tests/e2e/conftest.py | 566 | CODE | |
| LOW | tests/e2e/conftest.py | 642 | CODE | |
| LOW | tests/e2e/conftest.py | 722 | CODE | |
| LOW | tests/e2e/generate_coverage_html.py | 120 | CODE | |
| LOW | tests/e2e/generate_coverage_html.py | 134 | CODE | |
| LOW | tests/e2e/pull_request/four_card/test_graph_mode.py | 608 | CODE | |
| LOW | …l_request/four_card/spec_decode/test_mtp_qwen3_next.py | 38 | CODE | |
| LOW | …pull_request/four_card/spec_decode/test_mtp_step3p5.py | 39 | CODE | |
| LOW | …pull_request/two_card/test_sequence_parallelism_moe.py | 322 | CODE | |
| LOW | …/pull_request/two_card/spec_decode/test_spec_decode.py | 71 | CODE | |
| LOW | …/pull_request/two_card/spec_decode/test_spec_decode.py | 247 | CODE | |
| 231 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 | …/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 | …2e/pull_request/two_card/test_flashcomm_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 | …2e/pull_request/two_card/lora/test_qwen3moe_lora_tp.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/modelslim_config.py | 0 | create a quantization scheme instance for a layer. args: quant_description: the quantization description dictionary. pre | STRING |
| HIGH | vllm_ascend/quantization/fp8_config.py | 0 | create a quantization scheme instance for a layer. args: quant_description: the quantization description dictionary. pre | STRING |
| HIGH | vllm_ascend/quantization/modelslim_config.py | 0 | create a quantization scheme instance for a layer. args: quant_description: the quantization description dictionary. pre | 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/sfa_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 |
| HIGH | …m_ascend/compilation/passes/qknorm_rope_fusion_pass.py | 0 | check if the pass is applicable for the current configuration. | STRING |
| HIGH | …nd/compilation/passes/allreduce_rmsnorm_fusion_pass.py | 0 | check if the pass is applicable for the current configuration. | STRING |
| HIGH | …lm_ascend/compilation/passes/norm_quant_fusion_pass.py | 0 | check if the pass is applicable for the current configuration. | STRING |
| HIGH | vllm_ascend/compilation/passes/sequence_parallelism.py | 0 | check if the pass is applicable for the current configuration. | 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 | tests/ut/quantization/methods/test_kv_c8.py | 393 | # Step 1: Create weights | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 408 | # Step 2: Simulate weight loading | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 436 | # Step 3: Process after loading | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 279 | ### Step 1: Write your test logic in `test_single_node.py` | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 287 | ### Step 2: Register your function in `TEST_HANDLERS` | COMMENT |
| LOW⚡ | …ghtly/single_node/models/scripts/GUIDE_AND_TEMPLATE.md | 296 | ### 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 | 278 | ### Step 1: Baseline (No Cache) | COMMENT |
| LOW | …rials/features/pd_colocated_mooncake_multi_instance.md | 290 | ### Step 2: Local DRAM Hit | COMMENT |
| LOW | …rials/features/pd_colocated_mooncake_multi_instance.md | 295 | ### Step 3: Cross-Node DRAM Hit | 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 |
| 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⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 34 | # Step 2: Start the Proxy Server | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 45 | # Step 3: Send a Request to the Proxy | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 67 | # Step 4: Health Check | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 404 | # Step 1: Process through Encoder instance (if has MM input) | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 411 | # Step 2: Process through Prefill instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 418 | # Step 3: Process through Decode instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 485 | # Step 1: Process through Encoder instance (if has MM input) | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 492 | # Step 2: Process through Prefill instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 499 | # Step 3: Process through Decode instance | COMMENT |
| LOW | examples/dynamic_bucket_load_balancer/README.md | 59 | ## Step 1: Start Your Backend Servers | COMMENT |
| LOW | examples/dynamic_bucket_load_balancer/README.md | 70 | ## Step 2: Start the Proxy Server | COMMENT |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/bisect/runner.py | 243 | sources = " ; ".join(f"source {f} 2>/dev/null || true" for f in _ENV_SOURCE_FILES) | CODE |
| HIGH | tools/bisect/worker_agent.py | 57 | sources = " ; ".join(f"source {f} 2>/dev/null || true" for f in runner._ENV_SOURCE_FILES) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 500 | (r.coverage || {}).arch && r.coverage.arch.includes(filterType) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 505 | (r.coverage || {}).graph_mode && r.coverage.graph_mode.includes(filterGraph) | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 511 | return Object.values(cov).some(arr => arr && arr.length > 0); | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 677 | while (i < total && rows.length < pageSize && scanned < ZERO_SCAN_CAP) { | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 680 | if (!coveredSet.has(key) && !isInvalidCombo(combo, dims)) rows.push(combo); | CODE |
| HIGH⚡ | tests/e2e/generate_coverage_html.py | 685 | scanCapped: scanned >= ZERO_SCAN_CAP && rows.length < pageSize, | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 403 | let currentSort = {col: null, asc: true}; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 419 | const c = r.card_count || 1; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 456 | const isMarked = Object.values(cov).some(arr => arr && arr.length > 0); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 532 | `<a href="#" onclick="window._hmFilter=null;filter();return false;" style="color:#2563eb">✕ clear</a>`; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 590 | return (vals && vals.length) ? new Set(vals) : new Set(); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 627 | for (const v of arr) next.push([...combo, v]); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 705 | return (vals && vals.length) ? vals.filter(v => allowed.includes(v)) : []; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 711 | for (const c of combos) for (const v of s) next.push([...c, v]); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 722 | entry.tests.push(r); | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 864 | if (window._explorerState && explorerPage === 0) tbody.innerHTML = html; | CODE |
| HIGH | tests/e2e/generate_coverage_html.py | 947 | window._hmFilter = null; | CODE |
| 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 | tests/ut/quantization/methods/test_kv_c8.py | 393 | # Step 1: Create weights | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 408 | # Step 2: Simulate weight loading | COMMENT |
| LOW | tests/ut/quantization/methods/test_kv_c8.py | 436 | # Step 3: Process after loading | 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⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 34 | # Step 2: Start the Proxy Server | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 45 | # Step 3: Send a Request to the Proxy | COMMENT |
| LOW⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 67 | # Step 4: Health Check | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 404 | # Step 1: Process through Encoder instance (if has MM input) | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 411 | # Step 2: Process through Prefill instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 418 | # Step 3: Process through Decode instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 485 | # Step 1: Process through Encoder instance (if has MM input) | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 492 | # Step 2: Process through Prefill instance | COMMENT |
| LOW⚡ | examples/disaggregated_encoder/disagg_epd_proxy.py | 499 | # Step 3: Process through Decode instance | COMMENT |
| LOW⚡ | …ted/epd_load_balance_proxy_layerwise_server_example.py | 22 | # Step 1: Start Your Backend Servers | COMMENT |
| LOW⚡ | …ted/epd_load_balance_proxy_layerwise_server_example.py | 38 | # Step 2: Start the Proxy Server | COMMENT |
| LOW⚡ | …ted/epd_load_balance_proxy_layerwise_server_example.py | 65 | # Step 3: Send a Request to the Proxy | COMMENT |
| LOW⚡ | …ted/epd_load_balance_proxy_layerwise_server_example.py | 78 | # Step 4: Health Check | COMMENT |
| 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 | 378 | # 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 | …2e/pull_request/two_card/lora/test_qwen3moe_lora_tp.py | 44 | # Print the outputs. | COMMENT |
| LOW | tests/e2e/pull_request/one_card/test_batch_invariant.py | 327 | # Check if tokens match first | COMMENT |
| LOW | tests/e2e/pull_request/one_card/test_batch_invariant.py | 601 | # Check if tokens match first | COMMENT |
| LOW | …est/one_card/compile/test_graphex_norm_quant_fusion.py | 246 | # Check if fusion operator is available | COMMENT |
| LOW | …est/one_card/compile/test_graphex_norm_quant_fusion.py | 269 | # 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 | 40 | # 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 | 187 | # Check if the configuration file already exists | STRING |
| LOW | vllm_ascend/core/recompute_scheduler.py | 783 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | vllm_ascend/core/scheduler_profiling_chunk.py | 683 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | vllm_ascend/core/scheduler_dynamic_batch.py | 506 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | …d/distributed/kv_transfer/kv_p2p/mooncake_connector.py | 746 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 647 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 732 | # Check if we have the remote metadata cached. | COMMENT |
| LOW | vllm_ascend/quantization/utils.py | 52 | # Check if it's a local path | COMMENT |
| LOW | vllm_ascend/quantization/methods/w8a8_mxfp8.py | 122 | # Check if already transformed to avoid double transformation | COMMENT |
| LOW | vllm_ascend/quantization/methods/w8a8_mxfp8.py | 354 | # Check if already transformed to avoid double transformation | COMMENT |
| LOW | vllm_ascend/patch/platform/patch_balance_schedule.py | 683 | # Check if the scheduling constraints are satisfied. | COMMENT |
| LOW | vllm_ascend/patch/platform/patch_speculative_config.py | 86 | # Check if this is an MTP variant | COMMENT |
| LOW | vllm_ascend/patch/worker/patch_v2/patch_uva.py | 37 | # Check if current version is the one with UVA disabled | 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 | 1050 | # Check if draft token is in candidates | COMMENT |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1368 | # Check if draft token is in candidates | COMMENT |
| LOW | vllm_ascend/ops/linear_op.py | 383 | # Check if w8a8 quantization is enabled. If not, communicate immediately. | COMMENT |
| LOW | vllm_ascend/ops/flashcomm2_oshard_manager.py | 53 | # Check if the layer is a target for sharding. | COMMENT |
| LOW | vllm_ascend/worker/worker.py | 936 | # Check if profiling is enabled (RFC #6954 - align with upstream vLLM) | COMMENT |
| LOW | vllm_ascend/worker/model_runner_v1.py | 1994 | # Check if the scheduler signaled that calibration is complete. | 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 | 176 | # Print the outputs. | COMMENT |
| LOW | examples/eplb/eplb_strategy.py | 48 | # Check if element is numeric | COMMENT |
| LOW | .github/workflows/pr_revert_command.yml | 220 | # 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/detect_po_changes.py | 154 | # Check if this is a multi-line table block. | COMMENT |
| LOW | .github/workflows/scripts/detect_po_changes.py | 441 | # Check if this is a modification of an existing paragraph | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | csrc/scripts/util/build_opp_kernel_static.py | 226 | CODE | |
| LOW | tests/ut/test_ascend_forward_context.py | 19 | CODE | |
| LOW | tests/ut/attention/utils.py | 151 | CODE | |
| LOW | tests/ut/attention/a2/test_attention_v1_precision.py | 129 | CODE | |
| LOW | tests/ut/ops/test_gdn_attn_builder.py | 129 | CODE | |
| LOW | tests/ut/ops/test_fused_moe.py | 79 | CODE | |
| LOW | tests/ut/ops/a2/test_token_dispatcher.py | 48 | CODE | |
| LOW | tests/e2e/conftest.py | 272 | CODE | |
| LOW | tests/e2e/conftest.py | 955 | CODE | |
| LOW | tests/e2e/conftest.py | 1386 | CODE | |
| LOW | …pull_request/two_card/test_sequence_parallelism_moe.py | 124 | CODE | |
| LOW | …s/multicard_ops_a3/test_dispatch_gmm_combine_decode.py | 444 | CODE | |
| LOW | …s/multicard_ops_a3/test_dispatch_gmm_combine_decode.py | 317 | 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 | 58 | CODE | |
| LOW | vllm_ascend/_310p/model_runner_310p.py | 614 | CODE | |
| LOW | vllm_ascend/_310p/npu_input_batch.py | 10 | CODE | |
| LOW | vllm_ascend/_310p/fused_moe/fused_moe.py | 86 | CODE | |
| LOW | vllm_ascend/_310p/fused_moe/fused_moe.py | 154 | CODE | |
| LOW | vllm_ascend/_310p/quantization/methods/w8a8_dynamic.py | 81 | CODE | |
| LOW | vllm_ascend/_310p/ops/fla/gdn_310.py | 146 | CODE | |
| LOW | vllm_ascend/attention/context_parallel/common_cp.py | 177 | CODE | |
| LOW | vllm_ascend/attention/context_parallel/mla_cp.py | 568 | CODE | |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/config_data.py | 654 | CODE | |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/config_data.py | 778 | CODE | |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/config_data.py | 918 | CODE | |
| LOW | …ted/kv_transfer/kv_pool/ascend_store/pool_scheduler.py | 688 | 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 | 570 | CODE | |
| LOW | vllm_ascend/spec_decode/llm_base_proposer.py | 755 | CODE | |
| LOW | vllm_ascend/spec_decode/suffix_proposer.py | 12 | CODE | |
| LOW | vllm_ascend/spec_decode/step3p5.py | 211 | CODE | |
| LOW | vllm_ascend/spec_decode/step3p5.py | 328 | CODE | |
| LOW | vllm_ascend/spec_decode/ngram_proposer.py | 17 | CODE | |
| LOW | vllm_ascend/quantization/method_adapters.py | 249 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a4_mxfp4.py | 163 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a8_mxfp4.py | 88 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a8_mxfp4.py | 143 | CODE | |
| LOW | vllm_ascend/quantization/methods/w8a8_mxfp8.py | 240 | CODE | |
| LOW | vllm_ascend/quantization/methods/w8a16.py | 72 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a16.py | 248 | CODE | |
| LOW | vllm_ascend/quantization/methods/w8a8_static.py | 140 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a8.py | 488 | CODE | |
| LOW | vllm_ascend/quantization/methods/w8a8_dynamic.py | 214 | CODE | |
| LOW | …lm_ascend/quantization/methods/w4a4_mxfp4_flatquant.py | 156 | CODE | |
| LOW | vllm_ascend/quantization/methods/w4a16_mxfp4.py | 113 | CODE | |
| LOW | vllm_ascend/quantization/methods/base.py | 235 | CODE | |
| LOW | …lm_ascend/patch/platform/patch_kv_cache_coordinator.py | 468 | CODE | |
| LOW | vllm_ascend/patch/worker/patch_kimi_k25.py | 73 | CODE | |
| LOW | vllm_ascend/sample/rejection_sampler.py | 967 | CODE | |
| LOW | vllm_ascend/sample/rejection_sampler.py | 1311 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 142 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 218 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 270 | CODE | |
| LOW | vllm_ascend/ops/linear.py | 370 | CODE | |
| LOW | vllm_ascend/ops/vocab_parallel_embedding.py | 249 | CODE | |
| LOW | vllm_ascend/ops/activation.py | 34 | CODE | |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/ai_qos.py | 340 | def set_qos(self, state_path: Path) -> None: | CODE |
| LOW | tools/bisect/coordinator.py | 36 | 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 | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/build_manager.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/bisect/vllm_compat.py | 35 | 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/ut/patch/test_hunyuan_vl_processor_compat.py | 189 | def _set_model_specific_special_tokens(self, special_tokens: dict[str, str]) -> None: | CODE |
| LOW | tests/e2e/conftest.py | 90 | logger = logging.getLogger(__name__) | CODE |
| LOW | …htly/multi_node/internal_dp/scripts/test_multi_node.py | 26 | 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 | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/e2e/nightly/multi_node/external_dp/scripts/runtime.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ts/e2e/nightly/multi_node/external_dp/scripts/utils.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tly/multi_node/external_dp/scripts/test_external_dp.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nightly/single_node/models/scripts/test_single_node.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ghtly/single_node/models/scripts/single_node_config.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/logger.py | 137 | def _setup_file_logging(log_dir: str | None = None) -> None: | CODE |
| LOW | vllm_ascend/platform.py | 312 | def update_block_size_for_backend(cls, vllm_config: VllmConfig) -> None: | CODE |
| LOW | vllm_ascend/utils.py | 1218 | def set_potential_max_tokens(vllm_config) -> None: | CODE |
| LOW | vllm_ascend/_310p/attention/metadata_builder.py | 38 | 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/dsa_v1.py | 1481 | def _update_indexcache_topk_indices(self, topk_indices: torch.Tensor, offset: int = 0) -> None: | CODE |
| LOW⚡ | vllm_ascend/attention/sfa_v1.py | 1448 | def _update_indexcache_topk_indices(self, topk_indices: torch.Tensor) -> None: | CODE |
| LOW | vllm_ascend/core/recompute_scheduler.py | 161 | def _update_waiting_for_remote_kv(self, request: Request) -> None: | CODE |
| LOW | vllm_ascend/core/profiling_chunk_predictor.py | 169 | def set_target_latency(self, base_chunk_size: int, elapsed_time: float = 0.0) -> None: | CODE |
| LOW | …end/distributed/device_communicators/pyhccl_wrapper.py | 256 | __all__ = [ | CODE |
| LOW⚡ | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 167 | def update_computed_tokens(self, computed_tokens: int) -> None: | CODE |
| LOW⚡ | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 171 | def update_transferred_tokens(self, transferred_tokens: int) -> None: | CODE |
| LOW | …ted/kv_transfer/kv_p2p/mooncake_layerwise_connector.py | 577 | def update_failed_task(self, req_id: str) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 1158 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_p2p/mooncake_hybrid_connector.py | 1459 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_pool/lmcache_ascend_connector.py | 5 | __all__ = ["LMCacheConnectorV1"] | CODE |
| LOW⚡ | …scend/distributed/kv_transfer/kv_pool/ucm_connector.py | 265 | def update_connector_output(self, connector_output: KVConnectorOutput) -> None: | CODE |
| LOW⚡ | …scend/distributed/kv_transfer/kv_pool/ucm_connector.py | 281 | def set_xfer_handshake_metadata(self, metadata: dict[int, KVConnectorHandshakeMetadata]) -> None: | CODE |
| LOW | …scend/distributed/kv_transfer/kv_pool/ucm_connector.py | 94 | def set_host_xfer_buffer_ops(self, copy_operation: CopyBlocksOp) -> None: | CODE |
| LOW | …scend/distributed/kv_transfer/kv_pool/ucm_connector.py | 214 | def update_state_after_alloc(self, request: "Request", blocks: "KVCacheBlocks", num_external_tokens: int) -> None: | CODE |
| LOW | …d/kv_transfer/kv_pool/recompute_cpu_offload/manager.py | 517 | def update_connector_output(self, connector_output: KVConnectorOutput) -> None: | CODE |
| LOW | …ibuted/kv_transfer/kv_pool/ascend_store/config_data.py | 283 | def set_cache_coordinator(self, cache_coordinator: Any | None) -> None: | CODE |
| LOW | vllm_ascend/quantization/__init__.py | 31 | __all__ = ["AscendModelSlimConfig", "AscendCompressedTensorsConfig", "AscendFp8Config"] | CODE |
| LOW | vllm_ascend/quantization/methods/__init__.py | 71 | __all__ = [ | CODE |
| LOW | vllm_ascend/patch/platform/patch_pp_mtp.py | 209 | def _update_pp_mtp_spec_token_ids(scheduler, scheduler_output, model_runner_output) -> None: | CODE |
| LOW | vllm_ascend/patch/worker/patch_distributed.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/patch/worker/patch_draft_quarot.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/patch/worker/patch_eagle3_init.py | 56 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/patch/worker/patch_gqa_c8.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/patch/worker/_hccl_pg_registry.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/patch/worker/patch_eagle3_pp_aux.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …lm_ascend/patch/worker/patch_minimax_m2_linear_attn.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | …lm_ascend/patch/worker/patch_routed_experts_capture.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | vllm_ascend/ops/__init__.py | 54 | __all__ = ["AscendQuickGELU", "AscendSiluAndMul", "AscendRotaryEmbedding", "AscendDeepseekScalingRotaryEmbedding"] | CODE |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | vllm_ascend/ascend_forward_context.py | 304 | Select the MoE communication method according to parallel settings, device generation, token count, and quantization | 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 | 547 | 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 | 611 | 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 | 324 | 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 | 370 | Convert numeric string to byte count Args: number_str: Numeric portion of input multiplier: Un | STRING |
| HIGH | …lm_ascend/quantization/methods/w4a4_mxfp4_flatquant.py | 37 | 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 | vllm_ascend/ops/fused_moe/experts_selector.py | 328 | Select top-k experts based on router logits. Args: hidden_states: Hidden states of shape (num_tokens, | 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 |
|---|---|---|---|---|
| CRITICAL | vllm_ascend/spec_decode/llm_base_proposer.py | 445 | 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 | 47 | 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …hamming_dist_top_k/op_kernel/hamming_dist_top_k_base.h | 148 | uint32_t blockLen = static_cast<uint32_t>(16 * sizeof(half)); // Determine blockLen (more robust for copying by dat | CODE |
| LOW | tests/ut/ops/test_vocab_parallel_embedding.py | 138 | # Should just pass through without masking | COMMENT |
| LOW | vllm_ascend/attention/dsa_v1.py | 190 | # attention name assertion, we just set name to FLASH_ATTN to avoid assertion error. | COMMENT |
| LOW | vllm_ascend/attention/attention_v1.py | 81 | # attention name assertion, we just set name to FLASH_ATTN to avoid assertion error. | COMMENT |
| LOW | vllm_ascend/attention/attention_v1.py | 1131 | # just use getattr to avoid attribute error. | COMMENT |
| LOW | vllm_ascend/attention/sfa_v1.py | 130 | # attention name assertion, we just set name to FLASH_ATTN to avoid assertion error. | COMMENT |
| LOW | vllm_ascend/attention/mla_v1.py | 84 | # attention name assertion, we just set name to FLASH_ATTN to avoid assertion error. | COMMENT |
| MEDIUM | vllm_ascend/core/profiling_chunk_predictor.py | 94 | # Keep a robust fallback for environments where least-squares may | COMMENT |
| MEDIUM⚡ | vllm_ascend/patch/platform/patch_balance_schedule.py | 102 | # signature once at import (rather than parsing a version string) is robust to | 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 | 198 | # NOTE(woosuk): We can't simply use `token_indices // block_size` | COMMENT |
| MEDIUM | vllm_ascend/worker/model_runner_v1.py | 2194 | # We simply utilize the implementation in vLLM. | COMMENT |
| LOW | vllm_ascend/worker/v2/model_runner.py | 86 | # 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 | …les/external_online_dp/dp_load_balance_proxy_server.py | 79 | # - 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 |
|---|---|---|---|---|
| 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⚡ | …les/external_online_dp/dp_load_balance_proxy_server.py | 29 | # 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 |
|---|---|---|---|---|
| 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 |
| HIGH | …lm_ascend/patch/worker/patch_minimax_m2_linear_attn.py | 153 | # Force staticmethod style, as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ut/kv_offload/test_mooncake_hybrid_connector.py | 65 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_hybrid_connector.py | 135 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW⚡ | tests/ut/kv_offload/test_mooncake_connector.py | 630 | def handle_request(req_meta: dict[str, Any]): | CODE |
| LOW | tests/ut/kv_offload/test_mooncake_connector.py | 699 | def handle_request(req_meta: dict[str, Any]): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ut/attention/a2/test_mla_precision.py | 212 | for layer_name in ["placeholder"]: | CODE |
| LOW | tests/ut/attention/a2/test_mla_precision.py | 217 | ["placeholder"], | CODE |
| LOW | tests/ut/attention/a2/test_attention_cp_precision.py | 501 | for layer_name in ["placeholder"]: | CODE |
| LOW | tests/ut/attention/a2/test_attention_v1_precision.py | 292 | ["placeholder"], | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vllm_ascend/worker/model_runner_v1.py | 2721 | # TODO: implement PR 28597 from vllm | COMMENT |