Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Forward-Merger Conflicts #2474

Merged
merged 20 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a1ef1de
Update cugraph python build (#2378)
jnke2016 Jul 29, 2022
6b62002
Add get_num_vertices and get_num_edges methods to PropertyGraph. (#2434)
eriknw Jul 29, 2022
2263011
Added `get_vertex_data()` and `get_edge_data()` to SG/MG PropertyGrap…
rlratzel Jul 29, 2022
1a29434
Fix issues with day & night modes in python docs (#2471)
galipremsagar Jul 29, 2022
93e15c0
Updated imports to be compatible with latest version of cupy (#2473)
rlratzel Aug 1, 2022
2a57740
Datasets API Update: Add Extra Params and Improve Testing (#2453)
oorliu Aug 1, 2022
2e319e3
Centralize common `css` & `js` code in docs (#2472)
galipremsagar Aug 2, 2022
0f2befb
fix non-deterministic bug in uniform neighborhood sampling (#2477)
ChuckHastings Aug 2, 2022
4372f31
Fix typos in Python CMakeLists CUDA arch file (#2475)
vyasr Aug 2, 2022
5c7303c
Pin `dask` & `distributed` for release (#2478)
galipremsagar Aug 2, 2022
b74e22a
Use Datasets API to Update Notebook Examples (#2440)
oorliu Aug 2, 2022
ac42e0b
Don't store redundant columns in PropertyGraph Dataframes (#2449)
eriknw Aug 2, 2022
d50622f
Uniform neighbor sample (#2450)
VibhuJawa Aug 2, 2022
4dc286e
Use Datasets API to Update Docstring Examples (#2441)
oorliu Aug 3, 2022
5c32161
Updates to Link Notebooks (#2456)
acostadon Aug 3, 2022
cdc563f
Update PageRank to leverage pylibcugraph (#2467)
jnke2016 Aug 4, 2022
e70fc6f
Update `k_core.py` to Check for Graph Direction (#2507)
oorliu Aug 4, 2022
f8e4aaa
Defer loading of `custom.js` (#2506)
galipremsagar Aug 4, 2022
f94f526
Merge branch-22.08 into fix-merge-conflicts
ajschmidt8 Aug 1, 2022
f24b066
fix versions for branch-22.10
ajschmidt8 Aug 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@ junit-cugraph.xml
test-results

## Python build directories & artifacts
dask-worker-space/
htmlcov
dist/
cugraph.egg-info/
python/build
python/cugraph/bindings/*.cpp
wheels/
_skbuild/
cufile.log

## pylibcugraph build directories & artifacts
python/pylibcugraph/pylibcugraph.egg-info
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include python/versioneer.py
include python/cugraph/_version.py
include cugraph/experimental/datasets/*.yaml
include cugraph/experimental/datasets/metadata/*.yaml
include cugraph/experimental/datasets/metadata/*.yaml
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ if hasArg clean; then
pushd ${REPODIR}/python > /dev/null
rm -rf dist dask-worker-space cugraph/raft *.egg-info
find . -name "__pycache__" -type d -exec rm -rf {} \; > /dev/null 2>&1
find . -type d -name _skbuild -exec rm -rf {} \; > /dev/null 2>&1
find . -type d -name dist -exec rm -rf {} \; > /dev/null 2>&1
find . -name "*.cpp" -type f -delete
find . -name "*.cpython*.so" -type f -delete
find . -type d -name _external_repositories -exec rm -rf {} \; > /dev/null 2>&1
Expand Down Expand Up @@ -230,7 +232,8 @@ if buildAll || hasArg pylibcugraph; then
# setup.py references an env var CUGRAPH_BUILD_PATH to find the libcugraph
# build. If not set by the user, set it to LIBCUGRAPH_BUILD_DIR
CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH:=${LIBCUGRAPH_BUILD_DIR}}
env CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH} python setup.py build_ext --inplace --library-dir=${LIBCUGRAPH_BUILD_DIR}
python setup.py build_ext --inplace -- -DFIND_CUGRAPH_CPP=ON \
-Dcugraph_ROOT=${LIBCUGRAPH_BUILD_DIR} -- -j${PARALLEL_LEVEL:-1}
if [[ ${INSTALL_TARGET} != "" ]]; then
env CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH} python setup.py install
fi
Expand All @@ -243,7 +246,8 @@ if buildAll || hasArg cugraph; then
# setup.py references an env var CUGRAPH_BUILD_PATH to find the libcugraph
# build. If not set by the user, set it to LIBCUGRAPH_BUILD_DIR
CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH:=${LIBCUGRAPH_BUILD_DIR}}
env CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH} python setup.py build_ext --inplace --library-dir=${LIBCUGRAPH_BUILD_DIR}
python setup.py build_ext --inplace -- -DFIND_CUGRAPH_CPP=ON \
-Dcugraph_ROOT=${LIBCUGRAPH_BUILD_DIR} -- -j${PARALLEL_LEVEL:-1}
if [[ ${INSTALL_TARGET} != "" ]]; then
env CUGRAPH_BUILD_PATH=${CUGRAPH_BUILD_PATH} python setup.py install
fi
Expand Down
5 changes: 5 additions & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ function sed_runner() {
sed -i.bak ''"$1"'' $2 && rm -f ${2}.bak
}

# rapids-cmake version
sed_runner 's/'"branch-.*\/RAPIDS.cmake"'/'"branch-${NEXT_SHORT_TAG}\/RAPIDS.cmake"'/g' fetch_rapids.cmake

# CMakeLists update
sed_runner 's/'"CUGRAPH VERSION .* LANGUAGES C CXX CUDA)"'/'"CUGRAPH VERSION ${NEXT_FULL_TAG} LANGUAGES C CXX CUDA)"'/g' cpp/CMakeLists.txt
sed_runner 's|'"branch-.*/RAPIDS.cmake"'|'"branch-${NEXT_SHORT_TAG}/RAPIDS.cmake"'|g' cpp/CMakeLists.txt
sed_runner 's/'"CUGRAPH_ETL VERSION .* LANGUAGES C CXX CUDA)"'/'"CUGRAPH_ETL VERSION ${NEXT_FULL_TAG} LANGUAGES C CXX CUDA)"'/g' cpp/libcugraph_etl/CMakeLists.txt
sed_runner 's|'"branch-.*/RAPIDS.cmake"'|'"branch-${NEXT_SHORT_TAG}/RAPIDS.cmake"'|g' cpp/libcugraph_etl/CMakeLists.txt
sed_runner "s/set(pylibcugraph_version .*)/set(pylibcugraph_version ${NEXT_FULL_TAG})/g" python/pylibcugraph/CMakeLists.txt
sed_runner "s/set(cugraph_version .*)/set(cugraph_version ${NEXT_FULL_TAG})/g" python/cugraph/CMakeLists.txt

# RTD update
sed_runner 's/version = .*/version = '"'${NEXT_SHORT_TAG}'"'/g' docs/cugraph/source/conf.py
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/cugraph_dev_cuda11.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dependencies:
- libraft-headers=22.10.*
- pyraft=22.10.*
- cuda-python>=11.5,<11.7.1
- dask>=2022.05.2
- distributed>=2022.05.2
- dask==2022.7.1
- distributed==2022.7.1
- dask-cuda=22.10.*
- dask-cudf=22.10.*
- nccl>=2.9.9
Expand All @@ -28,6 +28,7 @@ dependencies:
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
- boost
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/cugraph_dev_cuda11.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dependencies:
- libraft-headers=22.10.*
- pyraft=22.10.*
- cuda-python>=11.5,<11.7.1
- dask>=2022.05.2
- distributed>=2022.05.2
- dask==2022.7.1
- distributed==2022.7.1
- dask-cuda=22.10.*
- dask-cudf=22.10.*
- nccl>=2.9.9
Expand All @@ -28,6 +28,7 @@ dependencies:
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
- boost
Expand Down
5 changes: 3 additions & 2 deletions conda/environments/cugraph_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dependencies:
- libraft-headers=22.10.*
- pyraft=22.10.*
- cuda-python>=11.5,<11.7.1
- dask>=2022.05.2
- distributed>=2022.05.2
- dask==2022.7.1
- distributed==2022.7.1
- dask-cuda=22.10.*
- dask-cudf=22.10.*
- nccl>=2.9.9
Expand All @@ -28,6 +28,7 @@ dependencies:
- clang=11.1.0
- clang-tools=11.1.0
- cmake>=3.20.1,!=3.23.0
- scikit-build>=0.13.1
- python>=3.8,<3.10
- notebook>=0.5.0
- boost
Expand Down
3 changes: 3 additions & 0 deletions conda/recipes/cugraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ cxx_compiler_version:
cuda_compiler:
- nvcc

cmake_version:
- ">=3.20.1,!=3.23.0"

sysroot_version:
- "2.17"
6 changes: 4 additions & 2 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ build:

requirements:
build:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_{{ target_platform }} {{ sysroot_version }}
host:
- python x.x
- cython>=0.29,<0.30
- scikit-build>=0.13.1
- libcugraph={{ version }}
- libraft-headers {{ minor_version }}
- pyraft {{ minor_version }}
Expand All @@ -49,8 +51,8 @@ requirements:
- cudf={{ minor_version }}
- dask-cudf {{ minor_version }}
- dask-cuda {{ minor_version }}
- dask>=2022.05.2
- distributed>=2022.05.2
- dask==2022.7.1
- distributed==2022.7.1
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
Expand Down
3 changes: 3 additions & 0 deletions conda/recipes/pylibcugraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ cxx_compiler_version:
cuda_compiler:
- nvcc

cmake_version:
- ">=3.20.1,!=3.23.0"

sysroot_version:
- "2.17"
2 changes: 2 additions & 0 deletions conda/recipes/pylibcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ build:

requirements:
build:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_{{ target_platform }} {{ sysroot_version }}
host:
- python x.x
- cython>=0.29,<0.30
- scikit-build>=0.13.1
- libcugraph={{ version }}
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
Expand Down
4 changes: 1 addition & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
#=============================================================================

cmake_minimum_required(VERSION 3.20.1 FATAL_ERROR)
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-22.10/RAPIDS.cmake
${CMAKE_BINARY_DIR}/RAPIDS.cmake)
include(${CMAKE_BINARY_DIR}/RAPIDS.cmake)

include(../fetch_rapids.cmake)
include(rapids-cmake)
include(rapids-cpm)
include(rapids-cuda)
Expand Down
3 changes: 1 addition & 2 deletions cpp/cmake/thirdparty/get_libcudacxx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
function(find_and_configure_libcudacxx)
include(${rapids-cmake-dir}/cpm/libcudacxx.cmake)

rapids_cpm_libcudacxx(BUILD_EXPORT_SET cugraph-exports
INSTALL_EXPORT_SET cugraph-exports)
rapids_cpm_libcudacxx(BUILD_EXPORT_SET cugraph-exports)

endfunction()

Expand Down
Loading