An Industrial-Level Controllable and Efficient Zero-Shot Text-To-Speech System
This report presents the forensic synthetic code analysis of index-tts/index-tts, a Python project with 23,562 GitHub stars. SynthScan v2.0 examined 84,088 lines of code across 306 source files, recording 1195 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 22.8 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1195 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cli_tests/test_cli_v2_config.py | 0 | make flash_attn/triton appear installed so acceleration cli tests can run. | STRING |
| HIGH | cli_tests/test_cli_v2_batch.py | 0 | make flash_attn/triton appear installed so acceleration cli tests can run. | STRING |
| HIGH | cli_tests/test_cli_v2_check.py | 0 | make flash_attn/triton appear installed so acceleration cli tests can run. | STRING |
| HIGH | indextts/infer_v2_5.py | 0 | shrink special tokens (silent_token and stop_mel_token) in codes codes: [b, t] | STRING |
| HIGH | indextts/infer_v2.py | 0 | shrink special tokens (silent_token and stop_mel_token) in codes codes: [b, t] | STRING |
| HIGH | indextts/infer.py | 0 | shrink special tokens (silent_token and stop_mel_token) in codes codes: [b, t] | STRING |
| HIGH | indextts/gpt/model.py | 0 | basic residual convolutional block that uses groupnorm. | STRING |
| HIGH | indextts/gpt/model_v2_5.py | 0 | basic residual convolutional block that uses groupnorm. | STRING |
| HIGH | indextts/gpt/model_v2.py | 0 | basic residual convolutional block that uses groupnorm. | STRING |
| HIGH | indextts/gpt/model.py | 0 | this function is used to re-order the :obj:`past_key_values` cache if :meth:`~transformers.pretrainedmodel.beam_search` | STRING |
| HIGH | indextts/gpt/model_v2_5.py | 0 | this function is used to re-order the :obj:`past_key_values` cache if :meth:`~transformers.pretrainedmodel.beam_search` | STRING |
| HIGH | indextts/gpt/model_v2.py | 0 | this function is used to re-order the :obj:`past_key_values` cache if :meth:`~transformers.pretrainedmodel.beam_search` | STRING |
| HIGH | indextts/gpt/model.py | 0 | args: layers: number of layers in transformer stack. model_dim: operating dimensions of the transformer heads: number of | STRING |
| HIGH | indextts/gpt/model_v2_5.py | 0 | args: layers: number of layers in transformer stack. model_dim: operating dimensions of the transformer heads: number of | STRING |
| HIGH | indextts/gpt/model_v2.py | 0 | args: layers: number of layers in transformer stack. model_dim: operating dimensions of the transformer heads: number of | STRING |
| HIGH | indextts/gpt/model.py | 0 | given mel tokens that are derived from a padded audio clip and the actual lengths of each batch element in that audio cl | STRING |
| HIGH | indextts/gpt/model_v2_5.py | 0 | given mel tokens that are derived from a padded audio clip and the actual lengths of each batch element in that audio cl | STRING |
| HIGH | indextts/gpt/model_v2.py | 0 | given mel tokens that are derived from a padded audio clip and the actual lengths of each batch element in that audio cl | STRING |
| HIGH | indextts/gpt/model.py | 0 | prepare the inputs for the gpt2inferencemodel to generate. args: conds_latent: (b, 32, dim) audio conditioning embedding | STRING |
| HIGH | indextts/gpt/model_v2_5.py | 0 | prepare the inputs for the gpt2inferencemodel to generate. args: conds_latent: (b, 32, dim) audio conditioning embedding | STRING |
| HIGH | indextts/gpt/model_v2.py | 0 | prepare the inputs for the gpt2inferencemodel to generate. args: conds_latent: (b, 32, dim) audio conditioning embedding | STRING |
| HIGH | …c/amphion_codec/quantize/factorized_vector_quantize.py | 0 | parameters ---------- z: torch.tensor[b x d x t] returns ------- z_q: torch.tensor[b x d x t] quantized continuous repre | STRING |
| HIGH | …dextts/codec/amphion_codec/quantize/vector_quantize.py | 0 | parameters ---------- z: torch.tensor[b x d x t] returns ------- z_q: torch.tensor[b x d x t] quantized continuous repre | STRING |
| HIGH | …c/amphion_codec/quantize/factorized_vector_quantize.py | 0 | parameters ---------- z: torch.tensor[b x d x t] returns ------- z_q: torch.tensor[b x d x t] quantized continuous repre | STRING |
| HIGH | …models/codec/amphion_codec/quantize/vector_quantize.py | 0 | parameters ---------- z: torch.tensor[b x d x t] returns ------- z_q: torch.tensor[b x d x t] quantized continuous repre | STRING |
| HIGH | indextts/codec/amphion_codec/quantize/residual_vq.py | 0 | introduced in soundstream: an end2end neural audio codec https://arxiv.org/abs/2107.03312 | STRING |
| HIGH | …gct/models/codec/amphion_codec/quantize/residual_vq.py | 0 | introduced in soundstream: an end2end neural audio codec https://arxiv.org/abs/2107.03312 | STRING |
| HIGH | indextts/s2mel/dac/nn/quantize.py | 0 | introduced in soundstream: an end2end neural audio codec https://arxiv.org/abs/2107.03312 | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | indextts/utils/common.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | indextts/utils/utils.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | indextts/s2mel/modules/vocos/modules.py | 0 | computes the element-wise logarithm of the input tensor with clipping to avoid near-zero values. args: x (tensor): input | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | custom implementation of istft since torch.istft doesn't allow custom padding (other than `center=true`) with windowing. | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | custom implementation of istft since torch.istft doesn't allow custom padding (other than `center=true`) with windowing. | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | custom implementation of istft since torch.istft doesn't allow custom padding (other than `center=true`) with windowing. | STRING |
| HIGH | indextts/s2mel/modules/vocos/spectral_ops.py | 0 | custom implementation of istft since torch.istft doesn't allow custom padding (other than `center=true`) with windowing. | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | compute the inverse short time fourier transform (istft) of a complex spectrogram. args: spec (tensor): input complex sp | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | compute the inverse short time fourier transform (istft) of a complex spectrogram. args: spec (tensor): input complex sp | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | compute the inverse short time fourier transform (istft) of a complex spectrogram. args: spec (tensor): input complex sp | STRING |
| HIGH | indextts/s2mel/modules/vocos/spectral_ops.py | 0 | compute the inverse short time fourier transform (istft) of a complex spectrogram. args: spec (tensor): input complex sp | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | inverse modified discrete cosine transform (imdct) module. args: frame_len (int): length of the mdct frame. padding (str | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | inverse modified discrete cosine transform (imdct) module. args: frame_len (int): length of the mdct frame. padding (str | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | inverse modified discrete cosine transform (imdct) module. args: frame_len (int): length of the mdct frame. padding (str | STRING |
| HIGH | indextts/s2mel/modules/vocos/spectral_ops.py | 0 | inverse modified discrete cosine transform (imdct) module. args: frame_len (int): length of the mdct frame. padding (str | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | apply the modified discrete cosine transform (mdct) to the input audio. args: audio (tensor): input audio waveform of sh | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | apply the modified discrete cosine transform (mdct) to the input audio. args: audio (tensor): input audio waveform of sh | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | apply the modified discrete cosine transform (mdct) to the input audio. args: audio (tensor): input audio waveform of sh | STRING |
| HIGH | indextts/s2mel/modules/vocos/spectral_ops.py | 0 | apply the modified discrete cosine transform (mdct) to the input audio. args: audio (tensor): input audio waveform of sh | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | apply the inverse modified discrete cosine transform (imdct) to the input mdct coefficients. args: x (tensor): input mdc | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | apply the inverse modified discrete cosine transform (imdct) to the input mdct coefficients. args: x (tensor): input mdc | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | apply the inverse modified discrete cosine transform (imdct) to the input mdct coefficients. args: x (tensor): input mdc | STRING |
| HIGH | indextts/s2mel/modules/vocos/spectral_ops.py | 0 | apply the inverse modified discrete cosine transform (imdct) to the input mdct coefficients. args: x (tensor): input mdc | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | forward pass of the imdctcoshead module. args: x (tensor): input tensor of shape (b, l, h), where b is the batch size, l | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | forward pass of the imdctcoshead module. args: x (tensor): input tensor of shape (b, l, h), where b is the batch size, l | STRING |
| HIGH | indextts/utils/maskgct/models/codec/kmeans/vocos.py | 0 | forward pass of the imdctcoshead module. args: x (tensor): input tensor of shape (b, l, h), where b is the batch size, l | STRING |
| HIGH | indextts/s2mel/modules/vocos/heads.py | 0 | forward pass of the imdctcoshead module. args: x (tensor): input tensor of shape (b, l, h), where b is the batch size, l | STRING |
| HIGH | indextts/codec/kmeans/vocos.py | 0 | istft head module for predicting stft complex coefficients. args: dim (int): hidden dimension of the model. n_fft (int): | STRING |
| HIGH | …xtts/utils/maskgct/models/codec/amphion_codec/vocos.py | 0 | istft head module for predicting stft complex coefficients. args: dim (int): hidden dimension of the model. n_fft (int): | STRING |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 430 | def update_save_preset_button(prompt_audio): | CODE |
| LOW | webui.py | 435 | def update_delete_preset_button(preset_name): | CODE |
| LOW | webui.py | 578 | def confirm_save_preset_from_modal( | CODE |
| LOW | webui.py | 698 | def create_experimental_warning_message(): | CODE |
| LOW | webui.py | 1184 | def on_glossary_checkbox_change(is_enabled): | CODE |
| LOW | backends/trt/pipeline/audio_processing.py | 95 | def compute_semantic_features(audio_16k: torch.Tensor, feature_extractor, device=None): | CODE |
| LOW⚡ | backends/trt/pipeline/pipeline.py | 70 | def _find_most_similar_cosine(query_vector, matrix): | CODE |
| LOW⚡ | backends/trt/pipeline/pipeline.py | 590 | def _prepare_batched_trt_text( | CODE |
| LOW⚡ | backends/trt/pipeline/pipeline.py | 688 | def _prepare_batch_conditioning( | CODE |
| LOW | backends/trt/pipeline/pipeline.py | 377 | def _build_conds_latent_batch( | CODE |
| LOW⚡ | backends/trt/export/export_dit_onnx.py | 32 | def remove_weight_norm_from_model(model): | CODE |
| LOW⚡ | backends/trt/export/export_dit_onnx.py | 41 | def _plain_fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels): | CODE |
| LOW⚡ | backends/trt/export/export_dit_onnx.py | 51 | def patch_jit_script_functions(): | CODE |
| LOW | backends/trt/export/export_dit_onnx.py | 62 | def restore_jit_script_functions(originals): | CODE |
| LOW | backends/trt/export/export_latent_projector_onnx.py | 40 | def remove_weight_norm_recursive(model): | CODE |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 65 | def _build_context_position_ids(self, seq_len): | CODE |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 116 | def _prepare_generation_inputs(self, batch_size, context_lengths, | CODE |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 141 | def _get_context_shape_buffer(self, *args, **kwargs): | CODE |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 148 | def _get_next_step_shape_buffer(self, *args, **kwargs): | CODE |
| LOW | backends/trt/trtllm/convert_gpt_weights.py | 128 | def load_weights_from_hf_model(hf_weights, | CODE |
| LOW | backends/trt/trtllm/convert_gpt_weights.py | 264 | def load_hf_weights_and_config(cfg_path: str, model_dir: str, load_model_on_cpu: bool = False): | CODE |
| LOW | tests/test_audio_save.py | 77 | def test_save_pcm_wav_round_trips_without_saturation(tmp_path): | CODE |
| LOW | tests/test_audio_save.py | 103 | def test_save_pcm_wav_preserves_the_waveform_shape(tmp_path): | CODE |
| LOW | tests/test_audio_save.py | 130 | def test_save_pcm_wav_does_not_warn_about_ignored_encoding_args(tmp_path): | CODE |
| LOW | tests/test_audio_save.py | 175 | def test_save_pcm_wav_normalizes_every_pcm_scale_dtype(tmp_path, monkeypatch, dtype): | CODE |
| LOW | tests/test_audio_save.py | 187 | def test_save_pcm_wav_does_not_mutate_the_caller_tensor(tmp_path): | CODE |
| LOW | tests/test_webui_syntax.py | 4 | def test_webui_python_source_parses(): | CODE |
| LOW | tests/test_v2.py | 74 | def test_model_download_reachable(name, repo_id, filename, tmp_path): | CODE |
| LOW | tests/test_v2.py | 87 | def test_example_download_reachable(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 98 | def test_legacy_cache_compatibility(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 143 | def test_modelscope_single_file_download_matches_local_path(tmp_path, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 208 | def test_split_keeps_pronunciation_annotations_paired(): | CODE |
| LOW | tests/test_v2.py | 238 | def test_split_stays_within_position_embedding_capacity(): | CODE |
| LOW | tests/test_v2.py | 253 | def test_split_leaves_short_text_alone(): | CODE |
| LOW | tests/test_v2.py | 259 | def _load_qwen_emotion_module(module_name, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 313 | def test_qwen_emotion_convert_accepts_label_values(module_name, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 344 | def test_qwen_emotion_convert_accepts_label_only_payload(module_name, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 366 | def test_qwen_emotion_convert_redirects_cross_key_labels(module_name, monkeypatch): | CODE |
| LOW | tests/test_v2.py | 407 | def test_infer_with_emotion_vector(tts_model, prompt_wav, tmp_path): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 13 | def _mock_optional_dependency_imports(): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 129 | def test_init_creates_persistent_config_and_default_model_directory_without_model_files(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 146 | def test_init_with_model_dir_persists_the_requested_model_directory(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 164 | def test_config_path_prints_the_persistent_config_file_location(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 175 | def test_config_set_model_dir_persists_the_model_resource_directory(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 191 | def test_config_set_runtime_preferences_persists_device_and_boolean_values(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 218 | def test_config_set_boolean_preference_rejects_non_boolean_values(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 231 | def test_config_get_prints_the_current_persistent_config(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 247 | def test_check_uses_persisted_model_dir_when_command_line_and_environment_do_not_override_it(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 263 | def test_check_model_dir_resolution_prioritizes_command_line_then_environment_then_config(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 289 | def test_check_initializes_default_state_and_checks_the_platform_default_model_dir(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 306 | def test_check_with_command_model_dir_still_initializes_default_state_without_persisting_override(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 325 | def test_synth_uses_persisted_model_dir_and_runtime_preferences_by_default(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 379 | def test_batch_uses_persisted_model_dir_and_runtime_preferences_by_default(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 428 | def test_batch_command_line_can_disable_persisted_boolean_runtime_preferences_for_one_run(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 479 | def test_synth_command_line_overrides_do_not_rewrite_persistent_config(self): | CODE |
| LOW | cli_tests/test_cli_v2_config.py | 539 | def test_synth_command_line_can_disable_persisted_boolean_runtime_preferences_for_one_run(self): | CODE |
| LOW | cli_tests/test_cli_v2_concat.py | 67 | def test_concat_dry_run_validates_manifest_without_creating_output_parent(self): | CODE |
| LOW | cli_tests/test_cli_v2_concat.py | 81 | def fail_if_runtime_imports_are_checked(): | CODE |
| LOW | cli_tests/test_cli_v2_concat.py | 133 | def test_concat_dry_run_rejects_unknown_fields_and_comment_lines(self): | CODE |
| LOW | cli_tests/test_cli_v2_concat.py | 177 | def test_concat_dry_run_rejects_invalid_segment_fields_with_line_number(self): | CODE |
| 279 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/trt/pipeline/__init__.py | 1 | CODE | |
| LOW | backends/trt/pipeline/__init__.py | 1 | CODE | |
| LOW | backends/trt/pipeline/__init__.py | 1 | CODE | |
| LOW | backends/trt/pipeline/__init__.py | 1 | CODE | |
| LOW | backends/trt/pipeline/audio_processing.py | 4 | CODE | |
| LOW | backends/trt/serving/triton_server.py | 26 | CODE | |
| LOW | backends/trt/serving/triton_server.py | 75 | CODE | |
| LOW | backends/trt/serving/triton_server.py | 226 | CODE | |
| LOW | backends/trt/serving/triton_server.py | 226 | CODE | |
| LOW | backends/trt/runtime/gpt_trtllm_runtime.py | 4 | CODE | |
| LOW | backends/trt/runtime/gpt_trtllm_runtime.py | 77 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 12 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 4 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 7 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 7 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 7 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 7 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 10 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 13 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 13 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 15 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 16 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 17 | CODE | |
| LOW | backends/trt/trtllm/convert_gpt_weights.py | 11 | CODE | |
| LOW | indextts/infer_v2_5.py | 151 | CODE | |
| LOW | indextts/infer_v2.py | 110 | CODE | |
| LOW | indextts/infer.py | 92 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 31 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 108 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 109 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 110 | CODE | |
| LOW | indextts/gpt/model.py | 7 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 46 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 53 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 7 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 412 | CODE | |
| LOW | indextts/gpt/model_v2.py | 7 | CODE | |
| LOW | indextts/gpt/model_v2.py | 438 | CODE | |
| LOW | …s/codec/amphion_codec/quantize/lookup_free_quantize.py | 6 | CODE | |
| LOW | …s/codec/amphion_codec/quantize/lookup_free_quantize.py | 10 | CODE | |
| LOW | …c/amphion_codec/quantize/factorized_vector_quantize.py | 6 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/__init__.py | 6 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/__init__.py | 9 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/__init__.py | 10 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/__init__.py | 11 | CODE | |
| LOW | …dextts/codec/amphion_codec/quantize/vector_quantize.py | 6 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/residual_vq.py | 6 | CODE | |
| LOW | indextts/codec/amphion_codec/quantize/residual_vq.py | 8 | CODE | |
| 221 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | webui.py | 235 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | webui.py | 237 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | webui.py | 988 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | webui.py | 990 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | backends/trt/pipeline/text_processing.py | 12 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/text_processing.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/text_processing.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/text_processing.py | 47 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/text_processing.py | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/text_processing.py | 189 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 586 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 588 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 684 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | backends/trt/pipeline/pipeline.py | 686 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 202 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 204 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 325 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 327 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 455 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 457 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 556 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 558 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 622 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 624 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 904 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 906 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 1006 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/pipeline/pipeline.py | 1008 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | backends/trt/serving/triton_server.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/serving/triton_server.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/serving/triton_server.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backends/trt/serving/triton_server.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | indextts/utils/nemo_tn.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | indextts/utils/nemo_tn.py | 46 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | indextts/utils/ja_g2p.py | 105 | # ---------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/trt/pipeline/audio_processing.py | 13 | CODE | |
| LOW | backends/trt/pipeline/pipeline.py | 732 | CODE | |
| LOW | backends/trt/pipeline/pipeline.py | 908 | CODE | |
| LOW | backends/trt/pipeline/streaming.py | 70 | CODE | |
| LOW | backends/trt/runtime/gpt_trtllm_runtime.py | 261 | CODE | |
| LOW | …ckends/trt/build_engines/build_length_regulator_trt.py | 15 | CODE | |
| LOW | backends/trt/export/export_length_regulator_onnx.py | 42 | CODE | |
| LOW | …rt/export/export_speaker_perceiver_conditioner_onnx.py | 47 | CODE | |
| LOW | …rt/export/export_emotion_perceiver_conditioner_onnx.py | 47 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_model.py | 48 | CODE | |
| LOW | indextts/infer_v2_5.py | 77 | CODE | |
| LOW | indextts/infer_v2_5.py | 506 | CODE | |
| LOW | indextts/infer_v2_5.py | 570 | CODE | |
| LOW | indextts/infer_v2.py | 37 | CODE | |
| LOW | indextts/infer_v2.py | 371 | CODE | |
| LOW | indextts/infer_v2.py | 396 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 985 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1252 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1407 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1568 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1719 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1806 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 1869 | CODE | |
| LOW | indextts/gpt/perceiver.py | 150 | CODE | |
| LOW | indextts/gpt/model.py | 120 | CODE | |
| LOW | indextts/gpt/model.py | 306 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 836 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 2681 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 3184 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 4334 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 5465 | CODE | |
| LOW | indextts/gpt/conformer_encoder.py | 317 | CODE | |
| LOW | indextts/gpt/conformer_encoder.py | 442 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 120 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 305 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 679 | CODE | |
| LOW | indextts/gpt/model_v2_5.py | 797 | CODE | |
| LOW | indextts/gpt/model_v2.py | 121 | CODE | |
| LOW | indextts/gpt/model_v2.py | 306 | CODE | |
| LOW | indextts/gpt/model_v2.py | 716 | CODE | |
| LOW | indextts/gpt/model_v2.py | 838 | CODE | |
| LOW | indextts/codec/models.py | 30 | CODE | |
| LOW | …dextts/codec/amphion_codec/quantize/vector_quantize.py | 278 | CODE | |
| LOW | indextts/codec/kmeans/vocos.py | 824 | CODE | |
| LOW | indextts/BigVGAN/ECAPA_TDNN.py | 470 | CODE | |
| LOW | indextts/BigVGAN/alias_free_activation/torch/filter.py | 102 | CODE | |
| LOW | indextts/BigVGAN/alias_free_torch/filter.py | 96 | CODE | |
| LOW | indextts/BigVGAN/nnet/CNN.py | 68 | CODE | |
| LOW | indextts/BigVGAN/nnet/CNN.py | 356 | CODE | |
| LOW | indextts/BigVGAN/nnet/normalization.py | 47 | CODE | |
| LOW | indextts/BigVGAN/nnet/normalization.py | 602 | CODE | |
| LOW | indextts/utils/xtransformers.py | 480 | CODE | |
| LOW | indextts/utils/xtransformers.py | 576 | CODE | |
| LOW | indextts/utils/xtransformers.py | 732 | CODE | |
| LOW | indextts/utils/xtransformers.py | 906 | CODE | |
| LOW | indextts/utils/front.py | 221 | CODE | |
| LOW | indextts/utils/feature_extractors.py | 25 | CODE | |
| LOW | indextts/utils/maskgct/models/codec/codec_inference.py | 468 | CODE | |
| LOW | …maskgct/models/codec/speechtokenizer/modules/seanet.py | 58 | CODE | |
| LOW | …maskgct/models/codec/speechtokenizer/modules/seanet.py | 140 | CODE | |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gpu_check.py | 4 | CODE | |
| LOW | tools/i18n/scan_i18n.py | 31 | CODE | |
| LOW | backends/trt/infer.py | 35 | CODE | |
| LOW | backends/trt/pipeline/text_processing.py | 246 | CODE | |
| LOW | backends/trt/pipeline/pipeline.py | 908 | CODE | |
| LOW | backends/trt/pipeline/streaming.py | 70 | CODE | |
| LOW | backends/trt/serving/triton_server.py | 217 | CODE | |
| LOW | backends/trt/runtime/gpt_trtllm_runtime.py | 261 | CODE | |
| LOW | backends/trt/runtime/gpt_trtllm_runtime.py | 381 | CODE | |
| LOW | …ild_engines/build_speaker_perceiver_conditioner_trt.py | 15 | CODE | |
| LOW | backends/trt/trtllm/convert_gpt_checkpoint.py | 94 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 81 | CODE | |
| LOW | backends/trt/trtllm/indextts2_gpt_generation.py | 155 | CODE | |
| LOW | cli_tests/test_cli_v2_config.py | 263 | CODE | |
| LOW | cli_tests/test_cli_v2_concat.py | 278 | CODE | |
| LOW | cli_tests/test_cli_v2_download.py | 92 | CODE | |
| LOW | cli_tests/test_cli_v2_check.py | 711 | CODE | |
| LOW | indextts/cli_v2.py | 681 | CODE | |
| LOW | indextts/cli_v2.py | 834 | CODE | |
| LOW | indextts/infer_v2_5.py | 77 | CODE | |
| LOW | indextts/infer_v2_5.py | 299 | CODE | |
| LOW | indextts/infer_v2_5.py | 427 | CODE | |
| LOW | indextts/infer_v2_5.py | 506 | CODE | |
| LOW | indextts/infer_v2_5.py | 570 | CODE | |
| LOW | indextts/infer_v2.py | 37 | CODE | |
| LOW | indextts/infer_v2.py | 242 | CODE | |
| LOW | indextts/infer_v2.py | 396 | CODE | |
| LOW | indextts/cli.py | 41 | CODE | |
| LOW | indextts/infer.py | 29 | CODE | |
| LOW | indextts/infer.py | 135 | CODE | |
| LOW | indextts/infer.py | 192 | CODE | |
| LOW | indextts/infer.py | 284 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 73 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 985 | CODE | |
| LOW | indextts/gpt/transformers_gpt2.py | 1568 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 4521 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 4623 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 639 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 733 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 843 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 1555 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 1660 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 1869 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 2503 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 2716 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 3123 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 3325 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 3611 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 3902 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 4141 | CODE | |
| LOW | indextts/gpt/transformers_generation_utils.py | 4640 | CODE | |
| LOW | indextts/gpt/model.py | 495 | CODE | |
| LOW | indextts/gpt/transformers_beam_search.py | 215 | CODE | |
| LOW | indextts/gpt/transformers_beam_search.py | 513 | CODE | |
| LOW | indextts/gpt/transformers_beam_search.py | 672 | CODE | |
| LOW | indextts/gpt/transformers_beam_search.py | 813 | CODE | |
| LOW | indextts/gpt/transformers_beam_search.py | 979 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 253 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 548 | CODE | |
| LOW | indextts/gpt/transformers_modeling_utils.py | 709 | CODE | |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webui.py | 79 | except Exception as e: | CODE |
| LOW | webui.py | 91 | except Exception as e: | CODE |
| LOW | webui.py | 319 | except Exception as e: | CODE |
| LOW | webui.py | 406 | except Exception as e: | CODE |
| LOW | webui.py | 482 | except Exception as e: | CODE |
| LOW | webui.py | 1118 | except Exception as e: | CODE |
| MEDIUM | webui.py | 1120 | print(f"Error details: {e}") | CODE |
| LOW | webui.py | 1232 | except Exception as e: | CODE |
| MEDIUM | webui.py | 40 | def _require_optional_extra(flag_name, module_name, install_cmd): | CODE |
| LOW | tools/gpu_check.py | 58 | except Exception as e: | CODE |
| MEDIUM | tools/gpu_check.py | 59 | print(f"Error: {e}") | CODE |
| LOW | tools/i18n/scan_i18n.py | 50 | except Exception as e: | CODE |
| LOW | backends/trt/pipeline/text_processing.py | 117 | except Exception: | CODE |
| LOW | backends/trt/pipeline/text_processing.py | 128 | except Exception: | CODE |
| MEDIUM | backends/trt/serving/triton_client.py | 103 | print(f"Error: {error}") | CODE |
| LOW | …ild_engines/build_speaker_perceiver_conditioner_trt.py | 72 | except Exception: | CODE |
| LOW | backends/trt/trtllm/convert_gpt_checkpoint.py | 105 | except Exception as e: | CODE |
| MEDIUM | indextts/cli_v2.py | 605 | def _run_batch(args, tts_factory=None): | CODE |
| MEDIUM | indextts/cli_v2.py | 778 | def _run_concat(args): | CODE |
| LOW⚡ | indextts/cli_v2.py | 748 | except Exception as exc: | CODE |
| LOW | indextts/cli_v2.py | 598 | except Exception as exc: | CODE |
| LOW | indextts/cli_v2.py | 653 | except Exception as exc: | CODE |
| LOW | indextts/cli_v2.py | 673 | except Exception as exc: | CODE |
| LOW | indextts/cli_v2.py | 701 | except Exception as exc: | CODE |
| LOW | indextts/cli_v2.py | 1312 | except Exception as exc: | CODE |
| LOW | indextts/infer_v2_5.py | 164 | except Exception as e: | CODE |
| LOW | indextts/infer_v2.py | 123 | except Exception as e: | CODE |
| LOW | indextts/cli.py | 56 | except Exception as e: | CODE |
| LOW | indextts/infer.py | 276 | except Exception as e: | CODE |
| MEDIUM | indextts/infer.py | 270 | def torch_empty_cache(self): | CODE |
| LOW | indextts/gpt/transformers_modeling_utils.py | 596 | except Exception as e: | CODE |
| LOW | indextts/gpt/transformers_modeling_utils.py | 3927 | except Exception as e: | STRING |
| LOW | indextts/utils/nemo_tn.py | 111 | except Exception as e: | CODE |
| LOW | indextts/utils/nemo_tn.py | 147 | except Exception as e: | CODE |
| LOW | indextts/utils/examples_downloader.py | 137 | except Exception as e: | CODE |
| LOW | indextts/utils/common.py | 71 | except Exception as e: | CODE |
| LOW | indextts/utils/utils.py | 20 | except Exception as e: | CODE |
| LOW | indextts/utils/front.py | 191 | except Exception: | CODE |
| LOW | indextts/utils/front.py | 213 | except Exception: | CODE |
| LOW | indextts/utils/model_download.py | 56 | except Exception as e: | CODE |
| LOW | indextts/s2mel/modules/openvoice/openvoice_app.py | 119 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …odels/codec/speechtokenizer/modules/quantization/ac.py | 138 | self.packer.push(b1) | CODE |
| HIGH | …odels/codec/speechtokenizer/modules/quantization/ac.py | 185 | self.packer.push(b1) | CODE |
| HIGH | …odels/codec/speechtokenizer/modules/quantization/ac.py | 304 | encoder.push(symbol, q_cdf) | CODE |
| HIGH | indextts/s2mel/modules/flow_matching.py | 88 | # Stack original and CFG (null) inputs for batched processing | COMMENT |
| HIGH | …modules/.ipynb_checkpoints/flow_matching-checkpoint.py | 88 | # Stack original and CFG (null) inputs for batched processing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/trt/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | indextts/infer.py | 61 | print(">> Be patient, it may take a while to run in CPU mode.") | COMMENT |
| LOW | indextts/gpt/transformers_gpt2.py | 1 | # coding=utf-8 | COMMENT |
| LOW | indextts/gpt/transformers_generation_utils.py | 1 | # coding=utf-8 | COMMENT |
| LOW | indextts/gpt/transformers_beam_search.py | 1 | # coding=utf-8 | COMMENT |
| LOW | indextts/gpt/transformers_beam_search.py | 741 | elif push_progress: | COMMENT |
| LOW | indextts/gpt/transformers_modeling_utils.py | 1 | # coding=utf-8 | COMMENT |
| LOW | indextts/gpt/conformer/attention.py | 1 | # Copyright (c) 2019 Shigeki Karita | COMMENT |
| LOW | indextts/gpt/conformer/attention.py | 161 | # when export onnx model, for 1st chunk, we feed | COMMENT |
| LOW | indextts/gpt/conformer/attention.py | 261 | COMMENT | |
| LOW | indextts/gpt/conformer/subsampling.py | 1 | # Copyright (c) 2021 Mobvoi Inc (Binbin Zhang, Di Wu) | COMMENT |
| LOW | indextts/gpt/conformer/embedding.py | 1 | # Copyright (c) 2020 Mobvoi Inc. (authors: Binbin Zhang, Di Wu) | COMMENT |
| LOW | indextts/BigVGAN/alias_free_activation/cuda/compat.h | 21 | #ifndef TORCH_CHECK | COMMENT |
| LOW | indextts/utils/nemo_tn.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | indextts/utils/checkpoint.py | 1 | # Copyright (c) 2020 Mobvoi Inc. (authors: Binbin Zhang) | COMMENT |
| LOW | indextts/utils/ja_g2p.py | 121 | # tar = processor.process_ja_text(org) | COMMENT |
| LOW | indextts/utils/tokenizer.py | 421 | # print(f"cleaned text: {text}") | COMMENT |
| LOW | indextts/utils/front.py | 61 | # "M.2": {"en": "M dot two", "zh": "M 二"}, | COMMENT |
| LOW | …skgct/models/codec/speechtokenizer/modules/__init__.py | 1 | # Copyright (c) 2023 Amphion. | COMMENT |
| LOW | …codec/speechtokenizer/modules/quantization/__init__.py | 1 | # Copyright (c) 2023 Amphion. | COMMENT |
| LOW | …/codec/speechtokenizer/modules/quantization/core_vq.py | 1 | # Copyright (c) 2023 Amphion. | COMMENT |
| LOW | …/codec/speechtokenizer/modules/quantization/core_vq.py | 21 | # of this software and associated documentation files (the "Software"), to deal | COMMENT |
| LOW | …extts/utils/maskgct/models/codec/vevo/vevo_repcodec.py | 1 | # Copyright (c) 2023 Amphion. | COMMENT |
| LOW | …extts/utils/maskgct/models/codec/ns3_codec/__init__.py | 1 | # Copyright (c) 2023 Amphion. | COMMENT |
| LOW | indextts/s2mel/modules/hifigan/generator.py | 1 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Kai Hu) | COMMENT |
| LOW | indextts/s2mel/modules/hifigan/f0_predictor.py | 1 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Kai Hu) | COMMENT |
| LOW | indextts/s2mel/modules/openvoice/se_extractor.py | 141 | # wavs_folder = audio_path | COMMENT |
| LOW | …el/modules/bigvgan/alias_free_activation/cuda/compat.h | 21 | #ifndef TORCH_CHECK | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cli_tests/test_cli_v2_config.py | 51 | (path / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_config.py | 57 | target.write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_config.py | 61 | (target / "config.json").write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_batch.py | 52 | (model_dir / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_batch.py | 58 | target.write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_batch.py | 62 | (target / "config.json").write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_batch.py | 2111 | (model_dir / "config.yaml").write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_download.py | 37 | (path / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_download.py | 48 | target.write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_download.py | 52 | (target / "config.json").write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_download.py | 243 | (target / "config.yaml").write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_check.py | 64 | target.write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_check.py | 68 | (target / "config.json").write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_check.py | 257 | (model_dir / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW⚡ | cli_tests/test_cli_v2_check.py | 258 | (model_dir / "qwen0.6bemo4-merge").write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_check.py | 52 | (model_dir / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_check.py | 187 | (model_dir / "config.yaml").write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_check.py | 214 | (model_dir / filename).write_text("placeholder", encoding="utf-8") | CODE |
| LOW | cli_tests/test_cli_v2_check.py | 1310 | (model_dir / "config.yaml").write_text("placeholder", encoding="utf-8") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tts/BigVGAN/alias_free_activation/cuda/activation1d.py | 31 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 149 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 150 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 151 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 153 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 154 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 155 | CODE | |
| MEDIUM | indextts/s2mel/modules/openvoice/api.py | 168 | CODE | |
| MEDIUM | …les/bigvgan/alias_free_activation/cuda/activation1d.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | indextts/gpt/transformers_generation_utils.py | 431 | # Create the causal mask with fixed shape in advance, to reduce recompilations. If the function to create | COMMENT |
| MEDIUM | indextts/BigVGAN/ECAPA_TDNN.py | 246 | """This class implements an attentive statistic pooling layer for each channel. | STRING |
| MEDIUM | indextts/BigVGAN/ECAPA_TDNN.py | 585 | """This class implements the cosine similarity on the top of features. | STRING |
| MEDIUM | indextts/BigVGAN/nnet/CNN.py | 24 | """This function implements SincConv (SincNet). | STRING |
| MEDIUM | indextts/BigVGAN/nnet/CNN.py | 306 | """This function implements 1d convolution. | STRING |
| MEDIUM | …/utils/maskgct/models/codec/facodec/facodec_trainer.py | 521 | # Create the normalized F0 sequence with unvoiced frames | COMMENT |
| MEDIUM | indextts/s2mel/modules/commons.py | 382 | # Create the normalized F0 sequence with unvoiced frames | COMMENT |
| MEDIUM | …s2mel/modules/.ipynb_checkpoints/commons-checkpoint.py | 380 | # Create the normalized F0 sequence with unvoiced frames | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | indextts/gpt/perceiver.py | 87 | # Check if mask exists and expand to compatible shape | COMMENT |
| LOW | indextts/gpt/perceiver.py | 94 | # Check if there is a compatible device for flash attention | COMMENT |
| LOW | indextts/gpt/transformers_beam_search.py | 307 | # Check if we are done so that we can save a pad step if all(done) | STRING |
| LOW | indextts/gpt/transformers_beam_search.py | 659 | # Check if we are done so that we can save a pad step if all(done) | STRING |
| LOW | indextts/gpt/transformers_modeling_utils.py | 2477 | # Check if the covariance is positive definite. | COMMENT |
| LOW | indextts/gpt/transformers_modeling_utils.py | 4060 | # Check if `_keep_in_fp32_modules` is not None | STRING |
| LOW | indextts/gpt/model_v2_5.py | 410 | # Check if flash attention is available | COMMENT |
| LOW | indextts/gpt/model_v2.py | 436 | # Check if flash attention is available | COMMENT |
| LOW | indextts/BigVGAN/alias_free_activation/cuda/load.py | 49 | # Check if cuda 11 is installed for compute capability 8.0 | COMMENT |
| LOW | indextts/utils/network_detection.py | 59 | # Check if huggingface.co is accessible and measure latency | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | indextts/utils/common.py | 136 | Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: length | STRING |
| HIGH | indextts/utils/utils.py | 54 | Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: length | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/trt/pipeline/__init__.py | 3 | __all__ = ["FasterIndexTTS2", "AudioChunk", "BatchAudioChunk", "SpeakerCondition"] | CODE |
| LOW | indextts/codec/models.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | indextts/utils/network_detection.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | indextts/utils/nemo_tn.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | indextts/utils/examples_downloader.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | indextts/utils/model_download.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | indextts/s2mel/modules/rmvpe.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | indextts/s2mel/modules/openvoice/attentions.py | 9 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | indextts/gpt/transformers_generation_utils.py | 372 | # (this alternative is not as robust as calling `generate` and letting it create `cache_position`) | COMMENT |
| MEDIUM | indextts/gpt/transformers_generation_utils.py | 648 | # 1. Check whether the user has defined `decoder_input_ids` manually. To facilitate in terms of input naming, | COMMENT |
| LOW | indextts/gpt/transformers_beam_search.py | 854 | # generation. In these cases we simply return the highest scoring outputs. | STRING |
| LOW | indextts/gpt/transformers_modeling_utils.py | 5402 | # We can probably just use the multi-head attention module of PyTorch >=1.1.0 | STRING |
| LOW | indextts/gpt/conformer_encoder.py | 146 | # It's better we just return None if no cache is required, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/trt/run.sh | 4 | # Usage: | COMMENT |
| LOW | backends/trt/scripts/convert_checkpoint.sh | 4 | # Usage: | COMMENT |
| LOW | backends/trt/scripts/build_engines.sh | 4 | # Usage: | COMMENT |
| LOW | backends/trt/scripts/setup_env.sh | 4 | # Usage: | COMMENT |
| LOW | backends/trt/scripts/export_models.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | indextts/gpt/transformers_generation_utils.py | 3549 | # IMPORTANT: Note that this should appear BEFORE the call to _reorder_cache() to save the maximum memory | STRING |
| LOW | indextts/gpt/transformers_generation_utils.py | 3842 | # IMPORTANT: Note that this should appear BEFORE the call to _reorder_cache() to save the maximum memory | STRING |
| LOW | indextts/gpt/transformers_generation_utils.py | 4080 | # IMPORTANT: Note that this should appear BEFORE the call to _reorder_cache() to save the maximum memory | STRING |