This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch, time, gc, logging, cv2, os | |
from os import system, name | |
from authtoken import auth_token | |
from termcolor import colored | |
from torch import autocast | |
from diffusers.models import AutoencoderKL | |
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler | |
def purge(): |