Devin J. Pohly 80378f5b86 KSampler: use the same noise samples across a batch
Using an ancestral sampler on a batch currently yields results that can
only be reproduced at the same index in a batch of the same size.  For
example, if you want to reproduce a single result from a batch
generation, you have to re-run the entire batch.

This change ensures that the same noise samples are used for every
latent in the batch, leading to consistent and reproducible results
regardless of batch size/order.  In addition, the noise is now a view
of a C×H×W tensor, which uses less memory than a full B×C×H×W.
2025-04-18 14:53:45 -05:00
..
2024-12-20 16:24:55 -05:00
2025-04-17 12:42:34 -04:00
2023-01-16 22:37:14 -05:00
2024-06-27 18:43:11 -04:00
2025-04-12 18:29:15 -04:00
2025-03-06 00:24:43 -05:00
2025-04-05 07:01:01 -04:00
2025-01-24 06:15:54 -05:00
2025-04-15 17:35:05 -04:00
2025-04-16 04:53:56 -04:00
2025-04-15 10:32:21 -04:00
2025-04-15 17:35:05 -04:00
2025-04-15 10:32:21 -04:00
2025-03-05 00:13:49 -05:00