Custom Node Testing
Your question
Summary
I am experiencing a significant regression in audio generation quality when using the audio_ace_step_1_5_checkpoint template after updating from ComfyUI v0.12.2 to v0.12.3 (ComfyUI Desktop v0.8.3).
The generated tracks, particularly in the Ambient/Minimal genre, now contain glitchy, overly loud, and inappropriate sounds, or strange looping patterns. This issue is less noticeable in denser genres but completely breaks the atmosphere of sparse/minimal tracks.
Steps to Reproduce
- Use the audio_ace_step_1_5_checkpoint workflow.
- Use the following generation parameters:
-
Prompt: Electronic Minimalism: A sparse and evocative electronic track based on repetition and subtle variations in sound design. Long sustained notes, delicate textures and a sense of spaciousness are key elements.
-
Lyrics: [Intro – Sustained Synth Note & Minimal Percussion] [Verse 1 - Subtle Texture Variations & Evolving Pad] [Bridge - Slow Filter Sweep & Atmospheric Resonance] [Outro – Gradual Silence with Lingering Harmonics]
-
Seed: 31 (Note: Issue is reproducible on different seeds, not specific to this one)
-
Duration: 120
-
BPM: 70
-
Time Signature: 3
-
Language: en
-
Key Scale: b minor
-
Other settings: Default internal settings (cfg_scale: 2, temperature: 0.85, top_p: 0.90, top_k: 0) were used.
Expected Behavior
On ComfyUI v0.12.2, these parameters generate a high-quality, clean ambient track with smooth textures and appropriate atmospheric resonance.
Actual Behavior
On ComfyUI v0.12.3, the same parameters result in a track with distinct audio artifacts:
- Glitchy and harsh sounds that do not fit the genre.
- Inappropriately loud bursts of noise.
- Strange looping patterns
Potential Cause
(Analysis assisted by GLM 4.7)
The regression appears to stem from changes in how the generation metadata is formatted in the ACE15 tokenizer (.\ComfyUI\comfy\text_encoders\ace15.py).
- Redundant Context Injection: The user_metas dictionary incorrectly includes "caption". This appends the user's text prompt to the Assistant's context again (it should only be in the User prompt), causing the model to attempt to continue text rather than generate audio tokens.
2. Non-deterministic Ordering: Using yaml.dump(..., sort_keys=True) randomizes the sequence of technical metadata (BPM, Key, Duration, etc.). Audio LLMs rely on a strict token order; this alphabetical shuffle disrupts the model's expectation compared to the fixed string formatting used in v0.12.2. is incorrect. Apologies, I was trying to save time on the source code review.
I have attached two audio files for comparison:
v0.12.2_good.mp3: The expected quality.
v0.12.3_glitchy.mp3: The result with artifacts.
Logs
The debug logs are too long to be pasted directly here.
I have attached the log file in the "Other" section
Other
comfyui_8000.log
Working Version: ComfyUI Portable v0.12.2
Broken Version: ComfyUI Desktop v0.8.3 (Core ComfyUI v0.12.3)
OS: Windows 11
GPU: Nvidia 5060 Ti (16GB VRAM)
RAM: 80 GB
Custom Node Testing
Your question
Summary
I am experiencing a significant regression in audio generation quality when using the audio_ace_step_1_5_checkpoint template after updating from ComfyUI v0.12.2 to v0.12.3 (ComfyUI Desktop v0.8.3).
The generated tracks, particularly in the Ambient/Minimal genre, now contain glitchy, overly loud, and inappropriate sounds, or strange looping patterns. This issue is less noticeable in denser genres but completely breaks the atmosphere of sparse/minimal tracks.
Steps to Reproduce
Prompt:
Electronic Minimalism: A sparse and evocative electronic track based on repetition and subtle variations in sound design. Long sustained notes, delicate textures and a sense of spaciousness are key elements.Lyrics:
[Intro – Sustained Synth Note & Minimal Percussion] [Verse 1 - Subtle Texture Variations & Evolving Pad] [Bridge - Slow Filter Sweep & Atmospheric Resonance] [Outro – Gradual Silence with Lingering Harmonics]Seed: 31 (Note: Issue is reproducible on different seeds, not specific to this one)
Duration: 120
BPM: 70
Time Signature: 3
Language: en
Key Scale: b minor
Other settings: Default internal settings (cfg_scale: 2, temperature: 0.85, top_p: 0.90, top_k: 0) were used.
Expected Behavior
On ComfyUI v0.12.2, these parameters generate a high-quality, clean ambient track with smooth textures and appropriate atmospheric resonance.
Actual Behavior
On ComfyUI v0.12.3, the same parameters result in a track with distinct audio artifacts:
Potential Cause
(Analysis assisted by GLM 4.7)
The regression appears to stem from changes in how the generation metadata is formatted in the ACE15 tokenizer (
.\ComfyUI\comfy\text_encoders\ace15.py).2. Non-deterministic Ordering: Using yaml.dump(..., sort_keys=True) randomizes the sequence of technical metadata (BPM, Key, Duration, etc.). Audio LLMs rely on a strict token order; this alphabetical shuffle disrupts the model's expectation compared to the fixed string formatting used in v0.12.2.is incorrect. Apologies, I was trying to save time on the source code review.I have attached two audio files for comparison:
v0.12.2_good.mp3: The expected quality.
v0.12.3_glitchy.mp3: The result with artifacts.
Logs
Other
comfyui_8000.log
Working Version: ComfyUI Portable v0.12.2
Broken Version: ComfyUI Desktop v0.8.3 (Core ComfyUI v0.12.3)
OS: Windows 11
GPU: Nvidia 5060 Ti (16GB VRAM)
RAM: 80 GB