We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de88b39 + 5fb62c8 commit 42b3f1fCopy full SHA for 42b3f1f
umap/parametric_umap.py
@@ -931,9 +931,9 @@ def construct_edge_dataset(
931
def gather_index(index):
932
return X[index]
933
934
- # if X is > 2Gb in size, we need to use a different, slower method for
+ # if X is > 512Mb in size, we need to use a different, slower method for
935
# batching data.
936
- gather_indices_in_python = True if X.nbytes * 1e-9 > 2 else False
+ gather_indices_in_python = True if X.nbytes * 1e-9 > 0.5 else False
937
938
def gather_X(edge_to, edge_from):
939
# gather data from indexes (edges) in either numpy of tf, depending on array size
0 commit comments