Support w8a8 block_fp8_matmul from generated kernel#13835
Support w8a8 block_fp8_matmul from generated kernel#13835wenscarl wants to merge 1 commit intovllm-project:mainfrom
Conversation
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
|
This pull request has merge conflicts that must be resolved before it can be |
A lightweight integration layer to enable w8a8_block_fp8_matmul support using the generated block FP8 matrix multiplication kernels.
Note: This kernel requires the scale factor to have a shape of [K/128, M], which is incompatible with the Triton equivalent. To resolve this, an implicit transpose is applied.
Performance Comparison of DeepSeek v3 on blackwell: Generated Kernel vs. Triton
Eager Mode
generated kernel: Throughput: 0.10 requests/s, 114.93 total tokens/s, 101.32 output tokens/s
Triton: Throughput: 0.09 requests/s, 103.54 total tokens/s, 91.28 output tokens/s
Graph Mode
generated kernel: Throughput: 0.14 requests/s, 162.16 total tokens/s, 142.97 output tokens/s
Triton: Throughput: 0.11 requests/s, 126.15 total tokens/s, 111.22 output tokens/s