export/expose SD1Autoencoder and SDXLAutoencoder + some formatting

This commit is contained in:
Laurent 2024-09-08 13:48:47 +00:00 committed by Laureηt
parent 602c63ce76
commit 4eceda810c

View file

@ -1,12 +1,9 @@
from refiners.foundationals.clip.text_encoder import ( from refiners.foundationals.clip.text_encoder import CLIPTextEncoderL
CLIPTextEncoderL, from refiners.foundationals.latent_diffusion.auto_encoder import LatentDiffusionAutoencoder
)
from refiners.foundationals.latent_diffusion.auto_encoder import (
LatentDiffusionAutoencoder,
)
from refiners.foundationals.latent_diffusion.freeu import SDFreeUAdapter from refiners.foundationals.latent_diffusion.freeu import SDFreeUAdapter
from refiners.foundationals.latent_diffusion.solvers import DPMSolver, LCMSolver, Solver from refiners.foundationals.latent_diffusion.solvers import DPMSolver, LCMSolver, Solver
from refiners.foundationals.latent_diffusion.stable_diffusion_1 import ( from refiners.foundationals.latent_diffusion.stable_diffusion_1 import (
SD1Autoencoder,
SD1ControlnetAdapter, SD1ControlnetAdapter,
SD1ELLAAdapter, SD1ELLAAdapter,
SD1IPAdapter, SD1IPAdapter,
@ -18,6 +15,7 @@ from refiners.foundationals.latent_diffusion.stable_diffusion_1 import (
from refiners.foundationals.latent_diffusion.stable_diffusion_xl import ( from refiners.foundationals.latent_diffusion.stable_diffusion_xl import (
ControlLoraAdapter, ControlLoraAdapter,
DoubleTextEncoder, DoubleTextEncoder,
SDXLAutoencoder,
SDXLIPAdapter, SDXLIPAdapter,
SDXLLcmAdapter, SDXLLcmAdapter,
SDXLT2IAdapter, SDXLT2IAdapter,
@ -30,11 +28,13 @@ __all__ = [
"StableDiffusion_1", "StableDiffusion_1",
"StableDiffusion_1_Inpainting", "StableDiffusion_1_Inpainting",
"SD1UNet", "SD1UNet",
"SD1Autoencoder",
"SD1ControlnetAdapter", "SD1ControlnetAdapter",
"SD1IPAdapter", "SD1IPAdapter",
"SD1T2IAdapter", "SD1T2IAdapter",
"SD1ELLAAdapter", "SD1ELLAAdapter",
"SDXLUNet", "SDXLUNet",
"SDXLAutoencoder",
"DoubleTextEncoder", "DoubleTextEncoder",
"SDXLIPAdapter", "SDXLIPAdapter",
"SDXLLcmAdapter", "SDXLLcmAdapter",