IPEX fix Flux

This commit is contained in:
Disty0
2025-02-27 23:52:25 +03:00
parent 80eda2df9f
commit 5d18bd6fe3
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -46,3 +46,5 @@ def ipex_diffusers(device_supports_fp64=False, can_allocate_plus_4gb=False):
diffusers.utils.torch_utils.fourier_filter = fourier_filter
if not device_supports_fp64:
diffusers.models.embeddings.FluxPosEmbed = FluxPosEmbed
diffusers.models.transformers.transformer_flux.FluxPosEmbed = FluxPosEmbed
diffusers.models.controlnets.controlnet_flux.FluxPosEmbed = FluxPosEmbed