Skip to content

Commit c2f983f

Browse files
authored
Update raft import (#2729)
This PR updates the way `raft` is imported following changes on the `raft` new conda packages. closes #2727 Authors: - Joseph Nke (https://github.com/jnke2016) Approvers: - Rick Ratzel (https://github.com/rlratzel) - Brad Rees (https://github.com/BradReesWork) URL: #2729
1 parent 86da00d commit c2f983f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

python/cugraph/cugraph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
from cugraph.linear_assignment import hungarian, dense_hungarian
108108
from cugraph.layout import force_atlas2
109-
from raft import raft_include_test
109+
from raft_dask import raft_include_test
110110

111111
from cugraph.sampling import (
112112
random_walks,

python/cugraph/cugraph/dask/common/input_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# not available. They are necessary only when doing MG work.
2525
from cugraph.dask.common.read_utils import MissingUCXPy
2626
try:
27-
from raft.dask.common.utils import get_client
27+
from raft_dask.common.utils import get_client
2828
except ImportError as err:
2929
# FIXME: Generalize since err.name is arr when
3030
# libnuma.so.1 is not available

python/cugraph/cugraph/dask/common/mg_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# not available. They are necessary only when doing MG work.
2323
from cugraph.dask.common.read_utils import MissingUCXPy
2424
try:
25-
from raft.dask.common.utils import default_client
25+
from raft_dask.common.utils import default_client
2626
except ImportError as err:
2727
# FIXME: Generalize since err.name is arr when
2828
# libnuma.so.1 is not available

python/cugraph/cugraph/dask/comms/comms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# not available. They are necessary only when doing MG work.
1616
from cugraph.dask.common.read_utils import MissingUCXPy
1717
try:
18-
from raft.dask.common.comms import Comms as raftComms
19-
from raft.dask.common.comms import get_raft_comm_state
18+
from raft_dask.common.comms import Comms as raftComms
19+
from raft_dask.common.comms import get_raft_comm_state
2020
except ImportError as err:
2121
# FIXME: Generalize since err.name is arr when
2222
# libnuma.so.1 is not available

0 commit comments

Comments
 (0)