diff --git a/comfy/ldm/flux/math.py b/comfy/ldm/flux/math.py index b9e21f9cd..b6549585a 100644 --- a/comfy/ldm/flux/math.py +++ b/comfy/ldm/flux/math.py @@ -1,7 +1,6 @@ import torch from einops import rearrange from torch import Tensor -from torch.nn.functional import interpolate from comfy.ldm.modules.attention import optimized_attention import comfy.model_management diff --git a/comfy_extras/nodes_flux.py b/comfy_extras/nodes_flux.py index 3a23de5a3..2ae23f735 100644 --- a/comfy_extras/nodes_flux.py +++ b/comfy_extras/nodes_flux.py @@ -1,5 +1,4 @@ import node_helpers -import torch class CLIPTextEncodeFlux: @classmethod