refactor: simplify build to single so without CMakeLists.txt#113
Open
baoqiwen wants to merge 1 commit intoPaddlePaddle:mainfrom
Open
refactor: simplify build to single so without CMakeLists.txt#113baoqiwen wants to merge 1 commit intoPaddlePaddle:mainfrom
baoqiwen wants to merge 1 commit intoPaddlePaddle:mainfrom
Conversation
cc388f2 to
5d4ffd1
Compare
5d4ffd1 to
6124f93
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.
2步构建(cmake+setup.py)变成 1步(setup.py),删除CMakeLists.txt
2个so合并成1个so,不需要跨so边界调用,删除 C ABI wrapper
FLASHMASK_BUILD=fa4 → 纯 Python 安装,不 import paddle,不编译 CUDA
FLASHMASK_BUILD=fa3 → 只编译 FA3 CUDA 内核,排除 cute/ 包
FLASHMASK_BUILD=all → 默认,两个都装