You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SD 1.5 model is unable to load (presumably twice, due to still being loaded from failed workflow start), and the following error occurs:
File "/workspace/miniconda3/envs/comfystream/lib/python3.11/site-packages/comfy/sd.py", line 892, in load_checkpoint_guess_config
raise RuntimeError("Could not detect model type of: {}".format(ckpt_path))
RuntimeError: Could not detect model type of: /workspace/ComfyUI/models/checkpoints/dreamshaper_8.safetensors
Restarting the Pod via the Runpod UI always works (when I load the workflow for the first time after restarting)
Reloading the same workflow (default SD1.5 workflow) sometime works, sometime doesn't work
Expected behavior
ComfyStream server should free cuda memory, free memory and restart the appropriate thread/process queue in EmbeddedComfyClient, then return a 500 error response
Screenshots
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
eliteprox
changed the title
[BUG] Failure loading workflow breaks prompt server
[BUG] RuntimeError("Could not detect model type of: {}".format(ckpt_path))
Mar 11, 2025
eliteprox
changed the title
[BUG] RuntimeError("Could not detect model type of: {}".format(ckpt_path))
[BUG] "Could not detect model type"
Mar 11, 2025
Describe the bug
ComfyStream server memory leak during failed workflow
To Reproduce
After submitting an invalid workflow, usually where a model is missing, the server does not recover and cannot process further streams.
Expected behavior
ComfyStream server should free cuda memory, free memory and restart the appropriate thread/process queue in EmbeddedComfyClient, then return a 500 error response
Screenshots
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: