AI Slop Code RIsk Monitor

NVIDIA-NeMo/NeMo

A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)

24.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for NVIDIA-NeMo/NeMo, a Python project with 18,569 GitHub stars. SynthScan examined 580,192 lines of code across 2123 source files, recording 10627 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 24.5 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

24.5
Adjusted Signal
24.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
18.6K
Stars
Python
Language
580.2K
Lines of Code
2.1K
Files
10.6K
Pattern Hits
2026-10-12
Scan Date
0.30
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 53.7/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 8388 finding(s).

Hallucinated Dependency & Supply Chain Risk 9.2/100 · LOW

Are imports declared and package/API names verified? 911 finding(s).

Agent Over-Engineering Ratio 54.6/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 6495 finding(s).

PR Review Velocity Impact 72.2/100 · HIGH

Which changes need focused human review? 10627 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 15HIGH 615MEDIUM 512LOW 9485

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 10627 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers4881 hits · 4719 pts
SeverityFileLineSnippetContext
LOWtools/nemo_forced_aligner/align_eou.py249def get_manifests_for_this_rank(manifest_list, num_nodes, num_gpus, node_idx, gpu_idx):CODE
LOW…orced_aligner/tests/test_add_t_start_end_to_utt_obj.py261def test_add_t_start_end_to_utt_obj(alignment, expected_output_utterance, output_timestep_duration):CODE
LOWtools/nemo_forced_aligner/utils/make_ass_files.py336def make_token_level_ass_file(utt_obj, output_dir_root, ass_file_config, audio_dur):CODE
LOWtools/ctc_segmentation/scripts/utils.py141def _prepare_tokenized_text_for_bpe_model(text: List[str], tokenizer, vocabulary: List[str], blank_idx: int = 0):CODE
LOWtools/ctc_segmentation/scripts/utils.py219def determine_utterance_segments(config, utt_begin_indices, char_probs, timings, text, char_list):CODE
LOWtools/ctc_segmentation/scripts/utils.py309def write_labels_for_audacity(CODE
LOWtools/speech_data_explorer/data_explorer.py55def _ensure_numba_coverage_compatibility():CODE
LOWtools/speech_data_explorer/data_explorer.py294def expand_sharded_path_without_braceexpand(path_pattern):CODE
LOWtools/speech_data_explorer/data_explorer.py628def build_tar_index_from_local(tar_path):CODE
LOW…taset_preparation/customization_dataset_preparation.py86def recommend_hyperparameters_human_readable(recommended_hyperparameters):CODE
LOW…taset_preparation/customization_dataset_preparation.py93def recommend_hyperparameters(df, model=None):CODE
LOW…taset_preparation/customization_dataset_preparation.py149def estimating_customization_job_time(df, recommended_hyperparameters):CODE
LOW…taset_preparation/customization_dataset_preparation.py166def warn_completion_is_not_empty(df):CODE
LOW…taset_preparation/customization_dataset_preparation.py182def warn_imbalanced_completion(df):CODE
LOW…taset_preparation/customization_dataset_preparation.py305def convert_into_prompt_completion_only(df, prompt_template="{prompt}", completion_template="{completion}"):CODE
LOW…taset_preparation/customization_dataset_preparation.py312def warn_and_drop_long_samples(df, max_total_char_length):CODE
LOW…taset_preparation/customization_dataset_preparation.py364def split_into_train_validation(df, val_proportion=0.1):CODE
LOW…ration/tests/test_customization_dataset_preparation.py40def test_recommend_hyperparameters():CODE
LOW…ration/tests/test_customization_dataset_preparation.py84def test_warn_completion_is_not_empty():CODE
LOW…ration/tests/test_customization_dataset_preparation.py107def test_warn_imbalanced_completion():CODE
LOW…ration/tests/test_customization_dataset_preparation.py207def test_warn_duplicated_rows():CODE
LOW…ration/tests/test_customization_dataset_preparation.py224def test_drop_duplicated_rows():CODE
LOW⚡…ration/tests/test_customization_dataset_preparation.py263def test_drop_unrequired_fields():CODE
LOW⚡…ration/tests/test_customization_dataset_preparation.py272def test_convert_into_template():CODE
LOW⚡…ration/tests/test_customization_dataset_preparation.py296def test_convert_into_prompt_completion_only():CODE
LOW⚡…ration/tests/test_customization_dataset_preparation.py314def get_indexes_of_long_examples(df, max_total_char_length):CODE
LOW⚡…ration/tests/test_customization_dataset_preparation.py319def test_warn_and_drop_long_samples():CODE
LOW…ration/tests/test_customization_dataset_preparation.py347def test_show_first_example_in_df():CODE
LOW…ration/tests/test_customization_dataset_preparation.py357def test_get_prepared_filename():CODE
LOW…ration/tests/test_customization_dataset_preparation.py375def test_split_into_train_validation():CODE
LOW⚡…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py61def _register_streaming_compatibility() -> None:CODE
LOW⚡…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py68def _register_serving_adapter() -> None:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py199def precompute_text_embeddings(model, batch_size: int) -> torch.Tensor:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py239def extract_speaker_embedding(model, context_audio_path: str, context_audio_duration: float) -> torch.Tensor:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py577def configure_codec_reference_speaker_encoder(outdir: str, config: dict) -> None:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py597def append_reference_speaker_encoder_weights(encoder_path: str, state_dict: dict[str, torch.Tensor]) -> None:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py630def save_phoneme_text_tokenizer(model, outdir: str) -> None:CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_codec.py149def convert_encoder_checkpoint(CODE
LOW⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py147def _write_temp_deploy_config(cfg: dict) -> str:CODE
LOW⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py259def _extract_step_audio_codes(stage_output):CODE
LOW⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py537def compute_and_print_metrics(CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_server.py179def _reference_audio_data_url(path: str | Path, randomize: bool) -> str:CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/runner.py34def merge_streaming_additional_information(CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/runner.py69 def _update_streaming_request(self, req_id, new_req_data):CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py279 def num_all_tokens_per_codebook(self) -> int:CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py312 def ensure_reference_audio_available(self) -> None:CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py326 def supports_user_audio_prefill(self) -> bool:CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py330 def require_user_audio_prefill(self) -> None:CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py363 def audio_user_speaking_end_id(self) -> int:CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py45def _sampling_params_with_max_tokens(params: Any, max_tokens: int) -> Any:CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py122 async def _wait_for_segment_completion(self) -> None:CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py130 def _accumulate_queued_tokens(self, token_ids: list[int]) -> tuple[list[int], bool]:CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py43def _infer_audio_output_kinds(prompt: str | list[int], audio_count: int, marker_id: int) -> list[int]:CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py105 def get_mm_max_tokens_per_item(CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py146 def get_dummy_processor_inputs(CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py211 def _cached_apply_hf_processor(self, inputs, timing_ctx):CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py225 def _hf_processor_applies_updates(CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/backbone_patches.py26def patch_mamba_streaming_decode() -> None:CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/backbone_patches.py55def patch_shared_expert_activation(backbone) -> int:CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py193 def _marker_prefix_suffix_length(self, text: str) -> int:CODE
4821 more matches not shown…
Cross-File Repetition444 hits · 2220 pts
SeverityFileLineSnippetContext
HIGHnemo/core/config/optimizers.py0convenience method to obtain an optimizer class and partially instantiate it with optimizer kwargs. args: name: name of STRING
HIGHnemo/core/config/schedulers.py0convenience method to obtain an optimizer class and partially instantiate it with optimizer kwargs. args: name: name of STRING
HIGHnemo/core/optim/lr_scheduler.py0convenience method to obtain an optimizer class and partially instantiate it with optimizer kwargs. args: name: name of STRING
HIGHnemo/core/optim/optimizers.py0convenience method to obtain an optimizer class and partially instantiate it with optimizer kwargs. args: name: name of STRING
HIGHnemo/core/classes/exportable.py0implement this method to return a set of output names disabled for exportSTRING
HIGHnemo/collections/asr/modules/conv_asr.py0implement this method to return a set of output names disabled for exportSTRING
HIGHnemo/collections/asr/modules/rnnt.py0implement this method to return a set of output names disabled for exportSTRING
HIGHnemo/collections/tts/models/fastpitch.py0implement this method to return a set of output names disabled for exportSTRING
HIGHnemo/core/classes/mixins/adapter_mixins.py0add an adapter module to this model. args: name: a globally unique name for the adapter. will be used to access, enable STRING
HIGHnemo/collections/asr/parts/mixins/asr_adapter_mixins.py0add an adapter module to this model. args: name: a globally unique name for the adapter. will be used to access, enable STRING
HIGH…llections/tts/parts/mixins/fastpitch_adapter_mixins.py0add an adapter module to this model. args: name: a globally unique name for the adapter. will be used to access, enable STRING
HIGHnemo/core/classes/mixins/adapter_mixins.py0checks if any adapter module has been instantiated. returns: bool, determining if any adapter module has been instantiatSTRING
HIGHnemo/collections/asr/parts/mixins/asr_adapter_mixins.py0checks if any adapter module has been instantiated. returns: bool, determining if any adapter module has been instantiatSTRING
HIGH…llections/tts/parts/mixins/fastpitch_adapter_mixins.py0checks if any adapter module has been instantiated. returns: bool, determining if any adapter module has been instantiatSTRING
HIGHnemo/core/classes/mixins/adapter_mixins.py0updated the internal adapter config, determining if an adapter (or all adapters) are either enabled or disabled. a commoSTRING
HIGHnemo/collections/asr/parts/mixins/asr_adapter_mixins.py0updated the internal adapter config, determining if an adapter (or all adapters) are either enabled or disabled. a commoSTRING
HIGH…llections/tts/parts/mixins/fastpitch_adapter_mixins.py0updated the internal adapter config, determining if an adapter (or all adapters) are either enabled or disabled. a commoSTRING
HIGHnemo/core/classes/mixins/adapter_mixins.py0utility method to resolve a given global/module adapter name to its components. always returns a tuple representing (modSTRING
HIGHnemo/collections/asr/parts/mixins/asr_adapter_mixins.py0utility method to resolve a given global/module adapter name to its components. always returns a tuple representing (modSTRING
HIGH…llections/tts/parts/mixins/fastpitch_adapter_mixins.py0utility method to resolve a given global/module adapter name to its components. always returns a tuple representing (modSTRING
HIGHnemo/core/classes/mixins/adapter_mixins.py0fastpitch adapter mixin that can augment any encoder module with adapter module support. this mixin class should be usedSTRING
HIGHnemo/collections/asr/parts/mixins/asr_adapter_mixins.py0fastpitch adapter mixin that can augment any encoder module with adapter module support. this mixin class should be usedSTRING
HIGH…llections/tts/parts/mixins/fastpitch_adapter_mixins.py0fastpitch adapter mixin that can augment any encoder module with adapter module support. this mixin class should be usedSTRING
HIGH…ts/voice_agent/pipecat/services/nemo/streaming_diar.py0configuration parameters for diarization inference.STRING
HIGH…asks/diarization/neural_diarizer/e2e_diarize_speech.py0configuration parameters for diarization inference.STRING
HIGHnemo/collections/asr/parts/mixins/diarization.py0configuration parameters for diarization inference.STRING
HIGHnemo/agents/voice_agent/pipecat/services/nemo/utils.py0update the buffer with the new frame args: frame (frame): frame to update the buffer withSTRING
HIGH…ence/streaming/buffering/incremental_audio_bufferer.py0update the buffer with the new frame args: frame (frame): frame to update the buffer withSTRING
HIGH…ns/asr/inference/streaming/buffering/audio_bufferer.py0update the buffer with the new frame args: frame (frame): frame to update the buffer withSTRING
HIGHnemo/collections/speechlm2/models/salm_asr_decoder.py0returns the audio duration corresponding to a single frame/token at the output of ``self.perception``.STRING
HIGHnemo/collections/speechlm2/models/salm_automodel.py0returns the audio duration corresponding to a single frame/token at the output of ``self.perception``.STRING
HIGHnemo/collections/speechlm2/models/salm.py0returns the audio duration corresponding to a single frame/token at the output of ``self.perception``.STRING
HIGHnemo/collections/speechlm2/models/salm_asr_decoder.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/speechlm2/models/salm_automodel.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/speechlm2/models/salm.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/speechlm2/models/duplex_s2s_model.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGH…ns/speechlm2/models/duplex_s2s_speech_decoder_model.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/asr/models/ssl_models.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/asr/models/asr_eou_models.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/asr/models/aed_multitask_models.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/asr/models/asr_model.py0return a typing schema for optimal batch size calibration for various sequence lengths using oomptimizer.STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py0return the size of the audio codec codebook including extra speech bos and eos tokens.STRING
HIGHnemo/collections/speechlm2/models/duplex_s2s_model.py0return the size of the audio codec codebook including extra speech bos and eos tokens.STRING
HIGH…ns/speechlm2/models/duplex_s2s_speech_decoder_model.py0return the size of the audio codec codebook including extra speech bos and eos tokens.STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py0indicates start of utterance generation (not start of inference!).STRING
HIGHnemo/collections/speechlm2/models/duplex_s2s_model.py0indicates start of utterance generation (not start of inference!).STRING
HIGH…ns/speechlm2/models/duplex_s2s_speech_decoder_model.py0indicates start of utterance generation (not start of inference!).STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py0indicates start of inference (the very first frame).STRING
HIGHnemo/collections/speechlm2/models/duplex_s2s_model.py0indicates start of inference (the very first frame).STRING
HIGH…ns/speechlm2/models/duplex_s2s_speech_decoder_model.py0indicates start of inference (the very first frame).STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py0text pad id is used as a 'blank' for frames when the model is not speaking and for frames where the model is speaking buSTRING
HIGHnemo/collections/speechlm2/models/duplex_s2s_model.py0text pad id is used as a 'blank' for frames when the model is not speaking and for frames where the model is speaking buSTRING
HIGH…ns/speechlm2/models/duplex_s2s_speech_decoder_model.py0text pad id is used as a 'blank' for frames when the model is not speaking and for frames where the model is speaking buSTRING
HIGHnemo/collections/speechlm2/parts/metrics/asr_cer_wer.py0computes the final score and deallocates asr and partial results.STRING
HIGHnemo/collections/speechlm2/parts/metrics/asr_bleu.py0computes the final score and deallocates asr and partial results.STRING
HIGHnemo/collections/speechlm2/parts/metrics/secs.py0computes the final score and deallocates asr and partial results.STRING
HIGHnemo/collections/speechlm2/data/s2s_dataset.py0strips timestamp tokens from text, e.g. turns: '<|0|> hey <|3|> <|3|> how <|5|> <|7|> are <|8|> <|8|> <|10|> you? <|12|>STRING
HIGH…o/collections/speechlm2/data/duplex_ear_tts_dataset.py0strips timestamp tokens from text, e.g. turns: '<|0|> hey <|3|> <|3|> how <|5|> <|7|> are <|8|> <|8|> <|10|> you? <|12|>STRING
HIGHnemo/collections/common/data/lhotse/cutset.py0strips timestamp tokens from text, e.g. turns: '<|0|> hey <|3|> <|3|> how <|5|> <|7|> are <|8|> <|8|> <|10|> you? <|12|>STRING
384 more matches not shown…
Over-Commented Block1903 hits · 1866 pts
SeverityFileLineSnippetContext
LOWnemo_dependencies.py1#!/usr/bin/env python3COMMENT
LOW.pre-commit-config.yaml1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWpyproject.toml1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW.readthedocs.yml1# =============================================================================COMMENT
LOWsetup.py1# ! /usr/bin/pythonCOMMENT
LOWsetup.py141 # The licence under which the project is releasedCOMMENT
LOWtools/nemo_forced_aligner/align.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/align_eou.py1# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…s/nemo_forced_aligner/tests/test_restore_token_case.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/tests/test_get_utt_obj.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…orced_aligner/tests/test_add_t_start_end_to_utt_obj.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/utils/make_output_manifest.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/utils/constants.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/utils/data_prep.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/utils/make_ass_files.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/nemo_forced_aligner/utils/make_ctm_files.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/speech_data_simulator/multispeaker_simulator.py1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/run_segmentation.sh1#!/bin/bashCOMMENT
LOWtools/ctc_segmentation/run_filter.sh1#!/bin/bashCOMMENT
LOWtools/ctc_segmentation/scripts/prepare_data.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ols/ctc_segmentation/scripts/get_metrics_and_filter.py1# SPDX-FileCopyrightText: Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/scripts/normalization_helpers.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/scripts/verify_segments.py1# SPDX-FileCopyrightText: Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/scripts/cut_audio.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/scripts/utils.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/ctc_segmentation/scripts/run_ctc_segmentation.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/speech_data_explorer/data_explorer.py1# SPDX-FileCopyrightText: Copyright (c) 2020, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/customization_dataset_preparation/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…taset_preparation/customization_dataset_preparation.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ration/tests/test_customization_dataset_preparation.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ls/customization_dataset_preparation/tests/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/rir_corpus_generator/rir_mix_generator.py1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/rir_corpus_generator/rir_corpus_generator.py1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/asr_evaluator/asr_evaluator.py1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/asr_evaluator/utils.py1# SPDX-FileCopyrightText: Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…gpie_vllm_omni/scripts/benchmark_incremental_server.py1#!/usr/bin/env python3COMMENT
LOWtools/easymagpie_vllm_omni/scripts/tune_mamba_ssu.py1#!/usr/bin/env python3COMMENT
LOWtools/easymagpie_vllm_omni/scripts/convert_codec.py1#!/usr/bin/env python3COMMENT
LOWtools/easymagpie_vllm_omni/scripts/benchmark_model.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/easymagpie_vllm_omni/scripts/benchmark_server.py1#!/usr/bin/env python3COMMENT
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/runner.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…gpie_vllm_omni/easymagpie_vllm_omni/serving_adapter.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…pie_vllm_omni/easymagpie_vllm_omni/stage_processors.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…pie_vllm_omni/easymagpie_vllm_omni/backbone_patches.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ie_vllm_omni/easymagpie_vllm_omni/local_transformer.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/pipeline.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/pipeline.py101 final_output=True,COMMENT
LOW…symagpie_vllm_omni/easymagpie_vllm_omni/omni_compat.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py181 # cumulative code tensor on every step.COMMENT
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py301 # flags frames in which ``_out_codes`` contain ``audio_eos_id``COMMENT
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py1421 # indexed by ``decode_offset`` from a persistent ``text_tokens`` list. ThatCOMMENT
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py1# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
1843 more matches not shown…
Decorative Section Separators329 hits · 1169 pts
SeverityFileLineSnippetContext
MEDIUM.readthedocs.yml1# =============================================================================COMMENT
MEDIUM.readthedocs.yml16# =============================================================================COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py675 # ── 1. Pre-compute the per-subword text embedding table ──────────────COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py679 # ── 2. config.json ───────────────────────────────────────────────────COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py701 # ── 3. weights ───────────────────────────────────────────────────────COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py722 # ── 4. text tokenizer ────────────────────────────────────────────────COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py726 # ── 5. optional speaker embedding ────────────────────────────────────COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py154# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py156# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py250# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py252# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py532# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/easymagpie_vllm_omni/scripts/benchmark_model.py534# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py65# ── Hardcoded run settings ─────────────────────────────────────────────────COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py227# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py229# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py466# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py468# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py638# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/easymagpie_vllm_omni/scripts/benchmark_model.py640# ---------------------------------------------------------------------------COMMENT
MEDIUM…ie_vllm_omni/easymagpie_vllm_omni/local_transformer.py280 # ── Persistent address-stable scratch buffers ──────────────────COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py209 # ── Local transformer (its own compile group / CUDA graph) ──────COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py227 # ── Text + phoneme embedding heads ──────────────────────────────COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py276 # ── Persistent, address-stable scratch buffers ─────────────────COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py292 # ── Audio-EOS → engine stop ─────────────────────────────────────COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py320 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py322 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py491 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py493 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py572 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py574 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py718 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py720 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py1539 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py1541 # ------------------------------------------------------------------COMMENT
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py743 # ------------------------------------------------------------------STRING
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py745 # ------------------------------------------------------------------STRING
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py780 # ------------------------------------------------------------------STRING
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py782 # ------------------------------------------------------------------STRING
MEDIUMnemo/collections/speechlm2/vllm/salm/backends.py49# ── Base backend ────────────────────────────────────────────────────COMMENT
MEDIUMnemo/collections/speechlm2/vllm/salm/backends.py80# ── Transformer backend (Qwen3, etc.) ────────────────────────────────COMMENT
MEDIUMnemo/collections/speechlm2/vllm/salm/backends.py228# ── Hybrid backend (NemotronH / Mamba+MoE) ──────────────────────────COMMENT
MEDIUM⚡nemo/collections/speechlm2/vllm/salm/backends.py349# ── Factory ─────────────────────────────────────────────────────────COMMENT
MEDIUMnemo/collections/speechlm2/vllm/salm/audio.py83# ── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMnemo/collections/speechlm2/vllm/salm/audio.py322# ── Multimodal contract types ───────────────────────────────────────COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_vae_codec.py47# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_vae_codec.py49# ==============================================================================COMMENT
MEDIUM⚡nemo/collections/speechlm2/modules/ear_tts_vae_codec.py113# ==============================================================================COMMENT
MEDIUM⚡nemo/collections/speechlm2/modules/ear_tts_vae_codec.py115# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_vae_codec.py445# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_vae_codec.py447# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py35# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py37# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py96# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py98# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py238# ==============================================================================COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py240# ==============================================================================COMMENT
MEDIUMnemo/collections/common/data/lhotse/broadcasting.py56# ---------------------------------------------------------------------------COMMENT
269 more matches not shown…
Unused Imports846 hits · 814 pts
SeverityFileLineSnippetContext
LOWtools/speech_data_explorer/data_explorer.py21CODE
LOWtools/speech_data_explorer/data_explorer.py40CODE
LOWtools/speech_data_explorer/data_explorer.py41CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_to_vllm.py55CODE
LOW…gpie_vllm_omni/scripts/benchmark_incremental_server.py32CODE
LOWtools/easymagpie_vllm_omni/scripts/tune_mamba_ssu.py27CODE
LOWtools/easymagpie_vllm_omni/scripts/convert_codec.py18CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_server.py25CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/runner.py23CODE
LOW…gpie_vllm_omni/easymagpie_vllm_omni/serving_adapter.py16CODE
LOW…ls/easymagpie_vllm_omni/easymagpie_vllm_omni/config.py16CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py16CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/multimodal.py15CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/stage_processors.py20CODE
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/__init__.py17CODE
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/__init__.py17CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/backbone_patches.py16CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py16CODE
LOW…ie_vllm_omni/easymagpie_vllm_omni/local_transformer.py16CODE
LOW…symagpie_vllm_omni/easymagpie_vllm_omni/omni_compat.py15CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py29CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py21CODE
LOW…ymagpie_vllm_omni/easymagpie_vllm_omni/audio_output.py16CODE
LOW…ymagpie_vllm_omni/easymagpie_vllm_omni/codec/packed.py21CODE
LOW…ymagpie_vllm_omni/easymagpie_vllm_omni/codec/config.py17CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py17CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py18CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py18CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py19CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py20CODE
LOW…m_omni/easymagpie_vllm_omni/codec/weight_conversion.py17CODE
LOW…magpie_vllm_omni/easymagpie_vllm_omni/codec/encoder.py16CODE
LOW…asymagpie_vllm_omni/codec/reference_speaker_encoder.py15CODE
LOW…symagpie_vllm_omni/easymagpie_vllm_omni/codec/model.py17CODE
LOW…magpie_vllm_omni/easymagpie_vllm_omni/codec/packing.py17CODE
LOW…vllm_omni/easymagpie_vllm_omni/codec/encoder_config.py16CODE
LOW…magpie_vllm_omni/easymagpie_vllm_omni/codec/kernels.py22CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/__init__.py17CODE
LOWnemo/lightning/__init__.py21CODE
LOWnemo/lightning/__init__.py21CODE
LOWnemo/core/__init__.py16CODE
LOWnemo/core/__init__.py17CODE
LOWnemo/core/connectors/save_restore_connector.py16CODE
LOWnemo/core/neural_types/__init__.py17CODE
LOWnemo/core/neural_types/__init__.py18CODE
LOWnemo/core/neural_types/__init__.py19CODE
LOWnemo/core/neural_types/__init__.py20CODE
LOWnemo/core/config/__init__.py16CODE
LOWnemo/core/config/__init__.py17CODE
LOWnemo/core/config/__init__.py18CODE
786 more matches not shown…
Deep Nesting798 hits · 736 pts
SeverityFileLineSnippetContext
LOWnemo_dependencies.py28CODE
LOWnemo_dependencies.py45CODE
LOWnemo_dependencies.py91CODE
LOWnemo_dependencies.py116CODE
LOWtools/nemo_forced_aligner/align_eou.py446CODE
LOW…orced_aligner/tests/test_add_t_start_end_to_utt_obj.py261CODE
LOWtools/nemo_forced_aligner/utils/data_prep.py69CODE
LOWtools/nemo_forced_aligner/utils/make_ass_files.py112CODE
LOWtools/nemo_forced_aligner/utils/make_ass_files.py180CODE
LOWtools/nemo_forced_aligner/utils/make_ass_files.py336CODE
LOWtools/nemo_forced_aligner/utils/make_ctm_files.py70CODE
LOWtools/ctc_segmentation/scripts/prepare_data.py126CODE
LOWtools/ctc_segmentation/scripts/prepare_data.py222CODE
LOWtools/ctc_segmentation/scripts/prepare_data.py228CODE
LOWtools/ctc_segmentation/scripts/cut_audio.py51CODE
LOWtools/ctc_segmentation/scripts/utils.py173CODE
LOWtools/ctc_segmentation/scripts/utils.py219CODE
LOWtools/ctc_segmentation/scripts/utils.py273CODE
LOWtools/ctc_segmentation/scripts/utils.py309CODE
LOWtools/speech_data_explorer/data_explorer.py553CODE
LOWtools/speech_data_explorer/data_explorer.py696CODE
LOWtools/speech_data_explorer/data_explorer.py830CODE
LOWtools/speech_data_explorer/data_explorer.py997CODE
LOWtools/speech_data_explorer/data_explorer.py1039CODE
LOW…taset_preparation/customization_dataset_preparation.py64CODE
LOW…taset_preparation/customization_dataset_preparation.py238CODE
LOWtools/asr_evaluator/utils.py38CODE
LOWtools/asr_evaluator/utils.py86CODE
LOWtools/asr_evaluator/utils.py271CODE
LOW…gpie_vllm_omni/scripts/benchmark_incremental_server.py66CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_model.py674CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_server.py63CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py223CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py143CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py357CODE
LOW…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py1408CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py113CODE
LOW…symagpie_vllm_omni/easymagpie_vllm_omni/codec/model.py84CODE
LOWnemo/lightning/one_logger_callback.py153CODE
LOWnemo/lightning/base.py56CODE
LOWnemo/core/connectors/save_restore_connector.py54CODE
LOWnemo/core/connectors/save_restore_connector.py99CODE
LOWnemo/core/connectors/save_restore_connector.py291CODE
LOWnemo/core/connectors/save_restore_connector.py363CODE
LOWnemo/core/connectors/save_restore_connector.py456CODE
LOWnemo/core/neural_types/elements.py100CODE
LOWnemo/core/neural_types/neural_type.py67CODE
LOWnemo/core/neural_types/neural_type.py94CODE
LOWnemo/core/neural_types/neural_type.py180CODE
LOWnemo/core/neural_types/axes.py61CODE
LOWnemo/core/config/hydra_runner.py54CODE
LOWnemo/core/config/hydra_runner.py70CODE
LOWnemo/core/config/hydra_runner.py72CODE
LOWnemo/core/classes/exportable.py139CODE
LOWnemo/core/classes/common.py121CODE
LOWnemo/core/classes/common.py415CODE
LOWnemo/core/classes/common.py478CODE
LOWnemo/core/classes/common.py566CODE
LOWnemo/core/classes/common.py778CODE
LOWnemo/core/classes/common.py1082CODE
738 more matches not shown…
Docstring Block Structure85 hits · 425 pts
SeverityFileLineSnippetContext
HIGHnemo/utils/dependency.py62Import an optional dependency, raising a clear error if it is not installed. Args: module_name: The module STRING
HIGHnemo/collections/speechlm2/models/duplex_ear_tts.py1111 Returns a dictionary of initial inputs for inference, using registered buffers. Args: B (iSTRING
HIGHnemo/collections/speechlm2/models/nemotron_voicechat.py436 Runs full offline duplex speech-to-speech inference. This method performs: 1. Streaming SSTRING
HIGHnemo/collections/speechlm2/parts/optim_setup.py185 Split trainable parameters into optimizer groups with per-group learning rates. Args: named_parametersSTRING
HIGHnemo/collections/speechlm2/parts/optim_setup.py223 Utility used to freeze select model parameters, and skip them for the purpose of initializing an optimizer's paSTRING
HIGHnemo/collections/speechlm2/modules/ear_tts_vae_codec.py182 Converts a spectrogram back into a waveform using the overlap-add method. This function is an approximate inverSTRING
HIGHnemo/collections/speechlm2/modules/ear_tts_vae_codec.py371 Computes a Mel-scaled spectrogram from an audio waveform. This function transforms a standard spectrogram intoSTRING
HIGHnemo/collections/speechlm2/data/salm_dataset.py52 A dataset for Speech-Augmented Language Models (SALM) that processes multimodal conversations containing both tSTRING
HIGHnemo/collections/speechlm2/data/s2s_dataset.py30 A dataset for duplex speech-to-speech models that handles bidirectional conversations. This dataset processes STRING
HIGH…o/collections/speechlm2/data/duplex_ear_tts_dataset.py35 A dataset for duplex speech-to-speech models that handles bidirectional conversations. This dataset processes STRING
HIGH…ctions/common/tokenizers/huggingface/auto_tokenizer.py237 Adds a dictionary of special tokens (eos, pad, cls...). If special tokens are NOT in the vocabulary, they are STRING
HIGHnemo/collections/common/callbacks/ema.py170 EMAOptimizer is a wrapper for torch.optim.Optimizer that computes Exponential Moving Average of parameters regiSTRING
HIGHnemo/collections/common/parts/preprocessing/manifest.py49Iterate through json lines of provided manifests. NeMo ASR pipelines often assume certain manifest files structure.STRING
HIGHnemo/collections/common/parts/preprocessing/parsers.py230Creates parser from labels, set of arguments and concise parser name. Args: labels: List of labels to allocSTRING
HIGHnemo/collections/asr/metrics/md_eval.py256Parse a UEM (Un-partitioned Evaluation Map) file. Args: uem_file: Path to the UEM file. If ``None``, returnSTRING
HIGHnemo/collections/asr/models/sortformer_diar_models.py1292 One-step forward pass for diarization inference in streaming mode. Args: processed_signal STRING
HIGHnemo/collections/asr/models/rnnt_models.py199 Helper method to extract the rnnt loss name, and potentially its kwargs to be passed. Args: STRING
HIGHnemo/collections/asr/parts/triton/subsampling.py560Fuse ``conv -> ReLU -> depthwise``, with the between-stage length masking folded in. Both convolutions are 3x3 striSTRING
HIGHnemo/collections/asr/parts/triton/depthwise_conv.py504Channels-last depthwise conv2d with the bias and the length masking fused in. ``in_lengths``/``out_lengths`` fold iSTRING
HIGHnemo/collections/asr/parts/utils/streaming_utils.py1701 Iterate over ASR chunks and separate diarization chunks with future context. Args: right_cSTRING
HIGH…llections/asr/parts/utils/multispk_transcribe_utils.py142 Average non-overlapping fine-grained RTTM targets into output-frame-aligned bins. The input is truncated when STRING
HIGH…llections/asr/parts/utils/multispk_transcribe_utils.py212 Apply and validate runtime Sortformer streaming settings. Args: diar_model (SortformerEncLabelModel): STRING
HIGH…llections/asr/parts/utils/multispk_transcribe_utils.py1162 Adapt an ASR cache-aware chunk to the diarization model's pre-encoder geometry. Convolutional-subsamplSTRING
HIGHnemo/collections/asr/parts/utils/transcribe_utils.py349 Prepare audio data for transcription. Args: cfg (DictConfig): Configuration dictionary containing the fSTRING
HIGHnemo/collections/asr/parts/utils/diarization_utils.py58 Collect valid, unpadded diarization predictions and their metadata. A missing manifest duration is derived as STRING
HIGHnemo/collections/asr/parts/utils/asr_batching.py208 Instantiates a Semi Sorted (Batch) Sampler. Args: model: ASR Model. dataset: Dataset which allSTRING
HIGHnemo/collections/asr/parts/utils/speaker_utils.py778 Combine overlaps with floating point numbers. Since neighboring integers are considered as continuous range, weSTRING
HIGH…ections/asr/parts/utils/batched_beam_decoding_utils.py921 Merge two batched beam hypotheses structures by concatenating transcripts. Used for streaming/chunked iSTRING
HIGH…ons/asr/parts/submodules/rnnt_maes_batched_computer.py385 Combines acoustic model log probabilities with language model scores based on the specified blank LM score modeSTRING
HIGH…ons/asr/parts/submodules/rnnt_maes_batched_computer.py413 Performs top-k selection and pruning for language model (LM) and automatic speech recognition (ASR) outputs STRING
HIGHnemo/collections/asr/parts/submodules/tdnn_attention.py27Statistics and time average pooling (TAP) layer This computes mean and, optionally, standard deviation statistics aSTRING
HIGH…o/collections/asr/inference/pipelines/base_pipeline.py525 Resolve language_code to a strict prompt index; raise if invalid. Args: language_code: (strSTRING
HIGH…o/collections/asr/inference/pipelines/base_pipeline.py572 Build prompt vectors for a batch of states using one-hot encoding. Args: states: (list) LisSTRING
HIGHnemo/collections/asr/inference/nmt/llm_translator.py136 Setup device for the LLM model. Args: device: (str) device to run the model on STRING
HIGHnemo/collections/asr/inference/nmt/llm_translator.py165 Returns prompt template for the LLM model. Args: model_name: (str) name of the model to getSTRING
HIGHnemo/collections/asr/inference/nmt/llm_translator.py196 Load NMT model in vLLM format. If the model is not found in the local cache, it will be downloaded fromSTRING
HIGHnemo/collections/asr/inference/nmt/llm_translator.py221 Get local model path from HuggingFace model hub. Args: repo_id: (str) repository ID of the STRING
HIGHnemo/collections/asr/data/audio_to_text_dataset.py931 Normalize manifest or tarred audio file paths into a ``ListConfig`` of lists. Handles string inputs (comma-sepSTRING
HIGHnemo/collections/asr/data/audio_to_text_dataset.py964 Chain multiple bucketed datasets using the specified bucketing strategy. When multiple datasets are provided (STRING
HIGHnemo/collections/asr/data/audio_to_text_dataset.py1016 Calculate per-bucket batch sizes for adaptive bucketing. Supports two modes: linear scaling (integer ``bucketiSTRING
HIGHnemo/collections/asr/data/audio_to_diar_label.py1068Create a full-duration negative example without loading source audio. Args: sample: Manifest item wSTRING
HIGHnemo/collections/tts/metrics/prosody.py122Compute acoustic prosody distances between reference and generated audio. Args: gt_audio_path: Ground-truthSTRING
HIGHnemo/collections/tts/models/magpietts.py964Normalize speaker_indices to a tensor of shape (batch_size,). Args: speaker_indices: Speaker selectSTRING
HIGHnemo/collections/tts/models/magpietts.py1016Get baked context embeddings for a batch, with per-element speaker selection. Args: batch_size: NumSTRING
HIGHnemo/collections/tts/models/magpietts.py1392 Convert attention probability matrices to numpy images for logging. Args: attention_prob_mSTRING
HIGHnemo/collections/tts/models/magpietts.py1434 Decode audio codes to waveforms and convert to numpy arrays for logging. Args: logits: ModSTRING
HIGHnemo/collections/tts/models/magpietts.py1916Prepare all context tensors for the decoder. This method orchestrates text encoding, context extraction, and moSTRING
HIGHnemo/collections/tts/models/magpietts.py3756 Generate speech from raw text transcript. This is a convenience method for single-utterance text-to-spSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py181Load and prepare the teacher model for distillation. Args: cfg: Distillation configuration containing the tSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py1517Finalize teacher-rollout predictions into padded batch tensors. The method extracts each item's predicted audioSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py1769Apply final lower-bound rejection to finalized teacher rollouts. Marks previously accepted rollouts as rejectedSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py1853Generate finalized teacher-rollout distillation targets for a batch. Performs streaming autoregressive generatiSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py2620Calculate UTMOS quality scores for generated audio files. Args: input_dir: Directory containing theSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py3343Prepare a distillation batch and run the student forward pass. The method combines the context, text, phoneme aSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py3412Add teacher-rollout audio targets to a batch in place. The method stores backbone teacher codes and lengths, anSTRING
HIGH…lections/tts/models/easy_magpietts_cfg_distillation.py3583Compute cross-entropy guidance loss for phoneme predictions. Uses phoneme targets from the batch when availableSTRING
HIGHnemo/collections/tts/parts/utils/tts_dataset_utils.py132Sample a probability uniformly from an inclusive configured range. Args: name: Base parameter name to incluSTRING
HIGHnemo/collections/tts/parts/utils/tts_dataset_utils.py175Split mixed text into ordered text and phoneme segments. Args: text: Input containing regular text and optiSTRING
HIGHnemo/collections/tts/parts/utils/tts_dataset_utils.py226Replace a sampled portion of aligned words with marked IPA spans. The requested portion determines how many alignedSTRING
HIGHnemo/collections/tts/parts/utils/tts_dataset_utils.py301Tokenize regular text with optional inline IPA spans marked by ``<bop>...<eop>``. Span markers are syntax only and STRING
25 more matches not shown…
Self-Referential Comments105 hits · 304 pts
SeverityFileLineSnippetContext
MEDIUM…asymagpie_vllm_omni/easymagpie_vllm_omni/easymagpie.py114# This class is not wrapped in ``@support_torch_compile``: the Nemotron-HCOMMENT
MEDIUMnemo/core/neural_types/axes.py87 """This class represents axis semantics and (optionally) it's dimensionalitySTRING
MEDIUMnemo/core/config/modelPT.py90 # Create the config builderSTRING
MEDIUM…e_agent/pipecat/transports/network/websocket_server.py173 # Create a task to monitor the websocket connectionCOMMENT
MEDIUMnemo/utils/import_utils.py19# This file is taken from https://github.com/NVIDIA-NeMo/Curator/blob/dask/nemo_curator/utils/import_utils.py,COMMENT
MEDIUMnemo/utils/exp_manager.py655 # Create the logging directory if it does not existCOMMENT
MEDIUMnemo/utils/exp_manager.py1378 # Create the callback and attach it to trainerCOMMENT
MEDIUMnemo/utils/metaclasses.py37 # Create a new object instance - one per class.COMMENT
MEDIUMnemo/utils/decorators/deprecated.py88 # Create a bannerCOMMENT
MEDIUMnemo/collections/speechlm2/models/duplex_ear_tts.py463 # Create a random dropout decision for each BOS instanceCOMMENT
MEDIUMnemo/collections/speechlm2/models/duplex_ear_tts.py474 # Create a mask of the same shape as target_text_tokensCOMMENT
MEDIUM…/collections/speechlm2/parts/metrics/results_logger.py217 # Create a wav with eou prediction for debug purposesCOMMENT
MEDIUM⚡nemo/collections/speechlm2/modules/ear_tts_vae_codec.py103 # Create a range tensor from 0 to max_length - 1COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_vae_codec.py155 # Create the window tensor on the same device as the waveform.COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py159 # Create a range tensor from 0 to max_length - 1COMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py332 # Create a new, dense character vocabulary sorted by the original token IDCOMMENT
MEDIUMnemo/collections/speechlm2/modules/ear_tts_model.py835 # Create a padded tensor for the character IDsCOMMENT
MEDIUM…o/collections/speechlm2/data/duplex_ear_tts_dataset.py716 # Create a deepcopy and update durationCOMMENT
MEDIUM…o/collections/speechlm2/data/duplex_ear_tts_dataset.py774 # Create a zero tensor of shape [T] (assuming mono audio)COMMENT
MEDIUMnemo/collections/common/prompts/canary.py75 # This method handles a level of indirection for Canary.COMMENT
MEDIUMnemo/collections/common/prompts/canary2.py105 # This method handles a level of indirection for Canary.COMMENT
MEDIUMnemo/collections/common/data/lhotse/cutset.py1838 # Create a stream for each dataset.COMMENT
MEDIUMnemo/collections/common/data/lhotse/cutset.py2017 # Create a new Recording with the extended audioCOMMENT
MEDIUMnemo/collections/common/data/lhotse/cutset.py2052 # Create a Recording from the silence audioCOMMENT
MEDIUMnemo/collections/audio/parts/submodules/diffusion.py161 """This class implements the Ornstein-Uhlenbeck SDE with variance exploding noise schedule.STRING
MEDIUMnemo/collections/audio/parts/submodules/diffusion.py513 # Create a copy of SDECOMMENT
MEDIUM…o/collections/audio/parts/submodules/conformer_unet.py160 # Create the self-attention and padding masksCOMMENT
MEDIUM…lections/audio/parts/submodules/schroedinger_bridge.py415 # Create a copy of the noise scheduleCOMMENT
MEDIUMnemo/collections/audio/data/data_simulation.py595 # Create a radom set of microphonesCOMMENT
MEDIUMnemo/collections/audio/data/data_simulation.py1686 # Define a window around the direct path delayCOMMENT
MEDIUMnemo/collections/asr/losses/rnnt_pytorch.py180 """This function implements Equation 7 in the TDT paper https://arxiv.org/pdf/2304.06795.pdf,STRING
MEDIUMnemo/collections/asr/models/aed_multitask_models.py1197 # This method is a legacy helper for Canary that checks whether prompt slot values were providedCOMMENT
MEDIUMnemo/collections/asr/parts/features.py35# This file contains code artifacts adapted from https://github.com/ryanleary/patterCOMMENT
MEDIUM⚡nemo/collections/asr/parts/mixins/transcription.py302 # Create a results of the same type as each element in processed_outputsCOMMENT
MEDIUM⚡nemo/collections/asr/parts/mixins/transcription.py309 # Create a results of the same type as each element in processed_outputsCOMMENT
MEDIUM⚡nemo/collections/asr/parts/mixins/transcription.py317 # Create a results of the same type as each element in processed_outputsCOMMENT
MEDIUMnemo/collections/asr/parts/mixins/transcription.py383 # Create a DataLoader if not already presentCOMMENT
MEDIUMnemo/collections/asr/parts/mixins/diarization.py256 # Create a results of the same type as each element in processed_outputsCOMMENT
MEDIUMnemo/collections/asr/parts/mixins/diarization.py263 # Create a results of the same type as each element in processed_outputsCOMMENT
MEDIUMnemo/collections/asr/parts/mixins/diarization.py324 # Create a DataLoader if not already presentCOMMENT
MEDIUMnemo/collections/asr/parts/utils/numba_utils.py34 # Create an empty output arrayCOMMENT
MEDIUM⚡…llections/asr/parts/utils/multispk_transcribe_utils.py1459 # Initialize the instance manager with the batch size of the chunk audio.COMMENT
MEDIUM…llections/asr/parts/utils/multispk_transcribe_utils.py1344 # Initialize the instance manager with the batch size of the chunk audio.COMMENT
MEDIUMnemo/collections/asr/parts/utils/transcribe_utils.py246 # Create a preprocessor to convert audio samples into raw features,COMMENT
MEDIUMnemo/collections/asr/parts/utils/diarization_utils.py386 # Create a list containing string formatted transcriptCOMMENT
MEDIUMnemo/collections/asr/parts/utils/diarization_utils.py751 # Create a split segment and add it to the corresponding intervalCOMMENT
MEDIUMnemo/collections/asr/parts/utils/diarization_utils.py1336 # Create a transscript information json dictionary from the output variablesCOMMENT
MEDIUM…ections/asr/parts/utils/batched_beam_decoding_utils.py972 # Create a range tensor: [0, 1, 2, ..., max_other_len-1]COMMENT
MEDIUMnemo/collections/asr/parts/submodules/spectr_augment.py288 # Create a mask_tensor with all the indices.COMMENT
MEDIUMnemo/collections/asr/parts/submodules/spectr_augment.py295 # Create a final mask that aligns with the full tensorCOMMENT
MEDIUM…llections/asr/parts/submodules/multi_head_attention.py622 # Create a helper tensor to find the local indices of global attentionCOMMENT
MEDIUMnemo/collections/asr/parts/preprocessing/features.py35# This file contains code artifacts adapted from https://github.com/ryanleary/patterCOMMENT
MEDIUMnemo/collections/asr/parts/preprocessing/segment.py35# This file contains code artifacts adapted from https://github.com/ryanleary/patterCOMMENT
MEDIUMnemo/collections/asr/parts/preprocessing/perturb.py35# This file contains code artifacts adapted from https://github.com/ryanleary/patterCOMMENT
MEDIUMnemo/collections/asr/parts/preprocessing/perturb.py1355 """This function is used to iterate through utterances with different offsets for each file."""STRING
MEDIUMnemo/collections/asr/inference/utils/context_manager.py171 # Create a dummy context with None valuesCOMMENT
MEDIUMnemo/collections/asr/inference/utils/bpe_decoder.py140 # Create a text segmentCOMMENT
MEDIUMnemo/collections/asr/inference/utils/manifest_io.py144 # Create a mapping of audio filepaths to their index in the manifestCOMMENT
MEDIUMnemo/collections/asr/inference/utils/manifest_io.py149 # Define an order of the audio filepathsCOMMENT
MEDIUM…ctions/asr/inference/streaming/framing/multi_stream.py180 # Create a new streamCOMMENT
45 more matches not shown…
Excessive Try-Catch Wrapping254 hits · 276 pts
SeverityFileLineSnippetContext
LOWnemo_dependencies.py68 except Exception as e:CODE
MEDIUMnemo_dependencies.py69 print(f"Error analyzing {file_path}: {e}")CODE
LOWtools/ctc_segmentation/scripts/prepare_data.py122 except Exception as e:CODE
MEDIUMtools/ctc_segmentation/scripts/prepare_data.py91def _load_sox_transformer():CODE
LOW…ols/ctc_segmentation/scripts/get_metrics_and_filter.py189 except Exception as e:CODE
LOWtools/ctc_segmentation/scripts/utils.py137 except Exception as e:CODE
LOWtools/ctc_segmentation/scripts/run_ctc_segmentation.py176 except Exception as e:CODE
LOWtools/speech_data_explorer/data_explorer.py521 except Exception as e:CODE
LOWtools/speech_data_explorer/data_explorer.py2794 except Exception as ex:CODE
LOWtools/speech_data_explorer/data_explorer.py2856 except Exception as ex:CODE
LOWtools/speech_data_explorer/data_explorer.py2881 except Exception as ex:CODE
LOWtools/speech_data_explorer/data_explorer.py2908 except Exception as ex:CODE
LOW…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py44 except Exception:CODE
LOW⚡…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py76 except Exception: # pragma: no cover - serving support is best-effortCODE
LOW…gpie_vllm_omni/scripts/benchmark_incremental_server.py147 except Exception as exc: # noqa: BLE001 - report any client/server failureCODE
LOWtools/easymagpie_vllm_omni/scripts/tune_mamba_ssu.py203 except Exception as exc: # A candidate may exceed a device resource limit.CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_model.py415 except Exception as exc:CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_model.py422 except Exception:CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_server.py107 except Exception as exc: # noqa: BLE001 - report any client/server failureCODE
LOW…gpie_vllm_omni/easymagpie_vllm_omni/serving_adapter.py294 except Exception: # never let a serving-layer change break model/pipeline loadingCODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py407 except Exception as error:CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py417 except Exception:CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/stage_processors.py225 except Exception:CODE
LOW…pie_vllm_omni/easymagpie_vllm_omni/stage_processors.py232 except Exception:CODE
LOWnemo/lightning/callback_group.py94 except Exception:CODE
LOWnemo/core/connectors/save_restore_connector.py764 except Exception as e:CODE
LOW⚡nemo/core/classes/common.py132 except Exception:CODE
LOW⚡nemo/core/classes/common.py136 except Exception as e2:CODE
LOWnemo/core/classes/common.py628 except Exception:CODE
LOWnemo/core/classes/common.py760 except Exception:CODE
LOWnemo/core/classes/common.py818 except Exception as e:CODE
LOWnemo/core/classes/common.py835 except Exception as e:CODE
LOWnemo/core/classes/modelPT.py770 except Exception as e:CODE
LOWnemo/core/utils/cuda_python_utils.py240 except Exception:CODE
LOWnemo/core/utils/numba_utils.py144 except Exception:CODE
LOWnemo/core/utils/lightning_utils.py86 except Exception:CODE
LOWnemo/agents/voice_agent/utils/config_manager.py72 except Exception as e:CODE
LOW…o/agents/voice_agent/utils/tool_calling/basic_tools.py55 except Exception as e:CODE
LOW…e_agent/pipecat/transports/network/websocket_server.py192 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py177 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py182 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py211 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py242 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py224 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py280 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py384 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py394 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py497 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py550 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py609 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py739 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py778 except Exception as e:CODE
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py809 except Exception as e:CODE
LOW⚡nemo/agents/voice_agent/pipecat/services/nemo/tts.py177 except Exception as e:CODE
LOW⚡nemo/agents/voice_agent/pipecat/services/nemo/tts.py182 except Exception as e:CODE
LOW⚡nemo/agents/voice_agent/pipecat/services/nemo/tts.py185 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/tts.py389 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/tts.py399 except Exception as e:CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/tts.py591 except Exception as e:CODE
LOW…ts/voice_agent/pipecat/services/nemo/streaming_diar.py238 except Exception as e:CODE
194 more matches not shown…
AI Structural Patterns286 hits · 274 pts
SeverityFileLineSnippetContext
LOWtools/ctc_segmentation/scripts/prepare_data.py126CODE
LOWtools/speech_data_explorer/data_explorer.py997CODE
LOW…ymagpie_vllm_omni/easymagpie_vllm_omni/codec/config.py33CODE
LOW…vllm_omni/easymagpie_vllm_omni/codec/encoder_config.py28CODE
LOWnemo/core/classes/exportable.py61CODE
LOWnemo/core/classes/exportable.py139CODE
LOWnemo/core/classes/common.py1015CODE
LOWnemo/core/classes/mixins/adapter_mixins.py609CODE
LOWnemo/core/classes/mixins/hf_io_mixin.py119CODE
LOWnemo/core/classes/mixins/adapter_mixin_strategies.py83CODE
LOWnemo/core/classes/mixins/adapter_mixin_strategies.py191CODE
LOWnemo/core/classes/mixins/adapter_mixin_strategies.py225CODE
LOWnemo/core/optim/adan.py83CODE
LOWnemo/core/optim/adafactor.py63CODE
LOWnemo/core/optim/novograd.py49CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py56CODE
LOW…nts/voice_agent/pipecat/services/nemo/streaming_asr.py46CODE
LOW…gents/voice_agent/pipecat/services/nemo/turn_taking.py46CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/tts.py499CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/llm.py310CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/stt.py72CODE
LOWnemo/utils/export_utils.py421CODE
LOWnemo/utils/export_utils.py454CODE
LOWnemo/utils/timers.py165CODE
LOWnemo/utils/callbacks/cuda_graph.py142CODE
LOWnemo/utils/callbacks/nemo_model_checkpoint.py48CODE
LOWnemo/utils/callbacks/dist_ckpt_io.py224CODE
LOWnemo/collections/speechlm2/vllm/salm/config.py180CODE
LOWnemo/collections/speechlm2/models/nemotron_voicechat.py422CODE
LOWnemo/collections/speechlm2/parts/encoder_chunking.py26CODE
LOWnemo/collections/speechlm2/parts/cp_helpers.py74CODE
LOWnemo/collections/speechlm2/parts/parallel.py194CODE
LOWnemo/collections/speechlm2/parts/parallel.py338CODE
LOW…/collections/speechlm2/parts/metrics/results_logger.py159CODE
LOWnemo/collections/speechlm2/modules/ear_tts_vae_codec.py713CODE
LOWnemo/collections/speechlm2/modules/ear_tts_vae_codec.py794CODE
LOWnemo/collections/speechlm2/modules/ear_tts_model.py761CODE
LOWnemo/collections/speechlm2/modules/ear_tts_model.py1196CODE
LOWnemo/collections/speechlm2/modules/perception.py196CODE
LOW…o/collections/speechlm2/data/duplex_ear_tts_dataset.py126CODE
LOW…tions/common/losses/latent_speaker_supervision_loss.py90CODE
LOW…llections/common/tokenizers/sentencepiece_tokenizer.py578CODE
LOWnemo/collections/common/tokenizers/tokenizer_utils.py155CODE
LOWnemo/collections/common/tokenizers/char_tokenizer.py92CODE
LOWnemo/collections/common/tokenizers/char_tokenizer.py451CODE
LOW…mo/collections/common/tokenizers/tiktoken_tokenizer.py106CODE
LOW…mo/collections/common/tokenizers/tiktoken_tokenizer.py283CODE
LOW…ctions/common/tokenizers/huggingface/auto_tokenizer.py36CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py547CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py661CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py900CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py1050CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py1227CODE
LOW…ons/common/tokenizers/text_to_speech/tts_tokenizers.py1341CODE
LOWnemo/collections/common/parts/utils.py216CODE
LOWnemo/collections/common/parts/rnn.py26CODE
LOWnemo/collections/common/parts/rnn.py299CODE
LOWnemo/collections/common/data/dataset.py51CODE
LOWnemo/collections/common/data/dataset.py346CODE
LOWnemo/collections/common/data/lhotse/nemo_adapters.py144CODE
226 more matches not shown…
Modern Structural Boilerplate253 hits · 257 pts
SeverityFileLineSnippetContext
LOWtools/ctc_segmentation/scripts/normalization_helpers.py16__all__ = ["LATIN_TO_RU", "RU_ABBREVIATIONS"]CODE
LOWtools/easymagpie_vllm_omni/scripts/benchmark_model.py60logger = logging.getLogger(__name__)CODE
LOW…gpie_vllm_omni/easymagpie_vllm_omni/serving_adapter.py28logger = logging.getLogger(__name__)CODE
LOW…/easymagpie_vllm_omni/easymagpie_vllm_omni/__init__.py19__all__ = ["EASYMAGPIE_SMALLMAMBA", "EasyMagpieOmniArch"]CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py141 def _update_request_as_session(self, session: Request, update: StreamingUpdate) -> None:CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py183def _set_segment_finished(outputs, request_id: str, value: bool) -> None:CODE
LOW…easymagpie_vllm_omni/easymagpie_vllm_omni/scheduler.py264 def _update_request_as_session(self, session: Request, update: StreamingUpdate) -> None:CODE
LOW…agpie_vllm_omni/easymagpie_vllm_omni/codec/__init__.py22__all__ = [CODE
LOW…magpie_vllm_omni/easymagpie_vllm_omni/codec/encoder.py370__all__ = ["EasyMagpieCodecEncoder", "EasyMagpieCodecEncoderOutput"]CODE
LOW…asymagpie_vllm_omni/codec/reference_speaker_encoder.py129__all__ = ["EasyMagpieReferenceSpeakerEncoder"]CODE
LOW⚡nemo/lightning/base_callback.py84 def update_config(self, *args, **kwargs) -> None:CODE
LOW⚡nemo/lightning/base_callback.py89__all__ = ["BaseCallback"]CODE
LOWnemo/lightning/__init__.py36__all__ = [CODE
LOWnemo/lightning/callback_group.py59 def update_config(self, nemo_version: str, trainer: Any, **kwargs) -> None:CODE
LOWnemo/lightning/callback_group.py186__all__ = ['CallbackGroup', 'hook_class_init_with_callbacks']CODE
LOWnemo/lightning/one_logger_callback.py35__all__ = ['OneLoggerNeMoCallback']CODE
LOWnemo/lightning/one_logger_callback.py248 def update_config(self, nemo_version: str, trainer: Trainer, **kwargs) -> None:CODE
LOWnemo/lightning/base.py75__all__ = ["get_vocab_size", "teardown"]CODE
LOWnemo/core/neural_types/elements.py23__all__ = [CODE
LOWnemo/core/neural_types/neural_type.py24__all__ = [CODE
LOWnemo/core/neural_types/comparison.py18__all__ = ['NeuralTypeComparisonResult']CODE
LOWnemo/core/neural_types/axes.py19__all__ = ['AxisKindAbstract', 'AxisKind', 'AxisType']CODE
LOWnemo/core/config/base_config.py19__all__ = ['Config']CODE
LOWnemo/core/config/optimizers.py22__all__ = [CODE
LOWnemo/core/config/pytorch_lightning.py21__all__ = ['TrainerConfig']CODE
LOWnemo/core/config/pytorch.py21__all__ = ['DataLoaderConfig']CODE
LOWnemo/core/classes/exportable.py37__all__ = ['ExportFormat', 'Exportable']CODE
LOWnemo/core/classes/dataset.py22__all__ = ['Dataset', 'IterableDataset']CODE
LOWnemo/core/classes/loss.py20__all__ = ['Loss']CODE
LOWnemo/core/classes/common.py53__all__ = ['Typing', 'FileIO', 'Model', 'Serialization', 'typecheck', 'PretrainedModelInfo']CODE
LOWnemo/core/classes/modelPT.py46__all__ = ['ModelPT']CODE
LOWnemo/core/classes/module.py24__all__ = ['NeuralModule', 'freeze', 'unfreeze']CODE
LOWnemo/core/classes/mixins/adapter_mixins.py406 def set_accepted_adapter_types(self, adapter_types: List[Union[type, str]]) -> None:CODE
LOWnemo/core/optim/adafactor.py29__all__ = ['Adafactor']CODE
LOWnemo/core/optim/optimizers.py78__all__ = ['get_optimizer', 'register_optimizer', 'parse_optimizer_args']CODE
LOWnemo/core/optim/novograd.py19__all__ = ['Novograd']CODE
LOWnemo/core/utils/optional_libs.py21__all__ = [CODE
LOWnemo/agents/voice_agent/pipecat/services/nemo/utils.py136 def _update_feature_buffer(self, feat_chunk: torch.Tensor) -> None:CODE
LOWnemo/utils/nemo_logging.py31__all__ = ["Logger", "LogMode"]CODE
LOWnemo/utils/env_var_parsing.py48__all__ = [CODE
LOWnemo/utils/timers.py26__all__ = ["NamedTimer", "SimpleTimer"]CODE
LOWnemo/utils/import_utils.py29logger = logging.getLogger(__name__)CODE
LOW⚡nemo/utils/exp_manager.py1545 def _update_slurm_time_offset(self) -> None:CODE
LOWnemo/utils/decorators/experimental.py17__all__ = ['experimental']CODE
LOWnemo/utils/decorators/deprecated.py17__all__ = [CODE
LOWnemo/utils/decorators/port_docs.py19__all__ = [CODE
LOWnemo/utils/callbacks/cuda_graph.py51__all__ = ["CUDAGraphCallback"]CODE
LOWnemo/utils/callbacks/nemo_model_checkpoint.py496 def set_checkpoint_unfinished_marker(checkpoint_path: Union[Path, str], barrier_after=False) -> None:CODE
LOWnemo/utils/callbacks/training_stats.py52__all__ = ["TrainingStatsCallback"]CODE
LOWnemo/utils/formatters/utils.py22__all__ = ["check_color_support", "to_unicode"]CODE
LOWnemo/utils/formatters/base.py22__all__ = ["BaseNeMoFormatter"]CODE
LOWnemo/collections/speechlm2/__init__.py27__all__ = [CODE
LOWnemo/collections/speechlm2/vllm/salm/model.py181 def set_aux_hidden_state_layers(self, layers: tuple[int, ...]) -> None:CODE
LOWnemo/collections/speechlm2/models/__init__.py24__all__ = [CODE
LOWnemo/collections/speechlm2/streaming/__init__.py18__all__ = ['DuplexSTTStreamingInference']CODE
LOWnemo/collections/speechlm2/parts/automodel_compat.py19logger = logging.getLogger(__name__)CODE
LOWnemo/collections/speechlm2/parts/metrics/__init__.py24__all__ = [CODE
LOWnemo/collections/speechlm2/modules/__init__.py18__all__ = [CODE
LOWnemo/collections/speechlm2/modules/perception.py125 def set_activation_checkpointing(self, enabled: bool) -> None:CODE
LOWnemo/collections/speechlm2/modules/perception.py467 def set_activation_checkpointing(self, enabled: bool) -> None:CODE
193 more matches not shown…
Empty Error Handlers48 hits · 240 pts
SeverityFileLineSnippetContext
HIGH…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py32except ValueError:CODE
HIGH…gpie_vllm_omni/vllm_plugin_easymagpie_omni/__init__.py44except Exception:CODE
HIGHtools/easymagpie_vllm_omni/scripts/benchmark_model.py422except Exception:CODE
HIGH…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py404except (WebSocketDisconnect, asyncio.TimeoutError):CODE
HIGH…pie_vllm_omni/easymagpie_vllm_omni/stage_processors.py225except Exception:CODE
HIGHnemo/lightning/callback_group.py94except Exception:CODE
HIGHnemo/lightning/base.py68except:CODE
HIGHnemo/core/classes/common.py760except Exception:CODE
HIGHnemo/core/classes/common.py628except Exception:CODE
HIGHnemo/core/optim/optimizers.py75except (ImportError, ModuleNotFoundError):CODE
HIGHnemo/core/utils/cuda_python_utils.py240except Exception:CODE
HIGHnemo/utils/model_utils.py664except (AttributeError, ImportError, ModuleNotFoundError):CODE
HIGHnemo/utils/nemo_logging.py142except KeyError:CODE
HIGHnemo/utils/nemo_logging.py148except KeyError:CODE
HIGHnemo/utils/nemo_logging.py176except KeyError:CODE
HIGHnemo/utils/env_var_parsing.py165except ValueError:CODE
HIGHnemo/utils/env_var_parsing.py171except ValueError:CODE
HIGHnemo/utils/env_var_parsing.py177except ValueError:CODE
HIGHnemo/utils/__init__.py36except ModuleNotFoundError:CODE
HIGHnemo/utils/__init__.py44except ModuleNotFoundError:CODE
HIGHnemo/utils/callbacks/s3_checkpoint_io.py167except:CODE
HIGHnemo/utils/callbacks/training_stats.py214except (ImportError, KeyError, RuntimeError, ValueError):CODE
HIGHnemo/utils/callbacks/training_stats.py219except (KeyError, RuntimeError, ValueError):CODE
HIGHnemo/collections/speechlm2/vllm/salm/config.py483except AttributeError:CODE
HIGHnemo/collections/speechlm2/vllm/salm/audio.py194except AttributeError:CODE
HIGHnemo/collections/speechlm2/parts/pretrained.py536except (AttributeError, TypeError):CODE
HIGHnemo/collections/speechlm2/parts/augmentation.py336except Exception:CODE
HIGH…/collections/speechlm2/parts/metrics/results_logger.py121except FileNotFoundError:CODE
HIGH…mo/collections/common/tokenizers/tiktoken_tokenizer.py24except ImportError:CODE
HIGH…ctions/common/tokenizers/huggingface/auto_tokenizer.py209except Exception:CODE
HIGH…lections/common/data/lhotse/packed_sequence_sampler.py409except StopIteration:CODE
HIGHnemo/collections/asr/metrics/der.py210except TypeError:CODE
HIGHnemo/collections/asr/parts/mixins/transcription.py343except StopIteration:CODE
HIGHnemo/collections/asr/parts/mixins/diarization.py282except StopIteration:CODE
HIGHnemo/collections/asr/parts/submodules/wfst_decoder.py794except Exception:CODE
HIGHnemo/collections/asr/data/text_to_text.py40except Exception:CODE
HIGHtests/core/test_optimizers_schedulers.py254except Exception:CODE
HIGHtests/core/test_optimizers_schedulers.py261except Exception:CODE
HIGHtests/collections/common/pl_utils.py178except RuntimeError:CODE
HIGHtests/collections/asr/test_asr_lhotse_dataset.py132except Exception:CODE
HIGHtests/collections/asr/test_asr_lhotse_dataset.py147except Exception:CODE
HIGHtests/collections/asr/test_asr_lhotse_dataset.py161except Exception:CODE
HIGHtests/collections/tts/models/test_easy_magpietts.py44except LocalEntryNotFoundError:CODE
HIGH…/collections/tts/data/test_magpietts_dataset_lhotse.py48except LocalEntryNotFoundError:CODE
HIGHexamples/speechlm2/stt_duplex_train.py32except RuntimeError:CODE
HIGHscripts/speechlm2/distributed_oomptimizer.py962except OSError:CODE
HIGHscripts/dataloading/convert_indexes_to_idxpack.py268except FileNotFoundError:CODE
HIGH…pts/magpietts/extend_lhotse_shards_with_audio_codes.py903except RuntimeError:CODE
Redundant / Tautological Comments142 hits · 210 pts
SeverityFileLineSnippetContext
LOWtools/speech_data_simulator/conf/data_simulator.yaml64 add_seg_aug: False # Set True to enable augmentation on each speech segmentCODE
LOWtools/speech_data_simulator/conf/data_simulator.yaml72 add_sess_aug: False # Set True to enable audio augmentation on the whole sessionCODE
LOWtools/speech_data_explorer/data_explorer.py149 # Check if file existsCOMMENT
LOWnemo/core/connectors/save_restore_connector.py87 # Check if we are packing the folder into a nemo fileCOMMENT
LOWnemo/core/config/hydra_runner.py95 # Check if user set the schema.COMMENT
LOW⚡nemo/core/classes/common.py140 # Check if this is a missing dependency issue vs a malicious targetCOMMENT
LOW⚡nemo/core/classes/common.py148 # Check if the module path is in one of our approved prefixes.COMMENT
LOWnemo/core/classes/common.py515 # Check if keys exists in the defined input typesCOMMENT
LOWnemo/core/classes/common.py1056 # Check if nemo_model_file_in_cache is a directoryCOMMENT
LOWnemo/core/classes/common.py1170 # Check if api token exists, use if it doesCOMMENT
LOWnemo/core/classes/common.py1176 # Check if model exists in HFCOMMENT
LOWnemo/core/classes/modelPT.py705 # Check if caller provided optimizer name, default to Adam otherwiseCOMMENT
LOWnemo/core/classes/modelPT.py723 # Check if caller has optimizer kwargs, default to empty dictionaryCOMMENT
LOWnemo/core/classes/modelPT.py1365 # Check if model is being resumed or not - only works if `Trainer` is attached to modelCOMMENT
LOWnemo/core/classes/modelPT.py1551 # Assign trainer to the modelCOMMENT
LOWnemo/core/classes/mixins/adapter_mixins.py365 # Check if type is supported (if available) and is an enabled adapterCOMMENT
LOWnemo/core/classes/mixins/adapter_mixins.py480 # Check if adapter is enabled or notCOMMENT
LOWnemo/core/classes/mixins/hf_io_mixin.py109 # Check if api token exists, use if it doesCOMMENT
LOWnemo/core/classes/mixins/adapter_mixin_strategies.py247 # Check if globally allowed to compute aux lossCOMMENT
LOWnemo/core/optim/distributed_adam.py659 # Check if fragment needs to be updatedCOMMENT
LOWnemo/core/utils/process_launcher/launcher.py270 # Check if all processes are completed or notCOMMENT
LOW…ice_agent/pipecat/utils/text/simple_text_aggregator.py75 # Check if the only period is a bullet point (e.g., "1. Alpha" or incomplete "1.")COMMENT
LOW…ice_agent/pipecat/utils/text/simple_text_aggregator.py82 # Check if any of the abbreviations "e.", "i." "g.", "etc." are present in the textCOMMENT
LOW…ents/voice_agent/pipecat/services/nemo/audio_logger.py722 # Check if we need to start a new turn or append to existing turnCOMMENT
LOWnemo/agents/voice_agent/pipecat/services/nemo/llm.py458 # Check if there's already a vLLM process running on the same port and modelCOMMENT
LOWnemo/agents/voice_agent/pipecat/services/nemo/llm.py462 # Check if this process is using the same port and modelCOMMENT
LOWnemo/agents/voice_agent/pipecat/services/nemo/llm.py575 # Check if process is still runningCOMMENT
LOWnemo/utils/te_utils.py24# Check if Transformer Engine has quantized tensor classesCOMMENT
LOWnemo/utils/exp_manager.py1444 # Check if cuda is avialable as preemption is supported only on GPUsCOMMENT
LOWnemo/utils/decorators/deprecated.py49 # Check if we already warned about that function.COMMENT
LOWnemo/utils/callbacks/preemption.py57 # Check if torch distributed is initialised, required for broadcasting the preemption signal to all the ranksCOMMENT
LOWnemo/collections/speechlm2/models/duplex_ear_tts.py1412 # Check if we should use the custom groupingCOMMENT
LOWnemo/collections/speechlm2/parts/metrics/turn_taking.py65 # Check if within toleranceCOMMENT
LOW…o/collections/speechlm2/parts/metrics/mcq_evaluator.py243 # Check if response is emptyCOMMENT
LOW…o/collections/speechlm2/parts/metrics/mcq_evaluator.py287 # Check if correctCOMMENT
LOWnemo/collections/speechlm2/parts/metrics/empty_text.py50 # Check if hypothesis is empty or only whitespaceCOMMENT
LOWnemo/collections/speechlm2/data/force_align.py270 # Check if this is a Segment object (has words_and_tokens attribute)COMMENT
LOWnemo/collections/speechlm2/data/force_align.py274 # Check if this is a Word object (has 'text' and timing attributes)COMMENT
LOW…o/collections/speechlm2/data/duplex_ear_tts_dataset.py586 # Check if system prompt exists in custom fieldCOMMENT
LOWnemo/collections/common/parts/preprocessing/cleaners.py221 # Check if there are non-numbersCOMMENT
LOWnemo/collections/common/parts/preprocessing/cleaners.py249 # Check if it is a currencyCOMMENT
LOWnemo/collections/common/prompts/formatter.py344 # Check if the tokenizer is aggregate and perform extra checks.COMMENT
LOWnemo/collections/audio/data/data_simulation.py1307 # Check if a feasible source is foundCOMMENT
LOWnemo/collections/asr/metrics/multitask.py132 # Check if string is for value assertion or equivalency of values.COMMENT
LOWnemo/collections/asr/models/ssl_models.py566 # Set flag to register tensorsCOMMENT
LOWnemo/collections/asr/models/label_models.py529 # Check if all outputs are non-emptyCOMMENT
LOWnemo/collections/asr/models/aed_multitask_models.py580 # Check if only one audio is provided with stringCOMMENT
LOWnemo/collections/asr/models/aed_multitask_models.py597 # Check if chunking will be enabledCOMMENT
LOWnemo/collections/asr/models/aed_multitask_models.py1013 # Check if we have defaults for this role.COMMENT
LOWnemo/collections/asr/models/aed_multitask_models.py1357 # Check if the model_restore_path is already an extracted directory (which happens during restore_from)COMMENT
LOW⚡nemo/collections/asr/parts/mixins/asr_adapter_mixins.py90 # Check if default module name is None or notCOMMENT
LOW⚡nemo/collections/asr/parts/mixins/asr_adapter_mixins.py100 # Check if encoder adapters should be addedCOMMENT
LOW⚡nemo/collections/asr/parts/mixins/asr_adapter_mixins.py107 # Check if module existsCOMMENT
LOWnemo/collections/asr/parts/mixins/asr_adapter_mixins.py166 # Check if default module name is None or notCOMMENT
LOWnemo/collections/asr/parts/mixins/asr_adapter_mixins.py175 # Check if encoder adapters should be usedCOMMENT
LOWnemo/collections/asr/parts/mixins/asr_adapter_mixins.py198 # Check if encoder adapters should be used or are enabledCOMMENT
LOWnemo/collections/asr/parts/mixins/transcription.py286 # Check if internal config is validCOMMENT
LOWnemo/collections/asr/parts/mixins/transcription.py366 # Check if internal config is validCOMMENT
LOWnemo/collections/asr/parts/mixins/transcription.py490 # Check if audio is a list of strings (filepaths or manifests)COMMENT
LOWnemo/collections/asr/parts/mixins/transcription.py505 # Check if audio is a list of numpy or torch tensorsCOMMENT
82 more matches not shown…
Cross-Language Confusion37 hits · 175 pts
SeverityFileLineSnippetContext
HIGH⚡…ration/tests/test_customization_dataset_preparation.py269 assert df_dropped_unnecessary_fields.equals(drop_unrequired_fields(df))CODE
HIGH⚡…ration/tests/test_customization_dataset_preparation.py306 assert df_prompt.equals(CODE
HIGH⚡…ration/tests/test_customization_dataset_preparation.py311 assert df_prompt.equals(convert_into_prompt_completion_only(df_prompt))CODE
HIGH⚡…ration/tests/test_customization_dataset_preparation.py327 assert expected_df.equals(warn_and_drop_long_samples(df, 10000)[0])CODE
HIGHtools/asr_evaluator/utils.py46 raise ValueError("decoder_type could only be null, ctc, rnnt or aed")CODE
HIGHtools/asr_evaluator/utils.py120 f"Hybrid models only support rnnt or ctc decoding! Current decoder_type: {cfg.inference.decoder_typeCODE
HIGH…agpie_vllm_omni/easymagpie_vllm_omni/serving_stream.py372 tokens = text_encoder.push(text)CODE
HIGH…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py109 return encoder.push(text, final=True)CODE
HIGH…easymagpie_vllm_omni/easymagpie_vllm_omni/tokenizer.py191 return self.push("", final=True)CODE
HIGHnemo/core/utils/optional_libs.py101GRAPHVIZ_INSTALLATION_MESSAGE = "Try installing graphviz with `sudo apt install graphviz && pip install graphviz`"CODE
HIGHnemo/collections/speechlm2/vllm/salm/audio.py226 "Independent per-encoder chunking requires encoder_chunk_size_seconds=null; "CODE
HIGHnemo/collections/speechlm2/parts/pretrained.py332 "Independent per-encoder chunking requires model.encoder_chunk_size_seconds=null; "CODE
HIGHnemo/collections/speechlm2/parts/pretrained.py460 raise ValueError(f"model.encoder_chunk_size_seconds must be positive or null, got {chunk_size}.")CODE
HIGHnemo/collections/speechlm2/parts/gc.py30 raise ValueError(f"model.gc_every_steps must be a positive integer or null, got {gc_every_steps!r}")CODE
HIGHnemo/collections/speechlm2/modules/perception.py351 raise ValueError(f"{name} must be positive or null, got {value!r}.")CODE
HIGHnemo/collections/audio/losses/audio.py87 min_scale || scale * target - estimate ||^2STRING
HIGHnemo/collections/audio/losses/audio.py137 min_filter || conv(filter, target) - estimate ||^2STRING
HIGHnemo/collections/audio/parts/utils/audio.py442 min_scale || scale * target - estimate ||^2STRING
HIGHnemo/collections/audio/parts/utils/audio.py467 min_filter || conv(filter, target) - estimate ||^2STRING
HIGHnemo/collections/asr/parts/utils/vad_utils.py127 "or a list of {'audio_filepath': i, 'offset': 0, 'duration': null}."CODE
HIGHnemo/collections/asr/modules/rnnt_abstract.py148 Stateful prediction of scores and state for a (possibly null) tokenset.STRING
HIGHnemo/collections/asr/modules/rnnt.py710 Stateful prediction of scores and state for a (possibly null) tokenset.STRING
HIGHnemo/collections/asr/data/data_simulation.py1266 orV_rcv (list or null): Microphone orientationsSTRING
HIGHnemo/collections/asr/data/audio_to_label.py1339 "duration": null, # not used, will load the whole audioSTRING
HIGHnemo/collections/tts/models/magpietts.py767 # phoneme_dict_0/_1 (and phoneme_dict null), which IpaG2p rejects onCOMMENT
HIGH…tions/tts/models/test_magpietts_tokenizer_artifacts.py25 ``phoneme_dict`` null), which ``IpaG2p`` rejects on restore.STRING
HIGH…tions/tts/models/test_magpietts_tokenizer_artifacts.py127 # phoneme_dict must remain a 2-element list (not collapsed to sibling keys / null).COMMENT
HIGH⚡…ons/tts/easymagpie_vllm_omni/serving/test_tokenizer.py101 tokens.extend(encoder.push(chunk))CODE
HIGH⚡…ons/tts/easymagpie_vllm_omni/serving/test_tokenizer.py114 tokens.extend(encoder.push(char))CODE
HIGH⚡…ons/tts/easymagpie_vllm_omni/serving/test_tokenizer.py124 tokens = encoder.push("x<bo") + encoder.finish()CODE
HIGH⚡…ons/tts/easymagpie_vllm_omni/serving/test_tokenizer.py131 encoder.push("x<bop>ab")CODE
HIGHexamples/speechlm2/nemotron_voicechat_eval.py45 checkpoint_path (str | null)STRING
HIGHexamples/speechlm2/nemotron_voicechat_eval.py51 * inference_speaker_reference (str | null): Path to the reference audio used to condition the speaker's voice. SSTRING
HIGHexamples/asr/asr_adapters/train_asr_adapter.py26 model.adapter.adapter_module_name=<null, or str module. Type: encoder, decoder, joint, or multiple with + between thSTRING
HIGHexamples/asr/asr_adapters/train_asr_adapter.py52 model.adapter.adapter_module_name=<null, or str module. Type: encoder, decoder, joint, or multiple with + between thSTRING
HIGH…s/dataset_processing/g2p/convert_cmu_arpabet_to_ipa.py26 cd NeMo/scripts && python dataset_processing/g2p/convert_cmu_arpabet_to_ipa.pySTRING
HIGHscripts/installers/setup_os2s_decoders.py87 + " >/dev/null 2>/dev/null && rm "CODE
Hallucination Indicators15 hits · 115 pts
SeverityFileLineSnippetContext
CRITICALnemo/core/connectors/save_restore_connector.py125 model = nemo.collections.asr.models.EncDecCTCModel.restore_from('asr.nemo')STRING
CRITICALnemo/core/connectors/save_restore_connector.py264 model = nemo.collections.asr.models.EncDecCTCModel.restore_from('asr.nemo')STRING
CRITICALnemo/core/connectors/save_restore_connector.py304 state_dict = nemo.collections.asr.models.EncDecCTCModel.extract_state_dict_from('asr.nemo', './ckpts')STRING
CRITICALnemo/core/connectors/save_restore_connector.py313 state_dict = nemo.collections.asr.models.EncDecCTCModel.extract_state_dict_from(STRING
CRITICALnemo/core/classes/modelPT.py463 model = nemo.collections.asr.models.EncDecCTCModel.restore_from('asr.nemo')STRING
CRITICALnemo/core/classes/modelPT.py1484 state_dict = nemo.collections.asr.models.EncDecCTCModel.extract_state_dict_from('asr.nemo', './ckpts')STRING
CRITICALnemo/core/classes/modelPT.py1493 state_dict = nemo.collections.asr.models.EncDecCTCModel.extract_state_dict_from(STRING
CRITICAL…parts/submodules/aed_decoding/aed_batched_streaming.py110 pred_tokens_ids, batch_size, _ = self.asr_model.decoding.decoding.greedy_search._prepare_for_search(CODE
CRITICAL…parts/submodules/aed_decoding/aed_batched_streaming.py142 self.asr_model.decoding.decoding.greedy_search._one_step_forward(CODE
CRITICAL…parts/submodules/aed_decoding/aed_batched_streaming.py204 pred_tokens_ids, batch_size, _ = self.asr_model.decoding.decoding.greedy_search._prepare_for_search(CODE
CRITICAL…parts/submodules/aed_decoding/aed_batched_streaming.py232 self.asr_model.decoding.decoding.greedy_search._one_step_forward(CODE
CRITICALnemo/collections/tts/models/fastpitch.py880 n_speakers = self.fastpitch.speaker_emb.weight.data.size()[0]CODE
CRITICALtests/lightning/test_one_logger_callback.py102 mock_provider_instance.with_base_config.return_value.with_export_config.return_value.configure_provider.assert_cCODE
CRITICAL…s/collections/speechlm2/test_packed_sequence_resume.py23 previous.llm.model.embed_tokens.weight.square().sum().backward()CODE
CRITICALtests/collections/tts/modules/test_transformer_2501.py1234 assert moe_ffn.router.router.weight.grad.abs().sum() > 0, "Router weight grad must be non-zero"CODE
Slop Phrases35 hits · 100 pts
SeverityFileLineSnippetContext
LOWnemo/collections/asr/losses/ctc.py46 # Don't forget to properly call base constructorCOMMENT
LOWexamples/asr/slurm_example.sh34CONTAINER=nvcr.io/nvidia/nemo:25.02.rc4 # Adjust to your needs. and make sure you have ngc key in ~/.config/enroot/.credCODE
MEDIUMexamples/tts/conf/fastpitch_ssl.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch_align_ipa.yaml2# If you want to train a model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch_align_44100_adapter.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/aligner.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch_align_44100.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch_align_v1.05.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch_align_ipa_adapter.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/hifigan_dataset/hifigan_44100.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/hifigan_dataset/hifigan_22050.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/hifigan/hifigan.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/hifigan/hifigan_44100.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch/fastpitch_44100.yaml2# If you want to train a model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/fastpitch/fastpitch_22050.yaml2# If you want to train a model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/mel_codec_22050.yaml3# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUM…conf/audio_codec/audio_codec_low_frame_rate_22050.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/mel_codec_44100.yaml3# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/audio_codec_44100.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/audio_codec_22050.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/audio_codec_16000.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/audio_codec_24000.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/audio_codec/encodec_24000.yaml2# If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUM…es/tts/conf/zh/fastpitch_align_multispeaker_22050.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/zh/fastpitch_align_22050.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/de/fastpitch_align_44100_phoneme.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/de/fastpitch_align_22050_mix.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUM…amples/tts/conf/de/fastpitch_align_44100_grapheme.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUM…amples/tts/conf/de/fastpitch_align_22050_grapheme.yaml2# rate. If you want to train model on other dataset, you can change config values according to your dataset.COMMENT
MEDIUMexamples/tts/conf/es/fastpitch_align_44100_ipa.yaml2# 44.1KHz sampling rate. If you want to train model on other dataset, you can change config values accordingCOMMENT
MEDIUM…mples/tts/conf/es/fastpitch_align_44100_ipa_multi.yaml2# 44.1KHz sampling rate. If you want to train model on other dataset, you can change config values accordingCOMMENT
MEDIUMexamples/tts/conf/es/fastpitch_align_44100.yaml2# 44.1KHz sampling rate. If you want to train model on other dataset, you can change config values accordingCOMMENT
MEDIUMscripts/tokenizers/process_asr_text_tokenizer.py38# In either case, you can add commas to concatenate different manifests or different data files.COMMENT
MEDIUM…pts/dataset_processing/process_speech_commands_data.py464 f'\n<<NOTE>> Duration computation was skipped for demonstration purposes on Colaboratory.\n'CODE
MEDIUMscripts/installers/install_opengrm.sh20# Alternatively, in the Linux Debian you can use: sudo apt install libngram-toolsCOMMENT
Verbosity Indicators49 hits · 93 pts
SeverityFileLineSnippetContext
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py345 # Step 1: Each rank saves its own results with rank suffixCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py353 # Step 2: Synchronize all ranks before mergingCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py357 # Step 3: Only rank 0 merges all results and computes final metricsCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py434 # Step 4: Broadcast metrics from rank 0 to all other ranksCOMMENT
LOW…tions/common/losses/latent_speaker_supervision_loss.py160 # Step 1: Identify speaker token positions and their speaker indices.COMMENT
LOW⚡…tions/common/losses/latent_speaker_supervision_loss.py171 # Step 2: Forward-fill using cummax on position indices.COMMENT
LOW⚡…tions/common/losses/latent_speaker_supervision_loss.py179 # Step 3: Gather the speaker index at the last speaker position.COMMENT
LOWnemo/collections/asr/models/online_diarizer.py547 # Step 1: Get subsegments for embedding extraction.COMMENT
LOW⚡nemo/collections/asr/models/online_diarizer.py586 # Step 4: Generate RTTM style diarization labels from segment ranges and cluster labelsCOMMENT
LOW⚡…llections/asr/parts/utils/multispk_transcribe_utils.py1468 # Step 2: diarize or get GT rttmsCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1489 # Step 3: update diar statesCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1510 # Step 4: find active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1528 # Step 5: generate instance for active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1544 # Step 6:COMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1558 # Step 7: ASR forward pass for active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1580 # Step 8: update ASR statesCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1595 # Step 9: update seglsts with timestampsCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py690 # Step 1: InitializationCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py700 # Step 2: Get most likely labels for current frameCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py704 # Step 3: Get fusion scoresCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py714 # Step 4: Get most likely labels with fusion scores. Labels that are blank or repeated are ignored.COMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py720 # Step 5: Update labels if they initially weren't blank or repeatedCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py725 # Step 6: Update fusion states and scores for non-blank and non-repeated labelsCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py772 # Step 2: Get most likely labels for current frameCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py777 # Step 3: Get fusion scoresCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py786 # Step 4: Get most likely labels with fusion scores. Labels that are blank or repeated are ignored.COMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py792 # Step 5: Update labels if they initially weren't blank or repeatedCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py800 # Step 6: Update fusion states and scores for non-blank and non-repeated labelsCOMMENT
LOW…ollections/asr/parts/submodules/ctc_greedy_decoding.py746 # Step 1: Initialization for fusion modelsCOMMENT
LOWnemo/collections/asr/inference/streaming/state/state.py219 # we need to check if the last token is the same as the first token of the completed outputCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1021 # Step 1: Prepare parameters for sentence generationCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1028 # Step 2: Select a speakerCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1041 # Step 3: Generate a sentenceCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1045 # Step 4: Generate a timestamp for either silence or overlapCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1542 # Step 1: Prepare parameters for sentence generationCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1549 # Step 2: Select a speakerCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1564 # Step 3: Generate a sentenceCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1568 # Step 4: Generate a time-stamp for either silence or overlapCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1063 # Step 6: Build entries for output filesCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1133 # Step 7: Normalize and write to diskCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1146 # Step 8: Clean up memoryCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1589 # Step 6: Build entries for output filesCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1652 # Step 7: Normalize and write to diskCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1936 # Step 1: Encode text input (always needed)COMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1939 # Step 2: Get and scale attention priorCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1944 # Step 3: Process context based on model typeCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1992 # Step 5: Apply CTC prior layer filteringCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1995 # Step 6: Return typed outputCOMMENT
LOWnemo/collections/tts/models/magpietts.py1966 # Step 4: Dispatch to model-type-specific handlerCOMMENT
Structural Annotation Overuse48 hits · 91 pts
SeverityFileLineSnippetContext
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py345 # Step 1: Each rank saves its own results with rank suffixCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py353 # Step 2: Synchronize all ranks before mergingCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py357 # Step 3: Only rank 0 merges all results and computes final metricsCOMMENT
LOW⚡…/collections/speechlm2/parts/metrics/results_logger.py434 # Step 4: Broadcast metrics from rank 0 to all other ranksCOMMENT
LOW…tions/common/losses/latent_speaker_supervision_loss.py160 # Step 1: Identify speaker token positions and their speaker indices.COMMENT
LOW⚡…tions/common/losses/latent_speaker_supervision_loss.py171 # Step 2: Forward-fill using cummax on position indices.COMMENT
LOW⚡…tions/common/losses/latent_speaker_supervision_loss.py179 # Step 3: Gather the speaker index at the last speaker position.COMMENT
LOWnemo/collections/asr/models/online_diarizer.py547 # Step 1: Get subsegments for embedding extraction.COMMENT
LOW⚡nemo/collections/asr/models/online_diarizer.py580 # Step 3 - Clustering: Perform an online version of clustering algorithmCOMMENT
LOW⚡nemo/collections/asr/models/online_diarizer.py586 # Step 4: Generate RTTM style diarization labels from segment ranges and cluster labelsCOMMENT
LOW⚡…llections/asr/parts/utils/multispk_transcribe_utils.py1468 # Step 2: diarize or get GT rttmsCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1489 # Step 3: update diar statesCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1510 # Step 4: find active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1528 # Step 5: generate instance for active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1558 # Step 7: ASR forward pass for active speakersCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1580 # Step 8: update ASR statesCOMMENT
LOW…llections/asr/parts/utils/multispk_transcribe_utils.py1595 # Step 9: update seglsts with timestampsCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py690 # Step 1: InitializationCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py700 # Step 2: Get most likely labels for current frameCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py704 # Step 3: Get fusion scoresCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py714 # Step 4: Get most likely labels with fusion scores. Labels that are blank or repeated are ignored.COMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py720 # Step 5: Update labels if they initially weren't blank or repeatedCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py725 # Step 6: Update fusion states and scores for non-blank and non-repeated labelsCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py772 # Step 2: Get most likely labels for current frameCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py777 # Step 3: Get fusion scoresCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py786 # Step 4: Get most likely labels with fusion scores. Labels that are blank or repeated are ignored.COMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py792 # Step 5: Update labels if they initially weren't blank or repeatedCOMMENT
LOW⚡…ollections/asr/parts/submodules/ctc_greedy_decoding.py800 # Step 6: Update fusion states and scores for non-blank and non-repeated labelsCOMMENT
LOW…ollections/asr/parts/submodules/ctc_greedy_decoding.py746 # Step 1: Initialization for fusion modelsCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1021 # Step 1: Prepare parameters for sentence generationCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1028 # Step 2: Select a speakerCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1041 # Step 3: Generate a sentenceCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1045 # Step 4: Generate a timestamp for either silence or overlapCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1542 # Step 1: Prepare parameters for sentence generationCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1549 # Step 2: Select a speakerCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1564 # Step 3: Generate a sentenceCOMMENT
LOW⚡nemo/collections/asr/data/data_simulation.py1568 # Step 4: Generate a time-stamp for either silence or overlapCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1063 # Step 6: Build entries for output filesCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1133 # Step 7: Normalize and write to diskCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1146 # Step 8: Clean up memoryCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1589 # Step 6: Build entries for output filesCOMMENT
LOWnemo/collections/asr/data/data_simulation.py1652 # Step 7: Normalize and write to diskCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1936 # Step 1: Encode text input (always needed)COMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1939 # Step 2: Get and scale attention priorCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1944 # Step 3: Process context based on model typeCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1992 # Step 5: Apply CTC prior layer filteringCOMMENT
LOW⚡nemo/collections/tts/models/magpietts.py1995 # Step 6: Return typed outputCOMMENT
LOWnemo/collections/tts/models/magpietts.py1966 # Step 4: Dispatch to model-type-specific handlerCOMMENT
AI Slop Vocabulary35 hits · 66 pts
SeverityFileLineSnippetContext
LOWtools/speech_data_explorer/data_explorer.py1407 # If using tarred audio, just return the filename as-is.COMMENT
LOWnemo/lightning/callback_group.py163 # If we're already inside a wrapped __init__, just call the originalCOMMENT
LOWnemo/core/connectors/save_restore_connector.py431 # artifact is optional and we simply return NoneCOMMENT
LOWnemo/core/classes/common.py1380 # If types are not defined, skip type checks and just call the wrapped methodCOMMENT
LOWnemo/core/optim/optimizers.py144 # If we are provided just a Config object, simply return the dictionary of that objectCOMMENT
LOWnemo/core/optim/optimizers.py156 # simply return the dictionary that was providedCOMMENT
LOWnemo/agents/voice_agent/pipecat/services/nemo/diar.py312 # if diarization is disabled, just pass the frame throughCOMMENT
MEDIUMnemo/collections/speechlm2/models/duplex_ear_tts.py380 # EOS dropout to make the model more robustCOMMENT
MEDIUMnemo/collections/speechlm2/models/duplex_ear_tts.py428 # BOS dropout to make the model more robustCOMMENT
MEDIUMnemo/collections/speechlm2/models/duplex_ear_tts.py449 # BOS dropout to make the model more robustCOMMENT
LOWnemo/collections/speechlm2/modules/speech_generation.py115 # ToDo: move it to cache to need to just create a 1 frame tensor in inferenceCOMMENT
LOWnemo/collections/common/data/dataset.py474 # if min_monolingual fires, it means we will just return a single, original monolingual utteranceCOMMENT
LOWnemo/collections/common/data/lhotse/dataloader.py1253 # Bucket duration bins are provided: just use them.COMMENT
LOWnemo/collections/common/data/lhotse/nemo_adapters.py747 # just return self.COMMENT
MEDIUMnemo/collections/audio/data/audio_to_audio_lhotse.py69 # TODO: use fault_tolerant=True for robust loading of targetCOMMENT
MEDIUMnemo/collections/audio/data/audio_to_audio_lhotse.py73 # TODO: use fault_tolerant=True for robust loading of targetCOMMENT
LOW…ctions/asr/models/hybrid_rnnt_ctc_bpe_models_prompt.py351 # RNNT Path - just use encoded outputs directlyCOMMENT
MEDIUMnemo/collections/asr/parts/mixins/diarization.py486 # Be robust to callers accidentally passing "an array of arrays" (dtype=object),COMMENT
MEDIUM⚡…mo/collections/asr/parts/utils/asr_confidence_utils.py405 """Implemented by subclass in order to aggregate token confidence to a word-level confidence.STRING
LOWnemo/collections/asr/parts/submodules/jasper.py139 # simply return symmetric padding for this scenarioCOMMENT
MEDIUMnemo/collections/asr/parts/submodules/ctc_decoding.py805 # If the exact timestep information is available, utilize the 1st non-ctc blank token timestepCOMMENT
MEDIUM…odules/magpietts_inference/evaluate_generated_audio.py660 # Japanese: additional reading-based CER on Katakana (pyopenjtalk g2p), robust toCOMMENT
LOW…/collections/tts/data/text_to_speech_dataset_lhotse.py407 # If context audio is not available, just use a dummy context_audio_codesCOMMENT
LOWnemo/collections/tts/data/text_to_speech_dataset.py609 # If context audio is not available, just use a dummy context_audio_codesCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1675 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1752 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1779 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1880 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1907 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py1997 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWtests/collections/common/test_lhotse_dataloading.py2024 # in this test we'll just use 0.1 for simplicityCOMMENT
LOWexamples/speechlm2/salm_eval.py147 # If no user prompt is provided, just use the audio placeholder.COMMENT
MEDIUM…t/server/parsers/nemotron_toolcall_parser_streaming.py510 # re-set stuff pertaining to progress in the current toolCOMMENT
MEDIUMscripts/tokenizers/conf/tabular_data_tokenizer.yaml9 transform: yeo-johnson # can be ['yeo-johnson', 'quantile', 'robust'], check https://scikit-learn.org/stable/modulCODE
MEDIUM…/speech_recognition/convert_to_tarred_audio_dataset.py32# supplied to the config in order to utilize webdataset for efficient large dataset handling.STRING
Modern AI Meta-Vocabulary13 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMtools/easymagpie_vllm_omni/README.md215# Benchmark zero-shot synthesis with one request-time reference.COMMENT
MEDIUMnemo/collections/asr/models/online_diarizer.py108 # Set speaker embedding model in eval modeCOMMENT
MEDIUM…ns/asr/parts/context_biasing/boosting_graph_batched.py77 1.0 # The score for eos token after detected end of context phrase to prevent hallucination for AED modelsCODE
MEDIUM…collections/asr/parts/submodules/multitask_decoding.py638 hallucinations_detector: bool = True # detect hallucinations in the predicted tokensCODE
MEDIUMnemo/collections/asr/parts/submodules/jasper.py456 # Set default context windowCOMMENT
MEDIUM…parts/submodules/aed_decoding/aed_batched_streaming.py170 # check for hallucinationsCOMMENT
MEDIUM…parts/submodules/aed_decoding/aed_batched_streaming.py304 # check for hallucinationsCOMMENT
MEDIUM…parts/submodules/aed_decoding/aed_batched_streaming.py347 # we need to have at least 8 tokens to run hallucinations detectorCOMMENT
MEDIUMnemo/collections/asr/inference/nmt/prompts.py258 # Remove any trailing punctuation to reduce the risk of hallucinationCOMMENT
MEDIUMnemo/collections/asr/inference/nmt/llm_translator.py347 # Remove hallucinations if ASR transcript is empty stringCOMMENT
MEDIUMnemo/collections/tts/models/easy_magpietts_inference.py436 # This enables keeping the zero-shot conditioning module private at release time.COMMENT
MEDIUM…odules/magpietts_inference/evaluate_generated_audio.py337 # the embedding model doesn't accept NumPy arrays, so we write to a temporary fileCOMMENT
MEDIUMtests/collections/asr/test_parallel_expert_encoder.py167# _forward_online orchestration (stubbed ASR encoder, provided spk_targets)COMMENT
Fake / Example Data13 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/setup/data/create_sample_jsonl.py36 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore "CODE
LOWtests/setup/data/create_sample_jsonl.py36 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore "CODE
LOW⚡…ollections/common/test_indexed_full_validator_stats.py130 with pytest.raises(Exception, match="placeholder"):CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py66 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py66 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py80 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py80 "lorem ipsum dolor sit amet consectetur adipiscing elit",CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py81 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOW⚡tests/collections/asr/test_text_to_text_dataset.py81 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOW⚡tests/collections/asr/inference/test_bpe_decoder.py50 "lorem ipsum dolor sit amet",CODE
LOW⚡tests/collections/asr/inference/test_bpe_decoder.py50 "lorem ipsum dolor sit amet",CODE
LOW⚡tests/collections/asr/inference/test_bpe_decoder.py78 "lorem ipsum dolor sit amet",CODE
LOW⚡tests/collections/asr/inference/test_bpe_decoder.py78 "lorem ipsum dolor sit amet",CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHnemo/collections/common/data/lhotse/cutset.py925 # as requested by pzelaskoCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWnemo/collections/asr/parts/submodules/subsampling.py551 # TODO: implement lengths inside conv_split_by_channelCOMMENT
LOWnemo/collections/asr/data/text_to_text.py328 # TODO: implement, if we really need normalization inplaceCOMMENT
LOW…s/speaker_tasks/utils/test_data_simul_utils_speaker.py297 # TODO: add tests for all util functionsCOMMENT
LOW…sts/collections/asr/utils/test_data_simul_utils_asr.py297 # TODO: add tests for all util functionsCOMMENT
Example Usage Blocks3 hits · 2 pts
SeverityFileLineSnippetContext
LOWnemo/core/classes/dataset.py85 # Usage:STRING
LOWexamples/asr/speech_classification/frame_vad_infer.py22## Usage:STRING
LOW…/speech_recognition/convert_to_tarred_audio_dataset.py35# Usage:STRING