aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-21 23:07:09 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-21 23:08:47 +0900
commit9dce2aa735d2b52ce3966efdb3f4a22c356a6bb4 (patch)
treee31304e47d10ea9e39d7564871fd3d9e80a1c740 /scripts
parent953c3eab7b3b952f7e96d728413a531d7fb521a2 (diff)
add RNG source to XYZ
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xyz_grid.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index 3d9fe691..daaf761f 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -267,6 +267,7 @@ axis_options = [
AxisOption("Always discard next-to-last sigma", str, apply_override('always_discard_next_to_last_sigma', boolean=True), choices=boolean_choice(reverse=True)),
AxisOption("Refiner checkpoint", str, apply_field('refiner_checkpoint'), format_value=format_remove_path, confirm=confirm_checkpoints_or_none, cost=1.0, choices=lambda: ['None'] + sorted(sd_models.checkpoints_list, key=str.casefold)),
AxisOption("Refiner switch at", float, apply_field('refiner_switch_at')),
+ AxisOption("RNG source", str, apply_override("randn_source"), choices=lambda: ["GPU", "CPU", "NV"]),
]