Skip to content

Conversation

@jiqing-feng
Copy link
Contributor

Intel CPU/XPU do not need compile any C++ file, so we can remove the error log.

from bitsandbytes.backends.cpu_xpu_common import ipex_cpu, ipex_xpu

if ipex_cpu or ipex_xpu:
return None
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

What was done?

Copy link
Contributor Author

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.

@jiqing-feng jiqing-feng deleted the multi branch February 26, 2025 07:26
@jiqing-feng jiqing-feng restored the multi branch March 25, 2025 06:05
@jiqing-feng jiqing-feng reopened this Mar 25, 2025
@jiqing-feng
Copy link
Contributor Author

jiqing-feng commented Apr 8, 2025

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!

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

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.

@matthewdouglas matthewdouglas merged commit 54a2ad5 into bitsandbytes-foundation:multi-backend-refactor Apr 8, 2025
2 checks passed
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