Skip to content

Commit 293486a

Browse files
authored
Merge 7dd5f05 into 3840ef6
2 parents 3840ef6 + 7dd5f05 commit 293486a

File tree

5 files changed

+61
-11
lines changed

5 files changed

+61
-11
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: cugraph_dev
2+
channels:
3+
- rapidsai
4+
- nvidia
5+
- rapidsai-nightly
6+
- conda-forge
7+
dependencies:
8+
- cudatoolkit=11.5
9+
- cudf=21.12.*
10+
- libcudf=21.12.*
11+
- rmm=21.12.*
12+
- librmm=21.12.*
13+
- dask>=2021.09.1
14+
- distributed>=2021.09.1
15+
- dask-cuda=21.12.*
16+
- dask-cudf=21.12.*
17+
- nccl>=2.9.9
18+
- ucx-py=0.23.*
19+
- ucx-proc=*=gpu
20+
- scipy
21+
- networkx>=2.5.1
22+
- clang=11.0.0
23+
- clang-tools=11.0.0
24+
- cmake>=3.20.1
25+
- python>=3.6,<3.9
26+
- notebook>=0.5.0
27+
- boost
28+
- cython>=0.29,<0.30
29+
- pytest
30+
- libfaiss=1.7.0
31+
- faiss-proc=*=cuda
32+
- scikit-learn>=0.23.1
33+
- sphinx
34+
- pydata-sphinx-theme
35+
- sphinxcontrib-websupport
36+
- sphinx-markdown-tables
37+
- sphinx-copybutton
38+
- nbsphinx
39+
- numpydoc
40+
- ipython
41+
- recommonmark
42+
- pip
43+
- rapids-pytest-benchmark
44+
- doxygen
45+
- pytest-cov
46+
- gtest
47+
- gmock

cpp/CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ endif()
4242
# Remove the following archs from CMAKE_CUDA_ARCHITECTURES that
4343
# cuhornet currently doesn't support
4444
#
45-
# >= 86
46-
set(supported_archs "60" "62" "70" "72" "75" "80")
45+
# >= 90
46+
set(supported_archs "60" "62" "70" "72" "75" "80" "86")
4747
foreach( arch IN LISTS CMAKE_CUDA_ARCHITECTURES)
4848
string(REPLACE "-real" "" arch ${arch})
4949
if( arch IN_LIST supported_archs )
@@ -147,8 +147,6 @@ include(cmake/thirdparty/get_raft.cmake)
147147
include(cmake/thirdparty/get_cuco.cmake)
148148
include(cmake/thirdparty/get_cuhornet.cmake)
149149

150-
include(cmake/thirdparty/get_gunrock.cmake)
151-
152150
if(BUILD_TESTS)
153151
include(cmake/thirdparty/get_gtest.cmake)
154152
endif()
@@ -165,7 +163,7 @@ add_library(cugraph SHARED
165163
src/utilities/graph_bcast.cu
166164
src/structure/legacy/graph.cu
167165
src/linear_assignment/hungarian.cu
168-
src/link_analysis/gunrock_hits.cpp
166+
#src/link_analysis/gunrock_hits.cpp
169167
src/traversal/legacy/bfs.cu
170168
src/traversal/legacy/sssp.cu
171169
src/link_prediction/jaccard.cu
@@ -293,7 +291,6 @@ target_link_libraries(cugraph
293291
CUDA::cusparse
294292
cugraph::cuHornet
295293
FAISS::FAISS
296-
gunrock
297294
NCCL::NCCL
298295
)
299296

notebooks/link_analysis/HITS.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"metadata": {},
66
"source": [
77
"# HITS\n",
8+
"# Skip notebook test\n",
89
"\n",
910
"In this notebook, we will use both NetworkX and cuGraph to compute HITS. \n",
1011
"The NetworkX and cuGraph processes will be interleaved so that each step can be compared.\n",

python/cugraph/cugraph/link_analysis/hits.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313

14-
from cugraph.link_analysis import hits_wrapper
15-
from cugraph.utilities import (ensure_cugraph_obj_for_nx,
16-
df_score_to_dictionary,
17-
)
14+
# from cugraph.link_analysis import hits_wrapper
15+
16+
# from cugraph.utilities import (ensure_cugraph_obj_for_nx,
17+
# df_score_to_dictionary,
18+
# )
1819

1920

2021
def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
@@ -75,9 +76,10 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
7576
>>> hits = cugraph.hits(G, max_iter = 50)
7677
"""
7778

79+
"""
7880
G, isNx = ensure_cugraph_obj_for_nx(G)
7981
80-
df = hits_wrapper.hits(G, max_iter, tol)
82+
df = hits_wrapper.hits(G, max_iter, tol) # noqa: F821
8183
8284
if G.renumbered:
8385
df = G.unrenumber(df, "vertex")
@@ -89,3 +91,5 @@ def hits(G, max_iter=100, tol=1.0e-5, nstart=None, normalized=True):
8991
df = (d1, d2)
9092
9193
return df
94+
"""
95+
raise NotImplementedError("Temporarily disabled. New version in 21.12")

python/cugraph/cugraph/tests/test_hits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def networkx_call(M, max_iter, tol):
7979
TOLERANCE = [1.0e-06]
8080

8181

82+
@pytest.mark.skip(reason="Waiting on new version")
8283
@pytest.mark.parametrize("graph_file", utils.DATASETS_UNDIRECTED)
8384
@pytest.mark.parametrize("max_iter", MAX_ITERATIONS)
8485
@pytest.mark.parametrize("tol", TOLERANCE)

0 commit comments

Comments
 (0)