diff options
author | brkirch <brkirch@users.noreply.github.com> | 2022-11-08 01:12:31 +0000 |
---|---|---|
committer | brkirch <brkirch@users.noreply.github.com> | 2022-11-12 08:34:13 +0000 |
commit | f4a488f585c09b420dc05199240e68f8fb74337f (patch) | |
tree | a686d85fa1f90d174e67396c1df22cd9ba2af45d /modules/sd_samplers.py | |
parent | 804d9fb83d0c63ca3acd36378707ce47b8f12599 (diff) | |
download | stable-diffusion-webui-gfx803-f4a488f585c09b420dc05199240e68f8fb74337f.tar.gz stable-diffusion-webui-gfx803-f4a488f585c09b420dc05199240e68f8fb74337f.tar.bz2 stable-diffusion-webui-gfx803-f4a488f585c09b420dc05199240e68f8fb74337f.zip |
Set device for facelib/facexlib and gfpgan
* FaceXLib/FaceLib doesn't pass the device argument to RetinaFace but instead chooses one itself and sets it to a global - in order to use a device other than its internally chosen default it is necessary to manually replace the default value
* The GFPGAN constructor needs the device argument to work with MPS or a CUDA device ID that differs from the default
Diffstat (limited to 'modules/sd_samplers.py')
0 files changed, 0 insertions, 0 deletions