ComfyUI-LTXVideo icon indicating copy to clipboard operation
ComfyUI-LTXVideo copied to clipboard

LTXV Prompt Enhancer Loader Issue with last transformers update

Open Kozatiju opened this issue 7 months ago • 1 comments

Hi !

I'm trying to launch the very useful LTXVPromptEnhancerLoader, but when I launch I have this issue : 'DaViT' object has no attribute '_initialize_weights'

Florence2 seemed to have the same issue but it looks like the issue is resolved somehow. I wonder if it could be easily fix or not https://github.com/kijai/ComfyUI-Florence2/issues/150

Thanks a lot for any help if it's not too complicated🙏

Kozatiju avatar May 21 '25 20:05 Kozatiju

Hi, This issue rises only for transformers>=4.52.0. Please install transformers<4.52.0 until a fix will be available

ybitterman avatar May 22 '25 06:05 ybitterman