Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
3552279a
Unverified
Commit
3552279a
authored
Aug 12, 2025
by
Dhruv Nair
Committed by
GitHub
Aug 12, 2025
Browse files
[Modular] Add experimental feature warning for Modular Diffusers (#12127)
update
parent
f8ba5cd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
src/diffusers/modular_pipelines/__init__.py
src/diffusers/modular_pipelines/__init__.py
+8
-11
No files found.
src/diffusers/modular_pipelines/__init__.py
View file @
3552279a
...
@@ -7,9 +7,15 @@ from ..utils import (
...
@@ -7,9 +7,15 @@ from ..utils import (
get_objects_from_module
,
get_objects_from_module
,
is_torch_available
,
is_torch_available
,
is_transformers_available
,
is_transformers_available
,
logging
,
)
)
logger
=
logging
.
get_logger
(
__name__
)
logger
.
warning
(
"Modular Diffusers is currently an experimental feature under active development. The API is subject to breaking changes in future releases."
)
# These modules contain pipelines from multiple libraries/frameworks
# These modules contain pipelines from multiple libraries/frameworks
_dummy_objects
=
{}
_dummy_objects
=
{}
_import_structure
=
{}
_import_structure
=
{}
...
@@ -61,17 +67,8 @@ if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
...
@@ -61,17 +67,8 @@ if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
PipelineState
,
PipelineState
,
SequentialPipelineBlocks
,
SequentialPipelineBlocks
,
)
)
from
.modular_pipeline_utils
import
(
from
.modular_pipeline_utils
import
ComponentSpec
,
ConfigSpec
,
InputParam
,
InsertableDict
,
OutputParam
ComponentSpec
,
from
.stable_diffusion_xl
import
StableDiffusionXLAutoBlocks
,
StableDiffusionXLModularPipeline
ConfigSpec
,
InputParam
,
InsertableDict
,
OutputParam
,
)
from
.stable_diffusion_xl
import
(
StableDiffusionXLAutoBlocks
,
StableDiffusionXLModularPipeline
,
)
from
.wan
import
WanAutoBlocks
,
WanModularPipeline
from
.wan
import
WanAutoBlocks
,
WanModularPipeline
else
:
else
:
import
sys
import
sys
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment