Merge branch 'master' into master

This commit is contained in:
ShinkoNet 2022-08-24 23:33:41 +10:00 committed by GitHub
commit a60b5a8eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,7 @@ def process_images(outpath, func_init, func_sample, prompt, seed, sampler_name,
start_time = time.time()
assert prompt is not None
torch.cuda.empty_cache()
torch_gc()
if seed == -1:
seed = random.randrange(4294967294)