MCPcopy Create free account

hub / github.com/OpenMOSS/MOSS-TTS / functions

Functions1,298 in github.com/OpenMOSS/MOSS-TTS

Method__init__
(self, cache_dir: str, num_shards: int = 16, meta_filename: str = DEFAULT_META_FILENAME)
moss_soundeffect_v2/diffsynth/trainers/cache_shards.py:73
Method__init__
(self, cache_dir: str, meta_filename: str = DEFAULT_META_FILENAME)
moss_soundeffect_v2/diffsynth/trainers/cache_shards.py:180
Method__init__
(self, channels)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:326
Method__init__
(self, input_dim: int, codebook_size: int, codebook_dim: int)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:352
Method__init__
( self, input_dim: int = 512, n_codebooks: int = 9, codebook_size: int = 1024,
moss_soundeffect_v2/diffsynth/models/dac_vae.py:430
Method__init__
(self, value)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:594
Method__init__
(self, parameters, deterministic=False)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:605
Method__init__
(self, dim: int = 16, dilation: int = 1)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:681
Method__init__
(self, dim: int = 16, stride: int = 1)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:700
Method__init__
( self, d_model: int = 64, strides: list = [2, 4, 8, 8], d_latent: int = 64,
moss_soundeffect_v2/diffsynth/models/dac_vae.py:721
Method__init__
(self, input_dim: int = 16, output_dim: int = 8, stride: int = 1)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:751
Method__init__
( self, input_channel, channels, rates, d_out: int = 1, )
moss_soundeffect_v2/diffsynth/models/dac_vae.py:773
Method__init__
(self, dim: int, out_dim: int, patch_size: Tuple[int, int, int], eps: float)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:78
Method__init__
( self, dim: int, in_dim: int, ffn_dim: int, out_dim: int, tex
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:106
Method__init__
(self)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:269
Method__init__
(self, dim, eps=1e-5)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:122
Method__init__
(self, num_heads)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:136
Method__init__
(self, dim: int, num_heads: int, eps: float = 1e-6)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:146
Method__init__
(self, dim: int, num_heads: int, eps: float = 1e-6, has_image_input: bool = False)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:172
Method__init__
(self,)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:211
Method__init__
(self, has_image_input: bool, dim: int, num_heads: int, ffn_dim: int, eps: float = 1e-6)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:218
Method__init__
(self, dim: int, out_dim: int, patch_size: Tuple[int, int, int], eps: float)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:275
Method__init__
( self, dim: int, in_dim: int, ffn_dim: int, out_dim: int, tex
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:294
Method__init__
(self)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:448
Method__init__
(self, model_path, torch_dtype=torch.bfloat16)
moss_soundeffect_v2/diffsynth/models/qwen3_text_encoder.py:13
Method__init__
(self, in_dim, out_dim, kernel_size, stride, num_residual_blocks=1)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:9
Method__init__
(self, dim)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:64
Method__init__
( self, hf_model_dir: str, trainable_models: str = "dit", use_gradient_checkpo
moss_soundeffect_v2/finetuning/finetuning.py:41
Method__iter__
(self)
moss_tts_realtime/app.py:171
Method__len__
(self)
moss_tts_realtime/finetuning/dataset.py:80
Method__len__
(self)
moss_tts_local/finetuning/dataset.py:71
Method__len__
(self)
moss_tts_delay/finetuning/dataset.py:71
Method__len__
(self)
moss_tts_local_v1.5/finetuning/dataset.py:70
Method__len__
(self)
moss_soundeffect_v2/diffsynth/trainers/utils.py:147
Method__len__
(self)
moss_soundeffect_v2/diffsynth/trainers/utils.py:319
Method__len__
(self)
moss_soundeffect_v2/diffsynth/trainers/utils.py:718
Method__post_init__
(self)
moss_tts_local/processing_moss_tts.py:64
Method__post_init__
(self)
moss_tts_delay/processing_moss_tts.py:65
Method__post_init__
(self)
moss_tts_local_v1.5/processing_moss_tts.py:105
Method_active_chunk_frames
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:768
Function_codec_worker
()
moss_tts_local_v1.5/streaming.py:781
Function_decode_budget_from_lead
(lead_seconds: float, default_budget: int = 0)
moss_tts_local_v1.5/streaming.py:721
Method_decode_local_last_hidden_state
( self, local_inputs_embeds: torch.FloatTensor, )
moss_tts_local_v1.5/modeling_moss_tts.py:318
Method_format
(p: str)
moss_soundeffect_v2/pipeline_moss_soundeffect.py:198
Method_freeze_unused_qwen_embeddings_post_load
(self, module, incompatible_keys)
moss_tts_local/modeling_moss_tts.py:636
Method_generate_local_transformer_impl
( self, hidden_states: torch.Tensor, temperature: float, top_p: float,
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:356
Method_id_to_token
(token_id: int)
moss_tts_local/processing_moss_tts.py:175
Method_id_to_token
(token_id: int)
moss_tts_delay/processing_moss_tts.py:176
Method_id_to_token
(token_id: int)
moss_tts_local_v1.5/processing_moss_tts.py:200
Method_init_weights
(self, module)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime.py:52
Method_init_weights
Transformers 5.0+ safe init: - MUST use transformers.initialization helpers - MUST respect param._is_hf_initialized to avoid
moss_tts_delay/modeling_moss_tts.py:102
Function_lifespan
(application: FastAPI)
moss_tts_realtime/fast_api.py:408
Method_load
()
clis/moss_tts_local_v1.5_app.py:281
Function_mixed_qe
(match: re.Match[str])
moss_tts_delay/tts_robust_normalizer_single_script.py:234
Function_on_generate
( user_text_value, assistant_text_value, prompt_audio_value, u
moss_tts_realtime/app.py:1208
Function_patched_forward
( self, *args, output_hidden_states=None, return_dict=None, **kwargs )
community/norwegian-lora/train_lora.py:183
Function_poll_warmup_state
()
moss_tts_realtime/app.py:1200
Method_reset_audio_queue_for_new_turn
(self, sess: SessionRuntime)
moss_tts_realtime/fast_api.py:597
Function_resolve_wan_audio_dit_preset
(dit_variant: str)
moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py:37
Method_run
(self)
moss_tts_realtime/app.py:731
Function_run_job
(job: StreamingJob, request: StreamingRequest, mode_name: str, streaming_generation: bool)
clis/moss_tts_local_v1.5_app.py:449
Method_sample
( self, input_ids: torch.LongTensor, # (B, T, 1+Nq) logits_processor: LogitsProcessorL
moss_tts_local/modeling_moss_tts.py:316
Method_session_worker
(self, sess: SessionRuntime)
moss_tts_realtime/fast_api.py:552
Method_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
moss_tts_local_v1.5/modeling_moss_tts.py:47
Methodadd_lora_to_model
(self, model, target_modules, lora_rank, lora_alpha=None)
moss_soundeffect_v2/diffsynth/trainers/utils.py:745
Methodapply_de_delay_pattern
(delay_codes: torch.Tensor)
moss_tts_local/processing_moss_tts.py:552
Methodapply_delay_pattern
(codes: torch.Tensor, pad_code: int)
moss_tts_local/processing_moss_tts.py:540
Functionapply_example_selection
( mode_with_reference: str, duration_control_enabled: bool, duration_tokens: int, evt: gr.Sele
clis/moss_tts_app.py:305
Functionapply_example_selection
(evt: gr.SelectData)
clis/moss_voice_generator_app.py:60
Functionapply_preset_selection
(evt: gr.SelectData)
clis/moss_ttsd_app.py:260
Functionapply_top_k
Keep only the top-k highest logits; set the rest to -inf.
moss_tts_delay/llama_cpp/sampling.py:13
Functionapply_top_p
(logits, top_p)
moss_tts_local/inference_utils.py:18
Functionapply_top_p
(logits, top_p)
moss_tts_delay/inference_utils.py:29
Methodas_dict
(self)
moss_tts_delay/llama_cpp/gpu_monitor.py:184
Functionattach_reference_audio_codes
( records: List[Dict[str, Any]], path_to_codes: Dict[str, List[List[int]]], )
moss_tts_realtime/finetuning/prepare_data.py:203
Methodaudio_all
Compute logits for all 32 audio heads.
moss_tts_delay/llama_cpp/lm_heads.py:182
Functionaudio_reader
( session_id: str, out_pcm_path: str, out_wav_path: str, state: AudioReaderState, )
moss_tts_realtime/tts_client.py:42
Methodbuild_audio_block
(length: int)
moss_tts_local/processing_moss_tts.py:477
Methodbuild_audio_block
(length: int)
moss_tts_delay/processing_moss_tts.py:473
Functionbuild_rename_dict
(source_state_dict, target_state_dict, split_qkv=False)
moss_soundeffect_v2/diffsynth/models/utils.py:113
Methodcan_generate
(self)
moss_tts_local/modeling_moss_tts.py:639
Methodcan_generate
(self)
moss_tts_local_v1.5/modeling_moss_tts.py:100
Functioncheck_fn
(submodule: torch.nn.Module)
moss_tts_local_v1.5/finetuning/sft.py:552
Methodcheck_resize_height_width
(self, height, width, num_frames=None)
moss_soundeffect_v2/diffsynth/utils/__init__.py:42
Methodclose
(self)
moss_tts_delay/llama_cpp/pipeline.py:143
Functioncollate_first_valid
(batch)
moss_soundeffect_v2/diffsynth/trainers/utils.py:995
Methodcollate_fn
(self, batch)
moss_tts_realtime/finetuning/dataset.py:214
Methodcollate_fn
(self, batch: List[Dict[str, torch.Tensor]])
moss_tts_local/finetuning/dataset.py:162
Methodcollate_fn
(self, batch: List[Dict[str, torch.Tensor]])
moss_tts_delay/finetuning/dataset.py:162
Methodcollate_fn
(self, batch: List[Dict[str, torch.Tensor]])
moss_tts_local_v1.5/finetuning/dataset.py:195
Functioncollate_skip_none
(batch)
moss_soundeffect_v2/diffsynth/trainers/utils.py:860
Functioncollect_reference_paths
(records: List[Dict[str, Any]])
moss_tts_realtime/finetuning/prepare_data.py:196
Methodcreate_custom_forward
(module)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:236
Methodcreate_custom_forward
(module)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:415
Functioncustom_forward
(*inputs)
moss_soundeffect_v2/diffsynth/pipelines/wan_audio.py:822
Methodcustom_forward
(*inputs)
moss_tts_local_v1.5/gpt2_decoder.py:674
Methodcustom_forward
(*inputs)
moss_tts_local_v1.5/qwen3_decoder.py:537
Methodcustom_forward
(*inputs)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:237
Methodcustom_forward
(*inputs)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:416
Methoddecode
(self, audio_codes: np.ndarray)
moss_tts_delay/llama_cpp/pipeline.py:848
← previousnext →1,001–1,100 of 1,298, ranked by callers