↓ 2 callersFunctionbatch_encode(
processor,
paths: List[str],
batch_size: int,
n_vq: Optional[int],
desc: str,
)
moss_tts_local_v1.5/finetuning/prepare_data.py:188
↓ 2 callersMethodgenerate_noise(self, shape, seed=None, rand_device="cpu", rand_torch_dtype=torch.float32, device=None, torch_dtype=None)
moss_soundeffect_v2/diffsynth/utils/__init__.py:116
↓ 2 callersFunctionsave_checkpoint(
*,
accelerator: Accelerator,
model,
model_path: str,
codec_path: str,
output_dir: Pa
moss_tts_local_v1.5/finetuning/sft.py:770