17 Commits (433b3ab7017556a19173a86d1215ed0a0b5b1396)

Author SHA1 Message Date
Tpinion ac4c7f05cd Filter out temporary files that will be generated if the download fails. 3 years ago
Max Audron 6b3981c068 clean up unused script_path imports 3 years ago
brkirch f4a488f585 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
3 years ago
AUTOMATIC 6c6ae28bf5 send all three of GFPGAN's and codeformer's models to CPU memory instead of just one for #1283 3 years ago
AUTOMATIC 2552204fcb fix for broken codeformer in PR 3 years ago
d8ahazard 7d5c29b674 Cleanup existing directories, fixes 3 years ago
d8ahazard 740070ea9c Re-implement universal model loading 3 years ago
Elias Oenal 3daf9cac46 Removed stray references to shared.device_codeformer. 3 years ago
Elias Oenal 26f733a026 fix for codeformer switching torch devices on metal systems. 3 years ago
AUTOMATIC 0de109c210 Codeformer face restoration not working: AttributeError: module 'modules.shared' has no attribute 'device_codeformer' #348 3 years ago
AUTOMATIC1111 11e03b9abd
Merge pull request #294 from EliasOenal/master
Fixes for mps/Metal: use of seeds, img2img, CodeFormer
3 years ago
AUTOMATIC 843b2b64fc Instance of CUDA out of memory on a low-res batch, even with --opt-split-attention-v1 (found cause) #255 3 years ago
Elias Oenal b7f95869b4 Refactored Metal/mps fixes. 3 years ago
Elias Oenal 2920ca7892 CodeFormer does not support mps/metal backend, implemented fallback to cpu backend. 3 years ago
AUTOMATIC 4d2c0c7a72 undo CodeFormer's upscaling of images with dimensions less than 512. 3 years ago
AUTOMATIC 8dcd3e57e7 a little bit of rework for extras tab 3 years ago
AUTOMATIC 6a9b33c848 codeformer support 3 years ago