huggingface / huggingface/diffusers
pipe.scheduler.sigmas change after forward call
- 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ả
### Describe the bug
I noticed this issue when trying to manually modify the sigmas in my pipeline scheduler. Despite changing the values in this tensor, the sigmas tensor shrinks to the number of inference steps after one inference instance. Subsequent calls no longer change the values of the sigmas.
### Reproduction
pipe.scheduler.sigmas = pipe.scheduler.sigmas * 4 # manually modifying sigmas
_ = pipe(..., num_inference_steps = N)
print(pipe.scheduler.sigmas) # len is N + 1, values do not reflect the manual modifications and no longer change in subsequent calls
### Logs
_No response_
### System Info
diffusers==0.27.2
### Who can help?
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ điểm vào của scheduler được pipe(...) sử dụng và theo dõi cách scheduler.sigmas được khởi tạo hoặc thay đổi kích thước trong một lệnh gọi suy luận. Tái hiện ví dụ với diffusers 0.27.2, sau đó xác minh rằng các sigmas được sửa đổi thủ công vẫn giữ nguyên hành vi mong muốn trong lần gọi đầu tiên và các lần gọi tiếp theo.
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
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100