spconv_lite icon indicating copy to clipboard operation
spconv_lite copied to clipboard

Why sparse convolutional inference time is longer

Open jiaerwang0328 opened this issue 3 years ago • 1 comments

run python test_timeit.py: compare time with nn.Conv3d() nn.Conv3D() forward time is :0.000066 SparseConv3d() forward time is :0.001239 nn.Conv3D() backward time is :0.000870 SparseConv3d() backward time is :0.001930

jiaerwang0328 avatar Jan 12 '22 03:01 jiaerwang0328

maybe your sparsity of test case is small, like below 50%, as far as I concerned, the sparse version of Conv performs better when the sparsity of feature is big like above 70%. Hope the author will explain this

ColdCodeCool avatar Apr 13 '22 11:04 ColdCodeCool