#[ONNXRuntimeError] when running ComfyUI
9 messages · Page 1 of 1 (latest)
Not 100% sure, but try
pip uninstall onnxruntime -ypip install onnxruntime-gpu
If this does not help you might try this:
pip uninstall opencv-python
2pip install opencv-python-headless
If this does not help as well, try
apt updateapt install ffmpeg -y
Could you please let me know if anything of this helped?
@spark anchor
the first 2 steps fixed it! You are a lifesaver! I can't thank you enough... 🤗
Anytime. Let me know if there is anything I can help with
This is a completely different issue than the above one. I get disconnected from the ComfyUI time to time, when running a workflow. I'm mostly trying to animate a 15-20 sec video, but the process gets killed at random times. Sometimes its early into the process, sometimes towards the end. Happens on both normal and LCM workflows. When I do a 20-50 frames test, it animates everything perfect. But if I start to animate the whole video, this happens.
You ran out of system/CPU memory (RAM not VRAM). You need to use a pod that has has more memory.
You should also try loading libtcmalloc.so to help manage memory if your template isn't already doing so.
thank you, let me try this.