-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize sparse convolution #43576
Merged
Merged
Optimize sparse convolution #43576
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
bb4db9b
test sparse model
441da36
refactor code structure
EsdeathYZH c48e076
add native kernel usage
EsdeathYZH 0a68ba3
add wellford impl
EsdeathYZH b3248c9
add shmem impl
EsdeathYZH 78349a2
add dispatch logic
EsdeathYZH 98c66f0
add channel_last impl
EsdeathYZH 570dc55
refine the global space init
EsdeathYZH aaca04a
impl 2d kernel
EsdeathYZH 29ef723
Merge remote-tracking branch 'paddle/develop' into optim_batchnorm1d
EsdeathYZH 74b792b
rm wellford
EsdeathYZH a0bd5b6
fix backward
EsdeathYZH 2433ebf
add unit test for batchnorm1d
EsdeathYZH 90c27a6
fix bug
EsdeathYZH 91d83e5
impl channel last 2d
EsdeathYZH 6871dbf
refine
EsdeathYZH 0571ecc
fix memory thpt
EsdeathYZH 97493af
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
3fc54ad
opt gather
804ba03
fix threshold
EsdeathYZH 48c6344
fix backward threshold
EsdeathYZH 6785f6f
refine unit test
EsdeathYZH e46ef54
refine test
EsdeathYZH 938cde3
delete pragma unroll
EsdeathYZH a24f2aa
opt gather and scatter
64be38b
opt conv
c0fce45
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
26ca7ab
fix batch csr
11011c0
remove the unused file
de91d40
opt SparseMaskCopyKernel
a137947
merge origin
3625aae
Merge branch 'opt_conv' of https://github.com/zkh2016/Paddle into opt…
6a92b32
opt subm
e96f090
opt subm
7e272fb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
dd8e9ca
merge upstream
c7eddc5
opt copy rulebook
dd5e4fd
check cache size
52367a3
check cache size
345ebb2
correct alloc out values
d7bb341
merge origin
a79206f
Merge remote-tracking branch 'paddle/develop' into optim_batchnorm1d
EsdeathYZH 459fd81
save the rulebook of submanifold conv
596bfbd
fix backward
c906bdb
opt conv
823b5c6
Merge branch 'opt_conv' of https://github.com/zkh2016/Paddle into opt…
6dc1584
opt conv3d
8202771
opt scatter
75df1e2
opt SparseMaskCopy
2745b0e
coalesced is not performed by default
ad9c2b6
opt rulebook
214475b
remove a sync
13f0b93
gatherV2
c9929a2
opt gather of backward
32d1e03
merge upstream
dab4609
resolve conflict
f66d0c7
opt groups indexs
44ad03e
refine code
EsdeathYZH db9792c
replace sort with remove_copy
6f9d6ea
fix cache
c295776
unorder the out index of Conv3D
bf6fabf
unorder the out index of Conv3D
b92786d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
e181b1c
add coalesced
e2bf43a
add coalesced.py
0aa457f
coalesced before compare result
749dcce
the key of conv3d is not required
d38563b
opt code structure
d06527f
opt gather/scatter code structure
842acf7
fix pool
5751987
rename pool_kernel.cc
7c2fbf5
add new file
6684d94
for ci
4346bbb
fix comment
3187f52
opt code structure
aa284f4
rename conv_kernel
57bb27e
Merge remote-tracking branch 'zihang/optim_batchnorm1d' into opt_conv
0b5ca0e
fix
EsdeathYZH 33ebaf5
rename table_ptr to indices_dict
d49a06b
Merge remote-tracking branch 'zihang/optim_batchnorm1d' into opt_conv
123b16c
fix test_sparse_utils
8658c28
merge upstream
c154249
Merge branch 'opt_conv' of https://github.com/zkh2016/Paddle into opt…
af66998
sparse support amp
8dcc194
Merge branch 'develop' into opt_conv
aba1e6e
Merge branch 'develop' into opt_conv
55b30a3
merge upstream
1864dfc
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
3c9ec13
Merge remote-tracking branch 'zkh/opt_conv' into upstream_dev
91ee01b
resolve conflict
927e247
resolve conflict
4480cdf
Merge branch 'opt_conv' of https://github.com/zkh2016/Paddle into opt…
dbe743b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
a51402a
fix codestyle
0f9827e
merge upstream
8c442f6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
ab996e0
supplement the description of key
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为啥又把api名称改成和Python端接口不一致的了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
抱歉,这个改错了,我在提一个PR修改下这里的名称:#44636