diff options
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index ea1c879b..9002141a 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -49,6 +49,8 @@ parser.add_argument("--opt-channelslast", action='store_true', help="change memo cmd_opts = parser.parse_args()
device = get_optimal_device()
+device_codeformer = device
+device_seed_type = device
batch_cond_uncond = cmd_opts.always_batch_cond_uncond or not (cmd_opts.lowvram or cmd_opts.medvram)
parallel_processing_allowed = not cmd_opts.lowvram and not cmd_opts.medvram
|