Comfy-Org / Comfy-Org/ComfyUI

Outcome of 2 separate latent batch generation is always non-deterministic

Open
#2,799 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Initially i thought i had finally gone crazy - but no - even when running in parrall on a super simple workflow, the outcome of 2 separate batches of latent that aren't identical in size gives out random noise in the output.

Here's a very simple workflow demonstrating the issue.
![rgthree compare _temp_oieuz_00019_ (1)](https://github.com/comfyanonymous/ComfyUI/assets/1596070/8063b2b7-467a-4b90-aed2-e10e31c3b7ff)

If batch 1 size != batch size 2, regardless of size, the pandas are 'slightly' different. No matter what I tried.

I understand this may be by design - however, in the context of building a 2 part workflow using an image picker such as https://github.com/chrisgoringe/cg-image-picker/, it breaks the output because no one wants to end up with 'slightly different' images.

Thank you for considering this problem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.