aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-22 04:31:26 +0000
committerGitHub <noreply@github.com>2023-08-22 04:31:26 +0000
commit7a3a6e3855789ef4e612db0fef387c4fa0683619 (patch)
tree911fc881650c1d90f6a6a3690a9bdd306922e6f9 /scripts
parentf83996cd9fa3cae0618e73e16282ff4e73fdce83 (diff)
parent9dce2aa735d2b52ce3966efdb3f4a22c356a6bb4 (diff)
downloadstable-diffusion-webui-gfx803-7a3a6e3855789ef4e612db0fef387c4fa0683619.tar.gz
stable-diffusion-webui-gfx803-7a3a6e3855789ef4e612db0fef387c4fa0683619.tar.bz2
stable-diffusion-webui-gfx803-7a3a6e3855789ef4e612db0fef387c4fa0683619.zip
Merge pull request #12713 from AUTOMATIC1111/XYZ-RNG
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"]),
]