From 1b9734c45b0010bf511f75658b2fa3c9662fb1e7 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Mon, 5 Feb 2024 13:50:19 -0800 Subject: [PATCH] Update rng.py --- modules/rng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rng.py b/modules/rng.py index a781aa8d..72dc87de 100644 --- a/modules/rng.py +++ b/modules/rng.py @@ -12,7 +12,7 @@ def randn(seed, shape, generator=None): if generator is not None: # if generator is not none, we must generate a noise with and without - # generator together to avoid future 'randn_like' get same noise again + # generator together to avoid future 'randn' get same noise again torch.randn(shape, device=devices.device) if shared.opts.randn_source == "NV":