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

Power of 2 padding fix #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Power of 2 padding fix #97

wants to merge 1 commit into from

Conversation

mfylcek
Copy link
Contributor

@mfylcek mfylcek commented Feb 14, 2025

The PR fixes an issue with extra block size padding being added to some buckets, because of incorrect searching for the closest power of 2 value.
INFO 02-14 10:20:30 hpu_model_runner.py:1740] [Warmup][Decode][5/20] batch_size:8 num_blocks:256 free_mem:30.88 GiB
Bucket after padding: (8, 512, False)
INFO 02-14 10:20:30 hpu_model_runner.py:1740] [Warmup][Decode][6/20] batch_size:16 num_blocks:128 free_mem:30.88 GiB
Bucket after padding: (16, 512, False)

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.

1 participant