Skip to content

Hpu bucketing #489

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 5 commits into from
Mar 10, 2025
Merged

Hpu bucketing #489

merged 5 commits into from
Mar 10, 2025

Conversation

kaixuanliu
Copy link
Contributor

No description provided.

@kaixuanliu kaixuanliu marked this pull request as ready for review February 11, 2025 05:22
@kaixuanliu kaixuanliu marked this pull request as draft March 6, 2025 08:30
@kaixuanliu kaixuanliu marked this pull request as ready for review March 7, 2025 07:07
Signed-off-by: kaixuanliu <[email protected]>
@@ -13,6 +13,7 @@
is_hpu = is_hpu()
use_ipex = use_ipex()


Copy link
Collaborator

Choose a reason for hiding this comment

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

No need for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean no need for is_hpu and use_ipex? The reason we use global variables here is to avoid calling is_hpu() function and use_ipex() function multiple times, as it will cost a lot of time for these two functions.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No no, I was talking about the blank line that was added. It's the only change to this file so I don't think we need it. I know it's not a big change, but let's try to keep PR as minimal as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, sure :)

Copy link
Collaborator

@regisss regisss left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: kaixuanliu <[email protected]>
@Narsil Narsil merged commit 53bdab3 into huggingface:main Mar 10, 2025
@kaixuanliu kaixuanliu deleted the hpu-bucketing branch June 5, 2025 01:56
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