diff --git a/fooocus_version.py b/fooocus_version.py index 024361b7..e83c613b 100644 --- a/fooocus_version.py +++ b/fooocus_version.py @@ -1 +1 @@ -version = '2.0.4' +version = '2.0.3' diff --git a/modules/patch.py b/modules/patch.py index 09ec6fc2..08474956 100644 --- a/modules/patch.py +++ b/modules/patch.py @@ -70,8 +70,7 @@ def sdxl_encode_adm_patched(self, **kwargs): def text_encoder_device_patched(): - # Fooocus's style system uses text encoder much more times than comfy so this makes things much faster. - return comfy.model_management.get_torch_device() + return torch.device("cpu") def patch_all():