MCPcopy Create free account

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

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

↓ 2 callersFunction_snapshot_download_repo
( *, repo_id: str, local_dir: Path, allow_patterns: Sequence[str], )
onnx_tts_runtime.py:107
↓ 2 callersFunction_softmax
(values: np.ndarray)
ort_cpu_runtime.py:130
↓ 2 callersFunction_split_text_by_punctuation
(text: str, punctuation: set[str])
onnx_tts_runtime.py:208
↓ 2 callersFunction_stream_metrics_text
(snapshot: dict[str, object])
app.py:2247
↓ 2 callersFunction_tensor_blob
(tensor: TensorProto)
onnx/export_hf_to_tts_onnx.py:87
↓ 2 callersFunction_write_waveform_to_wav
(path: str | Path, waveform: np.ndarray, sample_rate: int)
onnx_tts_runtime.py:266
↓ 2 callersMethodbuild_text_rows
(self, token_ids: list[int])
ort_cpu_runtime.py:471
↓ 2 callersMethodcall_with_runtime
( self, *, requested_execution_device: str | None, cpu_threads: int | None,
app.py:305
↓ 2 callersMethodclose
(self, stream_id: str)
app.py:432
↓ 2 callersMethodcreate_empty_local_cached_past
(self)
ort_cpu_runtime.py:534
↓ 2 callersMethoddecode_full_audio
(self, generated_frames: list[list[int]])
ort_cpu_runtime.py:643
↓ 2 callersFunctionencode_audio_paths
( codec, paths: Iterable[str], *, batch_size: int, n_vq: Optional[int], )
finetuning/prepare_data.py:116
↓ 2 callersMethodensure_ready
(self)
text_normalization_pipeline.py:65
↓ 2 callersMethodestimate_voice_clone_inter_chunk_pause_seconds
(self, text_chunk: str)
onnx_tts_runtime.py:437
↓ 2 callersFunctionload_jsonl
(path: str | Path)
finetuning/common.py:14
↓ 2 callersFunctionmerge_shared_external_data
(onnx_paths: list[Path], shared_data_path: Path)
onnx/export_hf_to_tts_onnx.py:97
↓ 2 callersMethodnormalize_requested_execution_device
(requested: str | None)
app.py:257
↓ 2 callersMethodprepare_synthesis_text
( self, *, text: str, voice: str = "", prompt_text: str = "",
onnx_tts_runtime.py:326
↓ 2 callersFunctionprepare_tts_request_texts
( *, text: str, prompt_text: str = "", voice: str = "", enable_wetext: bool, enable_no
text_normalization_pipeline.py:193
↓ 2 callersMethodresolve_prompt_audio_codes
( self, *, voice: str | None, prompt_audio_path: str | Path | None, )
onnx_tts_runtime.py:486
↓ 2 callersMethodresolve_runtime
(self, requested: str | None)
app.py:285
↓ 2 callersMethodrun_local_fixed_sampled_frame
( self, global_hidden: np.ndarray, *, previous_token_sets_by_channel: list[set
ort_cpu_runtime.py:603
↓ 2 callersMethodrun_local_greedy_frame
( self, global_hidden: np.ndarray, *, previous_token_sets_by_channel: list[set
ort_cpu_runtime.py:575
↓ 2 callersFunctionsave_checkpoint
( *, accelerator: Accelerator, model, tokenizer, model_path: str, codec_path: str,
finetuning/sft.py:320
↓ 2 callersMethodstart
(self)
text_normalization_pipeline.py:57
↓ 2 callersMethodsynthesize
( self, *, text: str, voice: str | None = None, prompt_audio_path: str
onnx_tts_runtime.py:596
↓ 2 callersFunctionunwrap_training_model
(model)
finetuning/sft.py:205
↓ 1 callersFunction_apply_repetition_penalty
(values: np.ndarray, previous_token_ids: list[int], repetition_penalty: float)
ort_cpu_runtime.py:105
↓ 1 callersMethod_argmax_token
(logits: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:771
↓ 1 callersMethod_argmax_token
(logits: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:867
↓ 1 callersFunction_argmax_with_repetition_penalty
(values: np.ndarray, previous_token_set: set[int], repetition_penalty: float)
ort_cpu_runtime.py:116
↓ 1 callersFunction_audio_to_pcm16le_bytes
(audio_array)
app.py:564
↓ 1 callersFunction_audio_to_wav_bytes
(audio_array, sample_rate: int)
app.py:541
↓ 1 callersFunction_base_cleanup
(text: str)
tts_robust_normalizer_single_script.py:120
↓ 1 callersFunction_build_app
( runtime: NanoTTSService, warmup_manager: WarmupManager, text_normalizer_manager: WeTextProcessin
app.py:2173
↓ 1 callersMethod_build_cpu_runtime_locked
(self)
app.py:271
↓ 1 callersMethod_build_example
(self, record: Dict[str, Any], *, index: int)
finetuning/dataset.py:89
↓ 1 callersFunction_build_parser
()
moss_tts_nano/cli.py:13
↓ 1 callersMethod_build_position_ids
(attention_mask: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:103
↓ 1 callersMethod_build_prompt_rows
( self, *, record: Dict[str, Any], reference_codes: Optional[List[Optional[tor
finetuning/dataset.py:189
↓ 1 callersMethod_build_runtime_locked
(self, cpu_threads: int)
app_onnx.py:434
↓ 1 callersMethod_build_suffix_text
(self, record: Dict[str, Any])
finetuning/dataset.py:223
↓ 1 callersFunction_compute_stream_lead_seconds
(emitted_samples_total: int, sample_rate: int, first_audio_emitted_at_seconds: float | None)
ort_cpu_runtime.py:237
↓ 1 callersMethod_create_empty_local_past
( self, batch_size: int, device: torch.device, )
onnx/export_moss_tts_browser_onnx.py:756
↓ 1 callersMethod_create_empty_local_past
( self, batch_size: int, device: torch.device, )
onnx/export_moss_tts_browser_onnx.py:853
↓ 1 callersMethod_create_empty_local_past
( self, batch_size: int, device: torch.device, )
onnx/export_moss_tts_browser_onnx.py:955
↓ 1 callersMethod_create_sessions
(self)
ort_cpu_runtime.py:392
↓ 1 callersFunction_default_model_dir_requested
(model_dir: str | Path | None)
onnx_tts_runtime.py:58
↓ 1 callersFunction_download_default_browser_onnx_assets
(model_dir: Path)
onnx_tts_runtime.py:128
↓ 1 callersMethod_ensure_paths
(self)
moss_tts_nano_runtime.py:302
↓ 1 callersFunction_ensure_terminal_punctuation_by_line
(text: str)
tts_robust_normalizer_single_script.py:293
↓ 1 callersMethod_ensure_text_normalizer
(self, enable_wetext: bool)
onnx_tts_runtime.py:310
↓ 1 callersFunction_find_directory_with_required_names
(root_dir: Path, required_names: Sequence[str])
onnx_tts_runtime.py:76
↓ 1 callersFunction_format_uploaded_prompt_display_name
(filename: str | None)
app.py:619
↓ 1 callersMethod_install_stream_decode_budget_patch
(self, model)
moss_tts_nano_runtime.py:226
↓ 1 callersFunction_iter_audio
()
app.py:2637
↓ 1 callersFunction_join_sentence_parts
(left: str, right: str)
onnx_tts_runtime.py:236
↓ 1 callersFunction_load_demo_entries
()
app.py:53
↓ 1 callersMethod_load_reference_audio
(self, reference_audio_path: str | Path)
onnx_tts_runtime.py:445
↓ 1 callersFunction_metadata_model_source
(raw_value: str | Path)
onnx/export_moss_tts_browser_onnx.py:51
↓ 1 callersFunction_normalize_markdown_and_lines
(text: str)
tts_robust_normalizer_single_script.py:132
↓ 1 callersFunction_normalize_repeated_punctuation
(text: str)
tts_robust_normalizer_single_script.py:255
↓ 1 callersFunction_normalize_stream_chunk_index
( raw_chunk_index: object, *, chunk_count: int, current_base: int | None, )
app.py:506
↓ 1 callersFunction_normalize_structural_punctuation
(text: str)
tts_robust_normalizer_single_script.py:232
↓ 1 callersFunction_normalize_visible_underscores
(text: str)
tts_robust_normalizer_single_script.py:187
↓ 1 callersFunction_persist_uploaded_prompt_audio
(upload: UploadFile | None)
app.py:623
↓ 1 callersFunction_prepare_text_for_sentence_chunking
(text: str)
onnx_tts_runtime.py:188
↓ 1 callersFunction_promote_directory_contents
(source_dir: Path, target_dir: Path)
onnx_tts_runtime.py:89
↓ 1 callersFunction_protect_spans
(text: str)
tts_robust_normalizer_single_script.py:159
↓ 1 callersFunction_put_stream_audio
(job: StreamingJob, pcm_bytes: bytes)
app.py:2273
↓ 1 callersFunction_read_audio_file_base64
(path_value: str | None)
app.py:578
↓ 1 callersFunction_render_index_html
( *, request: Request, runtime: NanoTTSService, demo_entries: list[DemoEntry], warmup_stat
app.py:660
↓ 1 callersMethod_resolve_codec_attention_implementation
(tts_attn_implementation: str)
moss_tts_nano_runtime.py:213
↓ 1 callersMethod_resolve_codec_compute_dtype
(self, codec_attn_implementation: str)
moss_tts_nano_runtime.py:216
↓ 1 callersMethod_resolve_cpu_threads
(self, cpu_threads: int | None)
app_onnx.py:423
↓ 1 callersMethod_resolve_manifest_path
(model_dir: Path)
ort_cpu_runtime.py:353
↓ 1 callersFunction_resolve_ort_providers
(execution_provider: str)
ort_cpu_runtime.py:43
↓ 1 callersMethod_resolve_playback_chunk_index_locked
(self)
app.py:379
↓ 1 callersMethod_resolve_reference_codes
( self, record: Dict[str, Any], *, index: int, )
finetuning/dataset.py:166
↓ 1 callersMethod_resolve_runtime_default_attn_implementation
(self)
moss_tts_nano_runtime.py:167
↓ 1 callersFunction_resolve_vscode_root_path
(vscode_proxy_uri: Optional[str], server_port: int)
app.py:108
↓ 1 callersFunction_restore_spans
(text: str, protected: list[str])
tts_robust_normalizer_single_script.py:181
↓ 1 callersMethod_run_attention
( self, attn: nn.Module, hidden_states: torch.Tensor, *, full_attentio
onnx/export_moss_tts_browser_onnx.py:107
↓ 1 callersMethod_run_attention
( self, attn: nn.Module, hidden_states: torch.Tensor, *, full_attentio
onnx/export_moss_tts_browser_onnx.py:341
↓ 1 callersMethod_run_decode_attention
( self, attn: nn.Module, hidden_states: torch.Tensor, *, past_valid_le
onnx/export_moss_tts_browser_onnx.py:170
↓ 1 callersMethod_run_decode_attention
( self, attn: nn.Module, hidden_states: torch.Tensor, *, past_valid_le
onnx/export_moss_tts_browser_onnx.py:393
↓ 1 callersFunction_run_generate_onnx
(args: argparse.Namespace)
moss_tts_nano/cli.py:271
↓ 1 callersFunction_run_generate_pytorch
(args: argparse.Namespace)
moss_tts_nano/cli.py:218
↓ 1 callersFunction_run_serve_onnx
(args: argparse.Namespace)
moss_tts_nano/cli.py:371
↓ 1 callersFunction_run_serve_pytorch
(args: argparse.Namespace)
moss_tts_nano/cli.py:344
↓ 1 callersMethod_select_audio_embedding
( self, audio_token_ids: torch.Tensor, channel_indices: torch.Tensor, )
onnx/export_moss_tts_browser_onnx.py:639
↓ 1 callersFunction_slice_channel_major_audio
(audio: np.ndarray, start_sample: int = 0, end_sample: int | None = None)
ort_cpu_runtime.py:87
↓ 1 callersFunction_validate_onnx_generate_args
(args: argparse.Namespace)
moss_tts_nano/cli.py:207
↓ 1 callersFunction_validate_onnx_serve_args
(args: argparse.Namespace)
moss_tts_nano/cli.py:335
↓ 1 callersFunctionattach_reference_audio_codes
( records: List[Dict[str, Any]], *, encoded_reference_paths: Dict[str, List[List[int]]], )
finetuning/prepare_data.py:155
↓ 1 callersMethodbuild_audio_prefix_rows
(self, prompt_audio_codes: list[list[int]], slot_token_id: int | None = None)
ort_cpu_runtime.py:480
↓ 1 callersFunctionbuild_default_voice_presets
()
moss_tts_nano_runtime.py:56
↓ 1 callersFunctionbuild_optimizer
(model, args: argparse.Namespace)
finetuning/sft.py:195
↓ 1 callersFunctioncleanup_redundant_external_data
(output_dir: Path)
onnx/export_hf_to_tts_onnx.py:168
↓ 1 callersFunctioncollect_missing_reference_paths
(records: List[Dict[str, Any]])
finetuning/prepare_data.py:144
← previousnext →101–200 of 370, ranked by callers