huggingface / huggingface/diffusers

Modular Pipeline: support for PixArtAlphaPipeline

Đang mở
#13,301 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

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.

  • encoders for prompt encoding
  • before_denoise for input / latent preparation and timestep setup
  • denoise for the main PixArt denoising loop
  • decoders for 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:

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.