Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
corleytd opened this issue May 3, 2023 · 3 comments

Comments

@corleytd
Copy link

corleytd commented May 3, 2023

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.

@haotian-liu
Copy link
Owner

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!

@haoxurt
Copy link

haoxurt commented May 22, 2023

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

@haotian-liu
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants