mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
This reverts commit 7700276b50.
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
version = '2.0.4'
|
version = '2.0.3'
|
||||||
|
|||||||
+1
-2
@@ -70,8 +70,7 @@ def sdxl_encode_adm_patched(self, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
def text_encoder_device_patched():
|
def text_encoder_device_patched():
|
||||||
# Fooocus's style system uses text encoder much more times than comfy so this makes things much faster.
|
return torch.device("cpu")
|
||||||
return comfy.model_management.get_torch_device()
|
|
||||||
|
|
||||||
|
|
||||||
def patch_all():
|
def patch_all():
|
||||||
|
|||||||
Reference in New Issue
Block a user