-
Notifications
You must be signed in to change notification settings - Fork 287
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
Hpu bucketing #489
Conversation
Signed-off-by: kaixuanliu <[email protected]>
Signed-off-by: kaixuanliu <[email protected]>
Signed-off-by: kaixuanliu <[email protected]>
Signed-off-by: kaixuanliu <[email protected]>
@@ -13,6 +13,7 @@ | |||
is_hpu = is_hpu() | |||
use_ipex = use_ipex() | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for this
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sure :)
There was a problem hiding this 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]>
No description provided.