Clybius / ComfyUI-Latent-Modifiers

A repository of ComfyUI nodes which modify the latent during the diffusion process.
GNU General Public License v3.0
72 stars 8 forks source link

Add optional seed for reproducibility #3

Closed asagi4 closed 9 months ago

asagi4 commented 10 months ago

I changed the node to use seeded random generators so that the results can be reproduced.

I tested this pretty lightly, but as far as I can tell, everything seems to work and I can generate reproducible results by setting the seed.

The generator being on the CPU doesn't seem to affect performance meaningfully, but GPU could be added as an option.

asagi4 commented 9 months ago

I'll close this since you included the changes in another commit