Closed Giodiro closed 1 year ago
Hello @Giodiro ,
Sorry again for the late reply, I had done the fix some time ago but forgot to merge. Can you check that it works now ?
About your last question, there should be absolutely no problem in using the Genred
syntax. The LazyTensor
interface always redirects to Genred
in the end.
Hi @joanglaunes Working perfectly now, looks great! Thanks for the fix :)
Hi again, Another crash which I think should have an easy fix, in version 2.1.1 of KeOps.
The minimal example is again a RBF kernel, but with higher dimensions so that some kind of chunking kicks in
This fails when calling
fn
with the following tracebackwhile it works when sigma is 1D. Digging a little bit, with 1D sigma we have
dims=[64, 64, 1]
anddimloop=64
and the check passes. With 100D sigma insteaddims=[64, 64, 100]
anddimloop=100
, hence the check fails. I tried to get rid of the if statement and nothing else crashes, so hopefully it's just a matter of adding another edge case to it.Also do let me know if the preferred way of writing kernel-vector multiplications has changed with the evolution of your library, and I'm using code that is somewhat outdated. I have not yet adopted the LazyTensor interface as I quite liked the string formulas, but maybe this error would not have happened with LazyTensors?
Thanks again, Giacomo