Update modeling_cogvlm.py to support newer diffusers versions
#2
by
harelcain
- opened
Similarly to https://huggingface.co/allenai/Molmo-7B-D-0924/discussions/43/files and https://huggingface.co/THUDM/chatglm3-6b/commit/67d005d386a01d4825649743f41e90f83edd6094, need to support breaking change in newer versions of diffusers.