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

[Bugfix][Core] Fix tekken edge case for mistral tokenizer #8640

Merged
merged 12 commits into from
Sep 20, 2024
Prev Previous commit
Next Next commit
Update tests/models/decoder_only/language/test_mistral.py
  • Loading branch information
patrickvonplaten authored Sep 20, 2024
commit f6de609ece21fce74cf240d3526787ad35942627
1 change: 1 addition & 0 deletions tests/models/decoder_only/language/test_mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def test_models(
with hf_runner(model, dtype=dtype) as hf_model:
hf_outputs = hf_model.generate_greedy_logprobs_limit(
example_prompts, max_tokens, num_logprobs)
patrickvonplaten marked this conversation as resolved.
Show resolved Hide resolved

with vllm_runner(model, dtype=dtype,
patrickvonplaten marked this conversation as resolved.
Show resolved Hide resolved
tokenizer_mode="mistral") as vllm_model:
vllm_outputs = vllm_model.generate_greedy_logprobs(
Expand Down
Loading