Closed sef43 closed 1 year ago
I am compiling from source and I can reproduce this, also using Linux with CUDA 11.7.
Torch suggests running the offending code with the following defined:
pt.autograd.set_detect_anomaly(True)
Running the test with that marks the following lines as offending: https://github.com/openmm/NNPOps/blob/16543f913b230363409986875a5f479708bf24d0/src/pytorch/neighbors/TestNeighbors.py#L122 https://github.com/openmm/NNPOps/blob/16543f913b230363409986875a5f479708bf24d0/src/pytorch/neighbors/TestNeighbors.py#L125 Is this meaningful to you? @sef43 @raimis
this only happens for the NNPOps CPU implementation, the changes in #91 seem to fix it
If I install NNPOps with pytorch 13
Or build from source with pytorch 1.13 then the tests in TestNeighbors.py fail with a pytorch runtime error, e.g.:
Output of
The test passes with pytorch=1.12
Is anyone else able to reproduce? running on Linux with Cuda 11.7