kijai / ComfyUI-CogVideoXWrapper

980 stars 59 forks source link

Black video with sageattention 1.0.3 on windows 10 CogVideoX 1.5 I2V #257

Open ThatDocBoi opened 2 days ago

ThatDocBoi commented 2 days ago

Updated comfy to latest, using latest update from repo and the provided workflow, when I use sageattention it does go faster but ends up with a black video. Works with sdpa however. Uninstalled and reinstalled sage attention as well. Not sure what could be causing it, anything I should try?

pytorch version: 2.4.1+cu124 xformers version: 0.0.28.post1 Python version: 3.11.9 ComfyUI Revision: 2841 [89861512]

Thanks.

magicwang1111 commented 2 days ago

same problem

kijai commented 1 day ago

Sageattention is not working with 1.5 for apparently same reason 1.5 won't work in fp16.

zejacky commented 1 day ago

I have all generated videos black or mosaic, even with sdpa enabled (V1 and 1.5) . Was working yesterday before the update. Im using the new example workflows. Thanks.

kijai commented 1 day ago

I have all generated videos black or mosaic, even with sdpa enabled (V1 and 1.5) . Was working yesterday before the update. Im using the new example workflows. Thanks.

On what hardware?

zejacky commented 1 day ago

I have all generated videos black or mosaic, even with sdpa enabled (V1 and 1.5) . Was working yesterday before the update. Im using the new example workflows. Thanks.

On what hardware?

4090 with 64 GB System RAM

kijai commented 1 day ago

I have all generated videos black or mosaic, even with sdpa enabled (V1 and 1.5) . Was working yesterday before the update. Im using the new example workflows. Thanks.

On what hardware?

4090 with 64 GB System RAM

Same here, only time I got black outputs was with sage + 1.5 and fp16 + 1.5. Never happened on the 1.0 or Fun models though. I'd suggest do complete re-install of the nodes just in case, and make sure you're on torch 2.5.1.

zejacky commented 1 day ago

I have all generated videos black or mosaic, even with sdpa enabled (V1 and 1.5) . Was working yesterday before the update. Im using the new example workflows. Thanks.

On what hardware?

4090 with 64 GB System RAM

Same here, only time I got black outputs was with sage + 1.5 and fp16 + 1.5. Never happened on the 1.0 or Fun models though. I'd suggest do complete re-install of the nodes just in case, and make sure you're on torch 2.5.1.

Great, thank you! Your suggestion helped, and I got Version 1.5 working. Here’s what I did:

  1. pip3 uninstall torch
  2. pip install torch==2.5.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124 (I had torch 2.5.0 running before)
  3. Uninstall/Reinstall your node

However, there is still a mosaic effect on V1.0, but I believe there is already another topic about this.