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

llama should have None max length #348

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

sam-scale
Copy link
Contributor

No description provided.

"mammoth-coder": {"max_model_len": 16384, "max_num_batched_tokens": 16384},
# Based on config here: https://huggingface.co/TIGER-Lab/MAmmoTH-Coder-7B/blob/main/config.json#L12
# Can also see 13B, 34B there too
"code-llama": {"max_model_len": 16384, "max_num_batched_tokens": 16384},
# Based on config here: https://huggingface.co/codellama/CodeLlama-7b-hf/blob/main/config.json#L12
# Can also see 13B, 34B there too
"llama-2": {"max_model_len": 4096, "max_num_batched_tokens": 4096},
"llama-2": {"max_model_len": None, "max_num_batched_tokens": 4096},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with vllm-project/vllm#1198 i think we can remove setting max_num_batched_tokens. this is merged in 0.2.0

@sam-scale
Copy link
Contributor Author

Going to merge for now to unblock people and then check if we don't need these anymore

@sam-scale sam-scale merged commit d2d4d10 into main Oct 24, 2023
5 checks passed
@sam-scale sam-scale deleted the ss/llama-none-max-length branch October 24, 2023 23:23
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.

None yet

2 participants