Skip to content

Commit 608763f

Browse files
committed
AutoModel
1 parent 3be6706 commit 608763f

File tree

3 files changed

+346
-0
lines changed

3 files changed

+346
-0
lines changed

src/diffusers/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
"AutoencoderKLWan",
154154
"AutoencoderOobleck",
155155
"AutoencoderTiny",
156+
"AutoModel",
156157
"CacheMixin",
157158
"CogVideoXTransformer3DModel",
158159
"CogView3PlusTransformer2DModel",
@@ -720,6 +721,7 @@
720721
AutoencoderKLWan,
721722
AutoencoderOobleck,
722723
AutoencoderTiny,
724+
AutoModel,
723725
CacheMixin,
724726
CogVideoXTransformer3DModel,
725727
CogView3PlusTransformer2DModel,

src/diffusers/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
_import_structure["autoencoders.autoencoder_tiny"] = ["AutoencoderTiny"]
4242
_import_structure["autoencoders.consistency_decoder_vae"] = ["ConsistencyDecoderVAE"]
4343
_import_structure["autoencoders.vq_model"] = ["VQModel"]
44+
_import_structure["auto_model"] = ["AutoModel"]
4445
_import_structure["cache_utils"] = ["CacheMixin"]
4546
_import_structure["controlnets.controlnet"] = ["ControlNetModel"]
4647
_import_structure["controlnets.controlnet_flux"] = ["FluxControlNetModel", "FluxMultiControlNetModel"]
@@ -103,6 +104,7 @@
103104
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
104105
if is_torch_available():
105106
from .adapter import MultiAdapter, T2IAdapter
107+
from .auto_model import AutoModel
106108
from .autoencoders import (
107109
AsymmetricAutoencoderKL,
108110
AutoencoderDC,

0 commit comments

Comments
 (0)