ExponentialML / ComfyUI_ELLA

ComfyUI Implementaion of ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment
Apache License 2.0
151 stars 9 forks source link

Whatever I do, Ella doesn't recognise SentencePiece library #15

Open WetDogma opened 1 month ago

WetDogma commented 1 month ago

"Error occurred when executing LoadElla:

T5Tokenizer requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones that match your environment. Please note that you may need to restart your runtime after installation."

I have installed the SentencePiece library, and really don't understand what the issue is. I am using this in ComfyUI portable. I followed another thread that spoke about issues with SentencePiece, but adding in a requirements.txt and installing it that way didn't make a difference.

How can I assure SentencePiece is indeed recognised in Comfy's environment?

henrique-galimberti commented 1 month ago

Install it with the embeded python

quixot1c commented 1 month ago

https://github.com/ExponentialML/ComfyUI_ELLA/issues/6#issuecomment-2050543077

BuckRogers01 commented 1 month ago

OK for me the only way to get it to work was to pip uninstall sentencepiece, then use the ComfyUI manager, in "Experimental" Used the "Install PiP Packages" to install it and it worked, have zero clue why but that's what worked on up to date ComfyUi Portable.