-
-
Notifications
You must be signed in to change notification settings - Fork 795
Remove error log for Intel CPU/XPU #1503
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
Remove error log for Intel CPU/XPU #1503
Conversation
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
bitsandbytes/cextension.py
Outdated
| from bitsandbytes.backends.cpu_xpu_common import ipex_cpu, ipex_xpu | ||
|
|
||
| if ipex_cpu or ipex_xpu: | ||
| return None |
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.
The type annotation for this function does not indicate it could ever return None.
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.
done
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.
What was done?
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.
Sorry for I forgot to remove return None in this function. Now, it's okay.
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
|
Hi @Titus-von-Koeller @matthewdouglas @akx . We are seeking to remove this error log, I know BNB is under refactoring, but this is emergent. Many Intel customers reported this issue. Can we temporarily fix the issue by this PR? Thanks! |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
54a2ad5
into
bitsandbytes-foundation:multi-backend-refactor
Intel CPU/XPU do not need compile any C++ file, so we can remove the error log.