I am using the bleeding-edge TorchSparse library and it seems like F.set_kmap_mode("hashmap") has no effect. My code looks as follows:
from torchsparse.nn import functional as F
F.set_kmap_mode("hashmap")
However, it appears that my convolution ops are still using the "hashmap_on_the_fly" kmap mode. I get an error message saying ValueError: Unsupported kmap_mode: hashmap_on_the_fly for generative convolution (please switch to kmap_mode=hashmap).
The following code snippet does seem to work, but it is slightly more involved (and not clear from the docs):
Is there an existing issue for this?
Current Behavior
I am using the bleeding-edge TorchSparse library and it seems like
F.set_kmap_mode("hashmap")
has no effect. My code looks as follows:However, it appears that my convolution ops are still using the "hashmap_on_the_fly" kmap mode. I get an error message saying
ValueError: Unsupported kmap_mode: hashmap_on_the_fly for generative convolution (please switch to kmap_mode=hashmap).
The following code snippet does seem to work, but it is slightly more involved (and not clear from the docs):
Expected Behavior
I expect that
F.set_kmap_mode("hashmap")
would change the kmap mode used for convolution.Environment
Anything else?
No response