StableGen icon indicating copy to clipboard operation
StableGen copied to clipboard

"Value not in list: ckpt_name" for checkpoints in subfolders

Open michelkiwic opened this issue 1 year ago • 4 comments

I am trying to get this to work. No luck so far, unfortunately. It can communicate with my ComfyUI. That's cool. And the model checkpoints come up in the list. But when I select one and try to "Generate" it gives me this error:

got prompt Failed to validate prompt for output 25:

  • CheckpointLoaderSimple 6:
    • Value not in list: ckpt_name: 'CinematicRedmond - Cinematic Model for SD XL - v1.0 - cinematicredmond_v10.safetensors' not in ['SD1.5\4x_NMKD-Siax_200k.pth', 'SDXL1.0\CinematicRedmond - Cinematic Model for SD XL - v1.0 - cinematicredmond_v10.safetensors', 'SDXL1.0\donutsdeliverymixV3_v30.safetensors', 'SDXL1.0\donutsdeliverymixXLV2_v20.safetensors', 'SDXL1.0\epicrealismXL_vxviLastfameRealism.safetensors', 'SDXL1.0\pixelPie_v10.safetensors', 'SDXL1.0\satpony_v4REALISM.safetensors', 'ltx\ltxv-2b-0.9.6-distilled-04-25.safetensors'] Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

+++

Thank you for your help!

michelkiwic avatar May 19 '25 18:05 michelkiwic

Seems like the issue is with the current way the plugin handles the filepaths for checkpoints.

Currently, it will work only when the model is at <YourComfyUIDir>/models/checkpoints. Crucially, it cannot be inside any subdirectory of that directory. The thing is I didn't think of this. I will update the readme for now but probably will come up with a more clever system down the line.

Alternatively, it can be in any directory which you added into ComfyUI as external path for checkpoints.

The problem here is the nesting of those directories. It always has to be at the top level.

sakalond avatar May 19 '25 19:05 sakalond

Realeased a new version which should fix this.

sakalond avatar May 19 '25 23:05 sakalond

You are a machine! Thank you so much for releasing this... I got it to work. I am testing like crazy, now.

Tell me if there's a way for me to give back to you! Testing, donating, marketing...

michelkiwic avatar May 20 '25 12:05 michelkiwic

I would be glad if you spread the word.

sakalond avatar May 20 '25 12:05 sakalond