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

Make MAX_BATCH_SIZE, MAX_NUM_TOKENS, MAX_SEQ_LENGTH user-provided input arguments #1018

Merged
merged 12 commits into from
Oct 1, 2023

Conversation

jiazhihao
Copy link
Collaborator

@jiazhihao jiazhihao commented Aug 22, 2023

Description of changes:

This PR fixes #910 by allowing users to control the maximum number of requests/tokens in a batch and maximum sequence length.

Related Issues:

Linked Issues:

  • Issue #

Issues closed by this PR:

@jiazhihao jiazhihao marked this pull request as draft August 22, 2023 02:49
@lockshaw lockshaw added the inference Features and fixes related to the inference project. label Sep 21, 2023
@lockshaw
Copy link
Collaborator

Waiting on #1096 and #1140

@xinhaoc
Copy link
Collaborator

xinhaoc commented Sep 30, 2023

#1123

@jiazhihao jiazhihao marked this pull request as ready for review September 30, 2023 22:22
@jiazhihao jiazhihao merged commit d9a95ef into inference Oct 1, 2023
40 checks passed
@goliaro goliaro deleted the fix_batch_config_parameters branch October 3, 2023 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inference Features and fixes related to the inference project.
Projects
None yet
5 participants