An open-source model family for long-form speech, dialogue synthesis, voice design, sound effects, and real-time streaming TTS
This report summarizes scanner evidence for OpenMOSS/MOSS-TTS, a Python project with 4,193 GitHub stars. SynthScan examined 44,616 lines of code across 147 source files, recording 635 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 26.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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 300 finding(s).
Are imports declared and package/API names verified? 188 finding(s).
Are wrappers, guards, and repeated structures necessary? 344 finding(s).
Which changes need focused human review? 635 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 635 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | moss_tts_realtime/app.py | 967 | let audioCtx = null; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 971 | let boundField = null; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 977 | if (audioCtx && audioCtx.sampleRate !== sr) { | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 979 | audioCtx = null; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 982 | audioCtx = new (window.AudioContext || window.webkitAudioContext)({ sampleRate: sr }); | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1048 | audioCtx = null; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1055 | const sr = payload.sr || 24000; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1061 | if (!field || field === boundField) return; | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1079 | if (v && v !== lastValue) { | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1087 | if (initial && initial !== lastValue) { | CODE |
| HIGH⚡ | moss_tts_realtime/app.py | 1096 | boundField = null; | CODE |
| HIGH | moss_tts_realtime/app.py | 1118 | if (value && value !== lastValue) { | CODE |
| HIGH | moss_tts_realtime/app.py | 1127 | audioCtx = new (window.AudioContext || window.webkitAudioContext)(); | CODE |
| HIGH | moss_tts_realtime/finetuning/common.py | 115 | raise ValueError(f"`{field_name}` must be a string, null, or a list containing strings/nulls.") | CODE |
| HIGH | moss_tts_delay/finetuning/common.py | 115 | raise ValueError(f"`{field_name}` must be a string, null, or a list containing strings/nulls.") | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1063 | let currentJob = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1064 | let audioContext = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1066 | let statusTimer = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1069 | let currentStreamAbortController = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1072 | let playbackCompletionTimer = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1078 | let currentReferenceObjectUrl = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1080 | let recordedReferenceFile = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1082 | let referenceRecordingStream = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1083 | let referenceRecordingAudioContext = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1084 | let referenceRecordingSource = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1085 | let referenceRecordingProcessor = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1089 | let referenceRecordingTimer = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1113 | return Boolean(field("prompt-audio").files[0] || recordedReferenceFile || field("example-audio-path").value); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1116 | field("status").textContent = typeof obj === "string" ? obj : JSON.stringify(obj, null, 2); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1117 | if (obj && (obj.generated_frames || obj.generated_frames === 0) && obj.max_new_tokens) { | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1118 | const pct = Math.min(100, 100 * Number(obj.generated_frames || 0) / Number(obj.max_new_tokens || 1)); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1130 | runtimeReady = status && status.state === "ready"; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1131 | const elapsed = status && status.load_elapsed_seconds != null ? ` | load=${Number(status.load_elapsed_seconds).toFixed | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1133 | const error = status && status.error ? ` | error=${status.error}` : ""; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1134 | field("runtime-summary").textContent = `Runtime: ${(status && status.state) || "unknown"}${elapsed}${extra}${error}`; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1162 | currentReferenceObjectUrl = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1172 | function showReferencePreview(src, objectUrl = null) { | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1175 | currentReferenceObjectUrl = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1215 | if (referenceRecordingActive && nextMode !== "record") stopReferenceRecording(true); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1218 | recordedReferenceFile = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1228 | const safeSeconds = Math.max(0, Math.floor(seconds || 0)); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1285 | referenceRecordingTimer = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1289 | referenceRecordingProcessor.onaudioprocess = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1290 | referenceRecordingProcessor = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1294 | referenceRecordingSource = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1298 | referenceRecordingStream = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1302 | referenceRecordingAudioContext = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1311 | recordedReferenceFile = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1315 | const AudioContextCtor = window.AudioContext || window.webkitAudioContext; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1318 | referenceRecordingSampleRate = referenceRecordingAudioContext.sampleRate || 48000; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1326 | referenceRecordingChunks.push(new Float32Array(input)); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1506 | const raw = Number(field("initial-playback-delay").value || 0.08); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1519 | const bytesPerFrame = Math.max(1, Number(channels || 2) * 2); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1521 | const resolvedSampleRate = Math.max(1, Number(sampleRate || 48000)); | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1592 | statusTimer = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1596 | currentStreamAbortController = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1600 | currentJob = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1604 | audioContext = null; | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1617 | if (playbackPaused || nextPlaybackTime - audioContext.currentTime > 0.05) { | CODE |
| HIGH⚡ | clis/moss_tts_local_v1.5_app.py | 1622 | audioContext = null; | CODE |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | moss_tts_realtime/example_multiturn_stream_to_tts.py | 114 | # ── Core streaming Generation ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 86 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 88 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 109 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 111 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 166 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 168 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 210 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_realtime/finetuning/dataset.py | 212 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 44 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 46 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 81 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 83 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 100 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 102 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 246 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/tts_robust_normalizer_single_script.py | 248 | # --------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 203 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 205 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 349 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 351 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 409 | # ── Component factories ────────────────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 471 | # ── Generation ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 861 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/pipeline.py | 863 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 34 | # ── Name mapping: MossTTSDelay → Qwen3ForCausalLM ────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 50 | # ── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 86 | # ── Main extraction ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 117 | # ── Pass: iterate shards and extract all three groups ─────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 150 | # ── Embeddings → npy ──────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 162 | # ── LM heads → npy ────────────────────────────────── | COMMENT |
| MEDIUM | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 172 | # ── Backbone → Qwen3ForCausalLM safetensors ───────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt.yaml | 19 | # ── Model paths ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt.yaml | 26 | # ── Audio tokenizer ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt.yaml | 32 | # ── LM heads backend ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt.yaml | 36 | # ── Runtime settings ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt.yaml | 45 | # ── Sampling parameters ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt-8gb.yaml | 17 | # ── Model paths ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt-8gb.yaml | 24 | # ── Audio tokenizer ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt-8gb.yaml | 31 | # ── LM heads backend ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/trt-8gb.yaml | 36 | # ── Runtime settings ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | configs/llama_cpp/trt-8gb.yaml | 49 | # ── KV cache / attention ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | configs/llama_cpp/trt-8gb.yaml | 59 | # ── Sampling parameters ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/cpu-only.yaml | 10 | # ── Model paths ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/cpu-only.yaml | 17 | # ── Audio tokenizer ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/cpu-only.yaml | 23 | # ── LM heads backend ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/cpu-only.yaml | 27 | # ── Runtime settings ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/cpu-only.yaml | 36 | # ── Sampling parameters ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | configs/llama_cpp/default.yaml | 14 | # ── Model paths ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/default.yaml | 26 | # ── Audio tokenizer ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/default.yaml | 34 | # ── LM heads backend ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/default.yaml | 41 | # ── Runtime settings ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | configs/llama_cpp/default.yaml | 50 | # ── KV cache / attention ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | configs/llama_cpp/default.yaml | 61 | # ── Sampling parameters ────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 355 | def resolve_attn_implementation() -> str: | CODE |
| LOW | README_zh.md | 362 | def resolve_attn_implementation() -> str: | CODE |
| LOW | moss_tts_realtime/inferencer.py | 93 | def _build_local_past_key_values(self): | CODE |
| LOW | moss_tts_realtime/inferencer.py | 354 | def generate_local_transformer( | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 208 | def _resampled_audio_cache_path(src: Path, target_sample_rate: int) -> Path: | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 216 | def _ensure_audio_resampled_file(src: Path, target_sample_rate: int = SAMPLE_RATE) -> Path: | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 597 | def _reset_audio_queue_for_new_turn(self, sess: SessionRuntime) -> None: | CODE |
| LOW | moss_tts_realtime/app.py | 386 | def _format_completion_status( | CODE |
| LOW | moss_tts_realtime/app.py | 519 | def _build_text_only_turn_input( | CODE |
| LOW | moss_tts_realtime/infer.py | 19 | def resolve_attn_implementation() -> str: | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 96 | def _build_local_past_key_values(self): | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 101 | def _get_local_transformer_runner(self): | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 331 | def generate_local_transformer( | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 356 | def _generate_local_transformer_impl( | CODE |
| LOW | moss_tts_realtime/finetuning/prepare_data.py | 203 | def attach_reference_audio_codes( | CODE |
| LOW | moss_tts_realtime/finetuning/common.py | 103 | def normalize_audio_path_list( | CODE |
| LOW | moss_tts_realtime/finetuning/sft.py | 151 | def resolve_attn_implementation(requested: str, dtype: torch.dtype) -> str: | CODE |
| LOW | docs/moss_tts_realtime_model_card.md | 107 | def resolve_attn_implementation() -> str: | CODE |
| LOW | docs/moss_sound_effect_model_card.md | 67 | def resolve_attn_implementation() -> str: | CODE |
| LOW | docs/moss_tts_model_card.md | 131 | def resolve_attn_implementation() -> str: | CODE |
| LOW | docs/moss_tts_model_card.md | 250 | def resolve_attn_implementation() -> str: | CODE |
| LOW | docs/moss_voice_generator_model_card.md | 50 | def resolve_attn_implementation() -> str: | CODE |
| LOW | docs/moss_ttsd_model_card.md | 83 | def resolve_attn_implementation() -> str: | CODE |
| LOW | moss_tts_delay/processing_moss_tts.py | 454 | def _replace_audio_placeholders( | CODE |
| LOW | moss_tts_delay/processing_moss_tts.py | 494 | def _merge_consecutive_audio_placeholders( | CODE |
| LOW | moss_tts_delay/processing_moss_tts.py | 770 | def _get_audio_tokenizer_device(self) -> torch.device: | CODE |
| LOW | moss_tts_delay/modeling_moss_tts.py | 199 | def _compute_input_embeddings(self, input_ids: torch.LongTensor) -> torch.Tensor: | STRING |
| LOW | moss_tts_delay/tts_robust_normalizer_single_script.py | 116 | def _normalize_markdown_and_lines(text: str) -> str: | CODE |
| LOW | moss_tts_delay/tts_robust_normalizer_single_script.py | 192 | def _normalize_structural_punctuation(text: str) -> str: | CODE |
| LOW | moss_tts_delay/tts_robust_normalizer_single_script.py | 223 | def _normalize_repeated_punctuation(text: str) -> str: | CODE |
| LOW | moss_tts_delay/inference_utils.py | 62 | def apply_repetition_penalty_delay_pattern( | CODE |
| LOW | moss_tts_delay/finetuning/prepare_data.py | 129 | def attach_reference_audio_codes( | CODE |
| LOW | moss_tts_delay/finetuning/README.md | 305 | def resolve_attn_implementation(device: str, dtype: torch.dtype) -> str: | CODE |
| LOW | moss_tts_delay/finetuning/dataset.py | 32 | def normalize_audio_code_list( | CODE |
| LOW | moss_tts_delay/finetuning/common.py | 103 | def normalize_audio_path_list( | CODE |
| LOW | moss_tts_delay/finetuning/README_zh.md | 305 | def resolve_attn_implementation(device: str, dtype: torch.dtype) -> str: | CODE |
| LOW | moss_tts_delay/finetuning/sft.py | 164 | def resolve_attn_implementation(requested: str, dtype: torch.dtype) -> str: | CODE |
| LOW | moss_tts_delay/finetuning/sft.py | 195 | def parse_channelwise_loss_weight(spec: Optional[str], n_heads: int) -> Optional[List[float]]: | CODE |
| LOW | moss_tts_delay/finetuning/sft.py | 245 | def processor_needs_audio_tokenizer(records: List[Dict[str, Any]]) -> bool: | CODE |
| LOW | moss_tts_delay/llama_cpp/gpu_monitor.py | 85 | def _nvidia_smi_device_used_mb() -> float: | CODE |
| LOW | moss_tts_delay/llama_cpp/processor.py | 138 | def _replace_audio_placeholders( | CODE |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 37 | def _resolve_wan_audio_dit_preset(dit_variant: str): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 100 | def _convert_hf_dit_state_dict(state_dict: dict) -> dict: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 181 | def check_resize_num_channels_num_samples(self, num_channels, num_samples): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 42 | def check_resize_height_width(self, height, width, num_frames=None): | CODE |
| LOW | …ect_v2/diffsynth/models/wan_video_camera_controller.py | 46 | def process_camera_coordinates( | CODE |
| LOW | …ect_v2/diffsynth/models/wan_video_camera_controller.py | 184 | def generate_camera_coordinates( | CODE |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 55 | def load_state_dict_from_folder(file_path, torch_dtype=None): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 72 | def load_state_dict_from_safetensors(file_path, torch_dtype=None, device="cpu"): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 148 | def convert_state_dict_keys_to_single_str(state_dict, with_shape=True): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 164 | def split_state_dict_with_prefix(state_dict): | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 762 | def export_trainable_state_dict(self, state_dict, remove_prefix=None): | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 126 | def load_added_token_content_by_id(tokenizer_json_path: Path) -> dict[int, str]: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 157 | def resolve_processor_token_strings( | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 213 | def group_weight_map_by_shard(weight_map: dict[str, str]) -> dict[str, list[str]]: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 222 | def build_prefixed_codec_keys( | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 247 | def build_remapped_main_weight_map(main_weight_map: dict[str, str]) -> dict[str, str]: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 493 | def collect_tokenizer_asset_filenames(model_dir: Path) -> list[str]: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 536 | def local_processor_source_path() -> Path: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 599 | def patch_tokenizer_config_processor_class( | CODE |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moss_tts_realtime/example_llm_stream_to_tts.py | 1 | CODE | |
| LOW | moss_tts_realtime/infer.py | 4 | CODE | |
| LOW | moss_tts_realtime/example_multiturn_stream_to_tts.py | 1 | CODE | |
| LOW | …realtime/mossttsrealtime/processing_mossttsrealtime.py | 16 | CODE | |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 16 | CODE | |
| LOW | …s_realtime/mossttsrealtime/modeling_mossttsrealtime.py | 16 | CODE | |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 22 | CODE | |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 23 | CODE | |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 24 | CODE | |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 25 | CODE | |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 26 | CODE | |
| LOW | …ltime/mossttsrealtime/configuration_mossttsrealtime.py | 17 | CODE | |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 16 | CODE | |
| LOW | moss_tts_realtime/finetuning/dataset.py | 31 | CODE | |
| LOW | moss_tts_realtime/finetuning/dataset.py | 31 | CODE | |
| LOW | moss_tts_realtime/finetuning/dataset.py | 31 | CODE | |
| LOW | moss_tts_realtime/finetuning/dataset.py | 31 | CODE | |
| LOW | moss_tts_realtime/finetuning/sft.py | 40 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 17 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 17 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 17 | CODE | |
| LOW | moss_tts_delay/tts_robust_normalizer_single_script.py | 38 | CODE | |
| LOW | moss_tts_delay/llama_cpp/_constants.py | 10 | CODE | |
| LOW | moss_tts_delay/llama_cpp/delay_state.py | 14 | CODE | |
| LOW | moss_tts_delay/llama_cpp/delay_state.py | 21 | CODE | |
| LOW | moss_tts_delay/llama_cpp/delay_state.py | 21 | CODE | |
| LOW | moss_tts_delay/llama_cpp/embedding.py | 14 | CODE | |
| LOW | moss_tts_delay/llama_cpp/backbone.py | 9 | CODE | |
| LOW | moss_tts_delay/llama_cpp/gpu_monitor.py | 27 | CODE | |
| LOW | moss_tts_delay/llama_cpp/__init__.py | 25 | CODE | |
| LOW | moss_tts_delay/llama_cpp/__init__.py | 25 | CODE | |
| LOW | moss_tts_delay/llama_cpp/processor.py | 11 | CODE | |
| LOW | moss_tts_delay/llama_cpp/processor.py | 30 | CODE | |
| LOW | moss_tts_delay/llama_cpp/lm_heads.py | 12 | CODE | |
| LOW | moss_tts_delay/llama_cpp/pipeline.py | 25 | CODE | |
| LOW | moss_tts_delay/llama_cpp/sampling.py | 8 | CODE | |
| LOW | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 20 | CODE | |
| LOW | moss_soundeffect_v2/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/hf_export.py | 5 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 3 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 4 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 5 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 6 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 7 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 9 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 16 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 1 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 5 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 5 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 6 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 9 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py | 3 | CODE | |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | moss_tts_realtime/fast_api.py | 588 | except Exception: | CODE |
| HIGH | moss_tts_realtime/fast_api.py | 987 | except Exception: | CODE |
| HIGH | moss_tts_realtime/fast_api.py | 594 | except Exception: | CODE |
| HIGH | moss_tts_realtime/fast_api.py | 713 | except Exception: | CODE |
| HIGH | moss_tts_realtime/fast_api.py | 841 | except Exception: | CODE |
| HIGH | moss_tts_delay/llama_cpp/gpu_monitor.py | 96 | except Exception: | CODE |
| HIGH | moss_tts_delay/llama_cpp/gpu_monitor.py | 107 | except ImportError: | CODE |
| HIGH | moss_tts_delay/llama_cpp/gpu_monitor.py | 116 | except ImportError: | CODE |
| HIGH | moss_tts_delay/llama_cpp/pipeline.py | 87 | except ImportError: | CODE |
| HIGH | clis/moss_tts_local_v1.5_app.py | 375 | except queue.Full: | CODE |
| HIGH | clis/moss_tts_local_v1.5_app.py | 511 | except queue.Full: | CODE |
| HIGH | clis/moss_tts_local_v1.5_app.py | 517 | except queue.Full: | CODE |
| HIGH | moss_tts_local_v1.5/streaming.py | 125 | except Exception: | CODE |
| HIGH | moss_tts_local_v1.5/finetuning/prepare_data.py | 111 | except Exception: | CODE |
| HIGH | moss_tts_local_v1.5/finetuning/sft.py | 293 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moss_tts_realtime/fast_api.py | 552 | CODE | |
| LOW | moss_tts_realtime/fast_api.py | 622 | CODE | |
| LOW | moss_tts_realtime/app.py | 1146 | CODE | |
| LOW | moss_tts_realtime/tts_client.py | 42 | CODE | |
| LOW | …realtime/mossttsrealtime/processing_mossttsrealtime.py | 90 | CODE | |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 652 | CODE | |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 286 | CODE | |
| LOW | moss_tts_realtime/finetuning/sft.py | 562 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 65 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 249 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 688 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts_delay_with_codec.py | 74 | CODE | |
| LOW | moss_tts_delay/finetuning/sft.py | 617 | CODE | |
| LOW | moss_tts_delay/llama_cpp/pipeline.py | 307 | CODE | |
| LOW | moss_tts_delay/llama_cpp/conversion/extract_weights.py | 88 | CODE | |
| LOW | moss_soundeffect_v2/hf_export.py | 61 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 100 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 685 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 93 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/utils/__init__.py | 184 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py | 208 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py | 349 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/dac_vae.py | 111 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 101 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 113 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 135 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/utils.py | 148 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_video_dit.py | 36 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_video_dit.py | 387 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_video_dit.py | 528 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/cache_shards.py | 82 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/cache_shards.py | 124 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 843 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 17 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 325 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 485 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 579 | CODE | |
| LOW | scripts/extract_weights_llama_cpp.py | 78 | CODE | |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 363 | CODE | |
| LOW | clis/moss_tts_app.py | 414 | CODE | |
| LOW | clis/moss_ttsd_app.py | 72 | CODE | |
| LOW | clis/moss_ttsd_app.py | 530 | CODE | |
| LOW | clis/moss_voice_generator_app.py | 210 | CODE | |
| LOW | clis/moss_sound_effect_app.py | 85 | CODE | |
| LOW | clis/moss_tts_local_v1.5_app.py | 380 | CODE | |
| LOW | clis/moss_tts_local_v1.5_app.py | 449 | CODE | |
| LOW | moss_tts_local/processing_moss_tts.py | 64 | CODE | |
| LOW | moss_tts_local/processing_moss_tts.py | 250 | CODE | |
| LOW | moss_tts_local/processing_moss_tts.py | 688 | CODE | |
| LOW | moss_tts_local/finetuning/sft.py | 620 | CODE | |
| LOW | moss_tts_local_v1.5/processing_moss_tts.py | 483 | CODE | |
| LOW | moss_tts_local_v1.5/processing_moss_tts.py | 727 | CODE | |
| LOW | moss_tts_local_v1.5/qwen3_decoder.py | 467 | CODE | |
| LOW | moss_tts_local_v1.5/gpt2_decoder.py | 440 | CODE | |
| LOW | moss_tts_local_v1.5/gpt2_decoder.py | 595 | CODE | |
| LOW | moss_tts_local_v1.5/streaming.py | 105 | CODE | |
| LOW | moss_tts_local_v1.5/streaming.py | 735 | CODE | |
| LOW | moss_tts_local_v1.5/streaming.py | 1083 | CODE | |
| LOW | moss_tts_local_v1.5/streaming.py | 781 | CODE | |
| LOW | moss_tts_local_v1.5/finetuning/common.py | 103 | CODE | |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | moss_tts_realtime/fast_api.py | 221 | except Exception: | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 580 | except Exception as e: | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 588 | except Exception: | CODE |
| LOW⚡ | moss_tts_realtime/fast_api.py | 594 | except Exception: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 32 | except Exception: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 420 | except Exception as e: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 560 | except Exception as e: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 713 | except Exception: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 719 | except Exception: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 841 | except Exception: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 920 | except Exception as e: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 947 | except Exception as e: | CODE |
| LOW | moss_tts_realtime/fast_api.py | 987 | except Exception: | CODE |
| LOW | moss_tts_realtime/app.py | 832 | except Exception as exc: | CODE |
| LOW | moss_tts_realtime/app.py | 1296 | except Exception as exc: | STRING |
| MEDIUM | moss_tts_realtime/app.py | 731 | def _run(self) -> None: | CODE |
| LOW | moss_tts_realtime/tts_client.py | 89 | except Exception as exc: | CODE |
| LOW | moss_tts_realtime/tts_client.py | 195 | except Exception as e: | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 811 | except Exception: | CODE |
| LOW | moss_tts_delay/processing_moss_tts.py | 215 | except Exception: | CODE |
| LOW | moss_tts_delay/processing_moss_tts.py | 311 | except Exception: | CODE |
| LOW | moss_tts_delay/modeling_moss_tts.py | 42 | except Exception: | CODE |
| LOW | moss_tts_delay/llama_cpp/_constants.py | 44 | except Exception as exc: | CODE |
| LOW | moss_tts_delay/llama_cpp/gpu_monitor.py | 57 | except Exception: | CODE |
| LOW | moss_tts_delay/llama_cpp/gpu_monitor.py | 96 | except Exception: | CODE |
| LOW | moss_tts_delay/llama_cpp/pipeline.py | 617 | except Exception: | CODE |
| LOW | moss_tts_delay/llama_cpp/pipeline.py | 761 | except Exception as e: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/cache_shards.py | 23 | except Exception: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/cache_shards.py | 221 | except Exception: | CODE |
| MEDIUM | moss_soundeffect_v2/diffsynth/trainers/cache_shards.py | 18 | def _get_rank_and_world_size() -> Tuple[int, int]: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 505 | except Exception: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 570 | except Exception: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 613 | except Exception: | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 662 | except Exception as e: | CODE |
| LOW | scripts/fuse_moss_tts_delay_with_codec.py | 475 | except Exception as exc: | CODE |
| LOW | scripts/batch_eval_llama_cpp.py | 165 | except Exception as e: | CODE |
| MEDIUM | clis/moss_tts_local_v1.5_app.py | 281 | def _load() -> None: | CODE |
| LOW | clis/moss_tts_local_v1.5_app.py | 284 | except Exception: | CODE |
| LOW | clis/moss_tts_local_v1.5_app.py | 307 | except Exception as exc: | CODE |
| LOW | clis/moss_tts_local_v1.5_app.py | 513 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | moss_tts_local/processing_moss_tts.py | 214 | except Exception: | CODE |
| LOW | moss_tts_local/processing_moss_tts.py | 312 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/processing_moss_tts.py | 247 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/processing_moss_tts.py | 529 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/qwen3_decoder.py | 22 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/gpt2_decoder.py | 19 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/streaming.py | 125 | except Exception: | CODE |
| LOW⚡ | moss_tts_local_v1.5/streaming.py | 645 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW⚡ | moss_tts_local_v1.5/streaming.py | 655 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | moss_tts_local_v1.5/finetuning/prepare_data.py | 111 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/finetuning/sft.py | 36 | except Exception: | CODE |
| LOW | moss_tts_local_v1.5/finetuning/sft.py | 293 | except Exception: | CODE |
| LOW⚡ | community/norwegian-lora/train_lora.py | 106 | except Exception as exc: | CODE |
| LOW⚡ | community/norwegian-lora/train_lora.py | 121 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moss_tts_realtime/inferencer.py | 306 | CODE | |
| LOW | …realtime/mossttsrealtime/processing_mossttsrealtime.py | 34 | CODE | |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 153 | CODE | |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 486 | CODE | |
| LOW | …s_realtime/mossttsrealtime/modeling_mossttsrealtime.py | 111 | CODE | |
| LOW | …ltime/mossttsrealtime/configuration_mossttsrealtime.py | 38 | CODE | |
| LOW | …ltime/mossttsrealtime/configuration_mossttsrealtime.py | 88 | CODE | |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 286 | CODE | |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 395 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 375 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts.py | 491 | CODE | |
| LOW | moss_tts_delay/processing_moss_tts_delay_with_codec.py | 18 | CODE | |
| LOW | moss_tts_delay/modeling_moss_tts.py | 226 | CODE | |
| LOW | moss_tts_delay/modeling_moss_tts.py | 394 | CODE | |
| LOW | moss_tts_delay/configuration_moss_tts.py | 62 | CODE | |
| LOW | moss_soundeffect_v2/pipeline_moss_soundeffect.py | 156 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 685 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 284 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py | 106 | CODE | |
| LOW | …ect_v2/diffsynth/models/wan_video_camera_controller.py | 44 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/dac_vae.py | 805 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/models/wan_video_dit.py | 294 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 843 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 17 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 153 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/trainers/utils.py | 325 | CODE | |
| LOW | moss_soundeffect_v2/diffsynth/schedulers/flow_match.py | 7 | CODE | |
| LOW | clis/moss_tts_local_v1.5_app.py | 380 | CODE | |
| LOW | clis/moss_tts_local_v1.5_app.py | 521 | CODE | |
| LOW | moss_tts_local/processing_moss_tts.py | 381 | CODE | |
| LOW | moss_tts_local/processing_moss_tts.py | 495 | CODE | |
| LOW | moss_tts_local/modeling_moss_tts.py | 187 | CODE | |
| LOW | moss_tts_local/modeling_moss_tts.py | 542 | CODE | |
| LOW | moss_tts_local/modeling_moss_tts.py | 642 | CODE | |
| LOW | moss_tts_local/modeling_moss_tts.py | 708 | CODE | |
| LOW | moss_tts_local/modeling_moss_tts.py | 778 | CODE | |
| LOW | moss_tts_local/configuration_moss_tts.py | 62 | CODE | |
| LOW | moss_tts_local_v1.5/processing_moss_tts.py | 280 | CODE | |
| LOW | moss_tts_local_v1.5/qwen3_decoder.py | 467 | CODE | |
| LOW | moss_tts_local_v1.5/gpt2_decoder.py | 595 | CODE | |
| LOW | moss_tts_local_v1.5/modeling_moss_tts.py | 273 | CODE | |
| LOW | moss_tts_local_v1.5/modeling_moss_tts.py | 463 | CODE | |
| LOW | moss_tts_local_v1.5/streaming.py | 175 | CODE | |
| LOW | moss_tts_local_v1.5/configuration_moss_tts.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …realtime/mossttsrealtime/processing_mossttsrealtime.py | 1 | # Copyright 2026 OpenMOSS and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 1 | # Copyright 2025 The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | …s_realtime/mossttsrealtime/modeling_mossttsrealtime.py | 1 | # Copyright 2026 OpenMOSS and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | moss_tts_realtime/mossttsrealtime/__init__.py | 1 | # Copyright 2026 OpenMOSS and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | …ltime/mossttsrealtime/configuration_mossttsrealtime.py | 1 | # Copyright 2026 OpenMOSS and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 1 | # Copyright 2026 OpenMOSS and the HuggingFace Inc. team. All rights reserved. | COMMENT |
| LOW | moss_tts_realtime/finetuning/prepare_data.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_realtime/finetuning/dataset.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_realtime/finetuning/common.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_realtime/finetuning/sft.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/processing_moss_tts.py | 1 | # coding=utf-8 | COMMENT |
| LOW | moss_tts_delay/modeling_moss_tts.py | 1 | # coding=utf-8 | COMMENT |
| LOW | moss_tts_delay/configuration_moss_tts.py | 1 | # coding=utf-8 | COMMENT |
| LOW | moss_tts_delay/inference_utils.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/finetuning/prepare_data.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/finetuning/dataset.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/finetuning/common.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/finetuning/sft.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_delay/llama_cpp/build_bridge.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 141 | # WanVideoUnit_ImageEmbedderVAE(), | COMMENT |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 281 | COMMENT | |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 301 | # camera_control_speed: Optional[float] = 1/54, | COMMENT |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 321 | switch_DiT_boundary: Optional[float] = 0.875, | COMMENT |
| LOW | moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py | 361 | # "input_video": input_video, "denoising_strength": denoising_strength, | COMMENT |
| LOW | configs/llama_cpp/trt.yaml | 1 | # MOSS-TTS-Delay — llama.cpp Backend (TensorRT audio, maximum performance) | COMMENT |
| LOW | configs/llama_cpp/trt-8gb.yaml | 1 | # MOSS-TTS-Delay — 8 GB GPU config (low-memory mode) | COMMENT |
| LOW | configs/llama_cpp/default.yaml | 1 | # MOSS-TTS-Delay — llama.cpp Backend (ONNX audio, default) | COMMENT |
| LOW | moss_tts_local/processing_moss_tts.py | 1 | # coding=utf-8 | COMMENT |
| LOW | moss_tts_local/configuration_moss_tts.py | 1 | # coding=utf-8 | COMMENT |
| LOW | moss_tts_local/finetuning/prepare_data.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_local/finetuning/dataset.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_local/finetuning/common.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| LOW | moss_tts_local/finetuning/sft.py | 1 | # Copyright 2026 OpenMOSS team. All rights reserved. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …realtime/mossttsrealtime/processing_mossttsrealtime.py | 179 | __all__ = ["MossTTSRealtimeProcessor"] | CODE |
| LOW | …_realtime/mossttsrealtime/streaming_mossttsrealtime.py | 1045 | __all__ = [ | CODE |
| LOW | …s_realtime/mossttsrealtime/modeling_mossttsrealtime.py | 190 | __all__ = ["MossTTSRealtime", "MossTTSRealtimeConfig", "MossTTSRealtimeOutputWithPast", "MossTTSRealtimePretrainedModel" | CODE |
| LOW | …ltime/mossttsrealtime/configuration_mossttsrealtime.py | 115 | __all__ = ["MossTTSRealtimeConfig", "MossTTSRealtimeLocalTransformerConfig"] | CODE |
| LOW | …time/mossttsrealtime/modeling_mossttsrealtime_local.py | 461 | __all__ = [ | CODE |
| LOW | moss_tts_realtime/finetuning/prepare_data.py | 226 | logger = logging.getLogger(__name__) | CODE |
| LOW | moss_tts_delay/processing_moss_tts_delay_with_codec.py | 251 | __all__ = ["MossTTSDelayWithCodecProcessor"] | CODE |
| LOW | moss_tts_delay/llama_cpp/__init__.py | 27 | __all__ = ["LlamaCppPipeline", "PipelineConfig"] | CODE |
| LOW | moss_soundeffect_v2/__init__.py | 6 | __all__ = [ | CODE |
| LOW | moss_soundeffect_v2/diffsynth/trainers/__init__.py | 7 | __all__ = [ | CODE |
| LOW | clis/moss_tts_local_v1.5_app.py | 227 | def _set_status(self, *, state: str, error: str | None = None) -> None: | CODE |
| LOW | moss_tts_local_v1.5/__init__.py | 5 | __all__ = [ | CODE |
| LOW | moss_tts_local_v1.5/modeling_moss_tts.py | 47 | def _set_gradient_checkpointing(self, module: nn.Module, value: bool = False) -> None: | CODE |
| LOW⚡ | moss_tts_local_v1.5/modeling_moss_tts.py | 123 | def set_input_embeddings(self, value: nn.Embedding) -> None: | CODE |
| LOW⚡ | moss_tts_local_v1.5/modeling_moss_tts.py | 131 | def set_output_embeddings(self, new_embeddings: nn.Linear) -> None: | CODE |
| LOW | moss_tts_local_v1.5/finetuning/sft.py | 241 | def set_rank_cuda_device(accelerator: Accelerator) -> None: | CODE |
| LOW⚡ | moss_tts_local_v1.5/finetuning/sft.py | 527 | def set_gradient_checkpointing_flag(module: torch.nn.Module, value: bool) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | moss_tts_delay/processing_moss_tts.py | 0 | <user_inst> - reference(s): {reference} - instruction: {instruction} - tokens: {tokens} - quality: {quality} - sound eve | STRING |
| HIGH | moss_tts_local/processing_moss_tts.py | 0 | <user_inst> - reference(s): {reference} - instruction: {instruction} - tokens: {tokens} - quality: {quality} - sound eve | STRING |
| HIGH | moss_tts_local_v1.5/processing_moss_tts.py | 0 | <user_inst> - reference(s): {reference} - instruction: {instruction} - tokens: {tokens} - quality: {quality} - sound eve | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moss_tts_delay/llama_cpp/README.md | 42 | ### Step 1: Download pre-quantized TTS backbone & weights | COMMENT |
| LOW | moss_tts_delay/llama_cpp/README.md | 57 | ### Step 2: Download ONNX audio tokenizer | COMMENT |
| LOW | moss_tts_delay/llama_cpp/README.md | 66 | ### Step 3: Build the C bridge | COMMENT |
| LOW | moss_tts_delay/llama_cpp/conversion/README.md | 54 | ## Step 1: Extract Weights | COMMENT |
| LOW | moss_tts_delay/llama_cpp/conversion/README.md | 99 | ## Step 2: Convert Backbone to GGUF | COMMENT |
| LOW | moss_tts_delay/llama_cpp/conversion/README.md | 112 | ## Step 3: Quantize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moss_tts_delay/llama_cpp/build_bridge.sh | 4 | # Usage: | COMMENT |