You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error happened when I tried to perform dask cugraph louvain on a symmetric digraph. The reason I need to use dask cugraph louvain because my graph is very big to load into the graph class without dask and from_dask_cudf_edgelist only supports DiGraph.
Hi @co-tran-sp .
I was able to reproduce the error. I would like to confirm that the number of partitions is the same as the number workers your client hold. A quick fix to your problem would be to not set renumber to False as all our MNMG agos require renumbering (for performance optimization) which is by default set to True internally. A PR should be out soon to return a proper error message when renumber happens to be False.
Hi all, thanks for the replies. @jnke2016 I was able to go around the error. Will there be support for undirected graph class using from_dask_cudf_edgelist? The digraph louvain process returns me very low modularity comparing to undirected graph class.
Describe the bug
The error happened when I tried to perform dask cugraph louvain on a symmetric digraph. The reason I need to use dask cugraph louvain because my graph is very big to load into the graph class without dask and
from_dask_cudf_edgelist
only supports DiGraph.Steps/Code to reproduce bug
edges = 1000000
vertices = 100000
source = np.random.randint(vertices,size = edges)
target = np.random.randint(vertices,size = edges)
sim = np.random.uniform(0,1,edges)
df = cudf.DataFrame()
df['source'] = source
df['target'] = target
df['similarity'] = sim
df = dask_cudf.from_cudf(df,npartitions=2)
G = cugraph.DiGraph()
G.from_dask_cudf_edgelist(df, source='source', destination='target',edge_attr = 'similarity', renumber=False)
_, mod = dask_cugraph.louvain(G)
Expected behavior
Should be able to run louvain A
Environment overview (please complete the following information)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: