Expand head info in files

Previously before this commit, credits are already in entry and licenses are already in root. This commit will make info clearer.
This commit is contained in:
lllyasviel
2024-02-11 19:54:48 -08:00
parent 9c5038c766
commit 3d039591fe
63 changed files with 247 additions and 19 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
#From https://github.com/kornia/kornia
import math
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
from ldm_patched.contrib.external import MAX_RESOLUTION
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import numpy as np
import torch
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.modules.samplers
import ldm_patched.modules.sample
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.modules.utils
import ldm_patched.utils.path_utils
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.contrib.external
import ldm_patched.utils.path_utils
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.modules.utils
import torch
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import numpy as np
import scipy.ndimage
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.utils.path_utils
import ldm_patched.modules.sd
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
import ldm_patched.modules.utils
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.modules.sd
import ldm_patched.modules.utils
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
import ldm_patched.modules.model_management
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import numpy as np
import torch
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
import ldm_patched.contrib.external
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
#Taken from: https://github.com/dbolya/tomesd
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import os
from ldm_patched.pfn import model_loading
+3 -1
View File
@@ -1,4 +1,6 @@
# https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import ldm_patched.contrib.external
import torch
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import math
from scipy import integrate
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
from contextlib import contextmanager
import hashlib
import math
+7
View File
@@ -1,3 +1,10 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# 5th edit by Forge
import torch
# import pytorch_lightning as pl
import torch.nn.functional as F
+7
View File
@@ -1,3 +1,10 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# 5th edit by Forge
import math
import torch
import torch.nn.functional as F
@@ -1,3 +1,10 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# 5th edit by Forge
# pytorch_diffusion + derived encoder decoder
import math
import torch
@@ -1,3 +1,10 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# 5th edit by Forge
from abc import abstractmethod
import torch as th
@@ -1,3 +1,11 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
import torch.nn as nn
import numpy as np
@@ -1,3 +1,8 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# adopted from
# https://github.com/openai/improved-diffusion/blob/main/improved_diffusion/gaussian_diffusion.py
# and
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
import torch
import numpy as np
+9
View File
@@ -1,3 +1,12 @@
# 1st edit by https://github.com/CompVis/latent-diffusion
# 2nd edit by https://github.com/Stability-AI/stablediffusion
# 3rd edit by https://github.com/Stability-AI/generative-models
# 4th edit by https://github.com/comfyanonymous/ComfyUI
# This file is not used in image diffusion backend.
import torch
from torch import nn
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
from ..diffusionmodules.upscaling import ImageConcatWithNoiseAugmentation
from ..diffusionmodules.openaimodel import Timestep
import torch
+7
View File
@@ -1,3 +1,10 @@
# 1st edit by https://github.com/Stability-AI/generative-models
# 2nd edit by https://github.com/comfyanonymous/ComfyUI
# 3rd edit by Forge
# This file is not used in image diffusion backend. (but used in SVD.)
import functools
from typing import Callable, Iterable, Union
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import importlib
import torch
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import argparse
import enum
import ldm_patched.modules.options
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import pickle
load = pickle.load
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
from ldm_patched.ldm.modules.attention import optimized_attention_for_device
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
from .utils import load_torch_file, transformers_convert, state_dict_prefix_replace
import os
import torch
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import math
import ldm_patched.modules.utils
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import math
import os
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
import re
import torch
+2
View File
@@ -1,3 +1,5 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
import os
import ldm_patched.modules.sd
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
from torch import nn
from ldm_patched.ldm.modules.attention import CrossAttention
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
class LatentFormat:
scale_factor = 1.0
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import ldm_patched.modules.utils
LORA_CLIP_MAP = {
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
from ldm_patched.ldm.modules.diffusionmodules.openaimodel import UNetModel, Timestep
from ldm_patched.ldm.modules.encoders.noise_aug_modules import CLIPEmbeddingNoiseAugmentation
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import ldm_patched.modules.supported_models
import ldm_patched.modules.supported_models_base
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import time
import psutil
from enum import Enum
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import copy
import inspect
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import numpy as np
from ldm_patched.ldm.modules.diffusionmodules.util import make_beta_schedule
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import ldm_patched.modules.model_management
import contextlib
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
args_parsing = False
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
import torch
import ldm_patched.modules.model_management
import ldm_patched.modules.samplers
+4
View File
@@ -1,3 +1,7 @@
# 1st edit by https://github.com/comfyanonymous/ComfyUI
# 2nd edit by Forge Official
from ldm_patched.k_diffusion import sampling as k_diffusion_sampling
from ldm_patched.unipc import uni_pc
import torch
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
from ldm_patched.modules import model_management
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import os
from transformers import CLIPTokenizer
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
from ldm_patched.modules import sd1_clip
import torch
import os
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
from ldm_patched.modules import sd1_clip
import torch
import os
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
import torch
from . import model_base
from . import utils
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
import torch
from . import model_base
from . import utils
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
import math
import struct
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
#!/usr/bin/env python3
"""
Tiny AutoEncoder for Stable Diffusion
+3
View File
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
#code taken from: https://github.com/wl-zhao/UniPC and modified
import torch
@@ -1,3 +1,6 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import torch
from PIL import Image
import struct
+4
View File
@@ -1,3 +1,7 @@
# Taken from https://github.com/comfyanonymous/ComfyUI
# This file is only for reference, and not used in the backend or runtime.
import os
import time