AIMET is a library that provides advanced quantization and compression techniques for trained neural network models.
This report presents the forensic synthetic code analysis of qualcomm/aimet, a Python project with 2,663 GitHub stars. SynthScan v2.0 examined 297,826 lines of code across 1090 source files, recording 4811 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 25.5 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4811 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/dependencies.py | 46 | def _get_pip_reqs_for_framework( | CODE |
| LOW | GenAILab/bench/metrics.py | 103 | def _compute_loss_from_logits( | CODE |
| LOW | GenAILab/bench/yaml_config_parser.py | 269 | def get_required_export_adaptations(cls, model_type: str) -> list[str]: | CODE |
| LOW | GenAILab/bench/recipe_cache.py | 587 | def _serialize_dataset_config(dataset_config: dict) -> dict: | CODE |
| LOW | GenAILab/bench/datasets.py | 256 | def _format_question_and_answer( | CODE |
| LOW | GenAILab/bench/datasets.py | 395 | def _format_question_and_answer( | CODE |
| LOW | GenAILab/bench/datasets.py | 471 | def assemble_fewshot_question(formatted_question: str, subject: str): | CODE |
| LOW | GenAILab/bench/profiler.py | 44 | def convert_gpu_meter_to_dict( | CODE |
| LOW | GenAILab/bench/profiler.py | 145 | def _aggregate_resource_utilization( | CODE |
| LOW | GenAILab/bench/profiler.py | 172 | def _serialize_component_stats( | CODE |
| LOW | GenAILab/bench/profiler.py | 246 | def dict_to_postgres_csv_json_field(d): | CODE |
| LOW | GenAILab/bench/torch/test_genai.py | 286 | def _last_calibration_for_onnx(steps): | CODE |
| LOW | GenAILab/tests/unit/conftest.py | 29 | def _permissive_register_model(cls, model_type): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 19 | def test_cuda_device_with_index(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 27 | def test_cuda_device_without_index(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 35 | def test_sets_and_restores_attribute(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 46 | def test_creates_and_removes_new_attribute(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 58 | def test_restores_class_level_attribute(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 72 | def test_ties_past_key_value_quantizers(self, tmp_path): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 121 | def test_disables_activation_quantizers(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 143 | def test_float_precision_skips_tying(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 154 | def test_int_precision_ties_and_sets_symmetric(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 17 | def test_fp_mode_removes_quant_nodes(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 49 | def test_handles_visual_model(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 96 | def test_wraps_backbone_in_torch_onnx_interface(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 127 | def test_vlm_wraps_both_models(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 186 | def test_reassembles_list_outputs(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 208 | def test_no_list_outputs_passthrough(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 61 | def test_default_precision_when_none(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 68 | def test_calls_set_lm_head_precision(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 74 | def test_calls_resolve_kv_cache(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 80 | def test_calls_block_granularity(self): | CODE |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 95 | def test_returns_sim_collection_with_config(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 20 | def test_lpbq_calls_grouped_blockwise(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 65 | def test_pcq_does_not_call_block_functions(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 87 | def test_lpbq_calls_grouped_blockwise(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 117 | def test_pcq_sets_bitwidth_directly(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 52 | def test_fp_mode_disables_quantizers(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 77 | def test_handles_visual_model(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 111 | def test_on_device_places_models(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 139 | def test_creates_generator_for_llm(self): | CODE |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 163 | def test_creates_vlm_generator_for_vlm(self): | CODE |
| LOW | …nAILab/tests/unit/torch/test_quantsim_instantiation.py | 51 | def test_default_precision_used_when_none(self): | CODE |
| LOW | …nAILab/tests/unit/torch/test_quantsim_instantiation.py | 190 | def test_returns_sim_collection(self): | CODE |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 75 | def test_prepare_inputs_adds_rope(self, hub_gen, llama_config): | CODE |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 93 | def test_prepare_inputs_kv_permutation(self, hub_gen, llama_config): | CODE |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 125 | def test_extra_kwargs_accepted_as_tensors(self, hub_gen, llama_config): | CODE |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 137 | def test_combine_outputs_kv_back_to_hf(self, hub_gen, llama_config): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 432 | def test_returns_causal_lm_output(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 437 | def test_logits_strip_padding(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 464 | def test_long_input_multi_slice(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 470 | def test_creates_default_attention_mask(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 475 | def test_both_ids_and_embeds_raises(self, gen, cfg): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 489 | def test_yields_prepared_inputs(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 503 | def test_multi_slice_yields_multiple(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 515 | def test_first_call_no_stripping(self, gen): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 524 | def test_strips_consumed_tokens(self, gen, cfg): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 569 | def test_logits_strip_padding(self, gen, cfg): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 650 | def test_linear_layer_state_replaced_not_concatenated(self): | CODE |
| LOW⚡ | GenAILab/tests/unit/models/test_generator.py | 702 | def _make_sliding_descriptors(window_size=32): | CODE |
| 2384 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ModelOptimizations/PyModelOptimizations/_quant_enums.py | 0 | shared quantization enums used by cython modules. this module provides intenum classes that are shared between _libpymo | STRING |
| HIGH | …gExtensions/onnx/src/python/aimet_onnx/_quant_enums.py | 0 | shared quantization enums used by cython modules. this module provides intenum classes that are shared between _libpymo | STRING |
| HIGH | …nsions/common/src/python/_aimet_common/_quant_enums.py | 0 | shared quantization enums used by cython modules. this module provides intenum classes that are shared between _libpymo | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/internvl.py | 0 | export (or load) the raw float backbone/visual onnx models + embedding. separated from :meth:`instantiate_quantsim` so t | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/qwen2_vl.py | 0 | export (or load) the raw float backbone/visual onnx models + embedding. separated from :meth:`instantiate_quantsim` so t | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/qwen3_vl.py | 0 | export (or load) the raw float backbone/visual onnx models + embedding. separated from :meth:`instantiate_quantsim` so t | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/gemma4.py | 0 | export (or load) the raw float backbone/visual onnx models + embedding. separated from :meth:`instantiate_quantsim` so t | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/gemma3.py | 0 | export (or load) the raw float backbone/visual onnx models + embedding. separated from :meth:`instantiate_quantsim` so t | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/internvl.py | 0 | export the torch model to onnx and return a :class:`modelcacheentry`. | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/qwen2_vl.py | 0 | export the torch model to onnx and return a :class:`modelcacheentry`. | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/qwen3_vl.py | 0 | export the torch model to onnx and return a :class:`modelcacheentry`. | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/gemma4.py | 0 | export the torch model to onnx and return a :class:`modelcacheentry`. | STRING |
| HIGH | GenAILab/qai_hub_lm/backends/onnx/gemma3.py | 0 | export the torch model to onnx and return a :class:`modelcacheentry`. | STRING |
| HIGH | Docs/snippets/onnx/apply_litemp.py | 0 | returns calibration and evaluation data-loader for imagenet dataset from provided path | STRING |
| HIGH | Docs/snippets/onnx/apply_quantsim.py | 0 | returns calibration and evaluation data-loader for imagenet dataset from provided path | STRING |
| HIGH | Docs/snippets/torch/apply_quantsim.py | 0 | returns calibration and evaluation data-loader for imagenet dataset from provided path | STRING |
| HIGH | …acy/torch_code_examples/model_preparer_code_example.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/onnx/test/python/models/models_for_tests.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …ningExtensions/torch/test/python/models/test_models.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/torch/test/python/v2/models_/test_models.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …s/torch/src/python/aimet_torch/examples/test_models.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …ngExtensions/torch/test/python/test_model_validator.py | 0 | model that uses functional modules instead of nn.modules. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …acy/torch_code_examples/model_preparer_code_example.py | 0 | model that uses single relu instances multiple times in the forward. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/onnx/test/python/models/models_for_tests.py | 0 | model that uses single relu instances multiple times in the forward. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …ningExtensions/torch/test/python/models/test_models.py | 0 | model that uses single relu instances multiple times in the forward. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/torch/test/python/v2/models_/test_models.py | 0 | model that uses single relu instances multiple times in the forward. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …s/torch/src/python/aimet_torch/examples/test_models.py | 0 | model that uses single relu instances multiple times in the forward. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …cy/torch_code_examples/model_validator_code_example.py | 0 | model that reuses a relu module. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/onnx/test/python/models/models_for_tests.py | 0 | model that reuses a relu module. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …ningExtensions/torch/test/python/models/test_models.py | 0 | model that reuses a relu module. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …Extensions/torch/test/python/v2/models_/test_models.py | 0 | model that reuses a relu module. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | …s/torch/src/python/aimet_torch/examples/test_models.py | 0 | model that reuses a relu module. expects input of shape (1, 3, 32, 32) | STRING |
| HIGH | Examples/onnx/utils/image_net_evaluator.py | 0 | :param images_dir: the path to the data directory :param image_size: the length of the image :param batch_size: the batc | STRING |
| HIGH | Examples/torch/utils/image_net_trainer.py | 0 | :param images_dir: the path to the data directory :param image_size: the length of the image :param batch_size: the batc | STRING |
| HIGH | Examples/torch/utils/image_net_evaluator.py | 0 | :param images_dir: the path to the data directory :param image_size: the length of the image :param batch_size: the batc | STRING |
| HIGH | Examples/torch/utils/image_net_evaluator.py | 0 | evaluate the specified model using the specified number of samples from the validation set. :param model: the model to b | STRING |
| HIGH | Examples/torch/quantization/range_learning.py | 0 | evaluate the specified model using the specified number of samples from the validation set. :param model: the model to b | STRING |
| HIGH | …ples/torch/quantization/quantization_aware_training.py | 0 | evaluate the specified model using the specified number of samples from the validation set. :param model: the model to b | STRING |
| HIGH | Examples/torch/quantization/adaround.py | 0 | evaluate the specified model using the specified number of samples from the validation set. :param model: the model to b | STRING |
| HIGH | Examples/torch/quantization/range_learning.py | 0 | provides apis for model quantization using evaluation and finetuning. | STRING |
| HIGH | …ples/torch/quantization/quantization_aware_training.py | 0 | provides apis for model quantization using evaluation and finetuning. | STRING |
| HIGH | Examples/torch/quantization/adaround.py | 0 | provides apis for model quantization using evaluation and finetuning. | STRING |
| HIGH | Examples/torch/quantization/range_learning.py | 0 | finetunes the model. the implemtation provided here is just an example, provide your own implementation if needed. :para | STRING |
| HIGH | Examples/torch/compression/weight_svd.py | 0 | finetunes the model. the implemtation provided here is just an example, provide your own implementation if needed. :para | STRING |
| HIGH | Examples/torch/compression/channel_pruning.py | 0 | finetunes the model. the implemtation provided here is just an example, provide your own implementation if needed. :para | STRING |
| HIGH | Examples/torch/compression/spatial_svd_cp.py | 0 | finetunes the model. the implemtation provided here is just an example, provide your own implementation if needed. :para | STRING |
| HIGH | Examples/torch/compression/spatial_svd.py | 0 | finetunes the model. the implemtation provided here is just an example, provide your own implementation if needed. :para | STRING |
| HIGH | Examples/torch/compression/channel_pruning.py | 0 | provides apis for model compression using aimet weight svd, evaluation and finetuning. | STRING |
| HIGH | Examples/torch/compression/weight_svd.py | 0 | provides apis for model compression using aimet weight svd, evaluation and finetuning. | STRING |
| HIGH | Examples/torch/compression/spatial_svd_cp.py | 0 | provides apis for model compression using aimet weight svd, evaluation and finetuning. | STRING |
| HIGH | Examples/torch/compression/spatial_svd.py | 0 | provides apis for model compression using aimet weight svd, evaluation and finetuning. | STRING |
| HIGH | Examples/torch/compression/channel_pruning.py | 0 | evaluate the specified model using the specified number of samples from the validation set. aimet's compress_model() exp | STRING |
| HIGH | Examples/torch/compression/weight_svd.py | 0 | evaluate the specified model using the specified number of samples from the validation set. aimet's compress_model() exp | STRING |
| HIGH | Examples/torch/compression/spatial_svd_cp.py | 0 | evaluate the specified model using the specified number of samples from the validation set. aimet's compress_model() exp | STRING |
| HIGH | Examples/torch/compression/spatial_svd.py | 0 | evaluate the specified model using the specified number of samples from the validation set. aimet's compress_model() exp | STRING |
| HIGH | Examples/torch/compression/channel_pruning.py | 0 | 1. instantiate data pipeline for evaluation and training 2. load the pretrained resnet18 model 3. calculate floating poi | STRING |
| HIGH | Examples/torch/compression/weight_svd.py | 0 | 1. instantiate data pipeline for evaluation and training 2. load the pretrained resnet18 model 3. calculate floating poi | STRING |
| HIGH | Examples/torch/compression/spatial_svd_cp.py | 0 | 1. instantiate data pipeline for evaluation and training 2. load the pretrained resnet18 model 3. calculate floating poi | STRING |
| HIGH | Examples/torch/compression/spatial_svd.py | 0 | 1. instantiate data pipeline for evaluation and training 2. load the pretrained resnet18 model 3. calculate floating poi | STRING |
| HIGH | AIMETRegression/features/onnx/quantsim_runner.py | 0 | extract numeric bitwidth from various formats (int8, "int8", 8, "8"). | STRING |
| 313 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 122 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 124 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 176 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 178 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 209 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 211 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 247 | # ------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 249 | # ------------------------------- | COMMENT |
| MEDIUM | packaging/INSTALL.txt | 1 | # ================================================================================== | COMMENT |
| MEDIUM | packaging/INSTALL.txt | 3 | # ================================================================================== | COMMENT |
| MEDIUM | packaging/envsetup.sh | 7 | #==================================== | COMMENT |
| MEDIUM | packaging/envsetup.sh | 9 | #=================================== | COMMENT |
| MEDIUM | GenAILab/__main__.py | 173 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/__main__.py | 175 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/__main__.py | 283 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/__main__.py | 285 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/__main__.py | 392 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/__main__.py | 394 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 317 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 319 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | GenAILab/bench/metrics.py | 388 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | GenAILab/bench/metrics.py | 390 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 456 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 458 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 584 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/metrics.py | 586 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 37 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 39 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 76 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 78 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 120 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 122 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 152 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 154 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 171 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 173 | # ======================== | COMMENT |
| MEDIUM⚡ | GenAILab/bench/yaml_config_parser.py | 200 | # ======================== | COMMENT |
| MEDIUM⚡ | GenAILab/bench/yaml_config_parser.py | 202 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 321 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/yaml_config_parser.py | 323 | # ======================== | COMMENT |
| MEDIUM | GenAILab/bench/eval_context.py | 34 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/eval_context.py | 36 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/eval_context.py | 56 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/eval_context.py | 58 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/fp_cache.py | 35 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/fp_cache.py | 37 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/fp_cache.py | 104 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/fp_cache.py | 106 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/model_cache.py | 62 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/model_cache.py | 64 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/model_cache.py | 251 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/bench/model_cache.py | 253 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 98 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | GenAILab/tests/conftest.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| 410 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 4 | CODE | |
| LOW | GenAILab/bench/onnx/quant_recipes.py | 23 | CODE | |
| LOW | GenAILab/bench/onnx/test_genai.py | 33 | CODE | |
| LOW | GenAILab/bench/onnx/test_genai.py | 34 | CODE | |
| LOW | GenAILab/bench/onnx/test_genai.py | 35 | CODE | |
| LOW | GenAILab/bench/torch/test_genai.py | 34 | CODE | |
| LOW | GenAILab/bench/torch/test_genai.py | 35 | CODE | |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_utils.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/onnx/test_generator_utils.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 10 | CODE | |
| LOW | GenAILab/tests/unit/onnx/test_quantsim_instantiation.py | 12 | CODE | |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/torch/test_quantsim_utils.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/torch/test_generator_utils.py | 8 | CODE | |
| LOW | …nAILab/tests/unit/torch/test_quantsim_instantiation.py | 12 | CODE | |
| LOW | …nAILab/tests/unit/torch/test_quantsim_instantiation.py | 15 | CODE | |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 7 | CODE | |
| LOW | …Lab/tests/unit/models/test_hub_compatible_generator.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/models/test_generator.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/models/test_vlm_generator.py | 11 | CODE | |
| LOW | GenAILab/tests/unit/models/test_layer_cache.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/models/test_adaptations.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/models/test_base.py | 8 | CODE | |
| LOW | GenAILab/tests/unit/infrastructure/test_main.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/infrastructure/test_main.py | 9 | CODE | |
| LOW | GenAILab/tests/unit/helpers/test_model_cache.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/helpers/test_yaml_config_parser.py | 6 | CODE | |
| LOW | GenAILab/tests/unit/helpers/test_yaml_config_parser.py | 7 | CODE | |
| LOW | GenAILab/tests/unit/helpers/test_yaml_config_parser.py | 11 | CODE | |
| LOW | GenAILab/tests/unit/helpers/test_precision_config.py | 8 | CODE | |
| LOW | GenAILab/qai_hub_lm/precision.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/precision.py | 11 | CODE | |
| LOW | GenAILab/qai_hub_lm/precision.py | 22 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/internvl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/internvl.py | 26 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/qwen2_vl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/qwen3_vl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/gemma4.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/gemma4.py | 10 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/gemma4.py | 28 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 9 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 12 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 15 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 18 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 21 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 28 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 33 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 38 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/__init__.py | 44 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/llm.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/gemma3.py | 6 | CODE | |
| LOW | …AILab/qai_hub_lm/backends/onnx/adaptations/__init__.py | 4 | CODE | |
| LOW | …Lab/qai_hub_lm/backends/onnx/adaptations/hub_models.py | 40 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/internvl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/internvl.py | 8 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/qwen2_vl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/qwen2_vl.py | 8 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/qwen3_vl.py | 6 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/qwen3_vl.py | 8 | CODE | |
| 459 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | GenAILab/bench/torch/example_custom_script.py | 90 | # Create a generator object to accurately simulate inference with static graph constraints while maintaining the | COMMENT |
| MEDIUM | …nAILab/tests/unit/torch/test_quantsim_instantiation.py | 27 | # Create a module hierarchy that mimics a real model | COMMENT |
| MEDIUM | GenAILab/qai_hub_lm/backends/onnx/export_utils.py | 188 | # Create the checkpoint directory if it does not exist. | COMMENT |
| MEDIUM | Docs/snippets/onnx/apply_seqmse.py | 74 | # Create the QuantizationSimModel | COMMENT |
| MEDIUM | Docs/snippets/torch/apply_qwlora.py | 135 | # Create a QuantizationSimModel | COMMENT |
| MEDIUM | Examples/onnx/quantize.py | 208 | # Create a generator object to accurately simulate inference with static graph constraints while maintaining the | COMMENT |
| MEDIUM | Examples/torch/quantize.py | 215 | # Create a generator object to accurately simulate inference with static graph constraints while maintaining the | COMMENT |
| MEDIUM | Examples/torch/evaluate.py | 210 | # Create a generator object to accurately simulate inference with static graph constraints while maintaining the | COMMENT |
| MEDIUM | …ples/torch/quantization/qat_range_learning_ddp_eval.py | 179 | # Create an instance of DDP in order to perform distributed eval | COMMENT |
| MEDIUM | …tization/qat_range_learning_ddp_training_lightining.py | 217 | # Define the trainer here. | COMMENT |
| MEDIUM | Examples/torch/v2/quickstart_guide.py | 108 | # Create a model | COMMENT |
| MEDIUM | .github/actions/start-gpu-runner/action.yml | 118 | # Create the Kubernetes secret that the pod is polling for | COMMENT |
| MEDIUM | AIMETRegression/configs/_defaults.yaml | 3 | # This file defines default settings inherited by all tests. | COMMENT |
| MEDIUM | TrainingExtensions/onnx/test/python/test_quantsim.py | 1485 | # Create a new quantsim model | COMMENT |
| MEDIUM | TrainingExtensions/onnx/test/python/test_quantsim.py | 1924 | # Create a model with very high total activation memory usage | COMMENT |
| MEDIUM | TrainingExtensions/onnx/test/python/test_quantsim.py | 3588 | # Create an identical QuantizationSimModel | COMMENT |
| MEDIUM | …ingExtensions/onnx/test/python/test_mixed_precision.py | 498 | # Create an accuracy list | COMMENT |
| MEDIUM | …ingExtensions/onnx/test/python/test_mixed_precision.py | 592 | # Create an accuracy list | COMMENT |
| MEDIUM | …ningExtensions/onnx/test/python/test_qc_quantize_op.py | 1948 | # Create a new per-tensor quantizer | COMMENT |
| MEDIUM⚡ | …iningExtensions/onnx/test/python/test_libquant_info.py | 98 | # Create a BlockTensorQuantizer | COMMENT |
| MEDIUM | TrainingExtensions/onnx/test/python/test_adascale.py | 856 | # Create a copy of the weights before applying AdaScale | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 50 | # Create the initializer tensor for the weights. | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 99 | # Create the initializer tensor for the weights. | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 158 | # Create the model (ModelProto) | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 195 | # Create the initializer tensor for the weights. | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 244 | # Create the initializer tensor for the weights. | COMMENT |
| MEDIUM | …Extensions/onnx/test/python/models/test_models_onnx.py | 307 | # Create the model (ModelProto) | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2952 | # Define the fixed shape input tensor | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2960 | # Define the constant 1D vector to be added to the input | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2966 | # Define the weights for both matmuls | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2974 | # Define the Add node | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2982 | # Define the MatMul nodes | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 2997 | # Define the output tensors | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 3005 | # Create the graph | COMMENT |
| MEDIUM⚡ | …Extensions/onnx/test/python/models/models_for_tests.py | 3014 | # Create the model | COMMENT |
| MEDIUM | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 1359 | # Create a new initializer with unique name (use full module_path | COMMENT |
| MEDIUM | …aimet_onnx/experimental/adascale/adascale_optimizer.py | 388 | ] # Create a new tensor | CODE |
| MEDIUM | …aimet_onnx/experimental/adascale/adascale_optimizer.py | 451 | ] # Create a new tensor | CODE |
| MEDIUM | …onnx/src/python/aimet_onnx/sequential_mse/transform.py | 138 | # Create a new input tensor with symbolic dimensions and same name | COMMENT |
| MEDIUM | TrainingExtensions/torch/test/python/test_utils.py | 539 | # Create a model with a layer with multi-outputs | COMMENT |
| MEDIUM | …Extensions/torch/test/python/test_comp_ratio_select.py | 197 | # Create a layer database | COMMENT |
| MEDIUM | TrainingExtensions/torch/test/python/test_weight_svd.py | 219 | # Create a layer database | COMMENT |
| MEDIUM | …ainingExtensions/torch/test/python/test_spatial_svd.py | 152 | # Create a layer database | COMMENT |
| MEDIUM | …ainingExtensions/torch/test/python/test_spatial_svd.py | 198 | # Create a layer database | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_channel_pruning.py | 784 | # Create a layer database | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_channel_pruning.py | 831 | # Create a layer database | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_channel_pruning.py | 895 | # Create a layer database | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_channel_pruning.py | 952 | # Create a layer database | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_cost_calculator.py | 323 | # Create a list of tuples of (layer, comp_ratio) | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_cost_calculator.py | 348 | # Create a list of tuples of (layer, comp_ratio) | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_cost_calculator.py | 364 | # Create a list of tuples of (layer, comp_ratio) | COMMENT |
| MEDIUM | …ngExtensions/torch/test/python/test_cost_calculator.py | 435 | # Create a list of tuples of (layer, comp_ratio) | COMMENT |
| MEDIUM⚡ | …ngExtensions/torch/test/python/test_cost_calculator.py | 464 | # Create a list of tuples of (layer, comp_ratio) | COMMENT |
| MEDIUM⚡ | …ngExtensions/torch/test/python/test_cost_calculator.py | 474 | # Create the Input channel pruner | COMMENT |
| MEDIUM⚡ | …ions/torch/test/python/experimental/test_transforms.py | 50 | # Create a diagonal matrix with positive singular values | COMMENT |
| MEDIUM | …ions/torch/test/python/experimental/test_transforms.py | 172 | # Create a matrix transform op | COMMENT |
| MEDIUM | …ions/torch/test/python/experimental/test_transforms.py | 272 | # Create a matrix transform op | COMMENT |
| MEDIUM⚡ | …xtensions/torch/test/python/v2/test_mixed_precision.py | 414 | # Create an accuracy list | COMMENT |
| MEDIUM⚡ | …xtensions/torch/test/python/v2/test_mixed_precision.py | 454 | # Create an accuracy list | COMMENT |
| MEDIUM | …xtensions/torch/test/python/v2/test_mixed_precision.py | 1423 | # Create an accuracy list | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 87 | CODE | |
| LOW | GenAILab/__main__.py | 339 | CODE | |
| LOW | GenAILab/bench/yaml_config_parser.py | 220 | CODE | |
| LOW | GenAILab/bench/yaml_config_parser.py | 340 | CODE | |
| LOW | GenAILab/bench/yaml_config_parser.py | 521 | CODE | |
| LOW | GenAILab/bench/recipe_cache.py | 70 | CODE | |
| LOW | GenAILab/bench/recipe_cache.py | 384 | CODE | |
| LOW | GenAILab/bench/recipe_cache.py | 413 | CODE | |
| LOW | GenAILab/bench/recipe_chain.py | 28 | CODE | |
| LOW | GenAILab/bench/onnx/quant_recipes.py | 26 | CODE | |
| LOW | GenAILab/bench/onnx/test_genai.py | 56 | CODE | |
| LOW | GenAILab/bench/torch/test_genai.py | 41 | CODE | |
| LOW | GenAILab/qai_hub_lm/precision.py | 177 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/export_utils.py | 159 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/onnx/quantsim_utils.py | 204 | CODE | |
| LOW | …AILab/qai_hub_lm/backends/onnx/torch_onnx_interface.py | 63 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/generator_utils.py | 58 | CODE | |
| LOW | GenAILab/qai_hub_lm/backends/torch/generator_utils.py | 42 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/qwen3_vl.py | 373 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/generator.py | 424 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/generator.py | 1041 | CODE | |
| LOW | scripts/all/build_and_test.py | 1240 | CODE | |
| LOW | scripts/all/build_and_test.py | 247 | CODE | |
| LOW | scripts/all/build_and_test.py | 356 | CODE | |
| LOW | AIMETRegression/suite_runner.py | 103 | CODE | |
| LOW | AIMETRegression/baseline_comparison.py | 996 | CODE | |
| LOW | AIMETRegression/baseline_comparison.py | 376 | CODE | |
| LOW | AIMETRegression/runner.py | 125 | CODE | |
| LOW | AIMETRegression/runner.py | 332 | CODE | |
| LOW | AIMETRegression/runner.py | 734 | CODE | |
| LOW | AIMETRegression/features/onnx/_common.py | 287 | CODE | |
| LOW | AIMETRegression/features/onnx/mixed_precision_runner.py | 62 | CODE | |
| LOW | …METRegression/features/torch/mixed_precision_runner.py | 99 | CODE | |
| LOW | AIMETRegression/features/torch/utils.py | 91 | CODE | |
| LOW | AIMETRegression/features/torch/utils.py | 158 | CODE | |
| LOW | AIMETRegression/workflow/summary.py | 83 | CODE | |
| LOW | AIMETRegression/workflow/utils.py | 87 | CODE | |
| LOW | AIMETRegression/workflow/utils.py | 166 | CODE | |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 171 | CODE | |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 246 | CODE | |
| LOW | AIMETRegression/evaluation/eval_torch.py | 64 | CODE | |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 216 | CODE | |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 319 | CODE | |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 217 | CODE | |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 348 | CODE | |
| LOW | NightlyTests/onnx/test_mixed_precision.py | 157 | CODE | |
| LOW | NightlyTests/torch/dependencies.py | 116 | CODE | |
| LOW | NightlyTests/torch/models/mobilenet.py | 206 | CODE | |
| LOW | NightlyTests/torch/models/mobilenet.py | 279 | CODE | |
| LOW | …sts/torch/models/supervised_classification_pipeline.py | 48 | CODE | |
| LOW | NightlyTests/torch/models/mnist_torch_model.py | 168 | CODE | |
| LOW | NightlyTests/torch/models/mnist_torch_model.py | 216 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_enpu_config.py | 299 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 7553 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 7769 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 1143 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 1239 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_spinquant.py | 189 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_spinquant.py | 2040 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_spinquant.py | 2095 | CODE | |
| 319 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/INSTALL.txt | 1 | # ================================================================================== | COMMENT |
| LOW | packaging/NOTICE.txt | 61 | COMMENT | |
| LOW | packaging/NOTICE.txt | 81 | // distribution. | COMMENT |
| LOW | packaging/NOTICE.txt | 101 | # | COMMENT |
| LOW | packaging/NOTICE.txt | 121 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | COMMENT |
| LOW | packaging/NOTICE.txt | 141 | // in the documentation and/or other materials provided with the | COMMENT |
| LOW | packaging/NOTICE.txt | 161 | // Copyright 2008, Google Inc. | COMMENT |
| LOW | packaging/NOTICE.txt | 181 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | packaging/NOTICE.txt | 201 | // * Redistributions in binary form must reproduce the above | COMMENT |
| LOW | packaging/NOTICE.txt | 221 | ================================================================================= | COMMENT |
| LOW | packaging/NOTICE.txt | 281 | // | COMMENT |
| LOW | packaging/NOTICE.txt | 301 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | COMMENT |
| LOW | packaging/convert_wheel_format.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ions/DlQuantization/test/TestQuantizationFunctions.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …izations/DlQuantization/test/test_quantization_lib.hpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …ions/DlQuantization/src/PercentileEncodingAnalyzer.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …delOptimizations/DlQuantization/src/math_functions.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …delOptimizations/DlQuantization/src/trim_functions.hpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …delOptimizations/DlQuantization/src/trim_functions.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …izations/DlQuantization/src/MinMaxEncodingAnalyzer.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | …ptimizations/DlQuantization/src/quantization_utils.cpp | 1 | // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/bench/onnx/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/bench/utils/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/bench/prompts/multimodal_prompts.yaml | 1 | # Prompts for evaluating quantized VLM generation quality. | COMMENT |
| LOW | GenAILab/tests/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/tests/integration/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/qai_hub_lm/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/qai_hub_lm/models/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/qai_hub_lm/models/qwen3_5.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/qai_hub_lm/models/utils/compat.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | GenAILab/qai_hub_lm/models/utils/__init__.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | Docs/conf.py | 1 | # Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | COMMENT |
| LOW | Docs/conf.py | 81 | # The language for content autogenerated by Sphinx. Refer to documentation | COMMENT |
| LOW | Docs/conf.py | 101 | # The theme to use for HTML and HTML Help pages. See the documentation for | COMMENT |
| LOW | Docs/conf.py | 181 | # -- Options for LaTeX output ------------------------------------------------ | COMMENT |
| LOW | Docs/snippets/onnx/apply_quantsim.py | 121 | # Export the model | COMMENT |
| LOW | …mples/torch/quantization/zero_bit_quantization_demo.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | Examples/torch/quantization/adaround.py | 41 | # Scenario parameters: | COMMENT |
| LOW | Examples/torch/v2/quickstart_guide.py | 141 | # 1) Model preparation | COMMENT |
| LOW | Examples/torch/v2/quickstart_guide.py | 161 | # Note how the prepared model now contains distinct modules for the :func:`relu` and :func:`softmax` operations. | COMMENT |
| LOW | Examples/torch/v2/quickstart_guide.py | 181 | # | COMMENT |
| LOW | Examples/torch/v2/quickstart_guide.py | 221 | COMMENT | |
| LOW | Examples/torch/v2/quickstart_guide.py | 281 | # This export method will save the model with quantization nodes removed, along with an encodings file containing | COMMENT |
| LOW | Examples/torch/compression/spatial_svd_cp.py | 41 | # how AIMET APIs can be invoked. | COMMENT |
| LOW | scripts/all/download_genai_checkpoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/all/resolve_genai_config.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/environment/setup_genai.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/environment/build_aimet.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/environment/build_aimet.sh | 21 | # | COMMENT |
| LOW | scripts/kube/stop_pod.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/kube/launch_pod.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/workflows/genai-scorecard.yaml | 1 | ################################################################################ | COMMENT |
| LOW | .github/actions/genai-test/action.yml | 1 | ################################################################################ | COMMENT |
| LOW | .github/actions/stop-gpu-runner/action.yml | 1 | ################################################################################ | COMMENT |
| LOW | .github/actions/start-gpu-runner/action.yml | 1 | ################################################################################ | COMMENT |
| LOW | AIMETRegression/configs/_defaults.yaml | 1 | # Base Configuration for AIMET ONNX Regression | COMMENT |
| LOW | AIMETRegression/configs/_defaults.yaml | 21 | COMMENT | |
| LOW | AIMETRegression/configs/models/resnet50.yaml | 1 | # ResNet50 Model Configuration | COMMENT |
| LOW | AIMETRegression/configs/_profiles/nightly.yaml | 1 | # Nightly Profile - Daily Regression Testing | COMMENT |
| LOW | AIMETRegression/configs/_profiles/weekly.yaml | 1 | # Weekly Profile - Comprehensive Regression Testing | COMMENT |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 61 | # Check if ARM64 is specified in CMAKE_ARGS or if running natively on ARM64 | COMMENT |
| LOW | GenAILab/bench/profiler.py | 344 | # Check if the file exists | COMMENT |
| LOW | GenAILab/bench/profiler.py | 346 | # Open the file and load the existing data | COMMENT |
| LOW | Docs/legacy/torch_code_examples/mixed_precision.py | 87 | # Set clean_start to False to start from an existing cache | COMMENT |
| LOW | Docs/legacy/torch_code_examples/mixed_precision.py | 88 | # Set allowed_accuracy_drop to 0.9 to export the 90% drop point in pareto list | COMMENT |
| LOW | scripts/posix/install_macos_deps.sh | 18 | # Check if Homebrew is installed | COMMENT |
| LOW⚡ | scripts/all/build_and_test.py | 357 | # Check if we can skip the build | COMMENT |
| LOW | scripts/all/build_and_test.py | 617 | # Check if we can skip wheel installation | COMMENT |
| LOW | scripts/kube/dev.sh | 85 | # Check if it's a pod name or a workflow name | COMMENT |
| LOW | scripts/kube/launch_pod.sh | 109 | # Check if workflow has failed | COMMENT |
| LOW | .github/workflows/dco.yml | 34 | # Check if author is indeed signing off commit | COMMENT |
| LOW | AIMETRegression/features/onnx/lite_mp_runner.py | 102 | # Check if already a valid symbol | COMMENT |
| LOW | …METRegression/features/torch/mixed_precision_runner.py | 198 | # Check if user requested unsupported candidates | COMMENT |
| LOW | AIMETRegression/features/torch/utils.py | 110 | # Check if already patched by another mechanism | COMMENT |
| LOW | AIMETRegression/models/ai_hub_loader.py | 77 | # Check if it's a class and subclass of BaseModel | COMMENT |
| LOW | NightlyTests/torch/dependencies.py | 31 | # Check if we need to generate the .pth for CPU or GPU. If not, return | COMMENT |
| LOW⚡ | TrainingExtensions/onnx/test/python/test_quantsim.py | 235 | # Check if qc quantize op node is correctly connect to the corresponding onnx node | COMMENT |
| LOW⚡ | TrainingExtensions/onnx/test/python/test_quantsim.py | 242 | # Check if op_mode is set correctly for each qc quantize op node | COMMENT |
| LOW | …ingExtensions/onnx/test/python/test_mixed_precision.py | 253 | # Check if quantizer group is set to maximum bitwidth | COMMENT |
| LOW | …ingExtensions/onnx/test/python/test_mixed_precision.py | 320 | # Check if accuracy list is in descending order | COMMENT |
| LOW | …ningExtensions/onnx/test/python/test_quant_analyzer.py | 194 | # Check if it is exported to correct html file. | COMMENT |
| LOW | …ningExtensions/onnx/test/python/test_quant_analyzer.py | 231 | # Check if it is exported to correct html file. | COMMENT |
| LOW | …ningExtensions/onnx/test/python/test_quant_analyzer.py | 438 | # Check if it is exported to correct html file. | COMMENT |
| LOW⚡ | …ons/onnx/test/python/test_graph_passes/test_rmsnorm.py | 43 | # Check if quantization is disabled for RMSNormalization intermediate op outputs | COMMENT |
| LOW⚡ | …ons/onnx/test/python/test_graph_passes/test_rmsnorm.py | 45 | # Check if quantization is enabled for last op of RMSNormalization sub-graph | COMMENT |
| LOW⚡ | …ons/onnx/test/python/test_graph_passes/test_rmsnorm.py | 48 | # Check if quantization is disabled for RMSNormalization sub-graph constant ops except weight | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 35 | # Check if quantization is disabled for LayerNormalization intermediate op outputs | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 37 | # Check if quantization is enabled for last op of LayerNormalization sub-graph | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 40 | # Check if quantization is disabled for LayerNormalization sub-graph constant ops except layernorm.weight | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 68 | # Check if quantization is disabled for LayerNormalization intermediate op outputs | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 70 | # Check if quantization is enabled for last op of LayerNormalization sub-graph | COMMENT |
| LOW⚡ | …s/onnx/test/python/test_graph_passes/test_layernorm.py | 72 | # Check if quantization is disabled for LayerNormalization sub-graph constant ops except layernorm.weight | COMMENT |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 792 | # Check if the tensor is param to certain ops (eg: Resize) | STRING |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 812 | # Check if the tensor is output of certain ops | STRING |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 1080 | # Check if weights are constant | STRING |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 3527 | # Check if encoding corresponds to non-quantizable tensor type | STRING |
| LOW | TrainingExtensions/onnx/src/python/aimet_onnx/utils.py | 173 | # Check if other node takes input from removed node | COMMENT |
| LOW | TrainingExtensions/onnx/src/python/aimet_onnx/utils.py | 430 | # Check if the weight is transposed before entering the node | COMMENT |
| LOW | …tensions/onnx/src/python/aimet_onnx/batch_norm_fold.py | 219 | # Check if this is actually a fully connected layer or a dynamic matmul | COMMENT |
| LOW | …x/src/python/aimet_onnx/adaround/adaround_optimizer.py | 96 | # Check if we can cache intermediate activation data. | COMMENT |
| LOW | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 430 | # Check if input comes from an Identity whose input is an initializer | COMMENT |
| LOW | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 470 | # Check if this Mul's inputs include a scale (Constant or init) | COMMENT |
| LOW | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 1502 | # Check if scale is already a named initializer | COMMENT |
| LOW | …rc/python/aimet_onnx/experimental/lora/peft_to_onnx.py | 805 | # Check if this input comes from a Constant node | COMMENT |
| LOW | …/python/aimet_onnx/experimental/lora/lora_configure.py | 631 | # Check if this input comes from a Constant node | COMMENT |
| LOW | …x/src/python/aimet_onnx/graph_passes/passes/rmsnorm.py | 68 | # Check if weights are present, skipping any Cast ops (e.g. from | COMMENT |
| LOW | …src/python/aimet_onnx/graph_passes/passes/layernorm.py | 93 | # Check if affine_transform is set. | COMMENT |
| LOW | …nnx/graph_passes/cleanup/remove_duplicate_qdq_pairs.py | 121 | # Check if Q1/DQ1 params match Q2/DQ2 params | COMMENT |
| LOW | …onnx/src/python/aimet_onnx/sequential_mse/transform.py | 476 | # Check if this is a Transpose op | COMMENT |
| LOW | …onnx/src/python/aimet_onnx/sequential_mse/transform.py | 492 | # Check if input is a leaf initializer (unquantized case) | COMMENT |
| LOW | …xtensions/torch/test/python/test_layer_output_utils.py | 168 | # Check if every layer-name has corresponding onnx layer-output-name | COMMENT |
| LOW⚡ | …tensions/torch/test/python/v1/test_quantizer_groups.py | 39 | # Check if there is one parent and one child | COMMENT |
| LOW | …/torch/test/python/experimental/test_let_quantizers.py | 244 | # Set scale to 2 | COMMENT |
| LOW | …sions/torch/test/python/experimental/test_omniquant.py | 342 | # Set model to lora model | COMMENT |
| LOW⚡ | …xtensions/torch/test/python/v2/test_mixed_precision.py | 397 | # Check if accuracy list is in descending order | COMMENT |
| LOW⚡ | …xtensions/torch/test/python/v2/test_mixed_precision.py | 435 | # Check if parsed list is sorted | COMMENT |
| LOW | …xtensions/torch/test/python/v2/test_mixed_precision.py | 287 | # Check if quantizer group is set to maximum bitwidth | COMMENT |
| LOW | …xtensions/torch/test/python/v2/test_mixed_precision.py | 327 | # Check if accuracy list is in descending order | COMMENT |
| LOW | …xtensions/torch/test/python/v2/test_mixed_precision.py | 357 | # Check if quantizer group is set to maximum bitwidth | COMMENT |
| LOW | …xtensions/torch/test/python/v2/test_mixed_precision.py | 476 | # Check if parsed list is sorted | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 1461 | self.model.model.graph.node.extend(sim_nodes) | STRING |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 1036 | grad_single_gpu = sim.model.conv1.weight.grad.clone().detach() | CODE |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 1041 | weight_multi_gpu = sim.model.module.conv1.weight.clone().detach() | CODE |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 1045 | grad_multi_gpu = sim.model.module.conv1.weight.grad.clone().detach() | CODE |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 2994 | grad_single_gpu = sim.model.conv1.weight.grad.clone().detach() | CODE |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 2999 | weight_multi_gpu = sim.model.module.conv1.weight.clone().detach() | CODE |
| CRITICAL⚡ | …ensions/torch/test/python/v2/ab_test/test_quantizer.py | 3003 | grad_multi_gpu = sim.model.module.conv1.weight.grad.clone().detach() | CODE |
| CRITICAL | …et_torch/experimental/spinquant/spinquant_optimizer.py | 644 | visual_encoder.patch_embed.proj.weight.data.clone() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | AIMETRegression/suite_runner.py | 54 | Load and validate a suite configuration file. Suite files define: - profile: Which runtime profile to use | STRING |
| HIGH | AIMETRegression/config_loader.py | 42 | Load and merge configuration from multiple sources. This is the main entry point for config loading. It merges | STRING |
| HIGH | AIMETRegression/config_loader.py | 171 | List all test names defined in a model configuration. This is useful for: - Discovering what tests exist i | STRING |
| HIGH | AIMETRegression/features/onnx/quantsim_runner.py | 65 | Apply AIMET QuantSim to simulate INT8 quantization on an FP32 ONNX model. QuantSim creates a simulation model | STRING |
| HIGH | AIMETRegression/features/onnx/_common.py | 58 | Select available ORT execution providers from a preference list. This function ensures explicit provider selec | STRING |
| HIGH | AIMETRegression/features/onnx/_common.py | 136 | Convert various bitwidth representations to integer. This function provides flexibility in configuration files | STRING |
| HIGH | AIMETRegression/features/onnx/_common.py | 191 | Construct an AIMET QuantizationSimModel from an ONNX file. CRITICAL DESIGN DECISION: This function loads t | STRING |
| HIGH | AIMETRegression/features/onnx/adaround_runner.py | 149 | Apply AdaRound optimization for improved weight quantization. AdaRound optimizes the rounding of weights durin | STRING |
| HIGH | AIMETRegression/features/onnx/mixed_precision_runner.py | 147 | Apply automatic mixed-precision optimization using AIMET's search algorithm. This technique uses AIMET's choos | STRING |
| HIGH | AIMETRegression/features/onnx/lite_mp_runner.py | 83 | Convert configuration value to AIMET's required precision symbol. AIMET's flip_layers_to_higher_precision API | STRING |
| HIGH | AIMETRegression/features/onnx/lite_mp_runner.py | 141 | Apply Lite Mixed-Precision quantization to an FP32 ONNX model. This technique provides an optimal accuracy-per | STRING |
| HIGH | AIMETRegression/features/torch/_common.py | 71 | Map configuration string to AIMET QuantScheme enum. Args: scheme_str: Scheme name from config (e.g., " | STRING |
| HIGH | AIMETRegression/features/torch/adaround_runner.py | 66 | Apply AdaRound optimization for improved weight quantization on PyTorch models. AdaRound optimizes the roundin | STRING |
| HIGH | AIMETRegression/models/ai_hub_loader.py | 39 | Find and return the appropriate model class from a module. QAI Hub Models modules may contain the model class | STRING |
| HIGH | AIMETRegression/models/ai_hub_loader.py | 96 | Resolve the dataset class a model should be quantized and evaluated on. QAI Hub Models expose their datasets a | STRING |
| HIGH | AIMETRegression/models/ai_hub_loader.py | 141 | Load a model from QAI Hub Models with its associated dataset and specifications. This is the main entry point | STRING |
| HIGH | AIMETRegression/evaluation/metrics_utils.py | 71 | Format duration with automatic unit selection for readability. This function chooses the most appropriate form | STRING |
| HIGH | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 2986 | Returns graph path from a tensor to the "effective" quantizer associated with it (if any). Node Q is t | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | GenAILab/bench/metrics.py | 394 | """KL divergence KL(P_fp || P_quant) over answer choice distributions.""" | STRING |
| HIGH⚡ | GenAILab/bench/metrics.py | 404 | """Reverse KL divergence KL(P_quant || P_fp) over answer choice distributions.""" | STRING |
| HIGH | GenAILab/bench/metrics.py | 438 | """KL divergence KL(P_fp || P_quant) over MMLU answer choice distributions.""" | STRING |
| HIGH | GenAILab/bench/metrics.py | 443 | """Reverse KL divergence KL(P_quant || P_fp) over MMLU answer choice distributions.""" | STRING |
| HIGH | GenAILab/bench/metrics.py | 651 | """KL divergence KL(P_fp || P_quant) over MMMU answer choice distributions.""" | STRING |
| HIGH | GenAILab/bench/metrics.py | 656 | """Reverse KL divergence KL(P_quant || P_fp) over MMMU answer choice distributions.""" | STRING |
| HIGH | …mples/torch/quantization/zero_bit_quantization_demo.py | 56 | - Compression ratio: infinity (original_size / 0 = undefined, but trust us) | STRING |
| HIGH | …h/src/python/aimet_torch/quantization/affine/_utils.py | 69 | undefined, & \text{otherwise} | CODE |
| HIGH | …h/src/python/aimet_torch/quantization/affine/_utils.py | 130 | undefined, & \text{otherwise} | CODE |
| HIGH | …torch/visualization_tools/quant_stats_visualization.py | 843 | if (Math.abs(value) < 1e-3 || Math.abs(value) > 1e5) { | CODE |
| HIGH | …torch/visualization_tools/quant_stats_visualization.py | 871 | if (Math.abs(value) < 1e-3 || Math.abs(value) > 1e5) { | CODE |
| HIGH | …ningExtensions/common/src/python/_aimet_common/defs.py | 360 | param_dtype: QuantizationDataType = QuantizationDataType.undefined, | CODE |
| HIGH | …ensions/common/src/python/_aimet_common/winnow/mask.py | 750 | :param is_null_connectivity: True if op is null connectivity, False otherwise | STRING |
| HIGH⚡ | …common/src/python/_aimet_common/winnow/winnow_utils.py | 58 | "Conv": ConnectivityType.null, | CODE |
| HIGH⚡ | …common/src/python/_aimet_common/winnow/winnow_utils.py | 59 | "ConvTranspose": ConnectivityType.null, | CODE |
| HIGH⚡ | …common/src/python/_aimet_common/winnow/winnow_utils.py | 60 | "Linear": ConnectivityType.null, | CODE |
| HIGH⚡ | …common/src/python/_aimet_common/winnow/winnow_utils.py | 61 | "Gemm": ConnectivityType.null, | CODE |
| HIGH | …common/src/python/_aimet_common/winnow/winnow_utils.py | 91 | "index_select": ConnectivityType.null, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 228 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 231 | # Step 2: Pre-compute param encodings with a real input so that | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 238 | # Step 3: Optimize weight quantization parameters to minimize layer-wise MSE. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 268 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 271 | # Step 2: Pre-compute param encodings with a real input (same | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 275 | # Step 3: Optimize quantization parameters using AdaScale. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 201 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 204 | # Step 2: Optimize weight quantization parameters to minimize layer-wise MSE. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 226 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 231 | # Step 2: Optimize quantization parameters using AdaScale. | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 68 | # Step 1: get the expert at the given index | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 70 | # Step 2: Fetch the hidden states for all the tokens and not just the tokens that correspond to/ attend | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 72 | # Step 3: Pass all the token hidden states to expert layer | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 75 | # Step 4: Accumulate the expert outputs based on the sparse weights | COMMENT |
| LOW | scripts/README.md | 76 | # Step 1: Set up environment without installing AIMET | COMMENT |
| LOW | scripts/README.md | 79 | # Step 2: Build from source (interactive — prompts for variant selection) | COMMENT |
| LOW | AIMETRegression/config_loader.py | 82 | # Step 1: Load defaults (foundation for all configs) | COMMENT |
| LOW | AIMETRegression/config_loader.py | 96 | # Step 2: Merge profile (if specified) | COMMENT |
| LOW | AIMETRegression/config_loader.py | 119 | # Step 3: Load model configuration | COMMENT |
| LOW | AIMETRegression/config_loader.py | 150 | # Step 4: Find and merge specific test configuration | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 107 | # Step 1: Find LoRA patterns via topology-based graph traversal | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 115 | # Step 2: Validate against adapter config target_modules | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 136 | # Step 3: Split shared initializers (dynamo=False shares zero-init tensors) | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 139 | # Step 4: Rename inits to PEFT convention + insert Transpose for shape compat | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 175 | # Step 5: Convert scale Constants to named initializers | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 178 | # Step 6: Trace LoRA activations | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 181 | # Step 7: Build lora_names structure | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 946 | # Step 3: Set quantizer encodings | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 949 | # Step 4: Set bitwidths | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 952 | # Step 5: Rebuild session to pick up new initializer data | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 514 | # Step 1: Multi-adapter name insertion (lora_A.weight → lora_A.{adapter}.weight) | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 528 | # Step 2: If ONNX param names provided, match by suffix for any | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 573 | # Step 3: Transpose PEFT-convention weights to MatMul convention | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 904 | # Step 1: Remap safetensors keys → ONNX init names (with transposition) | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 915 | # Step 2: Update initializer data | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 163 | # Step 1: Identify the "Add" nodes where the 1st adapter branches merge back into the main graph | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 177 | # Step 2: Identify all LoRA adapter chains | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 188 | # Step 3: Create a dictionary of Add nodes in the chain to the full chain for quick lookup | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 196 | # Step 4: Create a map of attach point to the corresponding adapter chains | COMMENT |
| LOW | …ensions/torch/test/python/v2/quantsim/test_quantsim.py | 1267 | # NOTE: This module will ALWAYS fail when forward is called, | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 715 | # # Step 1: get a list of conversion costs in phase 2 solution | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 724 | # Step 2: sort the conversion costs list | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 728 | # Step 3: compute cumulative sums for the sorted conversion costs and determine the threshold | COMMENT |
| LOW | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 739 | # Step 4: Enforce the constraint | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 228 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 231 | # Step 2: Pre-compute param encodings with a real input so that | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 238 | # Step 3: Optimize weight quantization parameters to minimize layer-wise MSE. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 268 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 271 | # Step 2: Pre-compute param encodings with a real input (same | COMMENT |
| LOW⚡ | GenAILab/bench/onnx/quant_recipes.py | 275 | # Step 3: Optimize quantization parameters using AdaScale. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 201 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 204 | # Step 2: Optimize weight quantization parameters to minimize layer-wise MSE. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 226 | # Step 1: Collect calibration inputs in FP mode. | COMMENT |
| LOW⚡ | GenAILab/bench/torch/quant_recipes.py | 231 | # Step 2: Optimize quantization parameters using AdaScale. | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 68 | # Step 1: get the expert at the given index | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 70 | # Step 2: Fetch the hidden states for all the tokens and not just the tokens that correspond to/ attend | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 72 | # Step 3: Pass all the token hidden states to expert layer | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/transforms/moe.py | 75 | # Step 4: Accumulate the expert outputs based on the sparse weights | COMMENT |
| LOW | AIMETRegression/config_loader.py | 82 | # Step 1: Load defaults (foundation for all configs) | COMMENT |
| LOW | AIMETRegression/config_loader.py | 96 | # Step 2: Merge profile (if specified) | COMMENT |
| LOW | AIMETRegression/config_loader.py | 119 | # Step 3: Load model configuration | COMMENT |
| LOW | AIMETRegression/config_loader.py | 150 | # Step 4: Find and merge specific test configuration | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 107 | # Step 1: Find LoRA patterns via topology-based graph traversal | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 115 | # Step 2: Validate against adapter config target_modules | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 136 | # Step 3: Split shared initializers (dynamo=False shares zero-init tensors) | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 139 | # Step 4: Rename inits to PEFT convention + insert Transpose for shape compat | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 175 | # Step 5: Convert scale Constants to named initializers | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 178 | # Step 6: Trace LoRA activations | COMMENT |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 181 | # Step 7: Build lora_names structure | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 946 | # Step 3: Set quantizer encodings | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 949 | # Step 4: Set bitwidths | COMMENT |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 952 | # Step 5: Rebuild session to pick up new initializer data | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 514 | # Step 1: Multi-adapter name insertion (lora_A.weight → lora_A.{adapter}.weight) | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 528 | # Step 2: If ONNX param names provided, match by suffix for any | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 573 | # Step 3: Transpose PEFT-convention weights to MatMul convention | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 904 | # Step 1: Remap safetensors keys → ONNX init names (with transposition) | COMMENT |
| LOW | …et_onnx/experimental/lora/lora_adapter_quantization.py | 915 | # Step 2: Update initializer data | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 163 | # Step 1: Identify the "Add" nodes where the 1st adapter branches merge back into the main graph | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 177 | # Step 2: Identify all LoRA adapter chains | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 188 | # Step 3: Create a dictionary of Add nodes in the chain to the full chain for quick lookup | COMMENT |
| LOW⚡ | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 196 | # Step 4: Create a map of attach point to the corresponding adapter chains | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 715 | # # Step 1: get a list of conversion costs in phase 2 solution | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 724 | # Step 2: sort the conversion costs list | COMMENT |
| LOW⚡ | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 728 | # Step 3: compute cumulative sums for the sorted conversion costs and determine the threshold | COMMENT |
| LOW | …/src/python/_aimet_common/amp/convert_ops_reduction.py | 739 | # Step 4: Enforce the constraint | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 186 | except Exception: | CODE |
| LOW⚡ | GenAILab/bench/yaml_config_parser.py | 193 | except Exception as e: | CODE |
| LOW | GenAILab/bench/model_cache.py | 101 | except Exception: | CODE |
| LOW | GenAILab/bench/model_cache.py | 210 | except Exception: | CODE |
| LOW⚡ | GenAILab/qai_hub_lm/backends/onnx/export_utils.py | 24 | except Exception: | CODE |
| LOW⚡ | scripts/all/build_and_test.py | 349 | except Exception: | CODE |
| LOW⚡ | scripts/all/build_and_test.py | 351 | except Exception as e: | CODE |
| LOW | scripts/all/build_and_test.py | 281 | except Exception: | CODE |
| LOW | scripts/all/build_and_test.py | 283 | except Exception as e: | CODE |
| LOW | scripts/all/build_and_test.py | 316 | except Exception: | CODE |
| LOW | scripts/all/build_and_test.py | 318 | except Exception as e: | CODE |
| LOW | scripts/all/build_and_test.py | 1334 | except Exception as e: | CODE |
| LOW | scripts/all/util.py | 47 | except Exception: | CODE |
| LOW | scripts/all/util.py | 69 | except Exception: | CODE |
| LOW | scripts/all/util.py | 101 | except Exception: | CODE |
| LOW | scripts/all/util.py | 117 | except Exception: | CODE |
| LOW | AIMETRegression/suite_runner.py | 269 | except Exception as e: | STRING |
| LOW | AIMETRegression/suite_runner.py | 276 | except Exception as e: | STRING |
| LOW | AIMETRegression/suite_runner.py | 374 | except Exception as e: | STRING |
| LOW | AIMETRegression/runner.py | 103 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 186 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 206 | except Exception as e2: | CODE |
| LOW | AIMETRegression/runner.py | 222 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 555 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 632 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 665 | except Exception as e: | CODE |
| LOW | AIMETRegression/runner.py | 801 | except Exception as e: | CODE |
| LOW | …METRegression/features/torch/mixed_precision_runner.py | 148 | except Exception as e: | CODE |
| LOW | …METRegression/features/torch/mixed_precision_runner.py | 313 | except Exception as e: | CODE |
| LOW | AIMETRegression/features/torch/utils.py | 144 | except Exception: | CODE |
| LOW | AIMETRegression/features/torch/utils.py | 181 | except Exception: | CODE |
| LOW | AIMETRegression/workflow/utils.py | 228 | except Exception as e: | STRING |
| LOW | AIMETRegression/workflow/artifacts.py | 528 | except Exception as e: | CODE |
| LOW | AIMETRegression/workflow/artifacts.py | 592 | except Exception as e: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 52 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 67 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 88 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 226 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 236 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 287 | except Exception as e: | CODE |
| LOW | AIMETRegression/evaluation/eval_qnn.py | 299 | except Exception as e: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 128 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 159 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 166 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 249 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 339 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 381 | except Exception: | CODE |
| LOW | AIMETRegression/evaluation/metrics_utils.py | 412 | except Exception: | CODE |
| LOW | AIMETRegression/report/report_writer.py | 114 | except Exception: | CODE |
| LOW | TrainingExtensions/onnx/test/python/test_lora.py | 1788 | except Exception: | CODE |
| LOW | TrainingExtensions/onnx/src/python/aimet_onnx/utils.py | 663 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | TrainingExtensions/onnx/src/python/aimet_onnx/utils.py | 773 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …on/aimet_onnx/experimental/adascale/model_converter.py | 35 | except Exception: | CODE |
| LOW | …nsions/torch/src/python/aimet_torch/deepspeed_utils.py | 67 | except Exception as e: | CODE |
| LOW | TrainingExtensions/torch/src/python/aimet_torch/onnx.py | 165 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …ainingExtensions/torch/src/python/aimet_torch/utils.py | 1311 | except Exception: | CODE |
| LOW | …ions/torch/src/python/aimet_torch/blockwise_sampler.py | 86 | except Exception as e: | CODE |
| LOW | …ningExtensions/torch/src/python/aimet_torch/nn/base.py | 1095 | except Exception: | CODE |
| LOW | …rch/src/python/aimet_torch/nn/transformers/__init__.py | 48 | except Exception as e2: | CODE |
| LOW | …ions/torch/src/python/aimet_torch/quantsim/quantsim.py | 733 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 14 | __all__ = ["dynamic_metadata"] | CODE |
| LOW | scripts/all/build_and_test.py | 71 | logger = logging.getLogger(__name__) | CODE |
| LOW | AIMETRegression/features/onnx/_common.py | 45 | __all__ = [ | CODE |
| LOW | AIMETRegression/features/torch/_common.py | 47 | __all__ = [ | CODE |
| LOW | AIMETRegression/workflow/__init__.py | 16 | __all__ = [ | CODE |
| LOW | AIMETRegression/workflow/artifacts.py | 533 | def _set_github_output(name: str, value: str) -> None: | CODE |
| LOW | …onnx/experimental/llm_configurator/llm_configurator.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …c/python/aimet_onnx/experimental/spinquant/__init__.py | 13 | __all__ = [ | CODE |
| LOW | …n/aimet_onnx/experimental/spinquant/passes/__init__.py | 27 | __all__ = [ | CODE |
| LOW | …met_onnx/experimental/spinquant/transforms/__init__.py | 28 | __all__ = [ | CODE |
| LOW | …rimental/spinquant/model_analysis/attention_anchors.py | 422 | __all__ = ["BlockR3Anchors", "find_r3_anchors"] | CODE |
| LOW | …onnx/experimental/spinquant/model_analysis/__init__.py | 28 | __all__ = [ | CODE |
| LOW⚡ | …rc/python/aimet_onnx/experimental/lora/prepare_lora.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rc/python/aimet_onnx/experimental/lora/peft_to_onnx.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nx/src/python/aimet_onnx/experimental/lora/__init__.py | 94 | __all__ = [ | CODE |
| LOW⚡ | …et_onnx/experimental/lora/lora_adapter_quantization.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …/python/aimet_onnx/experimental/lora/lora_configure.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/aimet_onnx/experimental/lora/lora_graph_passes.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ningExtensions/torch/src/python/aimet_torch/seq_mse.py | 33 | __all__ = [ | CODE |
| LOW | …nsions/torch/src/python/aimet_torch/batch_norm_fold.py | 19 | __all__ = [ | CODE |
| LOW | …rch/src/python/aimet_torch/adaround/adaround_weight.py | 25 | __all__ = [ | CODE |
| LOW | …sions/torch/src/python/aimet_torch/experimental/pgs.py | 7 | __all__ = [ | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/export.py | 24 | __all__ = ["export"] | CODE |
| LOW | …ningExtensions/torch/src/python/aimet_torch/nn/lora.py | 10 | __all__ = ["QuantizedLinear"] | CODE |
| LOW | …ions/torch/src/python/aimet_torch/quantsim/quantsim.py | 76 | __all__ = [ | CODE |
| LOW | …ns/torch/src/python/aimet_torch/quantization/tensor.py | 20 | __all__ = [ | CODE |
| LOW | …src/python/aimet_torch/quantization/affine/encoding.py | 30 | __all__ = ["AffineEncoding", "VectorEncoding", "GroupedBlockEncoding"] | CODE |
| LOW | …rc/python/aimet_torch/quantization/affine/quantizer.py | 61 | __all__ = [ | CODE |
| LOW | …thon/aimet_torch/quantization/affine/backends/utils.py | 117 | __all__ = ["set_backend", "get_backend", "add_backend"] | CODE |
| LOW | …/src/python/aimet_torch/quantization/float/encoding.py | 21 | __all__ = ["FloatEncoding"] | CODE |
| LOW | …src/python/aimet_torch/quantization/float/quantizer.py | 37 | __all__ = ["QuantizeDequantize", "FloatQuantizeDequantize"] | CODE |
| LOW | …h/src/python/aimet_torch/quantization/base/encoding.py | 18 | __all__ = ["EncodingBase"] | CODE |
| LOW | …/src/python/aimet_torch/quantization/base/quantizer.py | 27 | __all__ = ["QuantizerBase"] | CODE |
| LOW | …rch/src/python/aimet_torch/_base/nn/modules/_spconv.py | 10 | __all__ = [ | CODE |
| LOW | …s/common/src/python/_aimet_common/hadamard/__init__.py | 17 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/plugins/local/aimet.py | 199 | # For PyPi releases, just return the version without appending the variant string | COMMENT |
| MEDIUM | …Lab/bench/prompts/text_prompts_autograder_harness.yaml | 1 | # Autograder harness configuration for scoring LLM prompt responses. | COMMENT |
| MEDIUM | …nch/prompts/multimodal_prompts_autograder_harness.yaml | 1 | # Autograder harness configuration for scoring VLM prompt responses. | COMMENT |
| LOW⚡ | GenAILab/qai_hub_lm/backends/onnx/export_utils.py | 35 | # user has passed in a local path, verify that .onnx file and .config files exist and just return the path | COMMENT |
| LOW | Docs/snippets/onnx/apply_litemp.py | 114 | # If CUDA acceleration is not available, simply use providers = ["CPUExecutionProvider"] | COMMENT |
| MEDIUM | Examples/torch/compression/channel_pruning.py | 36 | # This script utilize AIMET to perform channel pruning compression (0.5% ratio) on a resnet18 | COMMENT |
| MEDIUM | Examples/torch/compression/weight_svd.py | 35 | # This script utilize AIMET do perform weight svd compression (50% ratio) on a resnet18 | COMMENT |
| MEDIUM | Examples/torch/compression/spatial_svd_cp.py | 39 | # This script utilize AIMET do perform spatial svd and channel pruning compression on a resnet18 | COMMENT |
| MEDIUM | Examples/torch/compression/spatial_svd.py | 35 | # This script utilize AIMET do perform spatial svd compression (50% compression ratio) on a | COMMENT |
| MEDIUM | …rc/python/aimet_onnx/experimental/lora/peft_to_onnx.py | 106 | # Build suffix → PEFT key index for robust matching. | COMMENT |
| MEDIUM | …sions/torch/test/python/experimental/test_spinquant.py | 160 | ) # hidden_size 192 will utilize hadamard matrix size 12 with factor 16 | CODE |
| LOW | …nsions/torch/src/python/aimet_torch/data_subsampler.py | 158 | # just return the input and output data as it is. No sub sampling needed | COMMENT |
| MEDIUM | …ions/torch/src/python/aimet_torch/blockwise_sampler.py | 307 | """Exception raised in order to stop forward execution through the model. Holds module input data.""" | STRING |
| LOW | …gExtensions/torch/src/python/aimet_torch/onnx_utils.py | 204 | # 2) If the next token don't have "." then simply add current token to the updated_tokens list. | COMMENT |
| LOW⚡ | …s/common/src/python/_aimet_common/comp_ratio_select.py | 210 | # If the user already passed in a previously saved eval scores dict, we just use that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | GenAILab/qai_hub_lm/backends/onnx/export_utils.py | 159 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/internvl.py | 173 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/gemma4.py | 208 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/gemma4.py | 236 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/generator.py | 1249 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/gemma3.py | 108 | CODE | |
| LOW | GenAILab/qai_hub_lm/models/gemma3.py | 135 | CODE | |
| LOW | scripts/all/build_and_test.py | 214 | CODE | |
| LOW | TrainingExtensions/onnx/test/python/test_lora.py | 1989 | CODE | |
| LOW | …tensions/onnx/test/python/models/transformer_blocks.py | 496 | CODE | |
| LOW | …tensions/onnx/test/python/models/transformer_blocks.py | 552 | CODE | |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 199 | CODE | |
| LOW | …iningExtensions/onnx/src/python/aimet_onnx/quantsim.py | 382 | CODE | |
| LOW | …c/python/aimet_onnx/experimental/adascale/quantizer.py | 236 | CODE | |
| LOW | …/src/python/aimet_onnx/graph_passes/fusions/rmsnorm.py | 139 | CODE | |
| LOW | …/src/python/aimet_onnx/graph_passes/fusions/rmsnorm.py | 255 | CODE | |
| LOW | …rc/python/aimet_onnx/graph_passes/fusions/layernorm.py | 166 | CODE | |
| LOW | …c/python/aimet_onnx/graph_passes/fusions/matmul_add.py | 126 | CODE | |
| LOW | …Extensions/torch/test/python/test_blockwise_sampler.py | 33 | CODE | |
| LOW | …sions/torch/test/python/experimental/test_omniquant.py | 173 | CODE | |
| LOW | …ningExtensions/torch/test/python/models/test_models.py | 1196 | CODE | |
| LOW | …ningExtensions/torch/test/python/models/test_models.py | 1220 | CODE | |
| LOW | …Extensions/torch/test/python/v2/models_/test_models.py | 1077 | CODE | |
| LOW | …Extensions/torch/test/python/v2/models_/test_models.py | 1101 | CODE | |
| LOW | TrainingExtensions/torch/src/python/aimet_torch/peft.py | 92 | CODE | |
| LOW | …tensions/torch/src/python/aimet_torch/nn/true_quant.py | 1269 | CODE | |
| LOW | …tensions/torch/src/python/aimet_torch/nn/true_quant.py | 1312 | CODE | |
| LOW | …c/python/aimet_torch/quantization/encoding_analyzer.py | 921 | CODE | |
| LOW | …src/python/aimet_torch/quantization/float/quantizer.py | 101 | CODE | |
| LOW | …orch/src/python/aimet_torch/_base/nn/modules/custom.py | 329 | CODE | |
| LOW | …orch/src/python/aimet_torch/_base/nn/modules/custom.py | 350 | CODE | |
| LOW | …orch/src/python/aimet_torch/_base/nn/modules/custom.py | 666 | CODE | |
| LOW | …rch/src/python/aimet_torch/_base/nn/modules/_spconv.py | 103 | CODE | |
| LOW | …rch/src/python/aimet_torch/_base/nn/modules/_spconv.py | 194 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/convert_wheel_format.sh | 9 | # Usage: | COMMENT |
| LOW | scripts/all/download_genai_checkpoint.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/all/resolve_genai_config.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/environment/setup_genai.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/environment/build_aimet.sh | 7 | # Usage: | COMMENT |
| LOW | .github/actions/genai-test/action.yml | 13 | # Usage: | COMMENT |
| LOW | .github/actions/stop-gpu-runner/action.yml | 9 | # Usage: | COMMENT |
| LOW | .github/actions/start-gpu-runner/action.yml | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gacy/onnx_code_examples/quant_analyzer_code_example.py | 77 | dummy_data = np.random.randn(*input_shape).astype(np.float32) | CODE |
| LOW | …gacy/onnx_code_examples/quant_analyzer_code_example.py | 78 | dummy_input = {'input': dummy_data} | CODE |
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 6095 | name="placeholder", | CODE |
| LOW | …sions/torch/test/python/v2/experimental/test_export.py | 171 | assert inp_node.op == "placeholder" | CODE |
| LOW | …on/aimet_torch/experimental/export/exported_program.py | 261 | if node.op != "placeholder": | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/export.py | 345 | and q_dq_node.all_input_nodes[1].op != "placeholder" | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/export.py | 359 | and q_dq_node.all_input_nodes[2].op != "placeholder" | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/_utils.py | 136 | for input_node in ep.graph.find_nodes(op="placeholder", sort=False) | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/_utils.py | 164 | op="placeholder", | CODE |
| LOW | …h/src/python/aimet_torch/experimental/export/_utils.py | 204 | if node.op == "placeholder": | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ns/torch/src/python/aimet_torch/meta/connectedgraph.py | 1575 | # In this version of the Winnower, the Product class represents the following entities in a model. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TrainingExtensions/onnx/test/python/test_quantsim.py | 5453 | # TODO: Add tests with GroupNormalization | COMMENT |
| LOW | …hon/aimet_torch/experimental/quantsim/_export_utils.py | 20 | # TODO: implement direct 1.0.0 export for v1 quantsim so this function can be removed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …Lab/qai_hub_lm/backends/onnx/adaptations/hub_models.py | 4 | """ONNX-specific model adaptations to use checkpoints generated by AI Hub Models.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ions/torch/src/python/aimet_torch/quantsim/quantsim.py | 734 | # In case of any exception, make sure to restore | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ingExtensions/common/src/python/_aimet_common/utils.py | 396 | >>> def do_something(): | STRING |