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

[FIX] Update EOS from config #2475

Merged
merged 5 commits into from
Dec 27, 2024
Merged

Conversation

zhengy001
Copy link
Contributor

@zhengy001 zhengy001 commented Dec 13, 2024

Motivation

Correct EOS as default tokenizer eos_token_id may different from model config eos_token_id

Modifications

Checklist

  • Format your code according to the Contributor Guide.
  • Add unit tests as outlined in the Contributor Guide.
  • Update documentation as needed, including docstrings or example tutorials.

@zhengy001
Copy link
Contributor Author

Per @remixer-dec, model Mistral-Nemo-Instruct-2407-Q5_K_L.gguf has this issue.

Copy link
Contributor

@merrymercy merrymercy left a comment

Choose a reason for hiding this comment

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

Left some final comments!

python/sglang/srt/managers/scheduler.py Outdated Show resolved Hide resolved
python/sglang/srt/managers/schedule_batch.py Outdated Show resolved Hide resolved
@merrymercy merrymercy merged commit 7a7ac6b into sgl-project:main Dec 27, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants