aboutsummaryrefslogtreecommitdiffstats
path: root/modules/codeformer_model.py
AgeCommit message (Collapse)AuthorLines
2023-02-24Filter out temporary files that will be generated if the download fails.Tpinion-1/+1
2023-01-27clean up unused script_path importsMax Audron-1/+1
2022-11-12Set device for facelib/facexlib and gfpganbrkirch-0/+3
* 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
2022-10-04send all three of GFPGAN's and codeformer's models to CPU memory instead of ↵AUTOMATIC-2/+10
just one for #1283
2022-09-30fix for broken codeformer in PRAUTOMATIC-1/+1
2022-09-26Cleanup existing directories, fixesd8ahazard-11/+4
2022-09-26Re-implement universal model loadingd8ahazard-10/+25
2022-09-14Removed stray references to shared.device_codeformer.Elias Oenal-4/+2
2022-09-14fix for codeformer switching torch devices on metal systems.Elias Oenal-2/+2
2022-09-12 Codeformer face restoration not working: AttributeError: module ↵AUTOMATIC-3/+3
'modules.shared' has no attribute 'device_codeformer' #348
2022-09-12Merge pull request #294 from EliasOenal/masterAUTOMATIC1111-3/+5
Fixes for mps/Metal: use of seeds, img2img, CodeFormer
2022-09-12 Instance of CUDA out of memory on a low-res batch, even with ↵AUTOMATIC-14/+18
--opt-split-attention-v1 (found cause) #255
2022-09-12Refactored Metal/mps fixes.Elias Oenal-15/+6
2022-09-11CodeFormer does not support mps/metal backend, implemented fallback to cpu ↵Elias Oenal-4/+15
backend.
2022-09-10undo CodeFormer's upscaling of images with dimensions less than 512.AUTOMATIC-0/+8
2022-09-07a little bit of rework for extras tabAUTOMATIC-3/+7
2022-09-07codeformer supportAUTOMATIC-0/+108