Skip to content

[paddle inference cpu]update cpu inference#8984

Merged
wawltor merged 1 commit into
PaddlePaddle:developfrom
bukejiyu:paddle_cpu
Aug 28, 2024
Merged

[paddle inference cpu]update cpu inference#8984
wawltor merged 1 commit into
PaddlePaddle:developfrom
bukejiyu:paddle_cpu

Conversation

@bukejiyu
Copy link
Copy Markdown
Contributor

@bukejiyu bukejiyu commented Aug 21, 2024

PR types

New features

PR changes

Others

Description

pcard-71500
相关pr #8634
1.增加fp16_int8混合精度推理 8463B bs=1 输入/输出=128/15 首token时延 463.775ms next token时延 33.409ms
2.支持 cachekv int8
3.更新readme

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Aug 21, 2024

Thanks for your contribution!

Comment thread csrc/cpu/setup.sh Outdated
Comment thread paddlenlp/experimental/transformers/llama/modeling.py Outdated
Comment thread csrc/cpu/src/setup_cpu.py
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 157 lines in your changes missing coverage. Please review.

Project coverage is 53.82%. Comparing base (a2f9558) to head (1d80c2d).
Report is 229 commits behind head on develop.

Files with missing lines Patch % Lines
...erimental/transformers/fused_transformer_layers.py 0.00% 127 Missing ⚠️
...dlenlp/experimental/transformers/llama/modeling.py 0.00% 27 Missing ⚠️
...enlp/experimental/transformers/generation_utils.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8984      +/-   ##
===========================================
- Coverage    54.24%   53.82%   -0.43%     
===========================================
  Files          650      652       +2     
  Lines       104307   104468     +161     
===========================================
- Hits         56583    56231     -352     
- Misses       47724    48237     +513     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bukejiyu bukejiyu force-pushed the paddle_cpu branch 6 times, most recently from 99a596b to 516fbb4 Compare August 26, 2024 13:40
Comment thread csrc/cpu/src/avx_weight_only.cc Outdated
Comment thread csrc/cpu/src/avx_weight_only.cc Outdated
Comment thread llm/predict/predictor.py Outdated
Comment thread llm/predict/predictor.py Outdated
Comment thread paddlenlp/experimental/transformers/fused_transformer_layers.py Outdated
Comment thread paddlenlp/experimental/transformers/fused_transformer_layers.py Outdated
Comment thread paddlenlp/experimental/transformers/fused_transformer_layers.py Outdated
Comment thread paddlenlp/experimental/transformers/fused_transformer_layers.py Outdated
@bukejiyu bukejiyu force-pushed the paddle_cpu branch 2 times, most recently from 05529a0 to 621c839 Compare August 27, 2024 08:25
@bukejiyu bukejiyu force-pushed the paddle_cpu branch 2 times, most recently from f02e8b6 to 50805f3 Compare August 28, 2024 03:47
Comment thread llm/README.md Outdated
Comment thread llm/README.md Outdated
Comment thread llm/docs/cpu_install.md
@wawltor wawltor merged commit 25a6d4e into PaddlePaddle:develop Aug 28, 2024
Mangodadada pushed a commit to Mangodadada/PaddleNLP that referenced this pull request Sep 10, 2024
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.

5 participants