A ComfyUI extension that integrates PixArt-Alpha models directly into ComfyUI with advanced memory management.
If you find this project helpful, consider buying me a coffee:
A ComfyUI extension that integrates PixArt-Alpha models directly into ComfyUI with advanced memory management.
cd ComfyUI/custom_nodes
git clone https://github.com/ShmuelRonen/ComfyUI-PixArt_XL.git
pip install sentencepiece
After installation, you'll have access to two new nodes:
Automatic loads a PixArt-Alpha model from Hugging Face.
Inputs:
base_model_path
: Path to the model (default: "PixArt-alpha/PixArt-XL-2-1024-MS")Outputs:
model
: The loaded modelGenerates images using the PixArt-Alpha model.
Inputs:
model
: The PixArt-Alpha modelpositive
: Positive promptnegative
: Negative promptwidth
, height
: Image dimensionssteps
: Number of sampling stepsguidance_scale
: How closely to follow the promptschedule
: Sampling schedulerseed
: Random seedOutputs:
image
: The generated imageThis implementation includes several advanced techniques to maximize memory efficiency: