Kandinsky 2.2 Decoder

开源
开放权重

参数

1.22B

模态

Image

架构

Diffusion Transformer

许可证

Apache 2.0

发布日期

12 Jul 2023

API 价格 (每 1M)

仅支持自建托管

硬件与系统要求

精度

工作负载显存: 3.11 GB

INT4 · 1024x1024

DiT 骨干权重: 0.57 GB

VAE 解码工作区: 0.05 GB

运行时与计算图: 2.50 GB

最小所需硬件

1x NVIDIA L4 24GB

3.1 / 21.6 GB

1x RTX 3060 12GB

3.1 / 11.2 GB

Apple M4 24GB

3.1 / 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: 768 · Timestep (t)x 12 DiT blocksAdaLN ModulationNorm · Timestep scale/shiftJoint / Cross-Attention12 headsHead dim: 64+AdaLN ModulationNorm · Timestep scale/shiftFeed-Forward (MLP)Activation+Final Norm (AdaLN Scale)Predicted Noise / LatentsDenoised Latents to VAE

关于 Kandinsky 2.2 Decoder

Kandinsky 2.2 Decoder is a 1.2B UNet diffusion model combining CLIP ViT-G/14 image embeddings and text conditioning for versatile text-to-image synthesis and image variations.

Specifications

注意力

注意力头

12

注意力头维度

64

维度

基准精度

FP16

隐藏维度大小

768

层数

12

关于 Kandinsky


其他 Kandinsky 模型