Skip to content

Conversation

@kevincheng2
Copy link
Collaborator

@kevincheng2 kevincheng2 commented Nov 10, 2025

Motivation

dy-c8 support prefix caching
Cherry-Pick from #5125

Modifications

Usage or Command

使用方法(对齐动态c8启动参数 #4475 ):

  python -m fastdeploy.entrypoints.openai.api_server \
       ...
       --enable-prefix-caching \
       --disable-chunked-mm-input \
       --quantization '{"dense_quant_type":"block_wise_fp8", "moe_quant_type":"block_wise_fp8", "quantization":"mix_quant", "kv_cache_quant_type":"block_wise_fp8"}' 

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Nov 10, 2025

Thanks for your contribution!

@kevincheng2 kevincheng2 changed the title [Feature] c8 prefix caching [Feature] dy c8 prefix caching Nov 12, 2025
@kevincheng2 kevincheng2 changed the title [Feature] dy c8 prefix caching [Feature] dy-c8 prefix caching Nov 12, 2025
@kevincheng2 kevincheng2 changed the title [Feature] dy-c8 prefix caching [Cherry-Pick][Feature] dy-c8 prefix caching Nov 27, 2025
@Jiang-Jia-Jun Jiang-Jia-Jun merged commit b52e1bd into PaddlePaddle:feature/experimental_feature_20250908 Nov 28, 2025
13 of 14 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.

2 participants