stable_audio ¶
Stable Audio Open 1.0 DiT.
Continuous transformer with rotary self-attention, GQA cross-attention, and prepend global conditioning. 24 layers, embed_dim=1536, head_dim=64.
Classes¶
fastvideo.models.dits.stable_audio.FourierFeatures ¶
Bases: Module
Random-Fourier learned-frequency timestep encoder.
Source code in fastvideo/models/dits/stable_audio.py
fastvideo.models.dits.stable_audio.StableAudioDiT ¶
Bases: BaseDiT
Stable Audio Open 1.0 diffusion transformer.
Source code in fastvideo/models/dits/stable_audio.py
Methods:¶
fastvideo.models.dits.stable_audio.StableAudioDiT.forward ¶
Forward over a single batch. CFG batching is the caller's job.
Source code in fastvideo/models/dits/stable_audio.py
fastvideo.models.dits.stable_audio.StableAudioDiT.from_official_state_dict classmethod ¶
from_official_state_dict(state_dict: dict[str, Tensor], prefix: str = 'model.model.') -> 'StableAudioDiT'
Load from a raw stable_audio_tools monolithic state dict. Kept for tests / older checkpoints; production loads go through the standard TransformerLoader against the converted Diffusers repo.