LCMScheduler advances the generator on the final step of a strength-truncated custom schedule
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Read LCMScheduler.step and compare it with the TCDScheduler change from #15301, which fixed the same final-step check. Reproduce with a seeded generator and a truncated schedule (timesteps=[999, 499, 19], strength=0.5), then use the regression test test_truncated_custom_timesteps_final_step_preserves_generator from #15364 as the done signal. Note that a fix is already proposed in #15364, so coordinate there before starting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When LCMScheduler uses a non-empty custom timestep schedule truncated by strength < 1, its actual final step advances the supplied random generator even though the sampled noise is never used.
For example, timesteps=[999, 499, 19] with strength=0.5 leaves only [19], but num_inference_steps remains 3. The final-step check uses the original step count and enters the noise-sampling branch.
Same bug class as #15288 (fixed for TCDScheduler in #15301); a follow-up to the review on #15301, which suggested applying the same one-line change to LCMScheduler.step. A fix is proposed in #15364.
Reproduction
Call LCMScheduler.step with a truncated custom schedule (e.g. timesteps=[999, 499, 19], strength=0.5) and a seeded generator: the generator state advances on the final step on unpatched code. Regression test test_truncated_custom_timesteps_final_step_preserves_generator in #15364 fails on unpatched code and passes with the fix.
Expected behavior
The generator state should be untouched on the actual final step of the truncated schedule.
- Ngôn ngữ chính
- Python
- Star
- 35k
- Fork
- 7.5k
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 58
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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.
Issue khác của huggingface/diffusers
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
huggingface/diffusers#15436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
InpaintProcessor crashes when padding_mask_crop is set and a dimension is omittedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
huggingface/diffusers#15433 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
LTXEulerAncestralRFScheduler skips signal scaling with s_noise=0Có thể đã có người làm @hparik11 đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
huggingface/diffusers#15423 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: 13 docstrings document parameters their functions don't haveCó thể đã có người làm @M-Colley đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
huggingface/diffusers#15363 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`ZImageImg2ImgPipeline` / `ZImageInpaintPipeline`: explicit height/width different from the input image raises RuntimeErrorCó thể đã có người làm @chessing234 đã nhận 11 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/diffusers#15337 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của huggingface/diffusers
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 79/100
developmentseed/titiler-covjson#164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
awslabs/visual-asset-management-system#2164 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
MakazhanAlpamys/Soup#3589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocketĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày