Open bricerauby opened 2 years ago
If I understand well, it seems that the error comes from this line
Maybe the multiplication should distinguished from addition or multiplication
I had not seen previous issue, so this issue is a duplicate of #390. @chrischoy Should I close this ?
Describe the bug
When multiplying (elementwise with * ) two sparse tensors as explained in the documentation, the results does not correspond to a standard elementwise product. The element of the tensor which has it coordinate manager shared are not zeroed when multiplied by a zero element (not represented in the coordinates). Is this expected ? How should I proceed to make a standard elementwise multiplication?
To Reproduce
Output :
Expected behavior the sparse and dense elementwise products should have the same output
==========System========== Linux-3.10.0-1160.41.1.el7.x86_64-x86_64-with-glibc2.2.5 cat: /etc/lsb-release: No such file or directory 3.8.10 (default, Jun 16 2021, 14:19:02) [GCC 9.3.0] ==========Pytorch========== 1.8.1+cu102 torch.cuda.is_available(): True ==========NVIDIA-SMI========== /bin/nvidia-smi Driver Version 470.57.02 CUDA Version 11.4 VBIOS Version 88.00.13.00.02 Image Version G503.0201.00.03 GSP Firmware Version N/A ==========NVCC========== which: no nvcc ==========MinkowskiEngine========== 0.5.4 MinkowskiEngine compiled with CUDA Support: True NVCC version MinkowskiEngine is compiled: 11000 CUDART version MinkowskiEngine is compiled: 11000