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
-
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
daniel-ospina/tortoise#15014 ·
维护者通常 1 天内回复
-
area:api p2 product:business triage:active type:feat
难度 2/5 1-3 小时 新手友好度 68/100
cuadrao-ai/argus#2656 ·
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
-
good first issue tests
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复