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
ca71e542
Commit
ca71e542
authored
Nov 09, 2023
by
comfyanonymous
Browse files
Lower cfg step to 0.1 in sampler nodes.
parent
72e3feb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
comfy_extras/nodes_custom_sampler.py
comfy_extras/nodes_custom_sampler.py
+1
-1
nodes.py
nodes.py
+2
-2
No files found.
comfy_extras/nodes_custom_sampler.py
View file @
ca71e542
...
...
@@ -188,7 +188,7 @@ class SamplerCustom:
{
"model"
:
(
"MODEL"
,),
"add_noise"
:
(
"BOOLEAN"
,
{
"default"
:
True
}),
"noise_seed"
:
(
"INT"
,
{
"default"
:
0
,
"min"
:
0
,
"max"
:
0xffffffffffffffff
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
5
,
"round"
:
0.01
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
1
,
"round"
:
0.01
}),
"positive"
:
(
"CONDITIONING"
,
),
"negative"
:
(
"CONDITIONING"
,
),
"sampler"
:
(
"SAMPLER"
,
),
...
...
nodes.py
View file @
ca71e542
...
...
@@ -1218,7 +1218,7 @@ class KSampler:
{
"model"
:
(
"MODEL"
,),
"seed"
:
(
"INT"
,
{
"default"
:
0
,
"min"
:
0
,
"max"
:
0xffffffffffffffff
}),
"steps"
:
(
"INT"
,
{
"default"
:
20
,
"min"
:
1
,
"max"
:
10000
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
5
,
"round"
:
0.01
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
1
,
"round"
:
0.01
}),
"sampler_name"
:
(
comfy
.
samplers
.
KSampler
.
SAMPLERS
,
),
"scheduler"
:
(
comfy
.
samplers
.
KSampler
.
SCHEDULERS
,
),
"positive"
:
(
"CONDITIONING"
,
),
...
...
@@ -1244,7 +1244,7 @@ class KSamplerAdvanced:
"add_noise"
:
([
"enable"
,
"disable"
],
),
"noise_seed"
:
(
"INT"
,
{
"default"
:
0
,
"min"
:
0
,
"max"
:
0xffffffffffffffff
}),
"steps"
:
(
"INT"
,
{
"default"
:
20
,
"min"
:
1
,
"max"
:
10000
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
5
,
"round"
:
0.01
}),
"cfg"
:
(
"FLOAT"
,
{
"default"
:
8.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.
1
,
"round"
:
0.01
}),
"sampler_name"
:
(
comfy
.
samplers
.
KSampler
.
SAMPLERS
,
),
"scheduler"
:
(
comfy
.
samplers
.
KSampler
.
SCHEDULERS
,
),
"positive"
:
(
"CONDITIONING"
,
),
...
...
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