Release notes for SD images

更新时间:
复制 MD 格式

Alibaba Cloud AI Containers (AC2) provides Stable Diffusion (SD) series images for text-to-image generation. Each SD image includes all dependencies required to run SD models—the Python runtime environment, deep learning frameworks, and dependency libraries—so models run consistently across environments.

SD series images do not include large model weight files. Download the model weights separately before starting the container.

SD series images expose external services through a web UI and can serve as base images for custom service deployments.

Images

SD series images are runtime environment images. They include only the software stack required to run the models: system components and Python dependencies.

Category Supported models Compute Image address
Runtime image SD series models GPU ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/sd:runtime-pytorch2.3.0-cuda12.1.1-alinux3.2304
SD series models CPU ac2-registry.cn-hangzhou.cr.aliyuncs.com/ac2/chatglm3:runtime-pytorch2.3.0-alinux3.2304

Image content

sd:runtime-pytorch2.3.0-cuda12.1.1-alinux3.2304 (GPU)

Package Version
PyTorch 2.3.0
CUDA 12.1.1
Python 3.10.13
BaseOS Alinux 3.2304
xFormers 0.0.26.post1
Gradio 3.41.0
Transformers 4.36.2
Accelerate 0.26.1
PyTorch Lightning 1.9.4
open-clip-torch 2.24.0
scikit-image 0.22.0
scikit-learn 1.2.2
tokenizers 0.15.0
sentencepiece 0.1.99
safetensors 0.4.0

sd:runtime-pytorch2.3.0-alinux3.2304 (CPU)

Package Version
PyTorch 2.3.0
CUDA 12.1.1
Python 3.10.13
BaseOS Alinux 3.2304
Gradio 3.41.0
Transformers 4.36.2
Accelerate 0.26.1
PyTorch Lightning 1.9.4
open-clip-torch 2.24.0
scikit-image 0.22.0
scikit-learn 1.2.2
tokenizers 0.15.0
sentencepiece 0.1.99
safetensors 0.4.0
The CPU image does not include xFormers. xFormers is only available in the GPU image. The CPU image has no driver requirements.

Operational requirements

GPU image (sd:runtime-pytorch2.3.0-cuda12.1.1-alinux3.2304): Requires an NVIDIA driver. The image includes CUDA 12.1.1.

Requirement Version
Minimum NVIDIA driver Release 530 or later
Compatible NVIDIA driver releases 470, 525

For CUDA and driver compatibility details, see the NVIDIA CUDA Compatibility Guide.

CPU image (sd:runtime-pytorch2.3.0-alinux3.2304): No driver requirements.

Pre-installed features

The GPU image ships with xFormers 0.0.26.post1, which accelerates attention operations for diffusion models. The CPU image does not include xFormers.

Release history

Date Change
2024.08 Initial release of the SD runtime image