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

TGI improvements #522

Merged
merged 7 commits into from
Mar 21, 2024
Merged

TGI improvements #522

merged 7 commits into from
Mar 21, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Mar 21, 2024

What does this PR do?

This brings several fixes and improvements to NeuronX TGI.

Improvements

  • Use model default generation parameters like top_k and top_p when they are omitted by the client,
  • avoid loading model twice when exporting (divides deployment time by almost two),
  • make sure MAX_BATCH_SIZE is set on SageMaker.

Fixes

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@dacorvo dacorvo marked this pull request as ready for review March 21, 2024 09:48
@dacorvo dacorvo merged commit 59b5c16 into main Mar 21, 2024
8 of 11 checks passed
@dacorvo dacorvo deleted the tgi_improvements branch March 21, 2024 12:58
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