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

[bucketing overhaul 2/n] Delegate bucket management to HPUBucketingContext #395

Open
wants to merge 5 commits into
base: habana_main
Choose a base branch
from

Conversation

kzawora-intel
Copy link

Requires #394

This PR moves the bucket creation and management logic to HPUBucketingContext class. With this, model runner should not have to ever write to HPUBucketingGlobalState, and all bucketing functions and classes (first ~400 or so lines of hpu model runner) can be moved in next PR to vllm_hpu_extension and be covered with unit tests.

@michalkuligowski
Copy link

Seems that cpu_test fails on failure to read some environmental variable:
/home/runner/work/vllm-fork/vllm-fork/vllm/worker/hpu_model_runner.py", line 210

@kzawora-intel kzawora-intel added the habana Issues or PRs submitted by Habana Labs label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
habana Issues or PRs submitted by Habana Labs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants