Skip to content

Commit

Permalink
fix Comms import (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
BradReesWork authored Sep 23, 2022
1 parent b9d1842 commit 238f909
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/demo/mg_pagerank.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"# Import needed libraries. We recommend using cugraph_dev env through conda\n",
"from dask.distributed import Client, wait\n",
"from dask_cuda import LocalCUDACluster\n",
"import cugraph.comms as Comms\n",
"from cugraph.dask.comms import comms as Comms\n",
"import cugraph.dask as dask_cugraph\n",
"import cugraph\n",
"import dask_cudf\n",
Expand Down Expand Up @@ -162,7 +162,7 @@
"outputs": [],
"source": [
"# Create a directed graph using the source (src) and destination (dst) vertex pairs from the Dataframe \n",
"G = cugraph.DiGraph()\n",
"G = cugraph.Graph(directed=True)\n",
"G.from_dask_cudf_edgelist(e_list, source='src', destination='dst')\n",
"\n",
"# Print time\n",
Expand Down Expand Up @@ -295,9 +295,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "cugraph_dev",
"language": "python",
"name": "python3"
"name": "cugraph_dev"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -309,7 +309,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 238f909

Please sign in to comment.