Open Machine Learning Compiler Framework
This report summarizes scanner evidence for apache/tvm, a Python project with 13,821 GitHub stars. SynthScan examined 738,583 lines of code across 2292 source files, recording 12827 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 23.6 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 8918 finding(s).
Are imports declared and package/API names verified? 3031 finding(s).
Are wrappers, guards, and repeated structures necessary? 6089 finding(s).
Which changes need focused human review? 12827 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 12827 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | python/tvm/backend/cuda/ptx/engine.py | 26 | such as ``T.ptx.ld.global_.acquire.gpu.b32(addr)`` against the table: | STRING |
| CRITICAL | python/tvm/backend/cuda/ptx/engine.py | 37 | ``T.ptx.ld.acquire.gpu.global_.b32(val, ptr)``. | STRING |
| CRITICAL | python/tvm/backend/cuda/lang/pipeline.py | 180 | T.ptx.mbarrier.init.shared.b64(self.buf.ptr_to([i]), T.uint32(count)) | CODE |
| CRITICAL | python/tvm/backend/cuda/lang/pipeline.py | 216 | T.ptx.mbarrier.arrive.shared.b64( | CODE |
| CRITICAL | python/tvm/backend/cuda/lang/pipeline.py | 220 | T.ptx.mbarrier.arrive.shared.b64( | CODE |
| CRITICAL | python/tvm/backend/cuda/lang/pipeline.py | 279 | T.ptx.mbarrier.arrive.shared.b64(bar, T.uint32(1)) | CODE |
| CRITICAL | python/tvm/backend/cuda/lang/pipeline.py | 281 | T.ptx.mbarrier.arrive.expect_tx.shared.b64(bar, T.uint32(tx_count)) | CODE |
| CRITICAL⚡ | python/tvm/backend/cuda/lang/clc.py | 45 | T.ptx.clusterlaunchcontrol.query_cancel.is_canceled.pred.b128(canceled, response) | CODE |
| CRITICAL⚡ | python/tvm/backend/cuda/lang/clc.py | 47 | T.ptx.clusterlaunchcontrol.query_cancel.get_first_ctaid__x.b32.b128( | CODE |
| CRITICAL⚡ | python/tvm/backend/cuda/lang/clc.py | 52 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | tests/python/tirx-base/test_tir_ptx_mma_sp.py | 75 | T.ptx.mma.sp.sync.aligned.m16n8k16.row.col.f16.f16.f16.f16( | CODE |
| CRITICAL | tests/python/tirx-base/test_tir_ptx_mma_sp.py | 121 | T.ptx.mma.sp.sync.aligned.m16n8k16.row.col.f32.f16.f16.f32( | CODE |
| CRITICAL | tests/python/tirx-base/test_tir_ptx_mma_sp.py | 172 | T.ptx.mma.sp.sync.aligned.m16n8k32.row.col.f16.f16.f16.f16( | CODE |
| CRITICAL | tests/python/tirx-base/test_tir_ptx_mma_sp.py | 222 | T.ptx.mma.sp.sync.aligned.m16n8k32.row.col.f32.f16.f16.f32( | CODE |
| CRITICAL | …end/adreno/test_transform_fold_vdevice_scope_change.py | 32 | mod = tvm.relax.backend.adreno.transform.FoldVDeviceScopeChange()(input) | CODE |
| CRITICAL | …backend/adreno/test_transform_annotate_custom_scope.py | 93 | mod = tvm.relax.backend.adreno.transform.AnnotateCustomMemoryScope(tgt)(mod) | CODE |
| CRITICAL | …backend/adreno/test_transform_annotate_custom_scope.py | 105 | mod = tvm.relax.backend.adreno.transform.FoldVDeviceScopeChange()(mod) | CODE |
| CRITICAL⚡ | tests/python/tirx/test_roundtrip_namespaces.py | 31 | T.ptx.wgmma.commit_group.sync.aligned() | CODE |
| CRITICAL⚡ | tests/python/tirx/test_roundtrip_namespaces.py | 34 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/test_verifier.py | 131 | T.ptx.mbarrier.init.shared.b64(bar.data, T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/test_verifier.py | 132 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/test_verifier.py | 134 | T.ptx.mbarrier.arrive.expect_tx.shared.b64(bar.data, T.uint32(16*16*4)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 461 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 462 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 466 | T.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 473 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 479 | T.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 480 | T.ptx.cp.async_.bulk.wait_group(0) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 663 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 664 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 668 | T.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 675 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 681 | T.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 682 | T.ptx.cp.async_.bulk.wait_group(0) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 767 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 768 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 769 | T.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 787 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 797 | T.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 798 | T.ptx.cp.async_.bulk.wait_group(0) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 878 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 879 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 880 | T.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 995 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1000 | T.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1001 | T.ptx.cp.async_.bulk.wait_group(0) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1094 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1095 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1105 | T.ptx.mbarrier.arrive.expect_tx.shared.b64( | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1275 | T.ptx.mbarrier.init.shared.b64(T.address_of(bar), T.uint32(1)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1276 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1283 | T.ptx.mbarrier.arrive.expect_tx.shared.b64(T.address_of(bar), T.uint32(B_bytes)) | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1298 | T.ptx.wgmma.fence.sync.aligned() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1308 | T.ptx.wgmma.commit_group.sync.aligned() | CODE |
| CRITICAL⚡ | tests/python/tirx/codegen/test_codegen_hopper.py | 1309 | T.ptx.wgmma.wait_group.sync.aligned(0) | CODE |
| CRITICAL | tests/python/tirx/codegen/test_codegen_hopper.py | 352 | T.ptx.fence.mbarrier_init.release.cluster() | CODE |
| CRITICAL | tests/python/tirx/codegen/test_codegen_hopper.py | 405 | T.ptx.fence.proxy.async_.global_() | CODE |
| CRITICAL | tests/python/tirx/codegen/test_codegen_hopper.py | 406 | T.ptx.fence.proxy.async_.shared__cta() | CODE |
| CRITICAL | tests/python/tirx/codegen/test_codegen_hopper.py | 936 | T.ptx.cp.async_.bulk.commit_group() | CODE |
| CRITICAL | tests/python/tirx/codegen/test_codegen_hopper.py | 937 | T.ptx.cp.async_.bulk.wait_group(0) | CODE |
| 429 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/sym/int_set.py | 96 | def estimate_region_lower_bound(region, var_dom, predicate, analyzer=None): | CODE |
| LOW | python/tvm/sym/int_set.py | 123 | def estimate_region_strict_bound(region, var_dom, predicate, analyzer=None): | CODE |
| LOW | python/tvm/sym/int_set.py | 150 | def estimate_region_upper_bound(region, var_dom, predicate, analyzer=None): | CODE |
| LOW | python/tvm/sym/analyzer.py | 319 | def reset_rewrite_simplify_stats(self): | CODE |
| LOW | python/tvm/sym/analyzer.py | 376 | def set_maximum_rewrite_steps(self, maximum: int) -> None: | CODE |
| LOW | python/tvm/sym/iter_affine_map.py | 257 | def normalize_iter_map_to_expr(expr): | CODE |
| LOW | python/tvm/topi/scatter.py | 27 | def _verify_scatter_nd_inputs(data, indices, updates): | CODE |
| LOW | python/tvm/topi/gpu/scan.py | 320 | def get_reduction_from_exclusive_scan(data, ex_scan_output, binop=operator.add): | CODE |
| LOW | python/tvm/topi/nn/winograd_util.py | 164 | def winograd_transform_matrices(tile_size, kernel_size, out_dtype): | CODE |
| LOW | python/tvm/topi/vision/nms_util.py | 244 | def collect_selected_indices_and_scores( | CODE |
| LOW | python/tvm/topi/vision/nms.py | 1055 | def _collect_selected_indices_ir( | CODE |
| LOW | python/tvm/topi/vision/nms.py | 1102 | def _collect_selected_indices_and_scores_ir( | CODE |
| LOW | python/tvm/topi/vision/nms.py | 1168 | def all_class_non_max_suppression( | CODE |
| LOW | python/tvm/topi/image/resize.py | 28 | def can_convert_multiply_to_intdiv(origin_size, scaled_size): | CODE |
| LOW | python/tvm/topi/testing/adaptive_pool_python.py | 77 | def adaptive_pool_channel_first(np_data, out_size, pool_op, np_op): | CODE |
| LOW | python/tvm/topi/testing/adaptive_pool_python.py | 91 | def adaptive_pool_channel_last(np_data, out_size, pool_op, np_op): | CODE |
| LOW | python/tvm/topi/testing/nms_python.py | 37 | def non_max_suppression_python( | CODE |
| LOW | python/tvm/ir/expr.py | 596 | def _normalize_constructor_args(op, args, attrs, ty_args, loc, ty): | CODE |
| LOW | python/tvm/target/detect_target.py | 49 | def register_device_target_detector(device_type: str, detector: Callable[[Device], Target]) -> None: | CODE |
| LOW | python/tvm/target/detect_target.py | 54 | def detect_target_from_device(dev: str | Device) -> Target: | CODE |
| LOW | python/tvm/runtime/params.py | 98 | def load_param_dict_from_file(path): | CODE |
| LOW | python/tvm/runtime/device.py | 87 | def max_shared_memory_per_block(self): | CODE |
| LOW | python/tvm/runtime/module.py | 112 | def _collect_from_import_tree(self, filter_func): | CODE |
| LOW | python/tvm/runtime/module.py | 235 | def get_source_format_from_module(module): | CODE |
| LOW | python/tvm/runtime/disco/session.py | 600 | def _create_socket_session_local_workers(num_workers) -> Session: | CODE |
| LOW | python/tvm/s_tir/__init__.py | 48 | def _initialize_script_namespace(): | CODE |
| LOW | python/tvm/s_tir/schedule/analysis.py | 68 | def get_tensorize_loop_mapping( | CODE |
| LOW | python/tvm/s_tir/schedule/analysis.py | 96 | def get_auto_tensorize_mapping_info( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 80 | def _parse_error_render_level(error_render_level: str) -> int: | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 105 | def _get_sblock_default_dtype(block: SBlock) -> str: | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 1053 | def matmul_after_reorder_block_iter_var( | STRING |
| LOW | python/tvm/s_tir/schedule/schedule.py | 1591 | def before_reindex_cache_read(A: T.Tensor((128, 128)), B: T.Tensor((128, 128))) -> None: | STRING |
| LOW | python/tvm/s_tir/schedule/schedule.py | 1691 | def before_reindex_cache_write( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 2182 | def before_reverse_compute_at( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3437 | def two_elementwise_transformed_intermediate_buffer( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3522 | def before_transform_block_layout( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3544 | def after_transform_block_layout( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3852 | def unsafe_hide_buffer_access( | CODE |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3912 | def before_annotate_buffer_access( | STRING |
| LOW | python/tvm/s_tir/schedule/schedule.py | 3941 | def after_annotate_buffer_access( | STRING |
| LOW | python/tvm/s_tir/schedule/testing.py | 29 | def assert_structural_equal_ignore_global_symbol( | CODE |
| LOW | python/tvm/s_tir/analysis/__init__.py | 58 | def get_sblock_read_write_region( | CODE |
| LOW | python/tvm/s_tir/analysis/__init__.py | 145 | def calculate_allocated_bytes( | CODE |
| LOW | python/tvm/s_tir/analysis/__init__.py | 197 | def get_vtcm_compaction_passes() -> list[tvm.transform.Pass]: | CODE |
| LOW | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 73 | def _check_module_well_formed(module): | CODE |
| LOW | python/tvm/s_tir/script/ir_builder/ir.py | 148 | def block_name_suffix_context(block_suffix: str): | CODE |
| LOW | python/tvm/s_tir/meta_schedule/logging.py | 179 | def _batch_parameterize_config( | CODE |
| LOW | python/tvm/s_tir/meta_schedule/logging.py | 239 | def get_loggers_from_work_dir( | CODE |
| LOW | python/tvm/s_tir/meta_schedule/trace_apply.py | 25 | def schedule_using_anchor_trace(sch: Schedule, anchor_trace: Trace, target: Target) -> None: | CODE |
| LOW | python/tvm/s_tir/meta_schedule/relax_integration.py | 107 | def extracted_tasks_to_tune_contexts( | CODE |
| LOW | python/tvm/s_tir/meta_schedule/utils.py | 134 | def get_global_func_with_default_on_worker( | CODE |
| LOW | python/tvm/s_tir/meta_schedule/utils.py | 171 | def get_global_func_on_rpc_session( | CODE |
| LOW | python/tvm/s_tir/meta_schedule/tune_context.py | 248 | def generate_measure_candidates(self) -> list["MeasureCandidate"] | None: | CODE |
| LOW | …/s_tir/meta_schedule/schedule/cuda/layout_transform.py | 135 | def pad_dimension_to_at_least_number(loop: LoopRV, requested_size: int): | CODE |
| LOW | …/s_tir/meta_schedule/schedule/cuda/layout_transform.py | 140 | def pad_dimension_to_factor_of_tile_size( | CODE |
| LOW | …/s_tir/meta_schedule/schedule/cuda/layout_transform.py | 239 | def get_high_level_loop_structure( | CODE |
| LOW | …/s_tir/meta_schedule/schedule/cuda/layout_transform.py | 503 | def cuda_layout_transform_schedule_rule( | CODE |
| LOW | …s_tir/meta_schedule/space_generator/space_generator.py | 65 | def _initialize_with_tune_context(self, context: "TuneContext") -> None: | CODE |
| LOW | …s_tir/meta_schedule/space_generator/space_generator.py | 231 | def _initialize_with_tune_context(self, context: "TuneContext") -> None: | CODE |
| LOW | python/tvm/s_tir/meta_schedule/cost_model/xgb_model.py | 684 | def optional_xgboost_callback(cls): | CODE |
| 4860 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .asf.yaml | 41 | COMMENT | |
| LOW | .markdownlint-cli2.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | CMakeLists.txt | 621 | # library is large enough that ld can relax an indirect GOT call (LLVM built | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | pyproject.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .yamllint.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | docker/dev_common.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | docker/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docker/build.sh | 21 | # Build a docker container and optionally execute command within a it | COMMENT |
| LOW | docker/build.sh | 41 | # DOCKERFILE_PATH: (Optional) Path to the Dockerfile used for docker build. If | COMMENT |
| LOW | docker/bash.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docker/bash.sh | 21 | # Start a bash, mount REPO_MOUNT_POINT to be current directory. | COMMENT |
| LOW | docker/clear-stale-images.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_core.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_libtorch.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_dgl.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_setup_tz.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_nodejs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_tflite.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_googletest.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_vulkan.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_onnx.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_dnnl.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_aprofile_aem.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_xgboost.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_java.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_jax.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_sphinx.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_rocm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_nnef.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_universal.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_cmake.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_tensorflow_aarch64.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_coreml.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_emscripten.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_opencl.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_python_package.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_python.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_sccache.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_tensorflow.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_llvm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/install/ubuntu_install_cuda_python.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/python/bootstrap/generate.sh | 1 | #!/bin/env bash | COMMENT |
| LOW | docker/utils/apt-install-and-clear.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | docker/utils/download-and-verify.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/tvm/error.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/__init__.py | 1 | # isort: skip_file | COMMENT |
| LOW | python/tvm/libinfo.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/base.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/int_set.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/analyzer.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/_ffi_api.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/__init__.py | 1 | # isort: skip_file | COMMENT |
| LOW | python/tvm/sym/pattern.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/utils.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/iter_affine_map.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/sym/bound.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/topi/signal.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | python/tvm/topi/slice_scatter.py | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| 2002 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/__init__.py | 26 | CODE | |
| LOW | python/tvm/__init__.py | 26 | CODE | |
| LOW | python/tvm/__init__.py | 26 | CODE | |
| LOW | python/tvm/__init__.py | 29 | CODE | |
| LOW | python/tvm/__init__.py | 33 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 34 | CODE | |
| LOW | python/tvm/__init__.py | 35 | CODE | |
| LOW | python/tvm/__init__.py | 35 | CODE | |
| LOW | python/tvm/__init__.py | 35 | CODE | |
| LOW | python/tvm/__init__.py | 35 | CODE | |
| LOW | python/tvm/__init__.py | 36 | CODE | |
| LOW | python/tvm/__init__.py | 36 | CODE | |
| LOW | python/tvm/__init__.py | 42 | CODE | |
| LOW | python/tvm/__init__.py | 43 | CODE | |
| LOW | python/tvm/__init__.py | 44 | CODE | |
| LOW | python/tvm/__init__.py | 48 | CODE | |
| LOW | python/tvm/__init__.py | 51 | CODE | |
| LOW | python/tvm/__init__.py | 52 | CODE | |
| LOW | python/tvm/__init__.py | 55 | CODE | |
| LOW | python/tvm/__init__.py | 58 | CODE | |
| LOW | python/tvm/__init__.py | 59 | CODE | |
| LOW | python/tvm/__init__.py | 62 | CODE | |
| LOW | python/tvm/__init__.py | 65 | CODE | |
| LOW | python/tvm/__init__.py | 68 | CODE | |
| LOW | python/tvm/__init__.py | 71 | CODE | |
| LOW | python/tvm/__init__.py | 74 | CODE | |
| LOW | python/tvm/__init__.py | 74 | CODE | |
| LOW | python/tvm/__init__.py | 80 | CODE | |
| LOW | python/tvm/__init__.py | 133 | CODE | |
| LOW | python/tvm/libinfo.py | 19 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 20 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 28 | CODE | |
| LOW | python/tvm/sym/__init__.py | 37 | CODE | |
| LOW | python/tvm/sym/__init__.py | 38 | CODE | |
| LOW | python/tvm/sym/__init__.py | 38 | CODE | |
| LOW | python/tvm/sym/__init__.py | 39 | CODE | |
| LOW | python/tvm/sym/__init__.py | 39 | CODE | |
| LOW | python/tvm/sym/__init__.py | 39 | CODE | |
| LOW | python/tvm/sym/__init__.py | 39 | CODE | |
| LOW | python/tvm/sym/__init__.py | 40 | CODE | |
| LOW | python/tvm/sym/__init__.py | 40 | CODE | |
| LOW | python/tvm/sym/__init__.py | 40 | CODE | |
| LOW | python/tvm/sym/__init__.py | 40 | CODE | |
| LOW | python/tvm/sym/__init__.py | 40 | CODE | |
| 2458 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/tvm/base.py | 27 | # ---------------------------- | COMMENT |
| MEDIUM | python/tvm/base.py | 29 | # ---------------------------- | COMMENT |
| MEDIUM | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 31 | # -------------------------------------- | COMMENT |
| MEDIUM | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 33 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 86 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 88 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 98 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 100 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 104 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 106 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 145 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 147 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 122 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 124 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 133 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 135 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 171 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 173 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 182 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 184 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 187 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 189 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 192 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 194 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 203 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 205 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 212 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 214 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 360 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 362 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 368 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | python/tvm/backend/cuda/target_tags.py | 370 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 56 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 58 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 83 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 85 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 147 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 149 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 225 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 227 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 252 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 254 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 266 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 268 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 283 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 285 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 305 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 307 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 338 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/target_tags.py | 340 | # ===================================================================== | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 152 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 318 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 320 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 771 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/engine.py | 773 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/table.py | 5731 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/tvm/backend/cuda/ptx/table.py | 5733 | # ------------------------------------------------------------------ | COMMENT |
| 496 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/signal.py | 27 | CODE | |
| LOW | python/tvm/topi/signal.py | 159 | CODE | |
| LOW | python/tvm/topi/signal.py | 71 | CODE | |
| LOW | python/tvm/topi/signal.py | 188 | CODE | |
| LOW | python/tvm/topi/unique.py | 25 | CODE | |
| LOW | python/tvm/topi/sparse_reshape.py | 26 | CODE | |
| LOW | python/tvm/topi/sparse_reshape.py | 74 | CODE | |
| LOW | python/tvm/topi/utils.py | 153 | CODE | |
| LOW | python/tvm/topi/scatter.py | 56 | CODE | |
| LOW | python/tvm/topi/scatter.py | 97 | CODE | |
| LOW | python/tvm/topi/scan.py | 33 | CODE | |
| LOW | python/tvm/topi/scan.py | 118 | CODE | |
| LOW | python/tvm/topi/scatter_elements.py | 27 | CODE | |
| LOW | python/tvm/topi/index_put.py | 27 | CODE | |
| LOW | python/tvm/topi/index_put.py | 91 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 43 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 88 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 197 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 1166 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 271 | CODE | |
| LOW | python/tvm/topi/gpu/sort.py | 1204 | CODE | |
| LOW | python/tvm/topi/gpu/scan.py | 57 | CODE | |
| LOW | python/tvm/topi/gpu/scan.py | 320 | CODE | |
| LOW | python/tvm/topi/gpu/scan.py | 347 | CODE | |
| LOW | python/tvm/topi/gpu/scatter_elements.py | 30 | CODE | |
| LOW | python/tvm/topi/gpu/scatter_elements.py | 62 | CODE | |
| LOW | python/tvm/topi/gpu/scatter_nd.py | 31 | CODE | |
| LOW | python/tvm/topi/gpu/scatter_nd.py | 35 | CODE | |
| LOW | python/tvm/topi/nn/fifo_buffer.py | 29 | CODE | |
| LOW | python/tvm/topi/nn/bitserial_util.py | 29 | CODE | |
| LOW | python/tvm/topi/nn/utils.py | 118 | CODE | |
| LOW | python/tvm/topi/nn/utils.py | 167 | CODE | |
| LOW | python/tvm/topi/nn/utils.py | 215 | CODE | |
| LOW | python/tvm/topi/nn/utils.py | 274 | CODE | |
| LOW | python/tvm/topi/vision/nms_util.py | 86 | CODE | |
| LOW | python/tvm/topi/vision/nms_util.py | 125 | CODE | |
| LOW | python/tvm/topi/vision/nms_util.py | 287 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 39 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 185 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 842 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 898 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 981 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 1055 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 1102 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 1168 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 848 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 914 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 984 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 1027 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 140 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 178 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 224 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 373 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 495 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 746 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 959 | CODE | |
| LOW | python/tvm/topi/testing/adaptive_pool_python.py | 91 | CODE | |
| LOW | python/tvm/topi/testing/nms_python.py | 37 | CODE | |
| LOW | python/tvm/topi/testing/pool_grad_python.py | 23 | CODE | |
| LOW | python/tvm/topi/testing/matrix_set_diag.py | 23 | CODE | |
| 1342 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tvm/__init__.py | 134 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| HIGH | python/tvm/topi/testing/common.py | 53 | except ValueError: | CODE |
| HIGH | python/tvm/topi/testing/conv2d_nchw_python.py | 106 | except ValueError: | CODE |
| HIGH | python/tvm/runtime/disco/process_pool.py | 71 | except ImportError: | CODE |
| HIGH | python/tvm/runtime/disco/process_pool.py | 176 | except psutil.NoSuchProcess: | CODE |
| HIGH | python/tvm/runtime/disco/process_pool.py | 85 | except TypeError: | CODE |
| HIGH | python/tvm/runtime/disco/process_pool.py | 89 | except OSError: | CODE |
| HIGH | python/tvm/runtime/disco/process_pool.py | 108 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/tvm/s_tir/dlight/adreno/pool.py | 91 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/tvm/s_tir/dlight/gpu/matmul.py | 582 | except: # pylint: disable=bare-except | CODE |
| HIGH | python/tvm/backend/_autoload_backends.py | 60 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/metal/target_tags.py | 30 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/tvm/backend/metal/__init__.py | 58 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/cuda/__init__.py | 73 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/cuda/iket.py | 448 | except ProcessLookupError: | CODE |
| HIGH | python/tvm/backend/cuda/iket.py | 468 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/tvm/backend/cuda/iket.py | 620 | except OSError: | CODE |
| HIGH | python/tvm/backend/cuda/iket.py | 429 | except OSError: | CODE |
| HIGH | python/tvm/backend/cuda/iket.py | 464 | except ProcessLookupError: | CODE |
| HIGH | …backend/cuda/tile_primitive/copy_async/tcgen05_ldst.py | 153 | except (AssertionError, ValueError): | CODE |
| HIGH | python/tvm/backend/hexagon/__init__.py | 40 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/opencl/__init__.py | 52 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/vulkan/__init__.py | 63 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/backend/rocm/__init__.py | 53 | except (OSError, FileNotFoundError, RuntimeError): | CODE |
| HIGH | python/tvm/script/parser/inspect_source.py | 190 | except ValueError: | CODE |
| HIGH | python/tvm/script/parser/entry.py | 62 | except ValueError: | CODE |
| HIGH | python/tvm/testing/utils.py | 759 | except TypeError: | CODE |
| HIGH | python/tvm/support/nvcc.py | 808 | except FileNotFoundError: | CODE |
| HIGH | python/tvm/support/nvcc.py | 841 | except RuntimeError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 56 | except psutil.NoSuchProcess: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 125 | except ImportError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 261 | except OSError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 139 | except OSError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 143 | except OSError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 148 | except TypeError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 152 | except OSError: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 206 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/tvm/support/popen_pool.py | 408 | except ImportError: | CODE |
| HIGH | python/tvm/exec/disco_worker.py | 126 | except (OSError, KeyboardInterrupt): | CODE |
| HIGH | python/tvm/exec/popen_worker.py | 125 | except (OSError, KeyboardInterrupt): | CODE |
| HIGH | python/tvm/relax/base_py_module.py | 88 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/tvm/relax/base_py_module.py | 433 | except (AttributeError, ValueError): | CODE |
| HIGH | python/tvm/relax/base_py_module.py | 482 | except (AttributeError, ValueError): | CODE |
| HIGH | python/tvm/relax/base_py_module.py | 426 | except (AttributeError, ValueError): | CODE |
| HIGH | python/tvm/relax/base_py_module.py | 370 | except (ValueError, TypeError): | CODE |
| HIGH | python/tvm/relax/frontend/tflite/tflite_frontend.py | 600 | except (ImportError, ModuleNotFoundError): | CODE |
| HIGH | python/tvm/relax/frontend/tflite/tflite_frontend.py | 690 | except (ImportError, ModuleNotFoundError): | CODE |
| HIGH | python/tvm/relax/frontend/nn/core.py | 853 | except RuntimeError: | CODE |
| HIGH | python/tvm/relax/frontend/torch/dynamo.py | 222 | except FileNotFoundError: | CODE |
| HIGH | python/tvm/relax/frontend/torch/dynamo.py | 238 | except (FileNotFoundError, subprocess.SubprocessError): | CODE |
| HIGH | …vm/relax/frontend/torch/exported_program_translator.py | 1511 | except AttributeError: | CODE |
| HIGH | …thon/tvm/relax/backend/contrib/example_npu/patterns.py | 374 | except (KeyError, AttributeError): | CODE |
| HIGH | …thon/tvm/relax/backend/contrib/example_npu/patterns.py | 507 | except (KeyError, AttributeError): | CODE |
| HIGH | …thon/tvm/relax/backend/contrib/example_npu/patterns.py | 515 | except (KeyError, AttributeError): | CODE |
| HIGH | python/tvm/tirx/script/ir_builder/external_kernel.py | 163 | except: # pylint: disable=bare-except | CODE |
| HIGH | python/tvm/tirx/script/ir_builder/ir.py | 784 | except TypeError: | CODE |
| HIGH | python/tvm/rpc/tornado_util.py | 66 | except OSError: | CODE |
| HIGH | python/tvm/rpc/server.py | 170 | except ImportError: | CODE |
| HIGH | python/tvm/rpc/server.py | 558 | except ImportError: | CODE |
| HIGH | python/tvm/rpc/proxy.py | 663 | except ImportError: | CODE |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tvm/topi/math.py | 0 | take asinh of input x. parameters ---------- x : expr input argument. returns ------- y : expr the result. | STRING |
| HIGH | python/tvm/topi/nn/elemwise.py | 0 | take asinh of input x. parameters ---------- x : expr input argument. returns ------- y : expr the result. | STRING |
| HIGH | python/tvm/ir/prim/op.py | 0 | take asinh of input x. parameters ---------- x : expr input argument. returns ------- y : expr the result. | STRING |
| HIGH | python/tvm/topi/testing/rms_norm_python.py | 0 | layer normalization operator in python. parameters ---------- data : numpy.ndarray n-d with shape (d_0, d_1, ..., d_{n-1 | STRING |
| HIGH | python/tvm/topi/testing/instance_norm_python.py | 0 | layer normalization operator in python. parameters ---------- data : numpy.ndarray n-d with shape (d_0, d_1, ..., d_{n-1 | STRING |
| HIGH | python/tvm/topi/testing/layer_norm_python.py | 0 | layer normalization operator in python. parameters ---------- data : numpy.ndarray n-d with shape (d_0, d_1, ..., d_{n-1 | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/database/database.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …m/s_tir/meta_schedule/task_scheduler/task_scheduler.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …s_tir/meta_schedule/space_generator/space_generator.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …tir/meta_schedule/measure_callback/measure_callback.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/cost_model/cost_model.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/postproc/postproc.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …s_tir/meta_schedule/search_strategy/search_strategy.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/mutator/mutator.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …r/meta_schedule/feature_extractor/feature_extractor.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | …tvm/s_tir/meta_schedule/schedule_rule/schedule_rule.py | 0 | an abstract schedule rule with customized methods on the python-side. this is the user facing class for function overloa | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 0 | default function to run the evaluator parameters ---------- session: rpcsession the session to run the evaluator rt_mod: | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/runner/utils.py | 0 | default function to run the evaluator parameters ---------- session: rpcsession the session to run the evaluator rt_mod: | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 0 | default function to run the evaluator parameters ---------- session: rpcsession the session to run the evaluator rt_mod: | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/cost_model/xgb_model.py | 0 | update the cost model given running results. parameters ---------- context : tunecontext, the tuning context. candidates | STRING |
| HIGH | …hon/tvm/s_tir/meta_schedule/cost_model/random_model.py | 0 | update the cost model given running results. parameters ---------- context : tunecontext, the tuning context. candidates | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/cost_model/cost_model.py | 0 | update the cost model given running results. parameters ---------- context : tunecontext, the tuning context. candidates | STRING |
| HIGH | …hon/tvm/s_tir/meta_schedule/cost_model/random_model.py | 0 | save the cost model and data to given file location. parameters ---------- path : str the file path. | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/cost_model/cost_model.py | 0 | save the cost model and data to given file location. parameters ---------- path : str the file path. | STRING |
| HIGH | python/tvm/s_tir/meta_schedule/cost_model/mlp_model.py | 0 | save the cost model and data to given file location. parameters ---------- path : str the file path. | STRING |
| HIGH | python/tvm/s_tir/dlight/adreno/base.py | 0 | check whether the target is available for gpu rule. parameters ---------- target : target the compilation target to chec | STRING |
| HIGH | python/tvm/s_tir/dlight/gpu/base.py | 0 | check whether the target is available for gpu rule. parameters ---------- target : target the compilation target to chec | STRING |
| HIGH | python/tvm/s_tir/dlight/cpu/base.py | 0 | check whether the target is available for gpu rule. parameters ---------- target : target the compilation target to chec | STRING |
| HIGH | python/tvm/backend/cuda/tile_primitive/common.py | 0 | return the smallest power of 2 greater than or equal to x. | STRING |
| HIGH | …ator/tile_primitive/cuda/gemm_async/test_gemm_async.py | 0 | return the smallest power of 2 greater than or equal to x. | STRING |
| HIGH | …or/tile_primitive/cuda/copy_async/test_tcgen05_ldst.py | 0 | return the smallest power of 2 greater than or equal to x. | STRING |
| HIGH | python/tvm/contrib/mkl.py | 0 | create an extern op that compute batched matrix mult of a and rhs with cblas this function serves as an example on how t | STRING |
| HIGH | python/tvm/contrib/cblas.py | 0 | create an extern op that compute batched matrix mult of a and rhs with cblas this function serves as an example on how t | STRING |
| HIGH | python/tvm/contrib/dnnl.py | 0 | create an extern op that compute batched matrix mult of a and rhs with cblas this function serves as an example on how t | STRING |
| HIGH | python/tvm/contrib/hipblas.py | 0 | create an extern op that compute batch matrix mult of a and rhs with cublas parameters ---------- lhs : tensor the left | STRING |
| HIGH | python/tvm/contrib/cublaslt.py | 0 | create an extern op that compute batch matrix mult of a and rhs with cublas parameters ---------- lhs : tensor the left | STRING |
| HIGH | python/tvm/contrib/cublas.py | 0 | create an extern op that compute batch matrix mult of a and rhs with cublas parameters ---------- lhs : tensor the left | STRING |
| HIGH | python/tvm/relax/frontend/__init__.py | 0 | stablehlo frontends for constructing relax programs, with the model importers | STRING |
| HIGH | python/tvm/relax/frontend/torch/__init__.py | 0 | stablehlo frontends for constructing relax programs, with the model importers | STRING |
| HIGH | python/tvm/relax/frontend/stablehlo/__init__.py | 0 | stablehlo frontends for constructing relax programs, with the model importers | STRING |
| HIGH | python/tvm/relax/frontend/nn/llm/_kernel_common.py | 0 | the rope mode of the paged kv cache. if it is none, the kv cache will not apply rope to q and k. if it is normal, rope w | STRING |
| HIGH | …x/test_runtime_builtin_paged_attention_kv_cache_cpu.py | 0 | the rope mode of the paged kv cache. if it is none, the kv cache will not apply rope to q and k. if it is normal, rope w | STRING |
| HIGH | docs/how_to/tutorials/optimize_llm.py | 0 | the rope mode of the paged kv cache. if it is none, the kv cache will not apply rope to q and k. if it is normal, rope w | STRING |
| HIGH | python/tvm/relax/backend/metal/coreml.py | 0 | partition the input module into hipblas-supported subgraphs. parameters ---------- mod: tvm.irmodule the irmodule to be | STRING |
| HIGH | python/tvm/relax/backend/cuda/cudnn.py | 0 | partition the input module into hipblas-supported subgraphs. parameters ---------- mod: tvm.irmodule the irmodule to be | STRING |
| HIGH | python/tvm/relax/backend/rocm/hipblas.py | 0 | partition the input module into hipblas-supported subgraphs. parameters ---------- mod: tvm.irmodule the irmodule to be | STRING |
| HIGH | tests/python/codegen/test_target_codegen_opencl.py | 0 | force the codegen wrapper into the fallback branch, then export+load+run. | STRING |
| HIGH | tests/python/codegen/test_target_codegen_cuda.py | 0 | force the codegen wrapper into the fallback branch, then export+load+run. | STRING |
| HIGH | tests/python/codegen/test_target_codegen_rocm.py | 0 | force the codegen wrapper into the fallback branch, then export+load+run. | STRING |
| HIGH | tests/python/relax/test_transform_convert_layout.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) \ / <- concat do | STRING |
| HIGH | …backend/adreno/test_transform_annotate_custom_scope.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) \ / <- concat do | STRING |
| HIGH | tests/python/relax/backend/adreno/test_texture_ops.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) \ / <- concat do | STRING |
| HIGH | tests/python/relax/test_transform_convert_layout.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) <- conv2d (2) em | STRING |
| HIGH | …backend/adreno/test_transform_annotate_custom_scope.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) <- conv2d (2) em | STRING |
| HIGH | tests/python/relax/backend/adreno/test_texture_ops.py | 0 | layout_transform (nchw->nchw4c) | <- texture conv2d (1) <- textures as output / \ conv2d (2) conv2d (3) <- conv2d (2) em | STRING |
| HIGH | tests/python/relax/test_transform_convert_layout.py | 0 | verification of the pooling and many branches having textures layout_transform (nchw->nchw4c) | <- texture conv2d (0) <- | STRING |
| HIGH | …backend/adreno/test_transform_annotate_custom_scope.py | 0 | verification of the pooling and many branches having textures layout_transform (nchw->nchw4c) | <- texture conv2d (0) <- | STRING |
| HIGH | tests/python/relax/backend/adreno/test_texture_ops.py | 0 | verification of the pooling and many branches having textures layout_transform (nchw->nchw4c) | <- texture conv2d (0) <- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/sort.py | 67 | CODE | |
| LOW | python/tvm/topi/sort.py | 219 | CODE | |
| LOW | python/tvm/topi/nn/conv2d.py | 1280 | CODE | |
| LOW | python/tvm/topi/nn/conv2d.py | 1411 | CODE | |
| LOW | python/tvm/topi/nn/conv1d_transpose.py | 143 | CODE | |
| LOW | python/tvm/topi/nn/lstm.py | 25 | CODE | |
| LOW | python/tvm/topi/vision/nms.py | 654 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 224 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 373 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 495 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 746 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 959 | CODE | |
| LOW | python/tvm/topi/image/resize.py | 1215 | CODE | |
| LOW | python/tvm/topi/testing/nms_python.py | 37 | CODE | |
| LOW | python/tvm/topi/testing/lstm_python.py | 24 | CODE | |
| LOW | python/tvm/topi/testing/sequence_mask_python.py | 55 | CODE | |
| LOW | python/tvm/ir/expr.py | 190 | CODE | |
| LOW | python/tvm/ir/expr.py | 196 | CODE | |
| LOW | python/tvm/ir/expr.py | 202 | CODE | |
| LOW | python/tvm/ir/expr.py | 208 | CODE | |
| LOW | python/tvm/ir/expr.py | 214 | CODE | |
| LOW | python/tvm/ir/expr.py | 220 | CODE | |
| LOW | python/tvm/ir/expr.py | 226 | CODE | |
| LOW | python/tvm/ir/expr.py | 232 | CODE | |
| LOW | python/tvm/ir/expr.py | 238 | CODE | |
| LOW | python/tvm/ir/expr.py | 244 | CODE | |
| LOW | python/tvm/ir/expr.py | 250 | CODE | |
| LOW | python/tvm/ir/expr.py | 256 | CODE | |
| LOW | python/tvm/ir/expr.py | 262 | CODE | |
| LOW | python/tvm/ir/expr.py | 268 | CODE | |
| LOW | python/tvm/ir/expr.py | 274 | CODE | |
| LOW | python/tvm/ir/expr.py | 280 | CODE | |
| LOW | python/tvm/ir/expr.py | 355 | CODE | |
| LOW | python/tvm/ir/expr.py | 361 | CODE | |
| LOW | python/tvm/ir/expr.py | 377 | CODE | |
| LOW | python/tvm/ir/expr.py | 383 | CODE | |
| LOW | python/tvm/runtime/module.py | 325 | CODE | |
| LOW | python/tvm/te/operation.py | 439 | CODE | |
| LOW | python/tvm/s_tir/script/ir_builder/ir.py | 136 | CODE | |
| LOW | python/tvm/s_tir/script/ir_builder/ir.py | 88 | CODE | |
| LOW | python/tvm/s_tir/script/ir_builder/ir.py | 237 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/relax_integration.py | 165 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/relax_integration.py | 279 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/tune.py | 29 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/tune_context.py | 98 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/tir_integration.py | 45 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/tir_integration.py | 167 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/database/database.py | 435 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 236 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 236 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/cost_model/xgb_model.py | 334 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/cost_model/xgb_model.py | 634 | CODE | |
| LOW | python/tvm/s_tir/meta_schedule/cost_model/mlp_model.py | 415 | CODE | |
| LOW | …n/tvm/s_tir/meta_schedule/testing/validate_database.py | 328 | CODE | |
| LOW | …r/meta_schedule/search_strategy/evolutionary_search.py | 59 | CODE | |
| LOW | …r/meta_schedule/feature_extractor/feature_extractor.py | 64 | CODE | |
| LOW | python/tvm/s_tir/dlight/benchmark/bench.py | 155 | CODE | |
| LOW | python/tvm/backend/cuda/cpp/nvshmem.py | 97 | CODE | |
| LOW | python/tvm/backend/cuda/cpp/nvshmem.py | 124 | CODE | |
| LOW | python/tvm/backend/cuda/cpp/nvshmem.py | 154 | CODE | |
| 231 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/vision/nms.py | 214 | # Step 1: Reorder data by sorted score | COMMENT |
| LOW | python/tvm/topi/vision/nms.py | 253 | # Step 2: Apply NMS - greedy suppression | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 146 | # Step 1: create the local runtime module | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 149 | # Step 2: Allocate input arguments | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 157 | # Step 3: Run time_evaluator | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 394 | # Step 3: Allocate input arguments | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 402 | # Step 4: Run time_evaluator | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 294 | # Step 1: slice + permute (region offset absorbed into op_p.offset; per-iter | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 299 | # Step 2: post-align thread-equality check. ``align`` is supposed to | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 311 | # Step 3: drop thread iters; from here on operands have mem-only layouts. | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 316 | # Step 4: enumerate spec.vec_impls widest-first; try carve tail for each | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 321 | # Step 5: totals + emit. per_thread_total = ∏ extents of (carved) mem | COMMENT |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 78 | # Step 1: identify reg / smem sides and pull their tensor shape + layout. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 116 | # Step 3: ldstmatrix doesn't broadcast — require zero replica on both sides. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 122 | # Step 4: R must have exactly one kind of lane axis from the valid set. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 130 | # Step 5: group S by R's iter extents (one S group per R iter, outer→inner). | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 134 | # Step 6: permute R so thread iters come first (stride-desc), then memory | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 139 | # Step 7: apply R's perm to S in group units (1-to-1 with R's iters), and | COMMENT |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 301 | # Step 10: emit one ldmatrix/stmatrix per mm, per warp. | COMMENT |
| LOW | python/tvm/relax/transform/transform.py | 1656 | The following code block decorates a function pass class. | STRING |
| LOW | python/tvm/relax/transform/transform.py | 1788 | The following code block decorates a dataflowblock pass class. | STRING |
| LOW⚡ | python/tvm/tirx/build.py | 185 | # Step 0: Determine the target in environment | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 193 | # Step 1: Determine the target to search for tirx pipeline | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 204 | # Step 2: Determine the host target | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 214 | # Step 3: Bind the target to the input module | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 217 | # Step 4: Apply the tirx pipeline | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 229 | # Step 5: Get host and device modules | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 232 | # Step 6: Apply finalization passes | COMMENT |
| LOW | python/tvm/tirx/transform/function_pass.py | 105 | The following code block decorates a function pass class. | STRING |
| LOW | python/tvm/transform/core.py | 473 | The following code block decorates a module pass class. | STRING |
| LOW | include/tvm/topi/nn/pooling.h | 574 | // In the case of ceil_mode=True, we need to check if the last pooling window is valid. | COMMENT |
| LOW | include/tvm/target/config_schema.h | 124 | // Step 1: validate/coerce and materialize options in declaration order | COMMENT |
| LOW | include/tvm/target/config_schema.h | 139 | // Step 2: unknown-key policy | COMMENT |
| LOW | include/tvm/target/config_schema.h | 156 | // Step 3: whole-object canonicalization (last) | COMMENT |
| LOW | tests/python/relax/test_base_py_module_printer.py | 422 | # We need to check if they exist in the IRModule's pyfuncs | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 496 | # Step 1: Define and Export PyTorch Model | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 522 | # Step 2: Convert to Relax and Prepare for Compilation | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 534 | # Step 3: Cross-Compile for Target Device | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 588 | # Step 4: Deploy to Remote Device via RPC | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 651 | # Step 5: Run Inference on Remote Device | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 690 | # Step 6: Performance Evaluation (Optional) | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 72 | # Step 1: Your First Hybrid Module | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 122 | # Step 2: Debugging — The Main Selling Point | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 186 | # Step 3: A Realistic Pipeline — Python, TIR, and Packed Functions | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 259 | # Step 4: Relax-to-Python Converter — Verify at Any Compilation Stage | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 331 | # Step 5: R.call_py_func — Python Callbacks in Compiled IR | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 381 | # Step 6: Cross-Level Calls and Symbolic Shapes | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 70 | # Step 1: Import the backends to register their patterns | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 103 | # Step 2: Define the model | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 125 | # Step 3: Partition for the example NPU | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 153 | # Step 4: Codegen, build and run on the example NPU | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 247 | # # Step 1: Load the compiled library | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 250 | # # Step 2: Create Virtual Machine | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 254 | # # Step 3: Load parameters from the .npz file | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 259 | # # Step 4: Prepare input data | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 263 | # # Step 5: Run inference (pass input followed by all parameters) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 266 | # # Step 6: Extract result (output may be tuple or single Tensor) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 342 | # # Step 1: Cross-compile for ARM target (on local machine) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 347 | # # Step 2: Connect to remote device RPC server | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 350 | # # Step 3: Upload the compiled library and parameters | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/__init__.py | 134 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/tvm/runtime/_tensor.py | 119 | except Exception: | CODE |
| LOW | python/tvm/s_tir/schedule/_type_checker.py | 350 | except Exception: | CODE |
| LOW | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 66 | except Exception as error: | CODE |
| LOW | …hon/tvm/s_tir/meta_schedule/post_optimization/space.py | 237 | except Exception: # pylint: disable=broad-except, invalid-name | CODE |
| LOW | …hon/tvm/s_tir/meta_schedule/post_optimization/space.py | 251 | except Exception: # pylint: disable=broad-except, invalid-name | CODE |
| LOW | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 310 | except Exception as exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 127 | except Exception as exception: # pylint: disable=broad-except | CODE |
| MEDIUM | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 119 | def result(self) -> RunnerResult: | CODE |
| LOW | …n/tvm/s_tir/meta_schedule/testing/validate_database.py | 769 | except Exception as e: # pylint: disable=broad-except, invalid-name | CODE |
| LOW | python/tvm/s_tir/meta_schedule/testing/tune_utils.py | 107 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/s_tir/dlight/adreno/pool.py | 91 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/s_tir/dlight/adreno/fallback.py | 82 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/tvm/s_tir/dlight/adreno/fallback.py | 94 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/tvm/s_tir/dlight/analysis/common_analysis.py | 298 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/backend/_autoload_backends.py | 87 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/backend/loader.py | 171 | except Exception: | CODE |
| LOW | python/tvm/backend/metal/target_tags.py | 30 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | python/tvm/backend/metal/target_tags.py | 24 | def _register_metal_tag(name, max_threads, shared_mem, warp_size, mcpu): | CODE |
| LOW | python/tvm/backend/cuda/tile_primitive/layout_utils.py | 357 | except Exception: | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/gemm/mma_m16n8k_.py | 101 | except Exception as e: # follower dim layout incompatible with anchor decomposition | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/gemm/mma_m16n8k_.py | 340 | except Exception as e: # ICHECK failure -> layout not tileable as shape2d | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/gemm/mma_m16n8k_.py | 353 | except Exception as e: # ICHECK failure -> layout not tileable as shape2d | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/gemm/mma_m16n8k_.py | 445 | except Exception: | CODE |
| MEDIUM | …on/tvm/backend/cuda/tile_primitive/gemm/mma_m16n8k_.py | 320 | def _const(expr, name): | CODE |
| LOW | …tvm/backend/cuda/tile_primitive/elementwise/_common.py | 169 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/backend/cuda/tile_primitive/copy/_common.py | 437 | except Exception as e: | CODE |
| LOW | python/tvm/backend/cuda/tile_primitive/copy/_common.py | 484 | except Exception as e: | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 186 | except Exception: | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 256 | except Exception: | CODE |
| LOW | python/tvm/contrib/download.py | 123 | except Exception as err: | CODE |
| LOW | python/tvm/script/printer/scriptable.py | 380 | except Exception: | CODE |
| MEDIUM | python/tvm/script/printer/scriptable.py | 374 | def _repr(self) -> str: | CODE |
| LOW | python/tvm/testing/env.py | 96 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 112 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 132 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 146 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 259 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 291 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 309 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 336 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 355 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 371 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 388 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 404 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 417 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/testing/env.py | 439 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/support/popen_pool.py | 440 | except Exception as exception: | CODE |
| MEDIUM | python/tvm/support/popen_pool.py | 122 | def __del__(self): | CODE |
| LOW | python/tvm/exec/popen_worker.py | 108 | except Exception as exception: | CODE |
| LOW | python/tvm/relax/base_py_module.py | 88 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/tvm/relax/base_py_module.py | 174 | except Exception as error: | CODE |
| LOW | python/tvm/relax/base_py_module.py | 182 | except Exception as error: | CODE |
| LOW | python/tvm/relax/base_py_module.py | 489 | except Exception as error: | CODE |
| LOW | python/tvm/relax/frontend/nn/exporter.py | 40 | except Exception as exception: | CODE |
| MEDIUM | python/tvm/relax/frontend/onnx/onnx_frontend.py | 6550 | print(f"Error converting operator {op_name}, with inputs: {inputs}") | CODE |
| MEDIUM | python/tvm/relax/frontend/onnx/onnx_frontend.py | 687 | def _impl_v7(cls, bb, inputs, attr, params): | CODE |
| LOW | python/tvm/relax/frontend/onnx/onnx_frontend.py | 1300 | except Exception: | CODE |
| LOW | python/tvm/relax/frontend/onnx/onnx_frontend.py | 6549 | except Exception as err: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/tvm/relax/frontend/onnx/onnx_frontend.py | 6768 | except Exception as exception: # pylint: disable=c-extension-no-member, broad-except | CODE |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/vision/nms.py | 214 | # Step 1: Reorder data by sorted score | COMMENT |
| LOW | python/tvm/topi/vision/nms.py | 253 | # Step 2: Apply NMS - greedy suppression | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 146 | # Step 1: create the local runtime module | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 149 | # Step 2: Allocate input arguments | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/local_runner.py | 157 | # Step 3: Run time_evaluator | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 394 | # Step 3: Allocate input arguments | COMMENT |
| LOW⚡ | python/tvm/s_tir/meta_schedule/runner/rpc_runner.py | 402 | # Step 4: Run time_evaluator | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 294 | # Step 1: slice + permute (region offset absorbed into op_p.offset; per-iter | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 299 | # Step 2: post-align thread-equality check. ``align`` is supposed to | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 311 | # Step 3: drop thread iters; from here on operands have mem-only layouts. | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 316 | # Step 4: enumerate spec.vec_impls widest-first; try carve tail for each | COMMENT |
| LOW⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 321 | # Step 5: totals + emit. per_thread_total = ∏ extents of (carved) mem | COMMENT |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 78 | # Step 1: identify reg / smem sides and pull their tensor shape + layout. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 116 | # Step 3: ldstmatrix doesn't broadcast — require zero replica on both sides. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 122 | # Step 4: R must have exactly one kind of lane axis from the valid set. | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 130 | # Step 5: group S by R's iter extents (one S group per R iter, outer→inner). | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 134 | # Step 6: permute R so thread iters come first (stride-desc), then memory | COMMENT |
| LOW⚡ | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 139 | # Step 7: apply R's perm to S in group units (1-to-1 with R's iters), and | COMMENT |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 301 | # Step 10: emit one ldmatrix/stmatrix per mm, per warp. | COMMENT |
| LOW | python/tvm/relax/backend/cuda/flashinfer.py | 325 | # NOTE: This function is still under development, | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 185 | # Step 0: Determine the target in environment | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 193 | # Step 1: Determine the target to search for tirx pipeline | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 204 | # Step 2: Determine the host target | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 214 | # Step 3: Bind the target to the input module | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 217 | # Step 4: Apply the tirx pipeline | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 229 | # Step 5: Get host and device modules | COMMENT |
| LOW⚡ | python/tvm/tirx/build.py | 232 | # Step 6: Apply finalization passes | COMMENT |
| LOW | include/tvm/target/config_schema.h | 124 | // Step 1: validate/coerce and materialize options in declaration order | COMMENT |
| LOW | include/tvm/target/config_schema.h | 139 | // Step 2: unknown-key policy | COMMENT |
| LOW | include/tvm/target/config_schema.h | 156 | // Step 3: whole-object canonicalization (last) | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 496 | # Step 1: Define and Export PyTorch Model | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 522 | # Step 2: Convert to Relax and Prepare for Compilation | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 534 | # Step 3: Cross-Compile for Target Device | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 588 | # Step 4: Deploy to Remote Device via RPC | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 651 | # Step 5: Run Inference on Remote Device | COMMENT |
| LOW | docs/how_to/tutorials/cross_compilation_and_rpc.py | 690 | # Step 6: Performance Evaluation (Optional) | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 72 | # Step 1: Your First Hybrid Module | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 122 | # Step 2: Debugging — The Main Selling Point | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 186 | # Step 3: A Realistic Pipeline — Python, TIR, and Packed Functions | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 259 | # Step 4: Relax-to-Python Converter — Verify at Any Compilation Stage | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 331 | # Step 5: R.call_py_func — Python Callbacks in Compiled IR | COMMENT |
| LOW⚡ | …s/how_to/tutorials/mix_python_and_tvm_with_pymodule.py | 381 | # Step 6: Cross-Level Calls and Symbolic Shapes | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 70 | # Step 1: Import the backends to register their patterns | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 103 | # Step 2: Define the model | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 125 | # Step 3: Partition for the example NPU | COMMENT |
| LOW⚡ | docs/how_to/tutorials/bring_your_own_codegen.py | 153 | # Step 4: Codegen, build and run on the example NPU | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 247 | # # Step 1: Load the compiled library | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 250 | # # Step 2: Create Virtual Machine | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 254 | # # Step 3: Load parameters from the .npz file | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 259 | # # Step 4: Prepare input data | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 263 | # # Step 5: Run inference (pass input followed by all parameters) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 266 | # # Step 6: Extract result (output may be tuple or single Tensor) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 342 | # # Step 1: Cross-compile for ARM target (on local machine) | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 347 | # # Step 2: Connect to remote device RPC server | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 350 | # # Step 3: Upload the compiled library and parameters | COMMENT |
| LOW⚡ | docs/how_to/tutorials/export_and_load_executable.py | 354 | # # Step 4: Load and run on remote device | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/tvm/topi/testing/poolnd_python.py | 163 | # Create a padded array, and a boolean mask showing which values are padded values | COMMENT |
| MEDIUM | python/tvm/ir/_overload_prim_expr.py | 267 | # This class is not manipulated by C++. So use python's identity check function is sufficient | COMMENT |
| MEDIUM | python/tvm/ir/_overload_prim_expr.py | 313 | # This class is not manipulated by C++. So use python's identity check function is sufficient | COMMENT |
| MEDIUM | python/tvm/te/operation.py | 181 | # The following code is equivalent to numpy.cumsum | STRING |
| MEDIUM | python/tvm/backend/trn/tile_primitive/binary/default.py | 75 | # Define the implementation function | COMMENT |
| MEDIUM | python/tvm/support/nvcc.py | 548 | # Define the vector-deprecation silencing macros as no-ops for every NVRTC | STRING |
| MEDIUM | python/tvm/relax/base_py_module.py | 521 | # Create a wrapper that handles both instance methods and static functions | COMMENT |
| MEDIUM | python/tvm/relax/relax_to_pyfunc_converter.py | 87 | # Create a copy of the current IRModule | COMMENT |
| MEDIUM | python/tvm/relax/relax_to_pyfunc_converter.py | 128 | # Create the Python function | COMMENT |
| MEDIUM | python/tvm/relax/frontend/tflite/tflite_frontend.py | 9044 | # Define a tf.Module containing a tf.function with network definition | STRING |
| MEDIUM | python/tvm/relax/frontend/nn/core.py | 359 | """This method provides an iterator over module parameters, | STRING |
| MEDIUM | python/tvm/relax/frontend/nn/core.py | 376 | """This method provides an iterator over module parameters, | STRING |
| MEDIUM | python/tvm/relax/frontend/onnx/onnx_frontend.py | 4541 | # Create a tensor of zeros then scatter our data through it. | COMMENT |
| MEDIUM | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 1729 | # Create a placeholder for indices (empty tensor with same shape as output) | COMMENT |
| MEDIUM | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 1745 | # Create a placeholder for indices (empty tensor with same shape as output) | COMMENT |
| MEDIUM | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 1761 | # Create a placeholder for indices (empty tensor with same shape as output) | COMMENT |
| MEDIUM | python/tvm/relax/frontend/torch/fx_translator.py | 1245 | # Define the module | STRING |
| MEDIUM | …vm/relax/frontend/torch/exported_program_translator.py | 190 | # This method is called for batch_norm in training mode | COMMENT |
| MEDIUM | …vm/relax/frontend/torch/exported_program_translator.py | 2409 | # Define the module | STRING |
| MEDIUM | python/tvm/relax/testing/nn.py | 228 | # Define a linear layer | STRING |
| MEDIUM | python/tvm/relax/transform/transform.py | 1105 | # Define the pass input IRModule | STRING |
| MEDIUM | python/tvm/relax/transform/transform.py | 1116 | # Define the customized legalization function for "relax.add" | STRING |
| MEDIUM | python/tvm/relax/transform/legalize_ops/manipulate.py | 347 | # Create a TIR schedule to apply the layout change. | COMMENT |
| MEDIUM | tests/python/driver/test_compile.py | 64 | # Define a simple Relax program | COMMENT |
| MEDIUM | tests/python/runtime/test_executable.py | 108 | # Create a temporary directory for the library | COMMENT |
| MEDIUM | tests/python/runtime/test_executable.py | 182 | # Create an executable | COMMENT |
| MEDIUM | tests/python/runtime/test_executable.py | 238 | # Create an executable | COMMENT |
| MEDIUM | …tir/analysis/test_s_tir_analysis_verify_block_scope.py | 123 | # Create an undeclared buffer using an explicit data pointer that is NOT | COMMENT |
| MEDIUM | tests/python/s_tir/dlight/test_gpu_fallback.py | 215 | # This function is identical, except that it is explicitly | COMMENT |
| MEDIUM | tests/python/codegen/test_target_codegen_llvm.py | 92 | # Create an intrinsic that returns void. | COMMENT |
| MEDIUM | tests/python/support/test_util.py | 77 | # Creating a new TempDirectory should fail now | COMMENT |
| MEDIUM | …ime_builtin_paged_attention_kv_cache_mla_flashinfer.py | 449 | # Create a mask similar to np.tril and np.triu. | COMMENT |
| MEDIUM | tests/python/relax/test_dlpack_integration.py | 204 | # Create a simple IRModule | COMMENT |
| MEDIUM | …st_runtime_builtin_paged_attention_kv_cache_mla_tir.py | 379 | # Create a mask similar to np.tril and np.triu. | COMMENT |
| MEDIUM | tests/scripts/task_config_build_gpu_other.sh | 19 | # This file is a compiler test to ensure that runtimes can compile | COMMENT |
| MEDIUM | docs/conf.py | 23 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | docs/how_to/tutorials/cross_compilation_and_rpc.py | 411 | # The following function shows how we run an OpenCL kernel remotely | COMMENT |
| MEDIUM | docs/how_to/tutorials/customize_opt.py | 121 | # Define a new pass for CUBLAS dispatch | COMMENT |
| MEDIUM | docs/how_to/tutorials/import_model.py | 307 | # Define a simple TF module and convert to TFLite. | COMMENT |
| MEDIUM | docs/how_to/tutorials/optimize_llm.py | 530 | # Create the KVCache | COMMENT |
| MEDIUM | docs/get_started/tutorials/ir_module.py | 57 | # Create a dummy model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tvm/backend/cuda/launch/generate.py | 144 | " if (values->Int(Field::kPreferredClusterX) == 1 && values->Int(Field::kPreferredClusterY) == 1 && values->Int | CODE |
| HIGH | python/tvm/backend/cuda/codegen/header.py | 646 | GmmaDescriptor(GmmaDescriptor && t) noexcept : desc_(t.desc_) {} | CODE |
| HIGH | python/tvm/backend/cuda/codegen/header.py | 655 | GmmaDescriptor& operator=(GmmaDescriptor && t) noexcept { | CODE |
| HIGH | python/tvm/contrib/cutlass/gemm_profiler.py | 170 | for (int i = 1; i < argc && i < 4; ++i) { | STRING |
| HIGH | python/tvm/relax/frontend/tflite/tflite_flexbuffer.py | 87 | # Keys are strings here. The format is all strings separated by null, followed by back | COMMENT |
| HIGH | python/tvm/relax/op/base.py | 187 | null, opaque-pointer, DLTensor-pointer, or object-handle check. | STRING |
| HIGH | tests/python/sym/test_sym_z3.py | 661 | # i.e. EnterConstraint's solver.push()/pop() must be balanced. | COMMENT |
| HIGH | tests/python/ir/test_node_reflection.py | 78 | {"type": "ir.UnknownLoc", "data": null}, | CODE |
| HIGH | tests/python/ir/test_node_reflection.py | 96 | {"type": "ir.UnknownLoc", "data": null}, | CODE |
| HIGH⚡ | …tir/analysis/test_s_tir_analysis_verify_block_scope.py | 32 | region = tvm.tirx.BufferRegion(buffer, [tvm.ir.Range.from_min_extent(undefined, 4)]) | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 633 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 647 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 741 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 760 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 853 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …ython/s_tir/meta_schedule/test_meta_schedule_runner.py | 866 | global repeated_args_before # pylint: disable=global-variable-undefined, invalid-name | CODE |
| HIGH | …s/python/tirx-transform/test_tir_transform_simplify.py | 373 | simplification that ``!(x || y) == !x && !y``. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/sym/analyzer.py | 166 | def set_z3_timeout_ms(self, timeout_ms: int) -> None: | CODE |
| LOW | python/tvm/sym/analyzer.py | 182 | def set_z3_rlimit(self, rlimit: int) -> None: | CODE |
| LOW | python/tvm/sym/analyzer.py | 376 | def set_maximum_rewrite_steps(self, maximum: int) -> None: | CODE |
| LOW | python/tvm/target/tag.py | 21 | __all__ = ["list_tags", "register_tag"] | CODE |
| LOW | python/tvm/runtime/vm.py | 90 | def _setup_device(self, dev: Device, memory_cfg: str | dict[Device, str]) -> None: | CODE |
| LOW | python/tvm/runtime/vm.py | 250 | def set_input(self, func_name: str, *args: Any, **kwargs: Any) -> None: | CODE |
| LOW | python/tvm/runtime/vm.py | 325 | def set_instrument(self, instrument: Function) -> None: | CODE |
| LOW⚡ | python/tvm/s_tir/script/ir_builder/parser_protocol.py | 150 | __all__ = ["arg_", "bind_", "check_well_formed_", "function", "function_", "init", "sblock"] | CODE |
| LOW | python/tvm/s_tir/script/ir_builder/__init__.py | 29 | __all__ = [*_shared_exports, *_ir.__all__, *_protocol.__all__] | CODE |
| LOW | python/tvm/s_tir/script/ir_builder/ir.py | 481 | __all__ = [ | CODE |
| LOW | python/tvm/s_tir/dlight/analysis/common_analysis.py | 36 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | python/tvm/s_tir/tensor_intrin/riscv_cpu.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tvm/backend/__init__.py | 27 | __all__ = ["is_loaded", "load"] | CODE |
| LOW | python/tvm/backend/loader.py | 117 | def _set_module_alias(alias: str, module, *, direct: bool = False) -> None: | CODE |
| LOW | python/tvm/backend/loader.py | 187 | __all__ = ["is_loaded", "load"] | CODE |
| LOW | python/tvm/backend/adreno/__init__.py | 39 | __all__ = ["register_backend", "target_tags"] | CODE |
| LOW | python/tvm/backend/trn/layout.py | 123 | __all__ = ["is_trainium_layout", "to_psum_layout", "trainium_layout"] | CODE |
| LOW | python/tvm/backend/trn/__init__.py | 72 | __all__ = [ | CODE |
| LOW | python/tvm/backend/trn/op.py | 203 | __all__ = [ | CODE |
| LOW | python/tvm/backend/trn/pipeline.py | 58 | __all__ = ["finalize_device_passes_trn", "trn_pipeline"] | CODE |
| LOW | python/tvm/backend/trn/script.py | 55 | __all__ = ["NKINamespace"] | CODE |
| LOW | python/tvm/backend/trn/transform/__init__.py | 53 | __all__ = ["LowerTIRx", "LowerTrainiumLayout", "TrnNaiveAllocator", "TrnPrivateBufferAlloc"] | CODE |
| LOW | python/tvm/backend/metal/__init__.py | 84 | __all__ = [ | CODE |
| LOW | python/tvm/backend/metal/op.py | 124 | __all__ = [ | CODE |
| LOW | python/tvm/backend/metal/script.py | 45 | __all__ = ["MetalNamespace"] | CODE |
| LOW | python/tvm/backend/cuda/__init__.py | 117 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/iket.py | 831 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/ptx/__init__.py | 32 | __all__ = ["TABLE", "PTXNamespace", "register_addr", "register_table"] | CODE |
| LOW | python/tvm/backend/cuda/launch/_generated.py | 103 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/launch/__init__.py | 28 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/codegen/__init__.py | 43 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/lang/__init__.py | 21 | __all__ = [ | CODE |
| LOW | python/tvm/backend/cuda/transforms/__init__.py | 41 | __all__ = ["LowerIket"] | CODE |
| LOW | python/tvm/backend/cuda/cpp/__init__.py | 41 | __all__ = [] | CODE |
| LOW | …tvm/backend/cuda/tile_primitive/elementwise/_common.py | 392 | __all__ = [ | CODE |
| LOW | …ackend/cuda/tile_primitive/elementwise/ops/__init__.py | 122 | __all__ = ["ALL_OPS", "OpSpec", "Plan", "SrcSpec", "VecImpl"] | CODE |
| LOW | …on/tvm/backend/cuda/tile_primitive/copy/ld_stmatrix.py | 390 | __all__ = ["copy_schedule_ldstmatrix"] | CODE |
| LOW | python/tvm/backend/webgpu/__init__.py | 25 | __all__ = ["register_backend"] | CODE |
| LOW | python/tvm/backend/hexagon/__init__.py | 51 | __all__ = ["register_backend", "target_tags"] | CODE |
| LOW | python/tvm/backend/opencl/__init__.py | 58 | __all__ = ["register_backend"] | CODE |
| LOW | python/tvm/backend/vulkan/__init__.py | 69 | __all__ = ["register_backend"] | CODE |
| LOW | python/tvm/backend/rocm/__init__.py | 59 | __all__ = ["register_backend"] | CODE |
| LOW | python/tvm/contrib/hexagon/hexagon_unary_ops.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/tvm/script/ir_builder/__init__.py | 67 | __all__ = [ | CODE |
| LOW | python/tvm/script/ir_builder/frame.py | 58 | def set_names(self, names: str | Sequence[str] | None) -> None: | CODE |
| LOW | python/tvm/script/parser/__init__.py | 36 | __all__ = [*_ENTRY_EXPORTS, "register_namespace", "register_namespace_initializer"] | CODE |
| LOW | python/tvm/script/parser/protocol_registry.py | 40 | __all__ = ["register_mutable_decl", "register_scalar_annotation"] | CODE |
| LOW | python/tvm/testing/env.py | 54 | __all__ = [ | CODE |
| LOW | python/tvm/relax/expr_functor.py | 1618 | def set_var_remap(self, old_var: Var, new_var: Var) -> None: | CODE |
| LOW | python/tvm/relax/block_builder.py | 749 | def update_func(self, gv: GlobalVar, updated_func: BaseFunc) -> None: | CODE |
| LOW | python/tvm/relax/expr.py | 637 | def _update_type(expr: Expr, ty: Type | None) -> None: | CODE |
| LOW | python/tvm/relax/frontend/tflite/tflite_frontend.py | 39 | __all__ = ["from_tflite"] | CODE |
| LOW | python/tvm/relax/frontend/nn/core.py | 78 | def set_default_dtype(dtype: str) -> None: | CODE |
| LOW | python/tvm/relax/frontend/nn/core.py | 342 | def set_state(self, state_vars: list[rx.Var]) -> None: | CODE |
| LOW | python/tvm/relax/frontend/nn/modules.py | 49 | def set_state(self, state_vars: list[rx.Var]) -> None: | CODE |
| LOW | python/tvm/relax/frontend/nn/modules.py | 838 | def set_state(self, state_vars: list[rx.Var]) -> None: | CODE |
| LOW | python/tvm/relax/frontend/nn/llm/kv_cache.py | 87 | __all__ = [ | CODE |
| LOW | python/tvm/relax/training/optimizer.py | 140 | def _set_params_and_dtype(self, params: list[Var]) -> None: | CODE |
| LOW | …thon/tvm/relax/backend/contrib/example_npu/__init__.py | 31 | __all__ = ["patterns"] | CODE |
| LOW | python/tvm/relax/script/ir_builder/parser_protocol.py | 569 | __all__ = [ | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/sparse_reshape.py | 171 | # Check if prev_shape and new_shape are equal | COMMENT |
| LOW | python/tvm/backend/trn/tile_primitive/dim_utils.py | 225 | # Check if there is a direct mapping | COMMENT |
| LOW | python/tvm/backend/cuda/lang/tile_scheduler.py | 376 | # Check if we're in the full block region | COMMENT |
| LOW | python/tvm/relax/relax_to_pyfunc_converter.py | 418 | # Check if it's a function parameter | COMMENT |
| LOW | python/tvm/relax/relax_to_pyfunc_converter.py | 423 | # Check if it's a bound variable | COMMENT |
| LOW | python/tvm/relax/frontend/tflite/tflite_frontend.py | 1089 | # Check if the tensors are quantized. Parse if yes. | COMMENT |
| LOW | python/tvm/relax/frontend/tflite/tflite_frontend.py | 3892 | # Check if the input tensor is quantized, call QNN op | COMMENT |
| LOW | python/tvm/relax/frontend/onnx/onnx_frontend.py | 2703 | # Check if either dimension is symbolic (Expr) | COMMENT |
| LOW | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 291 | # Check if this is a null_value expression | COMMENT |
| LOW | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 2339 | # Check if all indices can be squeezed to 1D for sequential take | COMMENT |
| LOW | python/tvm/relax/frontend/torch/fx_translator.py | 105 | # Check if input is integer type and convert to float32 if needed | COMMENT |
| LOW | python/tvm/relax/frontend/torch/fx_translator.py | 115 | # Check if input is integer type and convert to float32 if needed | COMMENT |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 109 | # Check if input is integer type and convert to float32 if needed | COMMENT |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 119 | # Check if input is integer type and convert to float32 if needed | COMMENT |
| LOW | python/tvm/relax/backend/cuda/cutlass.py | 137 | # Check if any dimensions are symbolic. | COMMENT |
| LOW | python/tvm/relax/backend/cuda/cudnn.py | 55 | # Check if the data types of input and weights are supported by cuDNN BYOC | COMMENT |
| LOW | python/tvm/tirx/script/ir_builder/external_kernel.py | 167 | # Check if NVSHMEM is used - requires cubin output for device library linking | COMMENT |
| LOW | tests/lint/check_asf_header.py | 308 | # Check if file should be skipped | COMMENT |
| LOW | tests/lint/check_asf_header.py | 312 | # Check if this file type is supported | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 57 | # Check if the generated ir is expected | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 111 | # Check if the generated ir is expected | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 140 | # Check if the generated ir is expected | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 190 | # Check if the generated ir is expected | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 234 | # Check if the generated ir is expected | COMMENT |
| LOW | …ts/python/s_tir/script/test_s_tir_script_ir_builder.py | 258 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/contrib/test_example_npu.py | 98 | # Check if the example NPU runtime is available | COMMENT |
| LOW | tests/python/codegen/test_target_codegen_aarch64.py | 613 | # Check if the vscale_range() attribute exists | COMMENT |
| LOW⚡ | tests/python/relax/script/test_relax_script_pyfunc.py | 135 | # Check if functions attribute exists | COMMENT |
| LOW⚡ | tests/python/relax/script/test_relax_script_pyfunc.py | 147 | # Check if script method exists | COMMENT |
| LOW⚡ | tests/python/relax/script/test_relax_script_pyfunc.py | 159 | # Check if inheritance flag exists (this might not be set in all implementations) | COMMENT |
| LOW⚡ | tests/python/relax/script/test_relax_script_pyfunc.py | 166 | # Check if original class is preserved (this might not be set in all implementations) | COMMENT |
| LOW⚡ | tests/python/tirx/script/test_tirx_script_ir_builder.py | 224 | # Check if the generated ir is expected | COMMENT |
| LOW⚡ | tests/python/tirx/script/test_tirx_script_ir_builder.py | 237 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 93 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 113 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 137 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 151 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 168 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 190 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 206 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/python/tirx/script/test_tirx_script_ir_builder.py | 252 | # Check if the generated ir is expected | COMMENT |
| LOW | tests/scripts/ci.py | 552 | # Check if it should be a flag | COMMENT |
| LOW | docs/how_to/tutorials/customize_opt.py | 125 | # Check if CUBLAS is enabled | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/topi/nn/qnn.py | 67 | # When disabled, just pass through the input values. | COMMENT |
| LOW | python/tvm/topi/nn/qnn.py | 157 | # When disabled simply return the input tensor. | COMMENT |
| LOW | python/tvm/te/reduction.py | 284 | # mode 2, simply use it with multiple Exprs: | COMMENT |
| MEDIUM⚡ | …hon/tvm/backend/cuda/tile_primitive/elementwise/reg.py | 290 | # trivial / identity layouts are fine — the algorithm is robust to | COMMENT |
| LOW | …vm/backend/cuda/tile_primitive/elementwise/ops/cast.py | 40 | # Schedule wraps with Tx.cast(..., dst.dtype) — just pass through. | COMMENT |
| LOW | python/tvm/script/parser/inspect_source.py | 123 | # Since `findsource` is an internal API of inspect, we just use it | COMMENT |
| LOW | python/tvm/relax/relax_to_pyfunc_converter.py | 640 | # Simple fallback: just add the tensors | COMMENT |
| LOW | python/tvm/relax/frontend/onnx/onnx_frontend.py | 2460 | # from other frameworks and not actually used in TVM. We'll just use | COMMENT |
| LOW | …n/tvm/relax/frontend/torch/base_fx_graph_translator.py | 2686 | # by the translator, and therefore we just return a copy of the input. | COMMENT |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 2036 | "bernoulli.p": lambda node: self.env[node.args[0]], # Dropout: just return input | CODE |
| LOW | python/tvm/relax/training/loss.py | 364 | # In other cases where ignore_index is not needed, just use the simpe product. | STRING |
| MEDIUM | tests/python/relax/test_relax_to_pyfunc_converter.py | 367 | """Test that operator mapping is comprehensive.""" | STRING |
| MEDIUM | tests/python/relax/test_base_py_module_printer.py | 346 | """Test comprehensive error handling and validation.""" | STRING |
| MEDIUM | tests/python/relax/test_base_py_module_printer.py | 350 | """Robust data processing with comprehensive error handling.""" | STRING |
| MEDIUM | tests/python/tirx/iket/test_iket_orchestration.py | 57 | pytest.importorskip("triton") # tvm.tirx.bench pulls in the triton harness | CODE |
| MEDIUM | docs/how_to/tutorials/e2e_opt_model.py | 97 | # leverage MetaSchedule to tune the model and store the tuning logs to the database. We also | COMMENT |
| MEDIUM⚡ | docs/how_to/tutorials/export_and_load_executable.py | 327 | # for a comprehensive guide on: | COMMENT |
| MEDIUM | docs/how_to/tutorials/optimize_llm.py | 169 | # - QKV projection: We leverage the horizontal fusion on QKV projection and fuse them into one | COMMENT |
| MEDIUM | docs/how_to/tutorials/optimize_llm.py | 171 | # - Attention: We leverage the horizontal fusion on attention and fuse the QKV projection and | COMMENT |
| MEDIUM | docs/deep_dive/tensor_ir/tutorials/tir_creation.py | 261 | # The aforementioned lambda expression encapsulates the computation: | COMMENT |
| MEDIUM | …cs/deep_dive/tensor_ir/tutorials/tir_transformation.py | 176 | # Alternatively, we can output the IRModule in conjunction with the historical trace. | COMMENT |
| MEDIUM | docs/get_started/tutorials/quick_start.py | 113 | # Apache TVM leverage ``pipeline`` to transform and optimize program. | COMMENT |
| MEDIUM | docs/get_started/tutorials/quick_start.py | 125 | # In this tutorial we only demonstrate the overall flow, by leverage ``zero`` optimization | COMMENT |
| LOW | apps/ios_rpc/tests/ios_rpc_test.py | 59 | # If we don't want to do metal and only use cpu, just set target to be target | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/tvm/topi/nn/pad.py | 27 | Calculates the output shape of a tensor after applying padding. Args: data (tvm.te.Tensor): The input | STRING |
| HIGH | python/tvm/backend/cuda/codegen/utils.py | 40 | Validate that cta_group is 1 or 2 and return it as int. Args: cta_group: The cta_group value (can be int or | STRING |
| HIGH | python/tvm/backend/cuda/codegen/utils.py | 62 | Validate that value is within range and is a power of two. Args: value: The value to validate min_v | STRING |
| HIGH | …/tvm/backend/cuda/tile_primitive/gemm_async/tcgen05.py | 360 | Schedule an asynchronous GEMM operation using tcgen05.mma (Blackwell Tensor Core). Computes C = A @ B (with optiona | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/tvm/relax/frontend/tflite/tflite_frontend.py | 9062 | # Alternatively you can use tensorflow.keras.application wrapped arounf a tf.function | STRING |
| MEDIUM | include/tvm/s_tir/transform.h | 197 | * which is the three blocks as discussed above. | COMMENT |
| MEDIUM⚡ | docs/how_to/tutorials/export_and_load_executable.py | 319 | # you can use TVM's RPC mechanism to cross-compile, upload, and run the model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tvm/te/operation.py | 39 | def placeholder(shape, dtype=None, name="placeholder"): | CODE |
| LOW | python/tvm/relax/frontend/torch/fx_translator.py | 1128 | if node.op == "placeholder": | CODE |
| LOW | python/tvm/relax/frontend/torch/dynamo.py | 86 | if node.op != "placeholder": | CODE |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 1531 | if node.op == "placeholder": | CODE |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 1627 | placeholders = [n for n in nodes if n.op == "placeholder"] | CODE |
| LOW | …vm/relax/frontend/torch/exported_program_translator.py | 2183 | for node in exported_program.graph.find_nodes(op="placeholder", target=spec.target): | CODE |
| LOW | include/tvm/te/operation.h | 440 | std::string name = "placeholder"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/python/tirx-base/test_tir_nodes.py | 301 | def test_function(): | CODE |
| LOW | tests/python/s_tir/script/test_s_tir_script_printer.py | 121 | def test_function(): | CODE |
| LOW | tests/python/script/test_basic_usage.py | 38 | def test_function(language): | CODE |
| LOW | tests/python/script/test_meta_programming.py | 493 | def helper(): | CODE |
| LOW | tests/python/script/test_meta_programming.py | 652 | def helper(): | CODE |
| LOW | tests/python/script/test_meta_programming.py | 710 | def helper(value): | CODE |
| LOW | tests/python/script/test_meta_programming.py | 766 | def helper(): | CODE |
| LOW | tests/python/relax/test_expr_functor.py | 550 | def test_function(): | CODE |
| LOW | tests/python/relax/script/test_relax_script_printer.py | 222 | def test_function(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/python/script/test_parser_entry.py | 49 | # scaffolding. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ython/relax/script/test_relax_script_error_handling.py | 290 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/scripts/monitor_gpu.sh | 7 | # Usage: | COMMENT |