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

Streaming output support? #160

Open
xiangqi1997 opened this issue May 10, 2024 · 1 comment
Open

Streaming output support? #160

xiangqi1997 opened this issue May 10, 2024 · 1 comment

Comments

@xiangqi1997
Copy link

Wondering if streaming output is supported? Or are there any results about the time to first token and time per output token? Thanks.

@NiYueLiuFeng
Copy link

Copying the code of def stream_chat(self, ....) to modeling_internvl_chat.py from modeling_internlm2.py https://huggingface.co/OpenGVLab/InternVL-Chat-V1-5/blob/main/modeling_internlm2.py and make very small changes , I implement it and verify that is usefull.

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

2 participants