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

Close websocket connections, Format Llama-2-chat requests to Meta spec. #247

Merged
merged 5 commits into from
Jul 29, 2023

Conversation

Webifi
Copy link
Contributor

@Webifi Webifi commented Jul 28, 2023

WebSocket connections were being left open for Petals API calls creating a new open connection for every request. This is now fixed.
Llama-2-chat requests are new formatted to more closely follow what Meta trained it on:
https://huggingface.co/blog/llama2#how-to-prompt-llama-2

Also, this should be tested:
https://colab.research.google.com/drive/17Sn4AwrnHHN-lS1qoYltManEwgHOk-2d?usp=sharing

If it works out, it probably should be copied to GitHub and linked to in the webapp.

@Niek Niek merged commit 192e5ea into Niek:main Jul 29, 2023
@Niek
Copy link
Owner

Niek commented Jul 29, 2023

Merged, 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

Successfully merging this pull request may close these issues.

2 participants