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
e59fe053
Unverified
Commit
e59fe053
authored
Aug 17, 2023
by
Alexopus
Committed by
GitHub
Aug 17, 2023
Browse files
Fix referenced before assignment
For
https://github.com/BlenderNeko/ComfyUI_TiledKSampler/issues/13
parent
be9c5e25
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 @
e59fe053
...
@@ -649,7 +649,7 @@ def sample_dpmpp_3m_sde(model, x, sigmas, extra_args=None, callback=None, disabl
...
@@ -649,7 +649,7 @@ def sample_dpmpp_3m_sde(model, x, sigmas, extra_args=None, callback=None, disabl
s_in
=
x
.
new_ones
([
x
.
shape
[
0
]])
s_in
=
x
.
new_ones
([
x
.
shape
[
0
]])
denoised_1
,
denoised_2
=
None
,
None
denoised_1
,
denoised_2
=
None
,
None
h_1
,
h_2
=
None
,
None
h
,
h_1
,
h_2
=
None
,
None
,
None
for
i
in
trange
(
len
(
sigmas
)
-
1
,
disable
=
disable
):
for
i
in
trange
(
len
(
sigmas
)
-
1
,
disable
=
disable
):
denoised
=
model
(
x
,
sigmas
[
i
]
*
s_in
,
**
extra_args
)
denoised
=
model
(
x
,
sigmas
[
i
]
*
s_in
,
**
extra_args
)
...
...
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