Cleanup some unused imports.
This commit is contained in:
parent
45bf88d8ef
commit
4871a36458
|
@ -1,7 +1,6 @@
|
|||
from .utils import load_torch_file, transformers_convert, common_upscale, state_dict_prefix_replace
|
||||
from .utils import load_torch_file, transformers_convert, state_dict_prefix_replace
|
||||
import os
|
||||
import torch
|
||||
import contextlib
|
||||
import json
|
||||
|
||||
import comfy.ops
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import enum
|
||||
import torch
|
||||
import math
|
||||
import comfy.utils
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import torch
|
||||
import math
|
||||
import os
|
||||
import contextlib
|
||||
import comfy.utils
|
||||
import comfy.model_management
|
||||
import comfy.model_detection
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import json
|
||||
import os
|
||||
|
||||
import comfy.sd
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import torch
|
||||
from torch import nn, einsum
|
||||
from torch import nn
|
||||
from .ldm.modules.attention import CrossAttention
|
||||
from inspect import isfunction
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import comfy.model_management
|
|||
import comfy.conds
|
||||
import comfy.ops
|
||||
from enum import Enum
|
||||
import contextlib
|
||||
from . import utils
|
||||
|
||||
class ModelType(Enum):
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
import torch
|
||||
import contextlib
|
||||
import math
|
||||
|
||||
from comfy import model_management
|
||||
from .ldm.util import instantiate_from_config
|
||||
from .ldm.models.autoencoder import AutoencoderKL, AutoencodingEngine
|
||||
import yaml
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import torch
|
|||
import traceback
|
||||
import zipfile
|
||||
from . import model_management
|
||||
import contextlib
|
||||
import comfy.clip_model
|
||||
import json
|
||||
|
||||
|
|
Loading…
Reference in New Issue