Skip to content

[deepseek_r1] decrease default max_seq_len_to_capture from 8192->4096 to reduce prompt graph #1447

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

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

ccrhx4
Copy link

@ccrhx4 ccrhx4 commented Jun 18, 2025

The default max_seq_len_to_capture(8192) captures too many prompt graphs. As as result, the number of hpu blocks are decreased. It impacts the performance for long seq input, such as 8k/1k.

The change is aligned to yangulei@14c4b51

@ccrhx4
Copy link
Author

ccrhx4 commented Jun 18, 2025

@czhu15 @yangulei please help to review.

@ccrhx4 ccrhx4 changed the title decrease default max_seq_len_to_capture from 8192->4096 to reduce prompt graph [deepseek_r1] decrease default max_seq_len_to_capture from 8192->4096 to reduce prompt graph Jun 18, 2025
Copy link

@yangulei yangulei left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@czhu15 czhu15 left a comment

Choose a reason for hiding this comment

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

+1

@czhu15 czhu15 merged commit 5469108 into HabanaAI:deepseek_r1 Jun 23, 2025
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants