1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Remove useless check.

This commit is contained in:
comfyanonymous
2024-03-04 08:51:25 -05:00
parent 0490ce8244
commit 478f71a249

View File

@@ -16,8 +16,8 @@ class EPS:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0) noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else: else:
noise = noise * sigma noise = noise * sigma
if latent_image is not None:
noise += latent_image noise += latent_image
return noise return noise
class V_PREDICTION(EPS): class V_PREDICTION(EPS):