Skip to content

[Inference] Support group-wize quantize for weight_quantize op in GPU #71549

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

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

zeroRains
Copy link
Contributor

@zeroRains zeroRains commented Mar 11, 2025

PR Category

Inference

PR Types

Performance

Description

给weight_quantize op的group-wize quantize(int8, int4_col, int4_row)添加GPU kernel

deepseek-V2验证成功(已将deepseek-V2 modeling中转成cpu的逻辑删除)

PaddlePaddle/PaddleNLP#10174

python ./predict/predictor.py --model_name_or_path deepseek-ai/DeepSeek-V2-Lite-Chat --dtype float16 --mode dynamic --decode_strategy greedy_search --inference_model 1 --block_attn 1 --append_attn 1 --quant_type weight_only_int4 --weightonly_group_size 64

image

Copy link

paddle-bot bot commented Mar 11, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Mar 11, 2025
@zeroRains zeroRains marked this pull request as draft March 12, 2025 12:10
@zeroRains zeroRains marked this pull request as ready for review March 13, 2025 05:15
Copy link

paddle-ci-bot bot commented Apr 2, 2025

Sorry to inform you that e6b68d3's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link

paddle-ci-bot bot commented Apr 14, 2025

Sorry to inform you that 9f7556c's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link

paddle-ci-bot bot commented May 1, 2025

Sorry to inform you that f194185's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@yuanlehome yuanlehome self-requested a review May 13, 2025 03:21
Copy link

paddle-ci-bot bot commented May 18, 2025

Sorry to inform you that 51c5483's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant