LTX long multi-prompt drops the last automatic denoising step
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 65/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
研究方向
閱讀 src/diffusers/pipelines/ltx/pipeline_ltx_i2v_long_multi_prompt.py 第1266–1274行附近的程式碼,其中按視窗執行的去噪迴圈會切片 timesteps。執行提供的 CPU 重現程式,確認兩個 scheduler 的最終 sigma 都維持為正數。當 num_inference_steps=2 且省略 sigmas 時,迴圈執行預期的兩步並達到 sigma 零,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
I found this while reading the per-window denoising loop in LTXI2VLongMultiPromptPipeline. With sigmas omitted and num_inference_steps=2, each window schedules one denoising step and stops at a positive sigma. I expect two steps and a final sigma of zero. I have a fix ready for review. Denoising loop at 08d5de30
Reproduction
I reproduced the missing transition with the CPU script below. It runs both schedulers with the pipeline's timestep slice and synthetic predictions. This exercises the scheduler path without loading pipeline weights.
import torch
from diffusers import FlowMatchEulerDiscreteScheduler, LTXEulerAncestralRFScheduler
for scheduler in (
FlowMatchEulerDiscreteScheduler(shift_terminal=0.1),
LTXEulerAncestralRFScheduler(eta=0.0),
):
scheduler.set_timesteps(num_inference_steps=2)
sample = torch.tensor([2.0])
timesteps = scheduler.timesteps[:-1]
for timestep in timesteps:
sample = scheduler.step(torch.ones_like(sample), timestep, sample, return_dict=False)[0]
print(type(scheduler).__name__, len(timesteps), scheduler.sigmas[scheduler.step_index].item())
FlowMatchEulerDiscreteScheduler 1 0.10000000149011612
LTXEulerAncestralRFScheduler 1 0.0010000000474974513
System Info
Diffusers 0.44.0.dev0 at 08d5de30, Linux x86_64, Python 3.14.5, PyTorch 2.15.0+cpu, Transformers 5.24.1. I ran the script on one CPU process.
- 主要語言
- Python
- 星號
- 35k
- 分支
- 7.5k
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 58
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
huggingface/diffusers 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
huggingface/diffusers#15463 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
huggingface/diffusers#15461 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
huggingface/diffusers#15459 ·
維護者通常 1 天內回覆
-
GlmImagePipeline: image-to-image fails with `enable_model_cpu_offload()` (device mismatch in `get_image_features`)可能已有人在做 @saeekailas 於 1 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
huggingface/diffusers#15449 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
huggingface/diffusers#15436 · 1 則留言 ·
維護者通常 1 天內回覆
查看 huggingface/diffusers 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
litestar-org/sqlspec#946 ·
維護者通常 1 天內回覆
-
area:cli area:docs Platform vdr
難度 2/5 1-3 小時 新手友好度 78/100
NVIDIA-NeMo/Gym#7192 ·
維護者通常 2 天內回覆
-
Bug: CaseInsensitiveDict (event.headers) returns True for both == and != against the same mapping未關閉bug triage
難度 2/5 1-3 小時 新手友好度 76/100
aws-powertools/powertools-lambda-python#8948 ·
維護者通常 1 天內回覆
-
SofyaBot未關閉
難度 2/5 1-3 小時 新手友好度 66/100
ai-robots-txt/ai.robots.txt#324 ·
-
resource-submission validation-passed
難度 1/5 1 小時以內 新手友好度 78/100
hesreallyhim/awesome-claude-code#3821 · 1 則留言 ·