Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7cb8583
Bindings for RMAT (#1573)
jnke2016 May 10, 2021
85ceac3
Bug fix for MNMG Louvain (#1597)
ChuckHastings May 12, 2021
d97638d
Bug fix in MG coarsen_grph (#1596)
seunghwak May 12, 2021
4905a35
Move headers into `include/cugraph` dir (#1582)
trxcllnt May 12, 2021
6a94802
Fixing broken path utility (#1576)
BradReesWork May 13, 2021
9853eca
Update the relabel function to skip relabeling on missing labels (#1598)
seunghwak May 13, 2021
7c326ac
Update release script (#1600)
raydouglass May 13, 2021
9c42957
Added `uninstall` target which uninstalls libcugraph and cugraph from…
rlratzel May 13, 2021
2871281
Update graph primitives to support vertex-tagging in frontier expansi…
seunghwak May 14, 2021
e5878b9
Refactor the graph generation (from edge list) code (#1565)
seunghwak May 14, 2021
ad92c1e
Move the utility function to gather distributed vectors from tests/co…
seunghwak May 14, 2021
a524206
DOC Update to v21.06.00
raydouglass May 17, 2021
fcf4bb5
Update docs build script (#1606)
ajschmidt8 May 19, 2021
9ac368e
DOC v21.08 Updates
raydouglass May 19, 2021
fe51a31
SG & MG Weakly Connected Components (#1604)
seunghwak May 19, 2021
b0644da
Update `CHANGELOG.md` links for calver (#1608)
ajschmidt8 May 21, 2021
ab19cbd
WCC performance/memory footprint optimization (#1605)
seunghwak May 21, 2021
570d811
Fea rmm device buffer change (#1609)
ChuckHastings May 21, 2021
34218cb
Merge remote-tracking branch 'upstream/branch-21.06' into branch-21.0…
ajschmidt8 May 24, 2021
3c0be5f
Merge pull request #1614 from ajschmidt8/branch-21.08-merge-21.06
ajschmidt8 May 24, 2021
03dae45
Update `cugraph` to with newest CMake features, including CPM for dep…
robertmaynard May 25, 2021
2fc40f8
Merge pull request #1620 from rapidsai/branch-21.06
GPUtester May 25, 2021
8b197f1
Fix developer guide examples for device_buffer (#1619)
harrism May 25, 2021
f1a9921
Merge pull request #1621 from rapidsai/branch-21.06
GPUtester May 25, 2021
e541104
address 'ValueError: Series contains NULL values' from from_cudf_edge…
mattf May 25, 2021
229615c
Merge pull request #1622 from rapidsai/branch-21.06
GPUtester May 25, 2021
54eaabe
Undo disabling MG C++ testing outputs for non-root processes (#1615)
seunghwak May 25, 2021
d6a19e9
Pass rmm memory allocator to cuco::static_map (#1617)
seunghwak May 25, 2021
32818fb
Merge pull request #1623 from rapidsai/branch-21.06
GPUtester May 25, 2021
d1f3fb9
Handle int64 in force atlas wrapper and update to uvector (#1607)
hlinsen May 25, 2021
9a5dab0
Merge pull request #1624 from rapidsai/branch-21.06
GPUtester May 25, 2021
0859228
Add mnmg out degree (#1592)
Iroy30 May 25, 2021
9fd4b55
Merge pull request #1626 from rapidsai/branch-21.06
GPUtester May 25, 2021
2bbef1d
Updated dependencies for CalVer (#1629)
rlratzel May 27, 2021
595d5b2
Initialize force_atlas2 `old_forces` device_uvector, use new `rmm::ex…
trxcllnt May 27, 2021
ce5b271
Implement Graph Batching functionality (#1580)
aschaffer May 28, 2021
0f8cb14
Use UCX-Py 0.20 (#1634)
jakirkham Jun 1, 2021
c51216c
Remove thread local thrust::sort (thrust::sort with the execution pol…
seunghwak Jun 1, 2021
e80a696
Correct install path for include folder to avoid double nesting (#1630)
dantegd Jun 1, 2021
faf2dbf
transform_reduce_e bug fixes (#1633)
ChuckHastings Jun 1, 2021
04997dc
WCC bindings (#1612)
Iroy30 Jun 1, 2021
45a50aa
Delete CUDA_ARCHITECTURES=OFF (#1638)
seunghwak Jun 1, 2021
1206b1b
Merge remote-tracking branch 'upstream/branch-21.06' into branch-21.0…
ajschmidt8 Jun 1, 2021
341f7bd
increment ucx-py version
ajschmidt8 Jun 1, 2021
33b2ee4
Merge pull request #1639 from ajschmidt8/branch-21.08-merge-21.06
ajschmidt8 Jun 1, 2021
575677f
add multi-column support in algorithms - part 2 (#1571)
Iroy30 Jun 2, 2021
52c04e2
Merge pull request #1641 from rapidsai/branch-21.06
GPUtester Jun 2, 2021
12d3a61
Remove Pascal guard and test cuGraph use of cuco::static_map on Pasca…
seunghwak Jun 3, 2021
bd2bf2a
Merge pull request #1642 from rapidsai/branch-21.06
GPUtester Jun 3, 2021
0d20a8b
Upgraded recipe and dev envs to NCCL 2.9.9 (#1636)
rlratzel Jun 3, 2021
4e20f73
adding test graphs - part 2 (#1603)
ChuckHastings Jun 3, 2021
637c139
Update the Random Walk binding (#1599)
Iroy30 Jun 3, 2021
ed0e3a2
MG WCC improvements (#1628)
seunghwak Jun 4, 2021
d30339b
Made call to cugraph.random_walks() ignore the unused return value (#…
rlratzel Jun 4, 2021
57ee866
Update UCX-Py version to 0.20 (#1649)
pentschev Jun 7, 2021
0c98d97
Merge remote-tracking branch 'upstream/branch-21.06' into branch-21.0…
ajschmidt8 Jun 7, 2021
6aab21f
Merge pull request #1651 from ajschmidt8/branch-21.08-merge-21.06
ajschmidt8 Jun 7, 2021
b0faf21
Bug fix in triangle counting (#1654)
ChuckHastings Jun 8, 2021
a526f40
Merge pull request #1655 from rapidsai/branch-21.06
GPUtester Jun 8, 2021
a2a2ba2
FIX update-version.sh for CalVer (#1658)
raydouglass Jun 9, 2021
484e168
Merge pull request #1659 from rapidsai/branch-21.06
GPUtester Jun 9, 2021
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
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# cuGraph 0.20.0 (Date TBD)
# cuGraph 21.08.00 (Date TBD)

Please see https://github.com/rapidsai/cugraph/releases/tag/v0.20.0a for the latest changes to this development branch.
Please see https://github.com/rapidsai/cugraph/releases/tag/v21.08.00a for the latest changes to this development branch.

# cuGraph 21.06.00 (Date TBD)

Please see https://github.com/rapidsai/cugraph/releases/tag/v21.06.00a for the latest changes to this development branch.

# cuGraph 0.19.0 (21 Apr 2021)

Expand Down
49 changes: 38 additions & 11 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@ ARGS=$*
REPODIR=$(cd $(dirname $0); pwd)
LIBCUGRAPH_BUILD_DIR=${LIBCUGRAPH_BUILD_DIR:=${REPODIR}/cpp/build}

VALIDARGS="clean libcugraph cugraph docs -v -g -n --allgpuarch --buildfaiss --show_depr_warn -h --help"
VALIDARGS="clean uninstall libcugraph cugraph docs -v -g -n --allgpuarch --buildfaiss --show_depr_warn -h --help"
HELP="$0 [<target> ...] [<flag> ...]
where <target> is:
clean - remove all existing build artifacts and configuration (start over)
uninstall - uninstall libcugraph and cugraph from a prior build/install (see also -n)
libcugraph - build the cugraph C++ code
cugraph - build the cugraph Python package
cpp-mgtests - build libcugraph mnmg tests. Builds MPI communicator, adding MPI as a dependency.
docs - build the docs
and <flag> is:
-v - verbose build mode
-g - build for debug
-n - no install step
-n - do not install after a successful build
--allgpuarch - build for all supported GPU architectures
--buildfaiss - build faiss statically into cugraph
--show_depr_warn - show cmake deprecation warnings
Expand All @@ -52,7 +53,7 @@ INSTALL_TARGET=install
BUILD_DISABLE_DEPRECATION_WARNING=ON
BUILD_CPP_MG_TESTS=OFF
BUILD_STATIC_FAISS=OFF
GPU_ARCH=""
BUILD_ALL_GPU_ARCH=0

# Set defaults for vars that may not have been defined externally
# FIXME: if PREFIX is not set, check CONDA_PREFIX, but there is no fallback
Expand Down Expand Up @@ -95,7 +96,7 @@ if hasArg -n; then
INSTALL_TARGET=""
fi
if hasArg --allgpuarch; then
GPU_ARCH="-DGPU_ARCHS=ALL"
BUILD_ALL_GPU_ARCH=1
fi
if hasArg --buildfaiss; then
BUILD_STATIC_FAISS=ON
Expand All @@ -107,12 +108,36 @@ if hasArg cpp-mgtests; then
BUILD_CPP_MG_TESTS=ON
fi

# If clean given, run it prior to any other steps
# If clean or uninstall given, run them prior to any other steps
if hasArg uninstall; then
# uninstall libcugraph
if [[ "$INSTALL_PREFIX" != "" ]]; then
rm -rf ${INSTALL_PREFIX}/include/cugraph
rm -f ${INSTALL_PREFIX}/lib/libcugraph.so
fi
# This may be redundant given the above, but can also be used in case
# there are other installed files outside of the locations above.
if [ -e ${LIBCUGRAPH_BUILD_DIR}/install_manifest.txt ]; then
xargs rm -f < ${LIBCUGRAPH_BUILD_DIR}/install_manifest.txt > /dev/null 2>&1
fi
# uninstall cugraph installed from a prior "setup.py install"
pip uninstall -y cugraph
fi

if hasArg clean; then
# FIXME: ideally the "setup.py clean" command below would also be run to
# remove all the "inplace" python build artifacts, but currently, running
# any setup.py command has side effects (eg. cloning repos).
#(cd ${REPODIR}/python && python setup.py clean)
# remove artifacts generated inplace
# FIXME: ideally the "setup.py clean" command would be used for this, but
# currently running any setup.py command has side effects (eg. cloning
# repos).
# (cd ${REPODIR}/python && python setup.py clean)
if [[ -d ${REPODIR}/python ]]; 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 . -name "*.cpp" -type f -delete
find . -name "*.cpython*.so" -type f -delete
popd > /dev/null
fi

# If the dirs to clean are mounted dirs in a container, the contents should
# be removed but the mounted dirs will remain. The find removes all
Expand All @@ -129,15 +154,17 @@ fi
################################################################################
# Configure, build, and install libcugraph
if buildAll || hasArg libcugraph; then
if [[ ${GPU_ARCH} == "" ]]; then
if (( ${BUILD_ALL_GPU_ARCH} == 0 )); then
CUGRAPH_CMAKE_CUDA_ARCHITECTURES="NATIVE"
echo "Building for the architecture of the GPU in the system..."
else
CUGRAPH_CMAKE_CUDA_ARCHITECTURES="ALL"
echo "Building for *ALL* supported GPU architectures..."
fi
mkdir -p ${LIBCUGRAPH_BUILD_DIR}
cd ${LIBCUGRAPH_BUILD_DIR}
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
${GPU_ARCH} \
-DCMAKE_CUDA_ARCHITECTURES=${CUGRAPH_CMAKE_CUDA_ARCHITECTURES} \
-DDISABLE_DEPRECATION_WARNING=${BUILD_DISABLE_DEPRECATION_WARNING} \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DBUILD_STATIC_FAISS=${BUILD_STATIC_FAISS} \
Expand Down
2 changes: 1 addition & 1 deletion ci/benchmark/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ gpuci_conda_retry install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-for
"cudatoolkit=$CUDA_REL" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=${MINOR_VERSION}" \
"ucx-py=0.20.*" \
"ucx-proc=*=gpu" \
"rapids-build-env=${MINOR_VERSION}" \
rapids-pytest-benchmark
Expand Down
1 change: 0 additions & 1 deletion ci/docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export PATH=/conda/bin:/usr/local/cuda/bin:$PATH
export HOME=$WORKSPACE
export PROJECT_WORKSPACE=/rapids/cugraph
export LIBCUDF_KERNEL_CACHE_PATH="$HOME/.jitify-cache"
export NIGHTLY_VERSION=$(echo $BRANCH_VERSION | awk -F. '{print $2}')
export PROJECTS=(cugraph libcugraph)

gpuci_logger "Check environment"
Expand Down
2 changes: 1 addition & 1 deletion ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gpuci_conda_retry install -y \
"cudatoolkit=$CUDA_REL" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=${MINOR_VERSION}" \
"ucx-py=0.20.*" \
"ucx-proc=*=gpu" \
"rapids-build-env=$MINOR_VERSION.*" \
"rapids-notebook-env=$MINOR_VERSION.*" \
Expand Down
48 changes: 15 additions & 33 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2018-2020, NVIDIA CORPORATION.
# Copyright (c) 2018-2021, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -13,42 +13,25 @@
# limitations under the License.

## Usage
# bash update-version.sh <type>
# where <type> is either `major`, `minor`, `patch`
# bash update-version.sh <new_version>

set -e

# Grab argument for release type
RELEASE_TYPE=$1
# Format is YY.MM.PP - no leading 'v' or trailing 'a'
NEXT_FULL_TAG=$1

# Get current version and calculate next versions
CURRENT_TAG=`git tag | grep -xE 'v[0-9\.]+' | sort --version-sort | tail -n 1 | tr -d 'v'`
CURRENT_MAJOR=`echo $CURRENT_TAG | awk '{split($0, a, "."); print a[1]}'`
CURRENT_MINOR=`echo $CURRENT_TAG | awk '{split($0, a, "."); print a[2]}'`
CURRENT_PATCH=`echo $CURRENT_TAG | awk '{split($0, a, "."); print a[3]}'`
# Get current version
CURRENT_TAG=$(git tag --merged HEAD | grep -xE '^v.*' | sort --version-sort | tail -n 1 | tr -d 'v')
CURRENT_MAJOR=$(echo $CURRENT_TAG | awk '{split($0, a, "."); print a[1]}')
CURRENT_MINOR=$(echo $CURRENT_TAG | awk '{split($0, a, "."); print a[2]}')
CURRENT_PATCH=$(echo $CURRENT_TAG | awk '{split($0, a, "."); print a[3]}')
CURRENT_SHORT_TAG=${CURRENT_MAJOR}.${CURRENT_MINOR}
NEXT_MAJOR=$((CURRENT_MAJOR + 1))
NEXT_MINOR=$((CURRENT_MINOR + 1))
NEXT_PATCH=$((CURRENT_PATCH + 1))
NEXT_FULL_TAG=""
NEXT_SHORT_TAG=""

# Determine release type
if [ "$RELEASE_TYPE" == "major" ]; then
NEXT_FULL_TAG="${NEXT_MAJOR}.0.0"
NEXT_SHORT_TAG="${NEXT_MAJOR}.0"
elif [ "$RELEASE_TYPE" == "minor" ]; then
NEXT_FULL_TAG="${CURRENT_MAJOR}.${NEXT_MINOR}.0"
NEXT_SHORT_TAG="${CURRENT_MAJOR}.${NEXT_MINOR}"
elif [ "$RELEASE_TYPE" == "patch" ]; then
NEXT_FULL_TAG="${CURRENT_MAJOR}.${CURRENT_MINOR}.${NEXT_PATCH}"
NEXT_SHORT_TAG="${CURRENT_MAJOR}.${CURRENT_MINOR}"
else
echo "Incorrect release type; use 'major', 'minor', or 'patch' as an argument"
exit 1
fi
#Get <major>.<minor> for next version
NEXT_MAJOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[1]}')
NEXT_MINOR=$(echo $NEXT_FULL_TAG | awk '{split($0, a, "."); print a[2]}')
NEXT_SHORT_TAG=${NEXT_MAJOR}.${NEXT_MINOR}

echo "Preparing '$RELEASE_TYPE' release [$CURRENT_TAG -> $NEXT_FULL_TAG]"
echo "Preparing release $CURRENT_TAG => $NEXT_FULL_TAG"

# Inplace sed replace; workaround for Linux and Mac
function sed_runner() {
Expand All @@ -67,6 +50,5 @@ for FILE in conda/environments/*.yml; do
sed_runner "s/rmm=${CURRENT_SHORT_TAG}/rmm=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/dask-cuda=${CURRENT_SHORT_TAG}/dask-cuda=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/dask-cudf=${CURRENT_SHORT_TAG}/dask-cudf=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/ucx-py=${CURRENT_SHORT_TAG}/ucx-py=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/cuxfilter=${CURRENT_SHORT_TAG}/cuxfilter=${NEXT_SHORT_TAG}/g" ${FILE};
done
done
18 changes: 9 additions & 9 deletions conda/environments/cugraph_dev_cuda11.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ channels:
- conda-forge
dependencies:
- cudatoolkit=11.0
- cudf=0.20.*
- libcudf=0.20.*
- rmm=0.20.*
- librmm=0.20.*
- cudf=21.08.*
- libcudf=21.08.*
- rmm=21.08.*
- librmm=21.08.*
- dask>=2.12.0
- distributed>=2.12.0
- dask-cuda=0.20*
- dask-cudf=0.20*
- nccl>=2.8.4
- ucx-py=0.20*
- dask-cuda=21.08.*
- dask-cudf=21.08.*
- nccl>=2.9.9
- ucx-py=0.21.*
- ucx-proc=*=gpu
- scipy
- networkx>=2.5.1
- clang=8.0.1
- clang-tools=8.0.1
- cmake>=3.18
- cmake>=3.20.1
- python>=3.6,<3.9
- notebook>=0.5.0
- boost
Expand Down
18 changes: 9 additions & 9 deletions conda/environments/cugraph_dev_cuda11.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ channels:
- conda-forge
dependencies:
- cudatoolkit=11.1
- cudf=0.20.*
- libcudf=0.20.*
- rmm=0.20.*
- librmm=0.20.*
- cudf=21.08.*
- libcudf=21.08.*
- rmm=21.08.*
- librmm=21.08.*
- dask>=2.12.0
- distributed>=2.12.0
- dask-cuda=0.20*
- dask-cudf=0.20*
- nccl>=2.8.4
- ucx-py=0.20*
- dask-cuda=21.08.*
- dask-cudf=21.08.*
- nccl>=2.9.9
- ucx-py=0.21.*
- ucx-proc=*=gpu
- scipy
- networkx>=2.5.1
- clang=8.0.1
- clang-tools=8.0.1
- cmake>=3.18
- cmake>=3.20.1
- python>=3.6,<3.9
- notebook>=0.5.0
- boost
Expand Down
18 changes: 9 additions & 9 deletions conda/environments/cugraph_dev_cuda11.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ channels:
- conda-forge
dependencies:
- cudatoolkit=11.2
- cudf=0.20.*
- libcudf=0.20.*
- rmm=0.20.*
- librmm=0.20.*
- cudf=21.08.*
- libcudf=21.08.*
- rmm=21.08.*
- librmm=21.08.*
- dask>=2.12.0
- distributed>=2.12.0
- dask-cuda=0.20*
- dask-cudf=0.20*
- nccl>=2.8.4
- ucx-py=0.20*
- dask-cuda=21.08.*
- dask-cudf=21.08.*
- nccl>=2.9.9
- ucx-py=0.21.*
- ucx-proc=*=gpu
- scipy
- networkx>=2.5.1
- clang=8.0.1
- clang-tools=8.0.1
- cmake>=3.18
- cmake>=3.20.1
- python>=3.6,<3.9
- notebook>=0.5.0
- boost
Expand Down
5 changes: 2 additions & 3 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ requirements:
- cython>=0.29,<0.30
- libcugraph={{ version }}
- cudf={{ minor_version }}
- ucx-py {{ minor_version }}
- ucx-py 0.21
- ucx-proc=*=gpu
run:
- python x.x
Expand All @@ -37,8 +37,7 @@ requirements:
- dask-cuda {{ minor_version }}
- dask>=2.12.0
- distributed>=2.12.0
- nccl>=2.8.4
- ucx-py {{ minor_version }}
- ucx-py 0.21
- ucx-proc=*=gpu

#test:
Expand Down
6 changes: 3 additions & 3 deletions conda/recipes/libcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ build:

requirements:
build:
- cmake>=3.12.4
- cmake>=3.20.1
- cudatoolkit {{ cuda_version }}.*
- librmm {{ minor_version }}.*
- boost-cpp>=1.66
- nccl>=2.8.4
- nccl>=2.9.9
- ucx-proc=*=gpu
- gtest
- gmock
- faiss-proc=*=cuda
- conda-forge::libfaiss=1.7.0
run:
- {{ pin_compatible('cudatoolkit', max_pin='x.x') }}
- nccl>=2.8.4
- nccl>=2.9.9
- ucx-proc=*=gpu
- faiss-proc=*=cuda
- conda-forge::libfaiss=1.7.0
Expand Down
Loading