mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-31 14:22:13 -08:00
Merge pull request #294 from EliasOenal/master
Fixes for mps/Metal: use of seeds, img2img, CodeFormer
This commit is contained in:
commit
11e03b9abd
3 changed files with 35 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue