LTX long multi-prompt drops the last automatic denoising step
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
ウィンドウごとのノイズ除去ループがtimestepsをスライスする src/diffusers/pipelines/ltx/pipeline_ltx_i2v_long_multi_prompt.py の1266〜1274行付近を読んでください。付属のCPU再現コードを実行し、両方のschedulerで最後のsigmaが正のままであることを確認してください。num_inference_steps=2 で sigmas が省略された場合に、ループが期待どおり2ステップを実行し、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時間
- マージ済み PR(30日)
- 58
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
yeab7505/tenasig#20 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信