开源
开放权重

参数

2.5B

模态

Image

辅助参数

6.16B

架构

Diffusion Transformer

许可证

Stability AI Community License

发布日期

29 Oct 2024

API 价格 (每 1M)

仅支持自建托管

硬件与系统要求

精度

工作负载显存: 3.80 GB

INT4 · 1024x1024

DiT 骨干权重: 1.16 GB

VAE 解码工作区: 0.14 GB

运行时与计算图: 2.50 GB

最小所需硬件

1x NVIDIA L4 24GB

3.8 / 21.6 GB

1x RTX 3060 12GB

3.8 / 11.2 GB

Apple M4 24GB

3.8 / 18.0 GB

确定特定工作负载的硬件需求:

运行时要求

权重格式

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.40.1

微架构精度注意力算子

Blackwell, Hopper

原生 FP16

FlashAttention-3

Ada Lovelace, Ampere

原生 FP16

FlashAttention-2

架构图

Noisy Image LatentsLatent Image Space (VAE)Patch Embedding2D Latent PatchifyHidden: 4.1k · Text: 6.16B enc · Timestep (t)x 24 DiT blocksAdaLN ModulationNorm · Timestep scale/shiftJoint / Cross-Attention24 headsHead dim: 64+AdaLN ModulationNorm · Timestep scale/shiftFeed-Forward (MLP)Activation+Final Norm (AdaLN Scale)Predicted Noise / LatentsDenoised Latents to VAE

关于 Stable Diffusion 3.5 Medium

Stable Diffusion 3.5 Medium is a compact 2.5B parameter MMDiT designed to fit on standard consumer GPUs with 9.9GB VRAM footprint, retaining core typographic and compositional capabilities.

Specifications

注意力

注意力头

24

注意力头维度

64

维度

基准精度

FP16

辅助参数

6.16B

隐藏维度大小

4,096

层数

24

关于 Stable Diffusion 3.5


其他 Stable Diffusion 3.5 模型