text-generation-webui
text-generation-webui copied to clipboard
Get AttributeError: 'NoneType' object has no attribute 'encode' when trying to load models
I can only run the facebook model. I can download the others, but if I try and load it, I get the AttributeError: 'NoneType' object has no attribute 'encode' message. Am I doing something wrong somewhere?
not trying to be rude but you gotta give us more to work on... can you try uploading
- Complete log from prompt to prompt
- Screenshot
- System Info
- Was this previously working and then broke or was it never working?
hi I meet this error too.
first I use this cmd to download THUDM/glm-2b:
python download-model.py THUDM/glm-2b
and then I can see the model in webui Model tag like this:
after load this model, I try to generate text from Text generation tag, and the error is appear:
if I use Facebook_opt-1.3b, it's ok.
not trying to be rude but you gotta give us more to work on... can you try uploading
- Complete log from prompt to prompt
- Screenshot
- System Info
- Was this previously working and then broke or was it never working?
Thank you, you are so right, I realized after I posted.
- I think the post from @donote above gives more info on the problem.
- I am running on a Windows 10 PC, with 24GB RAM, Nvidia card with 6GB.
- I have never got a different model working apart from the Facebook default one.
I hope that helps.
related issue: https://github.com/oobabooga/text-generation-webui/issues/1231
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below.