MCPcopy Create free account

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

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

Methoddevice
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:89
Methoddevice
(self)
moss_soundeffect_v2/pipeline_moss_soundeffect.py:80
Methoddtype
(self)
moss_soundeffect_v2/pipeline_moss_soundeffect.py:84
Methoddtype
Get the dtype of the model parameters.
moss_soundeffect_v2/diffsynth/models/dac_vae.py:862
Functiondump
(t, name="t")
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:29
Functioneager_attention_forward
( module: nn.Module, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attentio
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:95
Methodenable_cpu_offload
(self)
moss_soundeffect_v2/diffsynth/utils/__init__.py:124
Methodencode
(self, waveform: np.ndarray)
moss_tts_delay/llama_cpp/pipeline.py:836
Methodextend_prompt
(self, prompt:str, positive=True)
moss_soundeffect_v2/diffsynth/prompters/base_prompter.py:66
Methodfailed
(self)
moss_tts_realtime/app.py:158
Methodflush
Emit all remaining token ids at end of stream.
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:898
Methodforward
(self, hidden_states: torch.Tensor)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:46
Methodforward
(self, x)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:68
Methodforward
( self, hidden_states: torch.Tensor, position_embeddings: tuple[torch.Tensor, torch.Te
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:137
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:190
Methodforward
(self, x, position_ids)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:258
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, backbone_last_hidden_state: Opti
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:286
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, backbone_last_hidden_state: Opti
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:395
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime.py:111
Methodforward
(self, x: torch.Tensor)
moss_tts_local/modeling_moss_tts.py:40
Methodforward
(self, x: torch.Tensor)
moss_tts_local/modeling_moss_tts.py:87
Methodforward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
moss_tts_local/modeling_moss_tts.py:133
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_local/modeling_moss_tts.py:187
Methodforward
( self, input_ids: torch.LongTensor = None, # Shape: (batch_size, channels, sequence_length)
moss_tts_local/modeling_moss_tts.py:542
Methodforward
( self, input_ids: torch.LongTensor = None, # (B, T, 1 + Nq) attention_mask: Optional[
moss_tts_local/modeling_moss_tts.py:778
Methodforward
r""" Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length, 1 + n_vq)`): Indices of input seq
moss_tts_delay/modeling_moss_tts.py:226
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_local_v1.5/modeling_moss_tts.py:273
Methodforward
( self, position_ids: torch.LongTensor, *, device: torch.device, dtype
moss_tts_local_v1.5/gpt2_decoder.py:54
Methodforward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/gpt2_decoder.py:94
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/gpt2_decoder.py:314
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/gpt2_decoder.py:399
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[tuple[
moss_tts_local_v1.5/gpt2_decoder.py:595
Methodforward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/qwen3_decoder.py:36
Methodforward
( self, hidden_states: torch.Tensor, position_ids: torch.LongTensor, )
moss_tts_local_v1.5/qwen3_decoder.py:65
Methodforward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/qwen3_decoder.py:115
Methodforward
( self, hidden_states: torch.Tensor, position_embeddings: tuple[torch.Tensor, torch.Te
moss_tts_local_v1.5/qwen3_decoder.py:303
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/qwen3_decoder.py:367
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[tuple[
moss_tts_local_v1.5/qwen3_decoder.py:467
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:330
Methodforward
Quantized the input tensor using a fixed codebook and returns the corresponding codebook vectors Parameters ----------
moss_soundeffect_v2/diffsynth/models/dac_vae.py:361
Methodforward
Quantized the input tensor using a fixed set of `n` codebooks and returns the corresponding codebook vectors Parameters ------
moss_soundeffect_v2/diffsynth/models/dac_vae.py:454
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:691
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:716
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:746
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:768
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:800
Methodforward
Model forward pass Parameters ---------- audio_data : Tensor[B x 1 x T] Audio data to encode sample_rate
moss_soundeffect_v2/diffsynth/models/dac_vae.py:957
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:71
Methodforward
(self, x, t_mod)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:86
Methodforward
(self, x: torch.Tensor, timestep: torch.Tensor, context: torch
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:208
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:130
Methodforward
(self, q, k, v)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:140
Methodforward
(self, x, freqs)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:161
Methodforward
(self, x: torch.Tensor, y: torch.Tensor)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:192
Methodforward
(self, x, gate, residual)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:214
Methodforward
(self, x, context, t_mod, freqs)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:235
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:268
Methodforward
(self, x, t_mod)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:283
Methodforward
(self, x: torch.Tensor, timestep: torch.Tensor, context: torch
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:387
Methodforward
Args: ids: [batch, seq_len] token ids mask: [batch, seq_len] attention mask (1=valid, 0=pad) Returns:
moss_soundeffect_v2/diffsynth/models/qwen3_text_encoder.py:25
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:24
Methodforward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:70
Methodforward
(self, data, inputs=None)
moss_soundeffect_v2/finetuning/finetuning.py:159
Methodfreqs
(self)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:187
Methodfreqs
(self)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:366
Methodfrom_civitai
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:349
Methodfrom_civitai
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:528
Methodfrom_diffusers
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:272
Methodfrom_diffusers
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:451
Methodfrom_latents
Given the unquantized latents, reconstruct the continuous representation after quantization. Parameters ---------- la
moss_soundeffect_v2/diffsynth/models/dac_vae.py:549
Methodfrom_pretrained
(cls, pretrained_model_name_or_path, *args, **kwargs)
moss_tts_local/processing_moss_tts.py:194
Methodfrom_pretrained
Load a pipeline from a local diffusers-style dir or a HF hub repo id.
moss_soundeffect_v2/pipeline_moss_soundeffect.py:105
Methodgenerate
( self, input_ids: torch.LongTensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_delay/modeling_moss_tts.py:394
Methodgenerate
( self, input_ids: torch.LongTensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/modeling_moss_tts.py:463
Functiongenerate_stream_audio
(job_id: str)
clis/moss_tts_local_v1.5_app.py:630
Functiongenerate_stream_close
(job_id: str)
clis/moss_tts_local_v1.5_app.py:671
Functiongenerate_stream_result
(job_id: str)
clis/moss_tts_local_v1.5_app.py:657
Functiongenerate_stream_result_audio
(job_id: str)
clis/moss_tts_local_v1.5_app.py:664
Functiongenerate_stream_start
( mode: str = Form("voice_clone"), language: str = Form(""), text: str = Form(...),
clis/moss_tts_local_v1.5_app.py:521
Functiongenerate_stream_status
(job_id: str)
clis/moss_tts_local_v1.5_app.py:653
Methodget_decoder
(self)
moss_tts_local/modeling_moss_tts.py:762
Methodget_input_embeddings
(self)
moss_tts_local/modeling_moss_tts.py:630
Methodget_input_embeddings
(self)
moss_tts_local_v1.5/modeling_moss_tts.py:120
Methodget_input_embeddings
(self)
moss_tts_local_v1.5/qwen3_decoder.py:423
Methodget_output_embeddings
(self)
moss_tts_local/modeling_moss_tts.py:753
Methodget_output_embeddings
(self)
moss_tts_delay/modeling_moss_tts.py:219
Methodget_output_embeddings
(self)
moss_tts_local_v1.5/modeling_moss_tts.py:128
Methodget_vram
(self)
moss_soundeffect_v2/diffsynth/utils/__init__.py:129
Methodhas
(self, data_id: int)
moss_soundeffect_v2/diffsynth/trainers/cache_shards.py:253
Functionhealth
()
clis/moss_tts_local_v1.5_app.py:695
Functionhealth
()
moss_tts_realtime/fast_api.py:873
Functionindex
()
clis/moss_tts_local_v1.5_app.py:423
Functioninit_weights
(m)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:674
Functioninit_weights_on_device
(device = torch.device("meta"), include_buffers :bool = False)
moss_soundeffect_v2/diffsynth/models/utils.py:7
Methodis_finished
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:93
Methodlanguage_config
(self)
moss_tts_local_v1.5/configuration_moss_tts.py:148
Functionlifespan
(_: FastAPI)
clis/moss_tts_local_v1.5_app.py:415
Functionload_jsonl_spec
(spec: str | Sequence[str])
moss_tts_realtime/finetuning/common.py:68
Functionload_jsonl_spec
(spec: str | Sequence[str])
moss_tts_local/finetuning/common.py:68
Functionload_jsonl_spec
(spec: str | Sequence[str])
moss_tts_delay/finetuning/common.py:68
← previousnext →1,101–1,200 of 1,298, ranked by callers