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

web_demo doesn't work #3

Open
DanielProkhorov opened this issue Feb 15, 2024 · 2 comments
Open

web_demo doesn't work #3

DanielProkhorov opened this issue Feb 15, 2024 · 2 comments

Comments

@DanielProkhorov
Copy link

I tried to run the gradio demo as follows:

python web_demo.py --from_pretrained cogcom-base-17b --local_tokenizer lmsys/vicuna-7b-v1.5 --bf16

resulting in this error:

drawn_imgs = gr.Gallery(
                 ^^^^^^^^^^^

TypeError: Gallery.__init__() got an unexpected keyword argument 'width'
@qijimrc
Copy link
Collaborator

qijimrc commented Feb 17, 2024

I tried to run the gradio demo as follows:

python web_demo.py --from_pretrained cogcom-base-17b --local_tokenizer lmsys/vicuna-7b-v1.5 --bf16

resulting in this error:

drawn_imgs = gr.Gallery(
                 ^^^^^^^^^^^

TypeError: Gallery.__init__() got an unexpected keyword argument 'width'

Hi, for a smooth training and inference, we need to keep a proper version of the pydantic package, and which will influence the versions of gradio, and spacy. I have updated the requirements.txt including these versions, and we will relax this constraints soon.

This was referenced Feb 20, 2024
@terryII
Copy link

terryII commented Jun 17, 2024

hi,我尝试在4090上运行web demo,出现cuda out of memory,如何采用多卡来进行web demo的部署? @qijimrc

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