【Hackathon 10th Spring No.45】FastDeploy 支持在 T4/V100 硬件的编译#6488
Open
playaswd wants to merge 4 commits intoPaddlePaddle:developfrom
Open
【Hackathon 10th Spring No.45】FastDeploy 支持在 T4/V100 硬件的编译#6488playaswd wants to merge 4 commits intoPaddlePaddle:developfrom
playaswd wants to merge 4 commits intoPaddlePaddle:developfrom
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 ? 71.75%
==========================================
Files ? 394
Lines ? 53963
Branches ? 8469
==========================================
Hits ? 38721
Misses ? 12456
Partials ? 2786
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
352f922 to
c2a823c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Support FastDeploy compilation on NVIDIA T4/V100 (SM75/SM70) and fix CI startup compatibility when Paddle does not expose
paddle.compat.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.fastdeploy/__init__.pyto enable torch-proxy compatibility in a version-safe way:paddle.enable_compat(scope={"triton"})paddle.compat.enable_torch_proxy(scope={"triton"})Usage or Command
Accuracy Tests
paddle.compatmissing) is addressed by compatibility fallback.Checklist
pre-commit) passed for modified files.