[diffusion] improve: improve code readability of DenoisingStage (#20003)

This commit is contained in:
JohnHerry
2026-03-06 23:23:44 +08:00
committed by GitHub
parent 54634b9a40
commit e8f2b80340

View File

@@ -343,9 +343,9 @@ class DenoisingStage(PipelineStage):
torch.full(
(batch_size,),
guidance_val,
dtype=torch.float32,
dtype=target_dtype,
device=device,
).to(target_dtype)
)
* 1000.0
)