Open demul opened 3 years ago
Hello @demul,
Thank you for your feature request. Could you detail your use case for these types of convolutions?
Thank you, Christian
Hello Christian.
Sparse Convolution is the hashing-style method to accelerate convolution. The result of this operation is completely same with Convolution. But, to work faster on sparse input, it do not use 'im2col' but 'hashing only valid index'.
for detail,
and paper "3D Semantic Segmentation with Submanifold Sparse Convolutional Networks"
It works faster on sparse inputs like 3D sparse voxels.
Fig.1 on easy-to-read medium is typical case of Sparse Convolution can work faster than Vanilla Convolution.
MincowskiNet significantly accelerates their 3D-4D Semantic Segmentation Task using Sparse Convolution.
Thank you, demul
Thank you for the context!
🚀 Feature
I suggest torch teams to add 'Sparse Convolution' as default nn module.
Motivation
I want to use Sparse Convolution without external libraries like 'SPConv', 'Mincowski Engine', etc... Compiling these libraries without 'War against Error' makes me burned out everytime.
Pitch
I want that pytorch have Sparse Convolution operation in default nn module at least its contrib branch.
cc @nikitaved @pearu @cpuhrsch @IvanYashchuk