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
f064b3bf
Unverified
Commit
f064b3bf
authored
Jul 01, 2025
by
Aryan
Committed by
GitHub
Jun 30, 2025
Browse files
Remove print statement in SCM Scheduler (#11836)
remove print
parent
3b079ec3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/diffusers/schedulers/scheduling_scm.py
src/diffusers/schedulers/scheduling_scm.py
+0
-1
No files found.
src/diffusers/schedulers/scheduling_scm.py
View file @
f064b3bf
...
@@ -168,7 +168,6 @@ class SCMScheduler(SchedulerMixin, ConfigMixin):
...
@@ -168,7 +168,6 @@ class SCMScheduler(SchedulerMixin, ConfigMixin):
else
:
else
:
# max_timesteps=arctan(80/0.5)=1.56454 is the default from sCM paper, we choose a different value here
# max_timesteps=arctan(80/0.5)=1.56454 is the default from sCM paper, we choose a different value here
self
.
timesteps
=
torch
.
linspace
(
max_timesteps
,
0
,
num_inference_steps
+
1
,
device
=
device
).
float
()
self
.
timesteps
=
torch
.
linspace
(
max_timesteps
,
0
,
num_inference_steps
+
1
,
device
=
device
).
float
()
print
(
f
"Set timesteps:
{
self
.
timesteps
}
"
)
self
.
_step_index
=
None
self
.
_step_index
=
None
self
.
_begin_index
=
None
self
.
_begin_index
=
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