Skip to content
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

Fix gguf_q4k #11293

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

rnwang04
Copy link
Contributor

@rnwang04 rnwang04 commented Jun 12, 2024

Description

1. Why the change?

https://github.com/analytics-zoo/nano/issues/1434

2. User API changes

No change.

3. Summary of the change

  • change parameter of xe_linear.dequantize_rows
  • update fp16 benchmark api from model.half() to torch_dtype=torch.float16 (only update "transformer_int4_fp16_gpu_win" and "transformer_int4_fp16_gpu" now) as quantized embedding must accept torch_dtype=torch.float16

4. How to test?

  • Unit test

@rnwang04 rnwang04 requested a review from Oscilloscope98 June 12, 2024 11:02
@rnwang04 rnwang04 merged commit 14b1e6b into intel-analytics:main Jun 12, 2024
18 checks passed
@rnwang04 rnwang04 deleted the update_quantize_embedding branch June 12, 2024 12:43
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.

2 participants