Skip to content

Conversation

@jiqing-feng
Copy link
Contributor

@jiqing-feng jiqing-feng commented Feb 10, 2025

In XPU env, we usually cannot get ipex_cpu, so just set the dtype to 2 which indicate we use bf16 dtype to compute.

Hi @Titus-von-Koeller @matthewdouglas . Please review this PR. Thanks!

Signed-off-by: jiqing-feng <[email protected]>
@jiqing-feng jiqing-feng changed the title fix xpu dtypoe fix xpu woq linear dtype Feb 11, 2025
None,
state.blocksize,
ipex_cpu.quantization.WoqLowpMode.BF16,
2,
Copy link
Contributor

Choose a reason for hiding this comment

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

Feels like there should be a comment about the magic number "2".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

Signed-off-by: jiqing-feng <[email protected]>
@github-actions
Copy link

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 89373b8 into bitsandbytes-foundation:multi-backend-refactor Feb 11, 2025
2 checks passed
@jiqing-feng jiqing-feng deleted the xpu branch February 12, 2025 00:58
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