Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Stable Diffusion 3 Medium (xDiT)

Model Description

Stable Diffusion 3 Medium is Stability AI's latest text-to-image diffusion model, featuring significant improvements in image quality, prompt adherence, and typography rendering. It uses a new Multimodal Diffusion Transformer (MMDiT) architecture with separate sets of weights for text and image encoders.

This version runs on the xDiT framework, optimized for Iluvatar CoreX GPUs.

Supported Environments

GPU IXUCA SDK Release Branch
MR-V100 4.4.0 26.03 release/26.03
MR-V100 4.3.0 25.12 release/25.12

Note: 请切换到与您的 SDK 版本对应的 Release 分支进行测试。请勿直接在 master 分支上运行测试,因为 master 分支可能包含与您的本地 SDK 版本不兼容的最新更改。

切换分支命令示例:git checkout release/26.03

Model Preparation

Prepare Resources

Install Dependencies

  1. Install Iluvatar CoreX adapted framework:
pip install diffusers-{version}-py3-none-any.whl
pip install xfuser-{version}+corex.{v.r.m}-py3-none-any.whl
  1. Install dependencies:
pip install -r requirements.txt

Model Inference

  1. The scripts are pre-copied in this directory. Modify model path:
vim run_sd3.sh
# Update MODEL_ID to your actual model path
  1. Run script:
bash run_sd3.sh

References