pynndescent icon indicating copy to clipboard operation
pynndescent copied to clipboard

Newest version breaks with UMAP

Open guyronhuji opened this issue 2 years ago • 3 comments

Installing the new version and running UMAP, first attempt runs ok, all subsequent ones crash (likely due to some memory leak). Downgrading to the previous version solves the problem.

guyronhuji avatar Apr 19 '23 21:04 guyronhuji

That seems not good ... I'll try to check this when I get some time.

lmcinnes avatar Apr 20 '23 01:04 lmcinnes

I just ran into the same issue. It appears to be due to numba caching in rp_trees.py. Removing cache=True from make_dense_tree()/make_sparse_tree() seems to fix it.

jakobhansen-blai avatar Apr 20 '23 03:04 jakobhansen-blai

Thanks @jakobhansen-blai I'll try to get a new release out tomorrow to fix this.

lmcinnes avatar Apr 20 '23 04:04 lmcinnes