MCPcopy Create free account

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

Functions370 in github.com/OpenMOSS/MOSS-TTS-Nano

↓ 1 callersFunctioncompute_supervised_loss
( model, *, input_ids: torch.LongTensor, attention_mask: torch.BoolTensor, labels: torch.L
finetuning/sft.py:212
↓ 1 callersFunctionconfigure_torch_backends
()
finetuning/sft.py:124
↓ 1 callersFunctioncopy_tokenizer_model
(checkpoint_path: Path, output_dir: Path)
onnx/export_hf_to_tts_onnx.py:180
↓ 1 callersMethodcreate
(self)
app.py:421
↓ 1 callersMethoddecode_full_audio_safe
(self, generated_frames: list[list[int]])
onnx_tts_runtime.py:500
↓ 1 callersMethoddelete
(self, stream_id: str)
app.py:446
↓ 1 callersFunctiondump_jsonl
(records: Iterable[Dict[str, Any]], path: str | Path)
finetuning/common.py:19
↓ 1 callersMethodencode_reference_audio
(self, reference_audio_path: str | Path)
onnx_tts_runtime.py:463
↓ 1 callersFunctionensure_browser_onnx_model_dir
(model_dir: str | Path | None = None)
onnx_tts_runtime.py:154
↓ 1 callersFunctionensure_dir
(path: Path)
onnx/export_moss_tts_browser_onnx.py:27
↓ 1 callersFunctionensure_dir
(path: Path)
onnx/export_hf_to_tts_onnx.py:44
↓ 1 callersFunctionexport_tts_onnx
(args: argparse.Namespace, output_dir: Path)
onnx/export_hf_to_tts_onnx.py:187
↓ 1 callersFunctionexternalize_onnx_dir
(model_dir: Path)
onnx/export_hf_to_tts_onnx.py:72
↓ 1 callersFunctionexternalize_onnx_file
(onnx_path: Path)
onnx/export_hf_to_tts_onnx.py:49
↓ 1 callersFunctionformat_duration
(seconds: float)
finetuning/common.py:150
↓ 1 callersMethodget_model
(self)
moss_tts_nano_runtime.py:382
↓ 1 callersMethodget_model
(self)
app_onnx.py:77
↓ 1 callersMethodis_cpu_runtime_loaded
(self)
app.py:267
↓ 1 callersMethoditer_with_runtime
( self, *, requested_execution_device: str | None, cpu_threads: int | None,
app.py:328
↓ 1 callersMethodlist_text_samples
(self)
ort_cpu_runtime.py:422
↓ 1 callersFunctionload_audio_for_codec
(path: str, codec)
finetuning/prepare_data.py:96
↓ 1 callersFunctionload_codec
(codec_path: str, device: str)
finetuning/prepare_data.py:52
↓ 1 callersFunctionload_jsonl_spec
(spec: str | Sequence[str])
finetuning/common.py:61
↓ 1 callersFunctionload_model
(checkpoint: str, device: torch.device, dtype: torch.dtype)
infer.py:217
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
infer.py:300
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
app_onnx.py:612
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
app.py:2839
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
infer_onnx.py:151
↓ 1 callersFunctionmain
()
finetuning/sft.py:361
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
finetuning/verify.py:83
↓ 1 callersFunctionmain
()
finetuning/prepare_data.py:171
↓ 1 callersFunctionmain
(argv: Optional[Sequence[str]] = None)
moss_tts_nano/cli.py:403
↓ 1 callersFunctionmain
()
onnx/export_moss_tts_browser_onnx.py:1100
↓ 1 callersFunctionmain
()
onnx/export_hf_to_tts_onnx.py:224
↓ 1 callersFunctionmaybe_print_voice_clone_text_chunks
( *, model, args: argparse.Namespace, text: str, )
infer.py:268
↓ 1 callersFunctionmaybe_print_voice_clone_text_chunks
(runtime: OnnxTtsRuntime, text: str, max_tokens: int)
infer_onnx.py:139
↓ 1 callersMethodnormalize
(self, *, text: str, prompt_text: str, language: str)
text_normalization_pipeline.py:116
↓ 1 callersFunctionnormalize_audio_code_list
( value: Any, field_name: str, *, allow_none: bool = False, )
finetuning/dataset.py:39
↓ 1 callersFunctionparse_args
(argv: Optional[Sequence[str]] = None)
infer.py:38
↓ 1 callersFunctionparse_args
(argv: Optional[Sequence[str]] = None)
app_onnx.py:583
↓ 1 callersFunctionparse_args
(argv: Optional[Sequence[str]] = None)
infer_onnx.py:22
↓ 1 callersFunctionparse_args
()
finetuning/sft.py:52
↓ 1 callersFunctionparse_args
(argv: Optional[Sequence[str]] = None)
finetuning/verify.py:18
↓ 1 callersFunctionparse_args
()
finetuning/prepare_data.py:31
↓ 1 callersFunctionparse_args
()
onnx/export_moss_tts_browser_onnx.py:36
↓ 1 callersFunctionparse_args
()
onnx/export_hf_to_tts_onnx.py:17
↓ 1 callersFunctionparse_channelwise_loss_weight
(spec: str, n_heads: int)
finetuning/sft.py:178
↓ 1 callersFunctionpatch_tts_external_data_files
(tts_meta_path: Path)
onnx/export_hf_to_tts_onnx.py:147
↓ 1 callersFunctionresolve_accelerate_mixed_precision
(mixed_precision: str)
finetuning/sft.py:147
↓ 1 callersFunctionresolve_asset
(model_path: str, filename: str)
finetuning/sft.py:300
↓ 1 callersFunctionresolve_attn_implementation
(requested: str, dtype: torch.dtype)
finetuning/sft.py:153
↓ 1 callersFunctionresolve_codec_channels
(codec)
finetuning/prepare_data.py:75
↓ 1 callersFunctionresolve_codec_device
(codec)
finetuning/prepare_data.py:84
↓ 1 callersFunctionresolve_codec_sample_rate
(codec)
finetuning/prepare_data.py:66
↓ 1 callersFunctionresolve_device
(device_arg: str)
infer.py:197
↓ 1 callersFunctionresolve_device
(device_arg: str)
moss_tts_nano_runtime.py:68
↓ 1 callersFunctionresolve_device
(device_arg: str)
finetuning/verify.py:63
↓ 1 callersFunctionresolve_dtype
(dtype_arg: str, device: torch.device)
infer.py:203
↓ 1 callersFunctionresolve_dtype
(dtype_arg: str, device: torch.device)
moss_tts_nano_runtime.py:74
↓ 1 callersFunctionresolve_dtype
(dtype_arg: str, device: torch.device)
finetuning/verify.py:69
↓ 1 callersFunctionresolve_jsonl_paths
(spec: str | Sequence[str])
finetuning/common.py:27
↓ 1 callersFunctionresolve_prompt_text
(args: argparse.Namespace)
infer.py:189
↓ 1 callersFunctionresolve_prompt_text
(args: argparse.Namespace)
finetuning/verify.py:55
↓ 1 callersFunctionresolve_record_audio_paths
(record: Dict[str, Any], *, base_dir: Path)
finetuning/common.py:129
↓ 1 callersFunctionresolve_sampling_kwargs
(args: argparse.Namespace)
infer.py:228
↓ 1 callersFunctionresolve_shard_spec
( num_shards: Optional[int], shard_rank: Optional[int], *, default_num_shards: Optional[int] =
finetuning/common.py:69
↓ 1 callersFunctionresolve_text
(args: argparse.Namespace)
infer.py:183
↓ 1 callersFunctionresolve_text
(args: argparse.Namespace)
infer_onnx.py:133
↓ 1 callersFunctionresolve_text
(args: argparse.Namespace)
finetuning/verify.py:49
↓ 1 callersFunctionresolve_text_normalization_language
(*, text: str, voice: str)
text_normalization_pipeline.py:131
↓ 1 callersFunctionresolve_torch_dtype
(mixed_precision: str)
finetuning/sft.py:137
↓ 1 callersFunctionresolve_warmup_steps
(args: argparse.Namespace, num_training_steps: int)
finetuning/sft.py:170
↓ 1 callersFunctionrotate_half
(hidden_states: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:68
↓ 1 callersFunctionrun_python_script
(script_name: str, *extra_args: str)
onnx/export_hf_to_tts_onnx.py:38
↓ 1 callersFunctionrun_tests
(verbose: bool = True)
tts_robust_normalizer_single_script.py:378
↓ 1 callersFunctionsample_from_topk_topp_with_random_u
( logits: torch.Tensor, random_u_f32: torch.Tensor, *, temperature: float, top_k: int,
onnx/export_moss_tts_browser_onnx.py:712
↓ 1 callersFunctionselect_rank_shard
(records: Sequence[Dict[str, Any]], num_shards: int, shard_rank: int)
finetuning/common.py:91
↓ 1 callersFunctionset_logging
()
infer.py:23
↓ 1 callersFunctionset_logging
()
infer_onnx.py:15
↓ 1 callersFunctionshard_output_path
(path: str | Path, shard_rank: int, num_shards: int)
finetuning/common.py:95
↓ 1 callersMethodsnapshot
(self)
text_normalization_pipeline.py:41
↓ 1 callersMethodsnapshot
(self)
app.py:176
↓ 1 callersMethodsplit_text_by_token_budget
(self, text: str, max_tokens: int)
onnx_tts_runtime.py:345
↓ 1 callersMethodsplit_voice_clone_text
(self, *, text: str, voice_clone_max_text_tokens: int)
app_onnx.py:100
↓ 1 callersMethodsynthesize
( self, *, text: str, voice: Optional[str] = None, mode: str = "voice_
moss_tts_nano_runtime.py:473
↓ 1 callersMethodsynthesize
( self, *, text: str, mode: str, voice: str | None, prompt_aud
app_onnx.py:168
↓ 1 callersMethodsynthesize_single_chunk
( self, *, text: str, prompt_audio_codes: list[list[int]], streaming:
onnx_tts_runtime.py:527
↓ 1 callersMethodsynthesize_stream
( self, *, text: str, mode: str, voice: str | None, prompt_aud
app_onnx.py:231
↓ 1 callersFunctionvalidate_args
(args: argparse.Namespace)
finetuning/sft.py:95
↓ 1 callersFunctionwaiting_for_debug
(ip: str, port: int)
infer.py:30
↓ 1 callersMethodwarmup
(self)
ort_cpu_runtime.py:425
↓ 1 callersFunctionwrite_json
(path: Path, payload: dict[str, object])
onnx/export_moss_tts_browser_onnx.py:32
Method__getitem__
(self, index: int)
finetuning/dataset.py:86
Method__init__
(self)
text_normalization_pipeline.py:30
Method__init__
( self, model_dir: str | Path, thread_count: int = 4, max_new_frames: int | No
ort_cpu_runtime.py:313
Method__init__
( self, *, checkpoint_path: str | Path = DEFAULT_CHECKPOINT_PATH, audio_tokeni
moss_tts_nano_runtime.py:131
Method__init__
(self, execution_provider: str)
app_onnx.py:35
Method__init__
( self, *, model_dir: str | Path | None, output_dir: str | Path | None = None,
app_onnx.py:43
Method__init__
(self, default_runtime: OnnxNanoTTSServiceAdapter)
app_onnx.py:403
Method__init__
(self, runtime: NanoTTSService, text_normalizer_manager: "WeTextProcessingManager | None" = None)
app.py:157
← previousnext →201–300 of 370, ranked by callers