[ONNXRuntimeError] when running ComfyUI
I'm a total noob when it comes these. I was able to run a vid2vid workflow for about a week now, no issues, but from yesterday, I'm running into this issue and I have no clue what to do. Anyone be able to help?
7 Replies
Not 100% sure, but try
1.
pip uninstall onnxruntime -y
2. pip install onnxruntime-gpu
If this does not help you might try this:
1. pip uninstall opencv-python
2 pip install opencv-python-headless
If this does not help as well, try
1. apt update
2. apt install ffmpeg -y
Could you please let me know if anything of this helped?
@theshadowfaxthe 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.
Did it help?