Skip to content

Conversation

yewentao256
Copy link
Collaborator

@yewentao256 yewentao256 commented Jul 18, 2025

Purpose

deepseek-ai/DeepGEMM#112 merged

this pr fixes E TypeError: per_block_cast_to_fp8() missing 1 required positional argument: 'use_ue8m0'

Test

VLLM_USE_DEEP_GEMM=1 lm_eval   --model vllm   --model_args "pretrained=Qwen/Qwen3-30B-A3B-FP8,max_model_len=32768,enforce_eager=True"   --trust_remote_code   --tasks gsm8k   --num_fewshot 5   --batch_size auto
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match||0.8597|±  |0.0096|
|     |       |strict-match    |     5|exact_match||0.8961|±  |0.0084|

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Copy link

👋 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 fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

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 ready label to the PR or enable auto-merge.

🚀

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request fixes a TypeError by adding the missing 'use_ue8m0' argument to the per_block_cast_to_fp8 function call when using DeepGEMM on SM100. The review suggests making the use_ue8m0 parameter configurable for broader applicability.

@yewentao256 yewentao256 changed the title [Fix] Fix TypeError: per_block_cast_to_fp8() missing 1 required positional argument: 'use_ue8m0' for SM100 [Bug] DeepGemm: Fix TypeError: per_block_cast_to_fp8() missing 1 required positional argument: 'use_ue8m0' for SM100 Jul 18, 2025
Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mgoin mgoin enabled auto-merge (squash) July 18, 2025 15:03
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 18, 2025
@mgoin mgoin added the bug Something isn't working label Jul 18, 2025
@mgoin mgoin added this to the v0.10.0 milestone Jul 19, 2025
@vllm-bot vllm-bot merged commit 37bd8d6 into vllm-project:main Jul 19, 2025
54 of 57 checks passed
@yewentao256 yewentao256 deleted the wye-fix-B200-deepgemm-support branch July 19, 2025 13:06
hj-mistral pushed a commit to hj-mistral/vllm that referenced this pull request Jul 19, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Himanshu Jaju <hj@mistral.ai>
LyrisZhong pushed a commit to LyrisZhong/vllm that referenced this pull request Jul 23, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
avigny pushed a commit to avigny/vllm that referenced this pull request Jul 31, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: avigny <47987522+avigny@users.noreply.github.com>
x22x22 pushed a commit to x22x22/vllm that referenced this pull request Aug 5, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: x22x22 <wadeking@qq.com>
Pradyun92 pushed a commit to Pradyun92/vllm that referenced this pull request Aug 6, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
npanpaliya pushed a commit to odh-on-pz/vllm-upstream that referenced this pull request Aug 6, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
jinzhen-lin pushed a commit to jinzhen-lin/vllm that referenced this pull request Aug 9, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Jinzhen Lin <linjinzhen@hotmail.com>
paulpak58 pushed a commit to paulpak58/vllm that referenced this pull request Aug 13, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Paul Pak <paulpak58@gmail.com>
taneem-ibrahim pushed a commit to taneem-ibrahim/vllm that referenced this pull request Aug 14, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
diegocastanibm pushed a commit to diegocastanibm/vllm that referenced this pull request Aug 15, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Diego-Castan <diego.castan@ibm.com>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 27, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
googlercolin pushed a commit to googlercolin/vllm that referenced this pull request Aug 29, 2025
…ired positional argument: 'use_ue8m0' for SM100 (vllm-project#21187)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants