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] The script "profile_generation.py" went haywire and crashed #2760

Open
3 tasks done
yuchiwang opened this issue Nov 15, 2024 · 1 comment
Open
3 tasks done

[Bug] The script "profile_generation.py" went haywire and crashed #2760

yuchiwang opened this issue Nov 15, 2024 · 1 comment

Comments

@yuchiwang
Copy link

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug

if set c(concurrency) large, crashed, maybe kv_cache is not enough, but there is no clear indication.
Run script as below:
1731651728196
Traceback:
1731651803543

Reproduction

python benchmark/profile_generation.py /data/models/Qwen2.5-14B-Instruct --backend pytorch -pt 2048 -ct 512 -c 128 --tp 1

Environment

maca C500 GPU.

Error traceback

No response

@yuchiwang
Copy link
Author

应该是kv_cache不够导致,如果是kv_cache不够最好能给一个明确提示,这样比较用户友好。 @Reinerzhou

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

1 participant