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
chenpangpang
ComfyUI
Commits
5d875d77
".circleci/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "285500d6899b6aebac24718447c353c564838b31"
Commit
5d875d77
authored
Mar 20, 2024
by
comfyanonymous
Browse files
Fix regression with lcm not working with batches.
parent
4b9005e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/k_diffusion/sampling.py
comfy/k_diffusion/sampling.py
+1
-1
No files found.
comfy/k_diffusion/sampling.py
View file @
5d875d77
...
@@ -748,7 +748,7 @@ def sample_lcm(model, x, sigmas, extra_args=None, callback=None, disable=None, n
...
@@ -748,7 +748,7 @@ def sample_lcm(model, x, sigmas, extra_args=None, callback=None, disable=None, n
x
=
denoised
x
=
denoised
if
sigmas
[
i
+
1
]
>
0
:
if
sigmas
[
i
+
1
]
>
0
:
x
=
model
.
inner_model
.
inner_model
.
model_sampling
.
noise_scaling
(
sigmas
[
i
+
1
]
*
s_in
,
noise_sampler
(
sigmas
[
i
],
sigmas
[
i
+
1
]),
x
)
x
=
model
.
inner_model
.
inner_model
.
model_sampling
.
noise_scaling
(
sigmas
[
i
+
1
],
noise_sampler
(
sigmas
[
i
],
sigmas
[
i
+
1
]),
x
)
return
x
return
x
...
...
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