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

Update model used in chat tutorials #81

Merged
merged 5 commits into from
Sep 16, 2024
Merged

Update model used in chat tutorials #81

merged 5 commits into from
Sep 16, 2024

Conversation

dyastremsky
Copy link
Contributor

GPT2 has no default template for vLLM, so it now returns an error when used:

ERROR 09-08 11:58:06 serving_chat.py:113] Error in applying chat template from request: As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one.
INFO:     127.0.0.1:48058 - "POST /v1/chat/completions HTTP/1.1" 400 Bad Request

vLLM uses Zephyr in their tutorials. It has a chat template, so I am updating our documents to use it so that the tutorials continue to work.

I also updated a few of the nearby tutorial output tables to the current format. The goal of this PR isn't to entirely update the output tables, which can be done in a separate PR.

genai-perf/docs/goodput.md Outdated Show resolved Hide resolved
genai-perf/docs/tutorial.md Outdated Show resolved Hide resolved
@dyastremsky
Copy link
Contributor Author

I updated the tutorial template. There's not an existing goodput template, so I created the ticket TPA-407 to add one in a separate PR.

@dyastremsky dyastremsky merged commit 3329a79 into main Sep 16, 2024
8 checks passed
@dyastremsky dyastremsky deleted the dyas-chat branch September 16, 2024 15:51
lkomali pushed a commit that referenced this pull request Oct 2, 2024
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.

3 participants