Group support for `conv3d`
Proposed changes
Added group support to conv3d forward pass (backward pass still missing, as for conv2d). I adapted slow_conv_3D, explicit_gemm_conv_ND_cpu, and conv_3D_gpu to support groups > 1 and added tests.
Checklist
- [x] I have read the CONTRIBUTING document
- [x] I have run
pre-commit run --all-filesto format my code / installed pre-commit prior to committing changes - [x] I have added tests that prove my fix is effective or that my feature works
- [x] I have updated the necessary documentation (if needed)
Looks good to me. Do you mind sharing the results of a benchmark to see how well the groups parameter works for 3D convs? Ideally we should get a nice speed up when using a large number of groups.
Looks good to me. Do you mind sharing the results of a benchmark to see how well the groups parameter works for 3D convs? Ideally we should get a nice speed up when using a large number of groups.
Thanks, I'll add some benchmarks!
@mlaves what's the status of this PR? Should we try and land it soon?