Files
graphify/graphify
Mohammad-Palla a9894ebb7f perf(cluster): call graspologic_native.leiden() directly, skip graspologic's import chain
The Leiden path imported graspologic, which drags in a heavy chain (umap / pynndescent /
numba JIT) at import time. Call the underlying graspologic_native.leiden() binding directly
with the same arguments the wrapper uses (seed 42, randomness 0.001, modularity, unit edge
weights), falling back to the graspologic wrapper and then NetworkX Louvain when the native
binding is absent. Clustering output is unchanged.
2026-08-27 18:01:13 +01:00
..