【Hackathon 10th Spring No.45】FastDeploy 支持在 T4/V100 硬件的编译 -part - #6488
Conversation
|
Thanks for your contribution! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #6488 +/- ##
==========================================
Coverage ? 73.67%
==========================================
Files ? 399
Lines ? 55827
Branches ? 8802
==========================================
Hits ? 41132
Misses ? 11781
Partials ? 2914
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4c6a7d7 to
9fe8c11
Compare
|
lgtm |
|
请解决下冲突 |
# Conflicts: # custom_ops/setup_ops.py
|
Note: the current HEAD has diverged from the state that received Post-review additions include May be worth re-reviewing against the current state, or reverting the out-of-scope additions to match the reviewed version. |
|
@mattheliu 已经找 @qingqing01 @Jiang-Jia-Jun 问过,该PR可以先合入,部分完成该赛题。 |
…lePaddle#6488) * fix(custom_ops): gate unsupported ops for sm70/sm75 build * fix(custom_ops): gate deepgemm exports to sm75+ only * [BugFix][OP] deduplicate CUDA sources to avoid moe_deepgemm multiple definition * revert two custom_ops files to 352f922
…ed compile guards
…lePaddle#6488) * fix(custom_ops): gate unsupported ops for sm70/sm75 build * fix(custom_ops): gate deepgemm exports to sm75+ only * [BugFix][OP] deduplicate CUDA sources to avoid moe_deepgemm multiple definition * revert two custom_ops files to 352f922
|
@playaswd 感谢各位荣获第十期黑客松奖项!为确保奖金顺利发放,请获奖选手于7月10日(本周五)18:00前完成问卷填写。信息仅用于本次打款,请确保准确无误。 问卷链接:https://paddle.wjx.cn/vm/YeLn0Ov.aspx# 填写后请务必加入微信群,后续通知将统一在群内同步 |
Motivation
Support FastDeploy compilation on NVIDIA T4/V100 (SM75/SM70).
Modifications
custom_ops/setup_ops.pyto gate architecture-specific CUDA sources/macros and deduplicate source entries.custom_ops/gpu_ops/cpp_extensions.ccto register/export SM-specific ops with compile-time guards.Usage or Command
Accuracy Tests
paddle.compatmissing) is addressed by compatibility fallback.Checklist
pre-commit) passed for modified files.