changes for #294

This commit is contained in:
AUTOMATIC
2022-09-12 20:09:32 +03:00
parent 11e03b9abd
commit c7e0e28ccd
3 changed files with 22 additions and 32 deletions

View File

@@ -49,8 +49,6 @@ 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