Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMOSS/MOSS-TTS
/ functions
Functions
1,298 in github.com/OpenMOSS/MOSS-TTS
⨍
Functions
1,298
◇
Types & classes
178
↳
Endpoints
16
Method
device
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:89
Method
device
(self)
moss_soundeffect_v2/pipeline_moss_soundeffect.py:80
Method
dtype
(self)
moss_soundeffect_v2/pipeline_moss_soundeffect.py:84
Method
dtype
Get the dtype of the model parameters.
moss_soundeffect_v2/diffsynth/models/dac_vae.py:862
Function
dump
(t, name="t")
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:29
Function
eager_attention_forward
( module: nn.Module, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attentio
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:95
Method
enable_cpu_offload
(self)
moss_soundeffect_v2/diffsynth/utils/__init__.py:124
Method
encode
(self, waveform: np.ndarray)
moss_tts_delay/llama_cpp/pipeline.py:836
Method
extend_prompt
(self, prompt:str, positive=True)
moss_soundeffect_v2/diffsynth/prompters/base_prompter.py:66
Method
failed
(self)
moss_tts_realtime/app.py:158
Method
flush
Emit all remaining token ids at end of stream.
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:898
Method
forward
(self, hidden_states: torch.Tensor)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:46
Method
forward
(self, x)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:68
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: tuple[torch.Tensor, torch.Te
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:137
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:190
Method
forward
(self, x, position_ids)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:258
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, backbone_last_hidden_state: Opti
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:286
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, backbone_last_hidden_state: Opti
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:395
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime.py:111
Method
forward
(self, x: torch.Tensor)
moss_tts_local/modeling_moss_tts.py:40
Method
forward
(self, x: torch.Tensor)
moss_tts_local/modeling_moss_tts.py:87
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: Tuple[torch.Tensor, torch.Te
moss_tts_local/modeling_moss_tts.py:133
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_local/modeling_moss_tts.py:187
Method
forward
( self, input_ids: torch.LongTensor = None, # Shape: (batch_size, channels, sequence_length)
moss_tts_local/modeling_moss_tts.py:542
Method
forward
( self, input_ids: torch.LongTensor = None, # (B, T, 1 + Nq) attention_mask: Optional[
moss_tts_local/modeling_moss_tts.py:778
Method
forward
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
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, attention_mask: Optional[torch.T
moss_tts_local_v1.5/modeling_moss_tts.py:273
Method
forward
( self, position_ids: torch.LongTensor, *, device: torch.device, dtype
moss_tts_local_v1.5/gpt2_decoder.py:54
Method
forward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/gpt2_decoder.py:94
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/gpt2_decoder.py:314
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/gpt2_decoder.py:399
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[tuple[
moss_tts_local_v1.5/gpt2_decoder.py:595
Method
forward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/qwen3_decoder.py:36
Method
forward
( self, hidden_states: torch.Tensor, position_ids: torch.LongTensor, )
moss_tts_local_v1.5/qwen3_decoder.py:65
Method
forward
(self, hidden_states: torch.Tensor)
moss_tts_local_v1.5/qwen3_decoder.py:115
Method
forward
( self, hidden_states: torch.Tensor, position_embeddings: tuple[torch.Tensor, torch.Te
moss_tts_local_v1.5/qwen3_decoder.py:303
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/qwen3_decoder.py:367
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[tuple[
moss_tts_local_v1.5/qwen3_decoder.py:467
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:330
Method
forward
Quantized the input tensor using a fixed codebook and returns the corresponding codebook vectors Parameters ----------
moss_soundeffect_v2/diffsynth/models/dac_vae.py:361
Method
forward
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
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:691
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:716
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:746
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:768
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:800
Method
forward
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
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:71
Method
forward
(self, x, t_mod)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:86
Method
forward
(self, x: torch.Tensor, timestep: torch.Tensor, context: torch
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:208
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:130
Method
forward
(self, q, k, v)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:140
Method
forward
(self, x, freqs)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:161
Method
forward
(self, x: torch.Tensor, y: torch.Tensor)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:192
Method
forward
(self, x, gate, residual)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:214
Method
forward
(self, x, context, t_mod, freqs)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:235
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:268
Method
forward
(self, x, t_mod)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:283
Method
forward
(self, x: torch.Tensor, timestep: torch.Tensor, context: torch
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:387
Method
forward
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
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:24
Method
forward
(self, x)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:70
Method
forward
(self, data, inputs=None)
moss_soundeffect_v2/finetuning/finetuning.py:159
Method
freqs
(self)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:187
Method
freqs
(self)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:366
Method
from_civitai
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:349
Method
from_civitai
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:528
Method
from_diffusers
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:272
Method
from_diffusers
(self, state_dict)
moss_soundeffect_v2/diffsynth/models/wan_video_dit.py:451
Method
from_latents
Given the unquantized latents, reconstruct the continuous representation after quantization. Parameters ---------- la
moss_soundeffect_v2/diffsynth/models/dac_vae.py:549
Method
from_pretrained
(cls, pretrained_model_name_or_path, *args, **kwargs)
moss_tts_local/processing_moss_tts.py:194
Method
from_pretrained
Load a pipeline from a local diffusers-style dir or a HF hub repo id.
moss_soundeffect_v2/pipeline_moss_soundeffect.py:105
Method
generate
( self, input_ids: torch.LongTensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_delay/modeling_moss_tts.py:394
Method
generate
( self, input_ids: torch.LongTensor, attention_mask: Optional[torch.Tensor] = None,
moss_tts_local_v1.5/modeling_moss_tts.py:463
Function
generate_stream_audio
(job_id: str)
clis/moss_tts_local_v1.5_app.py:630
Function
generate_stream_close
(job_id: str)
clis/moss_tts_local_v1.5_app.py:671
Function
generate_stream_result
(job_id: str)
clis/moss_tts_local_v1.5_app.py:657
Function
generate_stream_result_audio
(job_id: str)
clis/moss_tts_local_v1.5_app.py:664
Function
generate_stream_start
( mode: str = Form("voice_clone"), language: str = Form(""), text: str = Form(...),
clis/moss_tts_local_v1.5_app.py:521
Function
generate_stream_status
(job_id: str)
clis/moss_tts_local_v1.5_app.py:653
Method
get_decoder
(self)
moss_tts_local/modeling_moss_tts.py:762
Method
get_input_embeddings
(self)
moss_tts_local/modeling_moss_tts.py:630
Method
get_input_embeddings
(self)
moss_tts_local_v1.5/modeling_moss_tts.py:120
Method
get_input_embeddings
(self)
moss_tts_local_v1.5/qwen3_decoder.py:423
Method
get_output_embeddings
(self)
moss_tts_local/modeling_moss_tts.py:753
Method
get_output_embeddings
(self)
moss_tts_delay/modeling_moss_tts.py:219
Method
get_output_embeddings
(self)
moss_tts_local_v1.5/modeling_moss_tts.py:128
Method
get_vram
(self)
moss_soundeffect_v2/diffsynth/utils/__init__.py:129
Method
has
(self, data_id: int)
moss_soundeffect_v2/diffsynth/trainers/cache_shards.py:253
Function
health
()
clis/moss_tts_local_v1.5_app.py:695
Function
health
()
moss_tts_realtime/fast_api.py:873
Function
index
()
clis/moss_tts_local_v1.5_app.py:423
Function
init_weights
(m)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:674
Function
init_weights_on_device
(device = torch.device("meta"), include_buffers :bool = False)
moss_soundeffect_v2/diffsynth/models/utils.py:7
Method
is_finished
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:93
Method
language_config
(self)
moss_tts_local_v1.5/configuration_moss_tts.py:148
Function
lifespan
(_: FastAPI)
clis/moss_tts_local_v1.5_app.py:415
Function
load_jsonl_spec
(spec: str | Sequence[str])
moss_tts_realtime/finetuning/common.py:68
Function
load_jsonl_spec
(spec: str | Sequence[str])
moss_tts_local/finetuning/common.py:68
Function
load_jsonl_spec
(spec: str | Sequence[str])
moss_tts_delay/finetuning/common.py:68
← previous
next →
1,101–1,200 of 1,298, ranked by callers