Repository Analysis

RVC-Boss/GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)

6.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of RVC-Boss/GPT-SoVITS, a Python project with 59,760 GitHub stars. SynthScan v2.0 examined 62,330 lines of code across 274 source files, recording 343 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 6.5 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.5
Adjusted Score
6.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
59.8K
Stars
Python
Language
62.3K
Lines of Code
274
Files
343
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 6MEDIUM 20LOW 317

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 343 distinct pattern matches across 16 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.

Hyper-Verbose Identifiers74 hits · 78 pts
SeverityFileLineSnippetContext
LOWwebui.py167def check_pretrained_is_exist(version):CODE
LOWapi.py494def change_gpt_sovits_weights(gpt_path, sovits_path):CODE
LOWtools/uvr5/lib/lib_v5/spec_utils.py139def reduce_vocal_aggressively(X, y, softmask):CODE
LOWtools/asr/funasr_asr.py29def is_unregistered_model_error(exc):CODE
LOWtools/asr/funasr_asr.py34def create_fun_asr_nano_model(device):CODE
LOWtests/test_funasr_asr.py38def test_fun_asr_nano_falls_back_to_modelscope_when_hf_config_is_not_resolved(monkeypatch):CODE
LOWtests/test_funasr_asr.py64def test_fun_asr_nano_keeps_non_registration_errors_visible(monkeypatch):CODE
LOWGPT_SoVITS/process_ckpt.py100def get_sovits_version_from_path_fast(sovits_path):CODE
LOWGPT_SoVITS/inference_webui.py751def merge_short_text_in_array(texts, threshold):CODE
LOWGPT_SoVITS/export_torch_script.py107def multinomial_sample_one_no_sync(probs_sort):CODE
LOWGPT_SoVITS/export_torch_script.py554def build_phone_level_feature(res: Tensor, word2ph: IntTensor):CODE
LOWGPT_SoVITS/utils.py120def plot_spectrogram_to_numpy(spectrogram):CODE
LOWGPT_SoVITS/stream_v2pro.py188def find_best_audio_offset_fast(reference_audio: Tensor, search_audio: Tensor):CODE
LOWGPT_SoVITS/eres2net/kaldi.py125def _get_waveform_and_window_properties(CODE
LOWGPT_SoVITS/module/mel_processing.py8def dynamic_range_compression_torch(x, C=1, clip_val=1e-5):CODE
LOWGPT_SoVITS/module/mel_processing.py17def dynamic_range_decompression_torch(x, C=1):CODE
LOWGPT_SoVITS/module/mel_processing.py31def spectral_de_normalize_torch(magnitudes):CODE
LOWGPT_SoVITS/module/transforms.py12def piecewise_rational_quadratic_transform(CODE
LOWGPT_SoVITS/module/transforms.py50def unconstrained_rational_quadratic_spline(CODE
LOWGPT_SoVITS/module/transforms.py100def rational_quadratic_spline(CODE
LOWGPT_SoVITS/module/mrte_model.py158def fused_add_tanh_sigmoid_multiply(input, n_channels):CODE
LOWGPT_SoVITS/module/attentions.py260 def _matmul_with_relative_values(self, x, y):CODE
LOWGPT_SoVITS/module/attentions.py269 def _matmul_with_relative_keys(self, x, y):CODE
LOWGPT_SoVITS/module/attentions.py294 def _relative_position_to_absolute_position(self, x):CODE
LOWGPT_SoVITS/module/attentions.py311 def _absolute_position_to_relative_position(self, x):CODE
LOWGPT_SoVITS/module/attentions.py507def remove_weight_norm_modules(module, name="weight"):CODE
LOWGPT_SoVITS/module/data_utils.py109 def get_audio_text_speaker_pair(self, audiopath_sid_text):CODE
LOWGPT_SoVITS/module/data_utils.py375 def get_audio_text_speaker_pair(self, audiopath_sid_text):CODE
LOWGPT_SoVITS/module/data_utils.py613 def get_audio_text_speaker_pair(self, audiopath_sid_text):CODE
LOWGPT_SoVITS/module/data_utils.py824 def get_audio_text_speaker_pair(self, audiopath_sid_text):CODE
LOWGPT_SoVITS/module/commons.py97def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):CODE
LOWGPT_SoVITS/module/attentions_onnx.py27def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):CODE
LOWGPT_SoVITS/module/attentions_onnx.py223 def _matmul_with_relative_values(self, x, y):CODE
LOWGPT_SoVITS/module/attentions_onnx.py232 def _matmul_with_relative_keys(self, x, y):CODE
LOWGPT_SoVITS/module/attentions_onnx.py257 def _relative_position_to_absolute_position(self, x):CODE
LOWGPT_SoVITS/module/attentions_onnx.py274 def _absolute_position_to_relative_position(self, x):CODE
LOWGPT_SoVITS/TTS_infer_pack/TTS.py1665 def using_vocoder_synthesis_batched_infer(CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py34def merge_short_text_in_array(texts: str, threshold: int) -> list:CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py117 def segment_and_extract_feature_for_text(CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py235 def replace_consecutive_punctuation(self, text):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py23def dynamic_range_compression(x, C=1, clip_val=1e-5):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py27def dynamic_range_decompression(x, C=1):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py31def dynamic_range_compression_torch(x, C=1, clip_val=1e-5):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py35def dynamic_range_decompression_torch(x, C=1):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py43def spectral_de_normalize_torch(magnitudes):CODE
LOWGPT_SoVITS/BigVGAN/alias_free_activation/cuda/load.py31 def _cpp_extention_load_helper(name, sources, extra_cuda_flags):CODE
LOWGPT_SoVITS/BigVGAN/alias_free_activation/cuda/load.py66def _get_cuda_bare_metal_version(cuda_dir):CODE
LOWGPT_SoVITS/BigVGAN/tests/test_activation.py24def test_anti_alias_activation():CODE
LOWGPT_SoVITS/BigVGAN/tests/test_activation_snake_beta.py24def test_anti_alias_activation():CODE
LOWGPT_SoVITS/f5_tts/model/modules.py30def get_bigvgan_mel_spectrogram(CODE
LOWGPT_SoVITS/f5_tts/model/modules.py75def get_vocos_mel_spectrogram(CODE
LOWGPT_SoVITS/AR/models/t2s_model_onnx.py74def multinomial_sample_one_no_sync(CODE
LOWGPT_SoVITS/AR/models/utils.py140def multinomial_sample_one_no_sync(CODE
LOWGPT_SoVITS/AR/models/t2s_model.py39def scaled_dot_product_attention(CODE
LOWGPT_SoVITS/AR/models/t2s_model.py783 def infer_panel_naive_batched(CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache_onnx.py7def multi_head_attention_forward_patched(CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache.py13def multi_head_attention_forward_patched(CODE
LOWGPT_SoVITS/AR/modules/optim.py363 def _show_gradient_dominating_parameter(self, tuples: List[Tuple[Tensor, dict, List[str]]], tot_sumsq: Tensor):CODE
LOWGPT_SoVITS/text/chinese2.py305def replace_punctuation_with_en(text):CODE
LOWGPT_SoVITS/text/chinese2.py316def replace_consecutive_punctuation(text):CODE
14 more matches not shown…
AI Structural Patterns67 hits · 67 pts
SeverityFileLineSnippetContext
LOWapi_v2.py456CODE
LOWapi.py830CODE
LOWapi.py1362CODE
LOWtools/uvr5/bs_roformer/attend.py67CODE
LOWtools/uvr5/bs_roformer/bs_roformer.py147CODE
LOWtools/uvr5/bs_roformer/bs_roformer.py332CODE
LOWtools/uvr5/bs_roformer/mel_band_roformer.py156CODE
LOWtools/uvr5/bs_roformer/mel_band_roformer.py276CODE
LOWGPT_SoVITS/inference_webui.py790CODE
LOWGPT_SoVITS/export_torch_script_v3v4.py99CODE
LOWGPT_SoVITS/export_torch_script_v3v4.py155CODE
LOWGPT_SoVITS/eres2net/ERes2Net_huge.py86CODE
LOWGPT_SoVITS/eres2net/ERes2Net_huge.py152CODE
LOWGPT_SoVITS/eres2net/ERes2Net_huge.py156CODE
LOWGPT_SoVITS/eres2net/ERes2Net.py85CODE
LOWGPT_SoVITS/eres2net/ERes2Net.py151CODE
LOWGPT_SoVITS/eres2net/ERes2Net.py155CODE
LOWGPT_SoVITS/eres2net/ERes2NetV2.py84CODE
LOWGPT_SoVITS/eres2net/ERes2NetV2.py149CODE
LOWGPT_SoVITS/eres2net/ERes2NetV2.py153CODE
LOWGPT_SoVITS/eres2net/kaldi.py229CODE
LOWGPT_SoVITS/eres2net/kaldi.py519CODE
LOWGPT_SoVITS/eres2net/kaldi.py700CODE
LOWGPT_SoVITS/module/mel_processing.py28CODE
LOWGPT_SoVITS/module/mel_processing.py33CODE
LOWGPT_SoVITS/module/transforms.py100CODE
LOWGPT_SoVITS/module/models.py437CODE
LOWGPT_SoVITS/module/models_onnx.py380CODE
LOWGPT_SoVITS/module/attentions.py267CODE
LOWGPT_SoVITS/module/attentions.py276CODE
LOWGPT_SoVITS/module/attentions.py449CODE
LOWGPT_SoVITS/module/modules.py528CODE
LOWGPT_SoVITS/module/modules.py593CODE
LOWGPT_SoVITS/module/attentions_onnx.py230CODE
LOWGPT_SoVITS/module/attentions_onnx.py239CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py239CODE
LOWGPT_SoVITS/BigVGAN/loss.py51CODE
LOW…T_SoVITS/BigVGAN/alias_free_activation/torch/filter.py99CODE
LOWGPT_SoVITS/f5_tts/model/modules.py30CODE
LOWGPT_SoVITS/f5_tts/model/backbones/mmdit.py146CODE
LOWGPT_SoVITS/f5_tts/model/backbones/unett.py97CODE
LOWGPT_SoVITS/f5_tts/model/backbones/dit.py89CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py233CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py240CODE
LOWGPT_SoVITS/AR/modules/transformer_onnx.py150CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache_onnx.py7CODE
LOWGPT_SoVITS/AR/modules/scaling.py231CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache.py13CODE
LOWGPT_SoVITS/AR/modules/activation_onnx.py19CODE
LOWGPT_SoVITS/AR/modules/activation.py78CODE
LOWGPT_SoVITS/AR/modules/transformer.py178CODE
LOWGPT_SoVITS/AR/modules/optim.py156CODE
LOWGPT_SoVITS/text/chinese2.py320CODE
LOWGPT_SoVITS/text/japanese.py142CODE
LOWGPT_SoVITS/text/english.py128CODE
LOWGPT_SoVITS/text/chinese.py73CODE
LOWGPT_SoVITS/text/en_normalization/expend.py260CODE
LOWGPT_SoVITS/text/en_normalization/expend.py277CODE
LOWGPT_SoVITS/text/zh_normalization/num.py54CODE
LOWGPT_SoVITS/text/zh_normalization/num.py73CODE
7 more matches not shown…
Deep Nesting59 hits · 59 pts
SeverityFileLineSnippetContext
LOWapi_v2.py345CODE
LOWwebui.py244CODE
LOWwebui.py1046CODE
LOWapi.py545CODE
LOWapi.py830CODE
LOWtools/slicer2.py67CODE
LOWtools/slice_audio.py13CODE
LOWtools/my_utils.py49CODE
LOWtools/my_utils.py140CODE
LOWtools/my_utils.py187CODE
LOWtools/uvr5/webui.py45CODE
LOWtools/uvr5/vr.py45CODE
LOWtools/uvr5/vr.py217CODE
LOWtools/uvr5/mdxnet.py172CODE
LOWtools/uvr5/bsroformer.py111CODE
LOWtools/uvr5/lib/utils.py94CODE
LOWtools/asr/fasterwhisper_asr.py104CODE
LOWtools/i18n/scan_i18n.py29CODE
LOWGPT_SoVITS/s1_train.py46CODE
LOWGPT_SoVITS/inference_webui.py640CODE
LOWGPT_SoVITS/inference_webui.py790CODE
LOWGPT_SoVITS/s2_train_v3_lora.py263CODE
LOWGPT_SoVITS/s2_train.py318CODE
LOWGPT_SoVITS/stream_v2pro.py240CODE
LOWGPT_SoVITS/eres2net/kaldi.py86CODE
LOWGPT_SoVITS/module/mrte_model.py25CODE
LOWGPT_SoVITS/module/ddp_utils.py58CODE
LOWGPT_SoVITS/TTS_infer_pack/TTS.py856CODE
LOWGPT_SoVITS/TTS_infer_pack/TTS.py998CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py122CODE
LOWGPT_SoVITS/BigVGAN/train.py56CODE
LOWGPT_SoVITS/BigVGAN/train.py265CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py222CODE
LOWGPT_SoVITS/f5_tts/model/backbones/unett.py164CODE
LOWGPT_SoVITS/AR/utils/initialize.py8CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py458CODE
LOWGPT_SoVITS/AR/models/t2s_model.py583CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache.py13CODE
LOWGPT_SoVITS/AR/modules/activation.py204CODE
LOWGPT_SoVITS/AR/modules/optim.py197CODE
LOWGPT_SoVITS/text/chinese2.py180CODE
LOWGPT_SoVITS/text/cantonese.py118CODE
LOWGPT_SoVITS/text/cantonese.py176CODE
LOWGPT_SoVITS/text/japanese.py183CODE
LOWGPT_SoVITS/text/english.py131CODE
LOWGPT_SoVITS/text/english.py155CODE
LOWGPT_SoVITS/text/english.py270CODE
LOWGPT_SoVITS/text/english.py309CODE
LOWGPT_SoVITS/text/tone_sandhi.py495CODE
LOWGPT_SoVITS/text/tone_sandhi.py550CODE
LOWGPT_SoVITS/text/tone_sandhi.py586CODE
LOWGPT_SoVITS/text/chinese.py94CODE
LOWGPT_SoVITS/text/korean.py183CODE
LOWGPT_SoVITS/text/korean.py15CODE
LOWGPT_SoVITS/text/en_normalization/expend.py226CODE
LOWGPT_SoVITS/text/g2pw/onnx_api.py74CODE
LOWGPT_SoVITS/text/g2pw/onnx_api.py248CODE
LOWGPT_SoVITS/text/g2pw/utils.py132CODE
LOWGPT_SoVITS/text/LangSegmenter/langsegmenter.py90CODE
Excessive Try-Catch Wrapping36 hits · 44 pts
SeverityFileLineSnippetContext
LOWapi_v2.py444 except Exception as e:CODE
LOWapi_v2.py521 except Exception as e:CODE
LOWapi_v2.py551 except Exception as e:CODE
LOWapi_v2.py563 except Exception as e:CODE
LOWapi_v2.py573 except Exception:CODE
LOWwebui.py32 except Exception as e:CODE
LOWapi.py498 except Exception as e:CODE
LOWapi.py901 except Exception as e:CODE
MEDIUMapi.py494def change_gpt_sovits_weights(gpt_path, sovits_path):CODE
LOWtools/my_utils.py29 except Exception:CODE
MEDIUMtools/my_utils.py16def load_audio(file, sr):CODE
MEDIUMtools/uvr5/bsroformer.py107 print("Error: Unknown model: {}".format(self.model_type))CODE
LOWtools/uvr5/bsroformer.py212 except Exception as e:CODE
MEDIUMtools/uvr5/bsroformer.py214 print("Error message: {}".format(str(e)))CODE
LOWtools/asr/funasr_asr.py23 except Exception:CODE
LOWtools/asr/funasr_asr.py140 except Exception:CODE
MEDIUMtools/asr/funasr_asr.py19def only_asr(input_file, language, backend="fun-asr-nano"):CODE
LOWtools/asr/fasterwhisper_asr.py47 except Exception:CODE
LOWtools/asr/fasterwhisper_asr.py137 except Exception as e:CODE
LOWtools/i18n/scan_i18n.py48 except Exception as e:CODE
LOWGPT_SoVITS/s1_train.py144 except Exception:CODE
LOWGPT_SoVITS/inference_webui.py165 except Exception as e:CODE
LOWGPT_SoVITS/module/data_utils.py83 except Exception:CODE
LOWGPT_SoVITS/module/data_utils.py337 except Exception:CODE
LOWGPT_SoVITS/module/data_utils.py575 except Exception:CODE
LOWGPT_SoVITS/module/data_utils.py786 except Exception:CODE
LOWGPT_SoVITS/TTS_infer_pack/TTS.py1516 except Exception as e:CODE
MEDIUMGPT_SoVITS/TTS_infer_pack/TTS.py126def __getattr__(self, item):CODE
LOWGPT_SoVITS/BigVGAN/meldataset.py362 except Exception as e:CODE
LOWGPT_SoVITS/AR/utils/__init__.py34 except Exception:CODE
MEDIUMGPT_SoVITS/AR/utils/__init__.py28def check_txt_file(file_path):CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py584 except Exception as e:CODE
LOWGPT_SoVITS/AR/data/dataset.py134 except Exception:CODE
LOWGPT_SoVITS/text/japanese.py72except Exception:CODE
LOWGPT_SoVITS/text/g2pw/onnx_api.py24except Exception:CODE
LOWGPT_SoVITS/text/g2pw/dataset.py75 except Exception:CODE
Over-Commented Block39 hits · 39 pts
SeverityFileLineSnippetContext
LOWapi_v2.py181def pack_ogg(io_buffer: BytesIO, data: np.ndarray, rate: int):COMMENT
LOWapi_v2.py521 except Exception as e:COMMENT
LOWapi.py681COMMENT
LOWGPT_SoVITS/inference_webui.py1401 sample_steps,COMMENT
LOWGPT_SoVITS/export_torch_script_v3v4.py681 estimator: ExportDiT = torch.jit.trace(COMMENT
LOWGPT_SoVITS/export_torch_script_v3v4.py881 )COMMENT
LOWGPT_SoVITS/export_torch_script_v3v4.py1161 # vq_model = torch.jit.optimize_for_inference(vq_model)COMMENT
LOWGPT_SoVITS/export_torch_script.py941 # bert_model = AutoModelForMaskedLM.from_pretrained(bert_path,output_hidden_states=True,torchscript=True)COMMENT
LOWGPT_SoVITS/s2_train_v3.py161 )COMMENT
LOWGPT_SoVITS/s2_train_v3.py221 # torch.load(hps.train.pretrained_s2D, map_location="cpu")["weight"]COMMENT
LOWGPT_SoVITS/s2_train_v3.py381 # "slice/mel_gen": utils.plot_spectrogram_to_numpy(y_hat_mel[0].data.cpu().numpy()),COMMENT
LOWGPT_SoVITS/module/attentions_onnx.py101 # x = x * x_maskCOMMENT
LOWGPT_SoVITS/module/core_vq.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOWGPT_SoVITS/TTS_infer_pack/TTS.py281 "v2Pro": 486,COMMENT
LOWGPT_SoVITS/TTS_infer_pack/TTS.py941 # phones_batch = self.batch_sequences(phones_list, axis=0, pad_value=0, max_length=max_len)COMMENT
LOWGPT_SoVITS/TTS_infer_pack/TTS.py1281 t4 = time.perf_counter()COMMENT
LOWGPT_SoVITS/BigVGAN/alias_free_activation/cuda/compat.h21#ifndef TORCH_CHECKCOMMENT
LOWGPT_SoVITS/f5_tts/model/__init__.py1# from f5_tts.model.cfm import CFMCOMMENT
LOWGPT_SoVITS/AR/models/t2s_lightning_module.py81 )COMMENT
LOWGPT_SoVITS/AR/models/t2s_lightning_module.py101 # f"val_top_{self.top_k}_acc",COMMENT
LOWGPT_SoVITS/AR/models/t2s_model.py661 value=False,COMMENT
LOWGPT_SoVITS/AR/models/t2s_model.py681COMMENT
LOWGPT_SoVITS/AR/modules/scaling.py1# Copyright 2022 Xiaomi Corp. (authors: Daniel Povey)COMMENT
LOWGPT_SoVITS/AR/modules/optim.py1# Copyright 2022 Xiaomi Corp. (authors: Daniel Povey)COMMENT
LOWGPT_SoVITS/AR/data/dataset.py321 # print('batch["phoneme_ids_len"]:', batch["phoneme_ids_len"],COMMENT
LOWGPT_SoVITS/text/tone_sandhi.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/korean.py61# This is a list of Korean classifiers preceded by pure Korean numerals.COMMENT
LOWGPT_SoVITS/text/g2pw/dataset.py1# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/g2pw/utils.py1# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/num.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/constants.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/__init__.py1# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/char_convert.py1# coding=utf-8COMMENT
LOWGPT_SoVITS/text/zh_normalization/chronology.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/phonecode.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/text_normlization.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/text/zh_normalization/quantifier.py1# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.COMMENT
LOWGPT_SoVITS/feature_extractor/cnhubert.py41# def __init__(self):COMMENT
LOWGPT_SoVITS/feature_extractor/cnhubert.py61# def __init__(self):COMMENT
Unused Imports37 hits · 37 pts
SeverityFileLineSnippetContext
LOWapi.py542CODE
LOWtools/audio_sr.py1CODE
LOWtools/audio_sr.py1CODE
LOWtools/audio_sr.py1CODE
LOWtools/audio_sr.py1CODE
LOWGPT_SoVITS/inference_webui.py637CODE
LOWGPT_SoVITS/module/core_vq.py36CODE
LOWGPT_SoVITS/TTS_infer_pack/__init__.py1CODE
LOWGPT_SoVITS/TTS_infer_pack/__init__.py1CODE
LOWGPT_SoVITS/TTS_infer_pack/TextPreprocessor.py13CODE
LOWGPT_SoVITS/BigVGAN/inference_e2e.py4CODE
LOWGPT_SoVITS/BigVGAN/inference_e2e.py4CODE
LOWGPT_SoVITS/BigVGAN/inference_e2e.py4CODE
LOWGPT_SoVITS/BigVGAN/inference_e2e.py4CODE
LOWGPT_SoVITS/BigVGAN/inference.py4CODE
LOWGPT_SoVITS/BigVGAN/inference.py4CODE
LOWGPT_SoVITS/BigVGAN/inference.py4CODE
LOWGPT_SoVITS/BigVGAN/inference.py4CODE
LOW…SoVITS/BigVGAN/alias_free_activation/torch/__init__.py4CODE
LOW…SoVITS/BigVGAN/alias_free_activation/torch/__init__.py5CODE
LOW…SoVITS/BigVGAN/alias_free_activation/torch/__init__.py6CODE
LOWGPT_SoVITS/f5_tts/model/__init__.py4CODE
LOWGPT_SoVITS/f5_tts/model/modules.py10CODE
LOWGPT_SoVITS/f5_tts/model/backbones/mmdit.py10CODE
LOWGPT_SoVITS/f5_tts/model/backbones/unett.py10CODE
LOWGPT_SoVITS/f5_tts/model/backbones/dit.py10CODE
LOWGPT_SoVITS/AR/models/structs_cudagraph.py1CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py7CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py9CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py12CODE
LOWGPT_SoVITS/AR/models/t2s_model_cudagraph.py12CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache_onnx.py1CODE
LOWGPT_SoVITS/AR/modules/patched_mha_with_cache.py1CODE
LOWGPT_SoVITS/text/en_normalization/expend.py3CODE
LOWGPT_SoVITS/text/g2pw/__init__.py1CODE
LOWGPT_SoVITS/text/LangSegmenter/__init__.py1CODE
LOWGPT_SoVITS/text/zh_normalization/__init__.py14CODE
Decorative Section Separators11 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMapi.py1155# --------------------------------COMMENT
MEDIUMapi.py1157# --------------------------------COMMENT
MEDIUMapi.py1295# --------------------------------COMMENT
MEDIUMapi.py1297# --------------------------------COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py74# ─── KV Cache ────────────────────���───────────────────────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py117# ─── Attention (PyTorch native SDPA, no flash_attn) ─────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py185# ─── Feed Forward ────────────────────────────────────────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py201# ─── Transformer Block ──────────────────────────────────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py243# ─── Transformer Decoder ────────────────────────────────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py291# ─── T2S Decoder ─────────────────────────────────────────────────────────────COMMENT
MEDIUMGPT_SoVITS/AR/models/t2s_model_cudagraph.py433# ─── CUDA Graph Runner ───────────────────────────────────────────────────────COMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHGPT_SoVITS/f5_tts/model/modules.py0ein notation: b - batch n - sequence nt - text sequence nw - raw wave length d - dimensionSTRING
HIGHGPT_SoVITS/f5_tts/model/backbones/mmdit.py0ein notation: b - batch n - sequence nt - text sequence nw - raw wave length d - dimensionSTRING
HIGHGPT_SoVITS/f5_tts/model/backbones/unett.py0ein notation: b - batch n - sequence nt - text sequence nw - raw wave length d - dimensionSTRING
HIGHGPT_SoVITS/f5_tts/model/backbones/dit.py0ein notation: b - batch n - sequence nt - text sequence nw - raw wave length d - dimensionSTRING
Modern Structural Boilerplate7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/uvr5/webui.py12logger = logging.getLogger(__name__)CODE
LOWtools/uvr5/vr.py6logger = logging.getLogger(__name__)CODE
LOWtools/uvr5/mdxnet.py4logger = logging.getLogger(__name__)CODE
LOWGPT_SoVITS/eres2net/kaldi.py8__all__ = [CODE
LOWGPT_SoVITS/TTS_infer_pack/TTS.py399 def update_version(self, version: str) -> None:CODE
LOWGPT_SoVITS/AR/data/bucket_sampler.py13__all__ = [CODE
LOWGPT_SoVITS/AR/data/bucket_sampler.py140 def set_epoch(self, epoch: int) -> None:STRING
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/assets.py7 const newUrl = `${window.location.pathname}?${params.toString()}`;CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHGPT_SoVITS/text/japanese.py184Extract phoneme + prosoody symbol sequence from input full-context labels. The algorithm is based on `Prosodic featSTRING
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/slicer2.py4# This function is obtained from librosa.COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWGPT_SoVITS/BigVGAN/alias_free_activation/cuda/load.py18 # Check if cuda 11 is installed for compute capability 8.0COMMENT
LOWGPT_SoVITS/BigVGAN/tests/test_cuda_vs_torch_model.py175 # Print resultsCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…ITS/BigVGAN/alias_free_activation/cuda/activation1d.py30CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWGPT_SoVITS/AR/modules/optim.py462 # For parameters with 1 element we just use regular Adam.COMMENT
Slop Phrases2 hits · 1 pts
SeverityFileLineSnippetContext
LOWGPT_SoVITS/AR/modules/activation.py274 # When lifting this restriction, don't forget to eitherSTRING
LOWGPT_SoVITS/AR/modules/activation.py274 # When lifting this restriction, don't forget to eitherSTRING