LLaVA icon indicating copy to clipboard operation
LLaVA copied to clipboard

chat in Web UI, but throws exception AttributeError: 'NoneType' object has no attribute 'shape'

Open corleytd opened this issue 1 year ago • 2 comments

when I complete configuring the environment well and start the web api, and test chating in broswer, erroe happened: NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE. image

the model list is not empty, and backend outout the exception as follows: 20230503155527 absolutely, this error is caused by transformers, and I installed transformers by:

pip install git+https://github.com/haotian-liu/transformers_llava.git@988b6abb3b7da9a5cbb5051e994706f7f88c2565

I guess it's due to inappropriate installation of transformers or bug of transformers_llava. Tks a lot.

corleytd avatar May 03 '23 08:05 corleytd

Hi, thank you for your interest in our work. It seems that you are using the latest code base (with the present of llava.py but the old transformers). Please upgrade to the latest code base following the instructions here. Thanks!

haotian-liu avatar May 03 '23 16:05 haotian-liu

@corleytd How did you start web ui? My ip is 10.227.70.87, port is 8081

haoxurt avatar May 22 '23 08:05 haoxurt

Closing due to inactivity. Please feel free to re-open if you still encounter any issues, thanks.

haotian-liu avatar Jul 19 '23 17:07 haotian-liu