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

[Bug]: Wrong Response with Gemma2 with 8k context length #8580

Open
hahmad2008 opened this issue Sep 18, 2024 · 0 comments
Open

[Bug]: Wrong Response with Gemma2 with 8k context length #8580

hahmad2008 opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hahmad2008
Copy link

hahmad2008 commented Sep 18, 2024

serving gemma2-9b on 4 GPUs with 8k context length. I disabled the sliding window and enable flashinfer backend, however when I send a long prompt I got weird responses with repeated same first sentences!!

example:

  • prompt is to answer a question given a paper content.

  • response:

"content": "\n\nThe paper you'\n\nLet me know if you'\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper.\n\nLet me know if you have any other questions about the paper"

How to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant