rename CPU RNG to RNG source in settings, add infotext and parameters copypaste support to RNG source

This commit is contained in:
AUTOMATIC
2023-04-29 11:29:37 +03:00
parent cb9571e37f
commit 5fe0dd79be
6 changed files with 13 additions and 6 deletions

View File

@@ -284,6 +284,10 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
restore_old_hires_fix_params(res)
# Missing RNG means the default was set, which is GPU RNG
if "RNG" not in res:
res["RNG"] = "GPU"
return res
@@ -304,6 +308,7 @@ infotext_to_setting_name_mapping = [
('UniPC skip type', 'uni_pc_skip_type'),
('UniPC order', 'uni_pc_order'),
('UniPC lower order final', 'uni_pc_lower_order_final'),
('RNG', 'randn_source'),
]