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

How to test benchmark for Qwen2? #54

Open
limertang opened this issue Feb 6, 2025 · 1 comment
Open

How to test benchmark for Qwen2? #54

limertang opened this issue Feb 6, 2025 · 1 comment

Comments

@limertang
Copy link

I test benchmark of Qwen2 with qserve_benchmark.py or qserve_e2e_generation.py,it will throw a error:Unsupported model type: QWen2ForCausalLM, how to fix it?

@ys-2020
Copy link
Contributor

ys-2020 commented Feb 26, 2025

Hi! Thank you for your interests in QServe. To benchmark Qwen models, you can modify the model type in the checkpoint config to LlamaForCausalLM as the model architecture of Qwen is similar to Llama. You can also modify this line to support Qwen model family.

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

No branches or pull requests

2 participants