mirror of
https://github.com/vladmandic/automatic
synced 2026-09-14 18:48:43 +02:00
8b738636d0
The third branch repeats `device.type == "cuda"`, so it can never run, and it cannot be enabled by correcting the condition either: the Generator API rejects MPS outright. The repo's other copy of this helper, modules/hidiffusion/utils.py, has cpu/cuda/else and no third branch.