|
23 | 23 | "sft": { |
24 | 24 | "gguf_base": "acestep-v15-sft", |
25 | 25 | "config_path": "acestep-v15-sft", |
26 | | - "steps": 50, "shift": 1.0, "guidance": 7.0, |
| 26 | + "steps": 50, "shift": 1.0, "guidance": 1.0, |
27 | 27 | }, |
28 | 28 | } |
29 | 29 |
|
@@ -146,7 +146,7 @@ def run_python(dump_dir, req, cfg, lora_dir=None): |
146 | 146 | from acestep.handler import AceStepHandler |
147 | 147 |
|
148 | 148 | os.makedirs(dump_dir, exist_ok=True) |
149 | | - has_cfg = cfg["guidance"] > 0 |
| 149 | + has_cfg = cfg["guidance"] > 1.0 |
150 | 150 |
|
151 | 151 | caption = req["caption"] |
152 | 152 | lyrics = req.get("lyrics", "") |
@@ -319,7 +319,7 @@ def detok_hook(module, input, output): |
319 | 319 | # comparison |
320 | 320 |
|
321 | 321 | def build_stages(cfg): |
322 | | - has_cfg = cfg["guidance"] > 0 |
| 322 | + has_cfg = cfg["guidance"] > 1.0 |
323 | 323 | steps = cfg["steps"] |
324 | 324 | stages = [ |
325 | 325 | "text_hidden", "lyric_embed", "enc_hidden", "detok_output", "context", "noise", |
@@ -434,7 +434,7 @@ def run_mode(mode_name, cfg, req, gguf_path, lora_dir=None): |
434 | 434 |
|
435 | 435 | tag = mode_name.upper() if mode_name == "sft" else mode_name.capitalize() |
436 | 436 | cfg_str = f"steps={cfg['steps']}, shift={cfg['shift']}" |
437 | | - if cfg['guidance'] > 0: |
| 437 | + if cfg['guidance'] > 1.0: |
438 | 438 | cfg_str += f", CFG={cfg['guidance']}" |
439 | 439 | print(f"[{tag}] {cfg_str} | {os.path.basename(gguf_path)}") |
440 | 440 |
|
|
0 commit comments