city96 / ComfyUI_ExtraModels

Support for miscellaneous image models. Currently supports: DiT, PixArt, HunYuanDiT, MiaoBi, and a few VAEs.
Apache License 2.0
394 stars 35 forks source link

T5v11Loader error #5

Closed tetsuoo-online closed 11 months ago

tetsuoo-online commented 11 months ago

I'm really not good at those things, I checked the website indicated in the error message but where should I install that SentencePiece thing ? in the ExtraModel folder ? In a venv folder ? in ComfyUI/pythonembedded ? I tried in ComfyUI root but it was already there in my Python folders, so I'm completely lost again image image

city96 commented 11 months ago

Hi!

You're in the right place with the command window, but your command is wrong. Could you try this one and report back?

.\python_embeded\python.exe -m pip install -r  .\ComfyUI\custom_nodes\ComfyUI_ExtraModels\requirements.txt
tetsuoo-online commented 11 months ago

Hi, I doesn't look like it installed anything... I'm getting a list of "Requirement already satisfied" :

image

The T5 tries to load itself, something happens, it idles at 50% then get stuck the same way as before. Here a screenshot of the console if that can help :

image

CPU or GPU do the same thing, CPU will only take longer to get stuck lol

city96 commented 11 months ago

What about installing it with the -s flag like this? If it works I'll update the readme.

.\python_embeded\python.exe -s -m pip install -r .\ComfyUI\custom_nodes\ComfyUI_ExtraModels\requirements.txt
tetsuoo-online commented 11 months ago

IT WORKED !! phew thanks x)

image

I can finally get the damn blue tank rofl will make more testing later x) image

tetsuoo-online commented 11 months ago

Actually I just made another 2 tests and my computer almost froze, it was using 20GB of RAM (I have 32). That thing is as demanding as using Houdini x) (3D software) So much for a failed attempt to make a pixelart anime character that the model obviously never heard of

image

city96 commented 11 months ago

Actually I just made another 2 tests and my computer almost froze, it was using 20GB of RAM (I have 32). That thing is as demanding as using Houdini x) (3D software)

I feel your pain, I'm also on 32GB RAM on my main desktop (though my 3D software of choice for torturing my poor computer is Blender). I might be able to get the RAM usage down if I implement the entire T5 model from scratch but that seems a bit overkill...

So much for a failed attempt to make a pixelart anime character that the model obviously never heard of

I don't think PixArt had much anime in the training data, and the synthetic captions probably didn't include any character names. I'll try and do a full anime finetune of it eventually. Keyword being 'try'.

Anyway, I'll add that -s flag to the readme. Feel free to reopen/make another issue if sth breaks!