Open tseep opened 5 years ago
oups, I did not try float64, it should not make a big difference, probably some conversion to float in the code instead of something more flexible and data dependent. I'm sorry for this
Firstly, like tseep already said, thank you very much for this nice package.
As for the problem, I may have identified one of its causes in 486f50417fd75d3e0aff3db8e774cbda83d22f3a. However, the problem seems to lie in 'searchsorted_cpu_wrapper.cpp` where the identifier 'float' is mentioned quite often. Since I am new to the topic, I am not able to give further insight. Maybe the way torch itself handles these problems could provide some help?
Thank you for this nice package.
Example:
It works nicely when
dtype = torch.float32
but gives an error whendtype = torch.float64
. Is this expected?