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

Add support for TGI truncate parameter #647

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Add support for TGI truncate parameter #647

merged 1 commit into from
Jul 3, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Jul 2, 2024

What does this PR do?

This adds support for the truncate parameter in TGI requests, which only keeps the right-hand truncate tokens of the input prompt.

@dacorvo dacorvo marked this pull request as ready for review July 2, 2024 15:47
@dacorvo dacorvo merged commit 20a49e9 into main Jul 3, 2024
2 checks passed
@dacorvo dacorvo deleted the tgi_truncate branch July 3, 2024 08:33
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