Skip to content

[Cherry-Pick][OP] cherry-pick #7073 support deepgemm for sm103#7081

Merged
EmmonsCurse merged 6 commits intoPaddlePaddle:release/2.5from
BingooYang:release/2.5
Apr 1, 2026
Merged

[Cherry-Pick][OP] cherry-pick #7073 support deepgemm for sm103#7081
EmmonsCurse merged 6 commits intoPaddlePaddle:release/2.5from
BingooYang:release/2.5

Conversation

@BingooYang
Copy link
Copy Markdown
Contributor

Motivation

deepgeem支持sm103

Modifications

deepgeem适配

Usage or Command

none

Accuracy Tests

none

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
Copy Markdown

paddle-bot bot commented Mar 30, 2026

Thanks for your contribution!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 30, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/2.5@054add2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...oy/model_executor/layers/quantization/fp8_utils.py 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             release/2.5    #7081   +/-   ##
==============================================
  Coverage               ?   69.08%           
==============================================
  Files                  ?      390           
  Lines                  ?    54230           
  Branches               ?     8553           
==============================================
  Hits                   ?    37464           
  Misses                 ?    14051           
  Partials               ?     2715           
Flag Coverage Δ
GPU 69.08% <66.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@zoooo0820 zoooo0820 left a comment

Choose a reason for hiding this comment

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

LGTM

@zoooo0820 zoooo0820 changed the title [OP] support deepgemm for sm103 [Cherry-Pick][OP] cherry-pick #7073 support deepgemm for sm103 Apr 1, 2026
@EmmonsCurse EmmonsCurse merged commit 14676a3 into PaddlePaddle:release/2.5 Apr 1, 2026
34 of 39 checks passed
Copy link
Copy Markdown

@fastdeploy-bot fastdeploy-bot left a comment

Choose a reason for hiding this comment

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

🤖 AI Code Review

📋 Review 摘要

PR 概述:将 DeepGemm 的 SM 版本检查从 == 100 改为 >= 100,以支持 SM103 等更新的 Blackwell 架构 GPU

变更范围model_executor/layers/quantization/

影响面 Tag[OP] [Quantization]

问题

未发现阻塞性问题。

总体评价

变更逻辑正确且一致,将 SM 版本判断从 == 100(仅 SM100)改为 >= 100(SM100+),使得 DeepGemm 能够支持 SM103 等更新的 Blackwell 架构 GPU。代码库中其他类似逻辑(如 flash_attn_backend.py 中的 sm_version >= 100)已采用相同的 >= 模式,本次修改保持了一致性。

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