Views
No views yet
MossTTSDelay) with a continuous-latent Diffusion Transformer + Flow Matching design.| Model | Architecture | DiT Variant | Parameters |
|---|---|---|---|
| MOSS-SoundEffect-V2.0 | DiT + Flow Matching | 1.3B | 1.3B |
| Parameter | Default | Description |
|---|---|---|
num_inference_steps | 100 | Number of flow-match solver steps. |
cfg_scale | 4.0 | Classifier-free guidance weight. |
sigma_shift | 5.0 | Flow-match scheduler shift applied per call. |
seconds | 10.0 | Output duration. Up to 30. |
1conda create -n moss-soundeffect-v2 python=3.12 -y
2conda activate moss-soundeffect-v2
3
4git clone https://github.com/OpenMOSS/MOSS-TTS.git
5cd MOSS-TTS/moss_soundeffect_v2
6pip install --extra-index-url https://download.pytorch.org/whl/cu128 \
7 -e ".[torch-cu128,finetune]"1pip install --extra-index-url https://download.pytorch.org/whl/cu128 \
2 -e ".[torch-cu128]"1import torch
2from moss_soundeffect_v2 import MossSoundEffectPipeline
3
4pipe = MossSoundEffectPipeline.from_pretrained(
5 "OpenMOSS-Team/MOSS-SoundEffect-v2.0", # this repo, or a local dir
6 torch_dtype=torch.bfloat16,
7 device="cuda",
8)
9
10audio = pipe(
11 prompt="A dog barking loudly in a park.",
12 seconds=10,
13 num_inference_steps=100,
14 cfg_scale=4.0,
15) # (B, C, T) waveform tensor
16pipe.save_audio(audio, "out.wav")The underlying DiT is wrapped withtorch.compile+ Triton CUDA Graph. The first call may take a few minutes to compile. If you hitTorchDynamo/ Triton errors, setTORCHDYNAMO_DISABLE=1before launching Python.