opensi·si

A rectified-flow velocity-prediction Diffusion Transformer (DiT) for audio generation, used in

StableAudio3DiTModel

A rectified-flow velocity-prediction Diffusion Transformer (DiT) for audio generation, used in Stable Audio 3.

Each StableAudio3DiTBlock performs:

  1. Self-attention — differential multi-head attention with rotary position embeddings (RoPE).
  2. Cross-attention — attends to the token sequence from the T5Gemma text encoder.
  3. Feed-forward — SwiGLU projection.

The model is conditioned on a timestep (exponential Fourier features → linear projection) and a global conditioning vector (duration embedding from StableAudio3DurationEmbedder).

StableAudio3DiTModel

[[autodoc]] StableAudio3DiTModel - all - forward

StableAudio3DiTBlock

[[autodoc]] models.transformers.transformer_stable_audio3.StableAudio3DiTBlock

StableAudio3DiTModelOutput

[[autodoc]] models.transformers.transformer_stable_audio3.StableAudio3DiTModelOutput

Source and license

Source: Diffusers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.