RuntimeError: mat1 and mat2 shapes cannot be multiplied (512x4096 and 12288x4096)

#34
by facciopaura - opened

I'm getting crazy and always get this error!
I tried both with gguf or safetensor, always getting that kind of error

Ubuntu 24.04 2 x R9700 AI pro
comfyui 0.18
running on a docker:
docker run -it --rm --name comfyui-run
--device=/dev/kfd --device=/dev/dri
--group-add video
--dns 8.8.8.8
-v /mnt/dati/grafica/Comfyui:/app
-p 8188:8188
-e HIP_VISIBLE_DEVICES=1
-e GIT_PYTHON_REFRESH=quiet
comfyui-flux-finale:v2
/opt/venv/bin/python /app/main.py --highvram --listen 0.0.0.0 --enable-manager

image

Using duel clip was for flux 1. With flux2 I found it to be a pain in the butt. basic load CLIP with type set to flux2 and a positive prompt stopped this error for me. I have different errors now, but that's not one of them.

Sign up or log in to comment