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
500b9cf1
Unverified
Commit
500b9cf1
authored
Oct 26, 2025
by
Sayak Paul
Committed by
GitHub
Oct 26, 2025
Browse files
[chore] Move guiders experimental warning (#12543)
* move guiders experimental warning to init. * up
parent
d34b18c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/diffusers/guiders/__init__.py
src/diffusers/guiders/__init__.py
+0
-6
src/diffusers/guiders/guider_utils.py
src/diffusers/guiders/guider_utils.py
+4
-0
No files found.
src/diffusers/guiders/__init__.py
View file @
500b9cf1
...
...
@@ -17,12 +17,6 @@ from typing import Union
from
..utils
import
is_torch_available
,
logging
logger
=
logging
.
get_logger
(
__name__
)
logger
.
warning
(
"Guiders are currently an experimental feature under active development. The API is subject to breaking changes in future releases."
)
if
is_torch_available
():
from
.adaptive_projected_guidance
import
AdaptiveProjectedGuidance
from
.adaptive_projected_guidance_mix
import
AdaptiveProjectedMixGuidance
...
...
src/diffusers/guiders/guider_utils.py
View file @
500b9cf1
...
...
@@ -41,6 +41,10 @@ class BaseGuidance(ConfigMixin, PushToHubMixin):
_identifier_key
=
"__guidance_identifier__"
def
__init__
(
self
,
start
:
float
=
0.0
,
stop
:
float
=
1.0
,
enabled
:
bool
=
True
):
logger
.
warning
(
"Guiders are currently an experimental feature under active development. The API is subject to breaking changes in future releases."
)
self
.
_start
=
start
self
.
_stop
=
stop
self
.
_step
:
int
=
None
...
...
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