MCPcopy Create free account

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

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

↓ 1 callersFunctioncopy_support_files
(output_dir: Path)
moss_tts_local/finetuning/sft.py:318
↓ 1 callersFunctioncopy_support_files
(output_dir: Path)
moss_tts_delay/finetuning/sft.py:319
↓ 1 callersFunctioncopy_support_files
(output_dir: Path)
moss_tts_local_v1.5/finetuning/sft.py:735
↓ 1 callersFunctioncopy_tokenizer_assets
( model_dir: Path, output_dir: Path, tokenizer_filenames: Iterable[str] | None = None, )
scripts/fuse_moss_tts_delay_with_codec.py:512
↓ 1 callersMethodcreate
(self)
clis/moss_tts_local_v1.5_app.py:353
↓ 1 callersFunctioncreate_app
( *, model_dir: str, codec_dir: str, output_dir: str | Path = DEFAULT_OUTPUT_DIR, upload_d
clis/moss_tts_local_v1.5_app.py:380
↓ 1 callersMethodcrop_and_resize
(self, image, target_height, target_width)
moss_soundeffect_v2/diffsynth/trainers/utils.py:96
↓ 1 callersFunctioncustom_meshgrid
(*args)
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:109
↓ 1 callersMethoddecode
(self, ids: list[int])
moss_tts_delay/llama_cpp/processor.py:52
↓ 1 callersMethoddecode_audio_codes
( self, audio_tokens_list: Union[torch.Tensor, List[torch.Tensor]] )
moss_tts_local/processing_moss_tts.py:898
↓ 1 callersMethoddecode_audio_codes
( self, audio_tokens_list: Union[torch.Tensor, List[torch.Tensor]] )
moss_tts_delay/processing_moss_tts.py:900
↓ 1 callersMethoddecode_audio_codes
( self, audio_tokens_list: Union[torch.Tensor, list[torch.Tensor]], *, return_
moss_tts_local_v1.5/processing_moss_tts.py:866
↓ 1 callersMethoddecode_batch
Feed multiple embedding vectors (prefill). Automatically chunks into sub-batches of ``n_batch`` tokens.
moss_tts_delay/llama_cpp/backbone.py:172
↓ 1 callersMethoddecode_single
Feed a single embedding vector at the given position.
moss_tts_delay/llama_cpp/backbone.py:163
↓ 1 callersMethoddecompress
Reconstruct audio from a given .dac file Parameters ---------- obj : Union[str, Path, DACFile] .dac file location
moss_soundeffect_v2/diffsynth/models/dac_vae.py:240
↓ 1 callersMethoddelete
(self, session_id: str)
moss_tts_realtime/fast_api.py:538
↓ 1 callersFunctiondetect_text_language
(text: str)
clis/moss_tts_app.py:174
↓ 1 callersFunctiondiscover_cases
(benchmark_dir: Path, tasks: list[str])
scripts/batch_eval_llama_cpp.py:89
↓ 1 callersFunctiondump_jsonl
(records: Iterable[Dict[str, Any]], path: str | Path)
moss_tts_realtime/finetuning/common.py:26
↓ 1 callersFunctiondump_jsonl
(records: Iterable[Dict[str, Any]], path: str | Path)
moss_tts_local/finetuning/common.py:26
↓ 1 callersFunctiondump_jsonl
(records: Iterable[Dict[str, Any]], path: str | Path)
moss_tts_delay/finetuning/common.py:26
↓ 1 callersFunctiondump_jsonl
(records: Iterable[Dict[str, Any]], path: str | Path)
moss_tts_local_v1.5/finetuning/common.py:19
↓ 1 callersMethodembed_code
(self, embed_id)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:399
↓ 1 callersMethodemit
(self, chunk: np.ndarray, message_prefix: str)
moss_tts_realtime/app.py:255
↓ 1 callersFunctionenable_gradient_checkpointing
(model: torch.nn.Module)
community/norwegian-lora/train_lora.py:253
↓ 1 callersMethodencode_audios_from_wav
( self, wav_list: List[torch.Tensor], sampling_rate: int, n_vq: Optional[int]
moss_tts_delay/processing_moss_tts.py:798
↓ 1 callersMethodencode_audios_from_wav
( self, wav_list: Union[torch.Tensor, list[torch.Tensor]], sampling_rate: int,
moss_tts_local_v1.5/processing_moss_tts.py:797
↓ 1 callersFunctionestimate_duration_tokens
(text: str)
clis/moss_tts_app.py:186
↓ 1 callersFunctionestimate_tokens
(text: str, language: str = "")
moss_tts_local_v1.5/streaming.py:159
↓ 1 callersFunctionevaluate
( model: torch.nn.Module, val_loader: DataLoader, accelerator: Accelerator, default_channelwis
community/norwegian-lora/train_lora.py:349
↓ 1 callersMethodextra_repr
(self)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime_local.py:53
↓ 1 callersFunctionextract
(model_dir: Path, output_dir: Path)
moss_tts_delay/llama_cpp/conversion/extract_weights.py:88
↓ 1 callersFunctionextract
(model_dir: Path, output_dir: Path)
scripts/extract_weights_llama_cpp.py:78
↓ 1 callersFunctionfake_llm_text_stream
Simulation LLM stream output text delta. The streaming response of OpenAI/vLLM is replaced in the real scenario.
moss_tts_realtime/example_multiturn_stream_to_tts.py:95
↓ 1 callersFunctionfake_llm_text_stream
Simulate streaming text deltas from an LLM. Each iteration yields `chunk_chars` characters with a delay of `delay_s` seconds. In real-wor
moss_tts_realtime/example_llm_stream_to_tts.py:96
↓ 1 callersMethodfetch_models
(self, text_encoder=None)
moss_soundeffect_v2/diffsynth/prompters/wan_prompter.py:95
↓ 1 callersMethodfetch_tokenizer
(self, tokenizer_path=None)
moss_soundeffect_v2/diffsynth/prompters/wan_prompter.py:91
↓ 1 callersFunctionfind_last_equal_C
tensor: torch.Tensor of shape [batch_size, seq_len] C: scalar value to match Returns: torch.Tensor of shape [batch_size] with last indice
moss_tts_local/inference_utils.py:137
↓ 1 callersMethodfinish
Mark text stream end and emit all remaining audio chunks (including flush).
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:990
↓ 1 callersFunctionfirst_nonfinite_gradient
(model)
moss_tts_local_v1.5/finetuning/sft.py:862
↓ 1 callersFunctionfloat32_to_pcm16_bytes
(x: np.ndarray)
moss_tts_realtime/fast_api.py:428
↓ 1 callersMethodflush
(self, message_prefix: str)
moss_tts_realtime/app.py:273
↓ 1 callersMethodflush
(self)
moss_tts_realtime/fast_api.py:157
↓ 1 callersMethodflush
(self)
moss_tts_realtime/mossttsrealtime/streaming_mossttsrealtime.py:780
↓ 1 callersFunctionflush_decoder
(decoder: AudioStreamDecoder)
moss_tts_realtime/example_multiturn_stream_to_tts.py:88
↓ 1 callersFunctionflush_decoder
与 gradio AudioFrameDecoder.flush 完全一致。
moss_tts_realtime/example_llm_stream_to_tts.py:88
↓ 1 callersFunctionformat_duration
(seconds: float)
moss_tts_realtime/finetuning/sft.py:170
↓ 1 callersFunctionformat_duration
(seconds: float)
moss_tts_local/finetuning/sft.py:182
↓ 1 callersFunctionformat_duration
(seconds: float)
moss_tts_delay/finetuning/sft.py:183
↓ 1 callersFunctionformat_duration
(seconds: float)
moss_tts_local_v1.5/finetuning/common.py:155
↓ 1 callersMethodformat_summary
(self)
moss_tts_delay/llama_cpp/gpu_monitor.py:161
↓ 1 callersMethodfreeze_except
(self, model_names)
moss_soundeffect_v2/diffsynth/utils/__init__.py:133
↓ 1 callersMethodfrom_codes
Given the quantized codes, reconstruct the continuous representation Parameters ---------- codes : Tensor[B x N x T]
moss_soundeffect_v2/diffsynth/models/dac_vae.py:527
↓ 1 callersFunctiongen
()
moss_tts_realtime/fast_api.py:957
↓ 1 callersMethodgenerate
( self, text: Union[str, List[str]], reference_audio_path: Optional[Union[str, List[st
moss_tts_realtime/inferencer.py:306
↓ 1 callersMethodgenerate
Generate speech from text. Returns: waveform: float32 array at 24 kHz When ``low_memory`` is enabled, real-time streamin
moss_tts_delay/llama_cpp/pipeline.py:473
↓ 1 callersFunctiongenerate_camera_coordinates
( direction: Literal["Left", "Right", "Up", "Down", "LeftUp", "LeftDown", "RightUp", "RightDown"], len
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:184
↓ 1 callersMethodgenerate_metadata
(self, folder)
moss_soundeffect_v2/diffsynth/trainers/utils.py:73
↓ 1 callersMethodgenerate_metadata
(self, folder)
moss_soundeffect_v2/diffsynth/trainers/utils.py:211
↓ 1 callersMethodgenerate_metadata
(self, folder)
moss_soundeffect_v2/diffsynth/trainers/utils.py:403
↓ 1 callersMethodget
(self, job_id: str)
clis/moss_tts_local_v1.5_app.py:359
↓ 1 callersMethodget_delay
(self)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:85
↓ 1 callersMethodget_height_width
(self, image)
moss_soundeffect_v2/diffsynth/trainers/utils.py:108
↓ 1 callersMethodget_hidden_state
Get the hidden state for the i-th output token. Returns a copy as float32 array of shape (n_embd,).
moss_tts_delay/llama_cpp/backbone.py:204
↓ 1 callersMethodget_input_embeddings
(self, input_ids)
moss_tts_realtime/mossttsrealtime/modeling_mossttsrealtime.py:101
↓ 1 callersMethodget_input_embeddings
(self)
moss_tts_local/modeling_moss_tts.py:510
↓ 1 callersMethodget_input_embeddings
(self)
moss_tts_delay/modeling_moss_tts.py:196
↓ 1 callersMethodget_logits
Get the text logits for the i-th output token. Returns a copy as float32 array of shape (n_vocab,).
moss_tts_delay/llama_cpp/backbone.py:215
↓ 1 callersMethodget_num_frames
(self, reader)
moss_soundeffect_v2/diffsynth/trainers/utils.py:259
↓ 1 callersMethodget_or_create
(self, session_id: str)
moss_tts_realtime/fast_api.py:516
↓ 1 callersFunctionget_relative_pose
Copied from https://github.com/hehao13/CameraCtrl/blob/main/inference.py
moss_soundeffect_v2/diffsynth/models/wan_video_camera_controller.py:92
↓ 1 callersFunctiongpu_device_used_mb
Device-level GPU memory used (all processes), in MB. This is the reliable metric — works on all driver/container combos.
moss_tts_delay/llama_cpp/gpu_monitor.py:61
↓ 1 callersFunctiongpu_name_and_total
Return (gpu_name, total_mb).
moss_tts_delay/llama_cpp/gpu_monitor.py:73
↓ 1 callersMethodid_to_token
(self, token_id: int)
moss_tts_delay/llama_cpp/processor.py:59
↓ 1 callersFunctioninit_delay_state
Initialize the delay state from the prefill input_ids. Args: input_ids: (S, 33) — the full prompt sequence (already packed).
moss_tts_delay/llama_cpp/delay_state.py:100
↓ 1 callersMethodis_audio
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:426
↓ 1 callersMethodis_image
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:288
↓ 1 callersMethodis_video
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:293
↓ 1 callersFunctioniter_merged_tensors
( main_dir: Path, main_groups: dict[str, list[str]], codec_dir: Path, codec_groups: dict[str,
scripts/fuse_moss_tts_delay_with_codec.py:276
↓ 1 callersFunctioniter_text_deltas
(text: str, chunk_chars: int = 20)
moss_tts_realtime/tts_client.py:35
↓ 1 callersFunctioniterator
()
clis/moss_tts_local_v1.5_app.py:633
↓ 1 callersMethodkl
(self, other=None)
moss_soundeffect_v2/diffsynth/models/dac_vae.py:619
↓ 1 callersFunctionlaunch_data_process_task
(model: DiffusionTrainingModule, dataset, cache_folder, num_shards: int = 16, skip_first_batches: int = 0, num
moss_soundeffect_v2/diffsynth/trainers/utils.py:993
↓ 1 callersFunctionlaunch_training_task
( dataset: torch.utils.data.Dataset, model: DiffusionTrainingModule, model_logger: ModelLogger,
moss_soundeffect_v2/diffsynth/trainers/utils.py:843
↓ 1 callersFunctionlegacy_precompute_freqs_cis_1d
(dim: int, end: int = 16384, theta: float = 10000.0, base_tps=4.0, target_tps=44100/2048)
moss_soundeffect_v2/diffsynth/models/wan_audio_dit.py:32
↓ 1 callersFunctionload_added_token_content_by_id
(tokenizer_json_path: Path)
scripts/fuse_moss_tts_delay_with_codec.py:126
↓ 1 callersMethodload_audio
(self, file_path, start_time=None, end_time=None)
moss_soundeffect_v2/diffsynth/trainers/utils.py:485
↓ 1 callersFunctionload_codec
Load the MOSS-Audio-Tokenizer codec model onto the given device.
moss_tts_realtime/finetuning/prepare_data.py:106
↓ 1 callersMethodload_data
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:298
↓ 1 callersMethodload_image
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:121
↓ 1 callersMethodload_image
(self, file_path)
moss_soundeffect_v2/diffsynth/trainers/utils.py:281
↓ 1 callersFunctionload_jsonl_for_rank
( spec: str, world_size: int, rank: int, )
moss_tts_realtime/finetuning/sft.py:371
↓ 1 callersFunctionload_jsonl_for_rank
( spec: str, world_size: int, rank: int, )
moss_tts_local/finetuning/sft.py:412
↓ 1 callersFunctionload_jsonl_for_rank
( spec: str, world_size: int, rank: int, )
moss_tts_delay/finetuning/sft.py:413
↓ 1 callersFunctionload_jsonl_for_rank
( spec: str, world_size: int, rank: int, )
moss_tts_local_v1.5/finetuning/sft.py:834
↓ 1 callersFunctionload_model_with_attention_fallback
( accelerator: Accelerator, )
community/norwegian-lora/train_lora.py:89
↓ 1 callersFunctionload_processor_with_codec_kwargs
( model_path: str, *, codec_path: str, codec_weight_dtype: str, codec_compute_dtype: str,
moss_tts_local_v1.5/finetuning/sft.py:439
↓ 1 callersFunctionload_processor_with_codec_kwargs
( model_path: str, *, codec_path: str, codec_weight_dtype: str, codec_compute_dtype: str,
moss_tts_local_v1.5/finetuning/prepare_data.py:143
↓ 1 callersFunctionload_source_config
(model_dir: Path)
moss_tts_delay/llama_cpp/conversion/extract_weights.py:68
↓ 1 callersFunctionload_source_config
(model_dir: Path)
scripts/extract_weights_llama_cpp.py:60
← previousnext →601–700 of 1,298, ranked by callers