huggingface / huggingface/diffusers
Modular Pipeline: support for PixArtAlphaPipeline
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 34.5k
- Fork
- 7.3k
- Merge trung bình
- 3 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
Model/Pipeline/Scheduler description
I would like to implement a modular version of the PixArt pipeline family, as discussed in #13295.
The initial scope includes the PixArtAlphaPipeline under src/diffusers/pipelines/pixart_alpha/. Currently, the focus is on PixArt-α only. The implementation would be structured so that PixArtSigmaPipeline support can be added later in a follow-up.
Current plan:
Add a new modular PixArt package under src/diffusers/modular_pipelines/, following the structure of the existing built-in modular pipelines.
encodersfor prompt encodingbefore_denoisefor input / latent preparation and timestep setupdenoisefor the main PixArt denoising loopdecodersfor VAE decoding and post-processing
I’m happy to implement this myself, and this would be my first contribution to Diffusers.
Open source status
- The model implementation is available.
- The model weights are available (Only relevant if addition is not a scheduler).
Provide useful links for the implementation
Relevant references:
- Current Diffusers implementation:
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.pysrc/diffusers/pipelines/pixart_alpha/pipeline_pixart_sigma.py
- PixArt docs / weights:
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py và xem xét cấu trúc modular pipeline tích hợp hiện có. Tổ chức một package mới dưới src/diffusers/modular_pipelines/ với encoders, before_denoise, denoise và decoders cho PixArt-α. Hoàn thành khi PixArtAlphaPipeline có hỗ trợ modular, còn PixArtSigmaPipeline vẫn nằm ngoài phạm vi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, pytorch
- Lĩnh vực
- machine-learning
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100