Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
74d3b27
Pin cmake policies to 3.17
kkraus14 Oct 15, 2020
d670da7
changelog #
kkraus14 Oct 15, 2020
32795ec
ENH Improve gpuCI scripts
dillon-cullinan Oct 19, 2020
38a8088
DOC Changelog update
dillon-cullinan Oct 19, 2020
f6382fb
[REVIEW] BUG Temporarily disabling C++ tests for 0.16 (#1233)
rlratzel Oct 20, 2020
c7651f2
Merge pull request #1236 from rapidsai/branch-0.16
GPUtester Oct 20, 2020
b2c09a6
FIX Move path export above trap definition
dillon-cullinan Oct 20, 2020
a98b99b
bug fix in personalized PageRank
seunghwak Oct 21, 2020
f17b20a
bug fix in the reference (host) pagerank implementation
seunghwak Oct 21, 2020
44a7b37
Merge branch 'branch-0.17' into enh-gpuci
dillon-cullinan Oct 21, 2020
b9e1cfb
bug fix in MG personalized pagerank (when the aggregate personalizati…
seunghwak Oct 21, 2020
3e9181a
additional bug fix in personalized PageRank
seunghwak Oct 21, 2020
e7f09d4
add personlized PageRank tests
seunghwak Oct 21, 2020
c664604
update epsilon in katz centrality test
seunghwak Oct 21, 2020
17f1625
update change log
seunghwak Oct 21, 2020
9efda11
cosmetic updates (fabs=>std::abs)
seunghwak Oct 22, 2020
60af376
Merge pull request #1230 from dillon-cullinan/enh-gpuci
dillon-cullinan Oct 22, 2020
05b8d18
[REVIEW][skip ci changelog] Resolving 0.16 to 0.17 auto-merger failur…
rlratzel Oct 23, 2020
6450729
[REVIEW] BUG Calling gunrock cmake using explicit -D options, re-enab…
rlratzel Oct 23, 2020
1e3601f
resolve merge conflicts
seunghwak Oct 26, 2020
0cfbd95
update PageRank and Katz Centrality's interpretation on input paramet…
seunghwak Oct 26, 2020
a333293
add pandas api
Iroy30 Oct 26, 2020
c8d8e23
Merge pull request #1241 from seunghwak/bug_personalized_pagerank
BradReesWork Oct 27, 2020
1c6c5ad
add numpy support
Iroy30 Oct 27, 2020
6d8c418
add pandas adjacency input
Iroy30 Oct 27, 2020
9e54f8b
expose functions in convert_matrix
Iroy30 Oct 27, 2020
d7d146e
Merge pull request #1227 from kkraus14/cmake_version
BradReesWork Oct 27, 2020
f744a66
Use latest Gunrock
ChuckHastings Oct 28, 2020
2eea759
update changelog
ChuckHastings Oct 28, 2020
1f9f15e
fix format issues
ChuckHastings Oct 28, 2020
7fef2f1
update tests
Iroy30 Oct 28, 2020
5ef3a23
add docs
Iroy30 Oct 30, 2020
e7dd8e4
add changelog
Iroy30 Oct 30, 2020
3a4cfac
Changed the MG context testing class to use updated parameters passed…
rlratzel Oct 30, 2020
e04fee8
FIX Fix upload script
dillon-cullinan Oct 30, 2020
4feddc0
DOC Update Changelog
dillon-cullinan Oct 30, 2020
c3373c2
Updated cuco commit hash to latest as of 2020-10-30.
rlratzel Oct 30, 2020
d059e06
Added PR 1250 to CHANGELOG.md
rlratzel Oct 30, 2020
d018c61
Merge pull request #1249 from dillon-cullinan/fix-upload
raydouglass Oct 30, 2020
b649130
Merge branch 'branch-0.17' of https://github.com/rapidsai/cugraph int…
Iroy30 Oct 30, 2020
f3772bd
Removing unneeded GIT_SHALLOW param for cuco since it's only needed f…
rlratzel Oct 30, 2020
9a81c19
Update CHANGELOG.md entry for PR 1250 to be more accurate with recent…
rlratzel Oct 30, 2020
33d8a1b
Merge branch 'branch-0.17-cucohashupdate' into branch-0.17-mgtestfixes
rlratzel Oct 30, 2020
bef5e00
Added PR 1251 to CHANGELOG.md
rlratzel Oct 30, 2020
cb040b4
Refactored to eliminate the need for _prepare_cluster(), removed unne…
rlratzel Oct 30, 2020
359a02b
Fixed flake8 error.
rlratzel Oct 30, 2020
edb6de7
[REVIEW] BUG Updated cuco commit hash to latest as of 2020-10-30 (#1250)
rlratzel Oct 30, 2020
aa8f048
Merge remote-tracking branch 'upstream/branch-0.17' into branch-0.17-…
rlratzel Oct 31, 2020
86538c2
[REVIEW] BUG Changed the MG context testing class to use updated para…
rlratzel Oct 31, 2020
6135f01
Merge branch 'branch-0.17' into fea_gunrock_fix_hits
ChuckHastings Nov 2, 2020
a3c3dfe
Merge remote-tracking branch 'upstream/branch-0.17' into branch-0.17-…
rlratzel Nov 3, 2020
e3dafa5
Further updates to get MG tests to pass: set p2p option on comms init…
rlratzel Nov 3, 2020
9335e09
Added PR 1253 to CHANGELOG.md
rlratzel Nov 4, 2020
6461951
Merge pull request #1253 from rlratzel/branch-0.17-mgtestfixes
BradReesWork Nov 4, 2020
8839842
Merge pull request #1245 from Iroy30/pandas_numpy_inputs
BradReesWork Nov 6, 2020
3fcefed
Merge pull request #1246 from ChuckHastings/fea_gunrock_fix_hits
BradReesWork Nov 6, 2020
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
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# cuGraph 0.17.0 (Date TBD)

## New Features
- PR #1245 Add functions to add pandas and numpy compatibility

## Improvements
- PR #1227 Pin cmake policies to cmake 3.17 version

## Bug Fixes
- PR #1242 Calling gunrock cmake using explicit -D options, re-enabling C++ tests
- PR #1246 Use latest Gunrock, update HITS implementation
- PR #1250 Updated cuco commit hash to latest as of 2020-10-30 and removed unneeded GIT_SHALLOW param
- PR #1251 Changed the MG context testing class to use updated parameters passed in from the individual tests
- PR #1253 MG test fixes: updated additional comms.initialize() calls, fixed dask DataFrame comparisons


# cuGraph 0.16.0 (Date TBD)
# cuGraph 0.16.0 (21 Oct 2020)

## New Features
- PR #1098 Add new graph classes to support 2D partitioning
Expand Down Expand Up @@ -45,7 +52,7 @@
- PR #1222 Added min CUDA version check to MG Louvain
- PR #1217 NetworkX Transition doc
- PR #1223 Update mnmg docs

- PR #1230 Improve gpuCI scripts

## Bug Fixes
- PR #1131 Show style checker errors with set +e
Expand All @@ -62,8 +69,10 @@
- PR #1196 Move subcomms init outside of individual algorithm functions
- PR #1198 Remove deprecated call to from_gpu_matrix
- PR #1174 Fix bugs in MNMG pattern accelerators and pattern accelerator based implementations of MNMG PageRank, BFS, and SSSP


- PR #1233 Temporarily disabling C++ tests for 0.16
- PR #1240 Require `ucx-proc=*=gpu`
- PR #1241 Fix a bug in personalized PageRank with the new graph primitives API.
- PR #1249 Fix upload script syntax

# cuGraph 0.15.0 (26 Aug 2020)

Expand Down
54 changes: 30 additions & 24 deletions ci/benchmark/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,40 @@ set -o pipefail
NUMARGS=$#
ARGS=$*

function logger {
echo -e "\n>>>> $@\n"
}

function hasArg {
(( ${NUMARGS} != 0 )) && (echo " ${ARGS} " | grep -q " $1 ")
}

function cleanup {
logger "Removing datasets and temp files..."
gpuci_logger "Removing datasets and temp files"
rm -rf $WORKSPACE/datasets/test
rm -rf $WORKSPACE/datasets/benchmark
rm -f testoutput.txt
}

# Set cleanup trap for Jenkins
if [ ! -z "$JENKINS_HOME" ] ; then
logger "Jenkins environment detected, setting cleanup trap..."
gpuci_logger "Jenkins environment detected, setting cleanup trap"
trap cleanup EXIT
fi

# Set path, build parallel level, and CUDA version
cd $WORKSPACE
export PATH=/conda/bin:/usr/local/cuda/bin:$PATH
export PARALLEL_LEVEL=4
export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH
export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4}
export CUDA_REL=${CUDA_VERSION%.*}

# Set home
export HOME=$WORKSPACE

# Parse git describe
export GIT_DESCRIBE_TAG=`git describe --tags`
export MINOR_VERSION=`echo $GIT_DESCRIBE_TAG | grep -o -E '([0-9]+\.[0-9]+)'`

# Setup 'gpuci_conda_retry' for build retries (results in 2 total attempts)
export GPUCI_CONDA_RETRY_MAX=1
export GPUCI_CONDA_RETRY_SLEEP=30

# Set Benchmark Vars
export DATASETS_DIR=${WORKSPACE}/datasets
export BENCHMARKS_DIR=${WORKSPACE}/benchmarks
Expand All @@ -49,56 +53,58 @@ export BENCHMARKS_DIR=${WORKSPACE}/benchmarks

# TODO: Delete build section when artifacts are available

logger "Check environment..."
gpuci_logger "Check environment"
env

logger "Check GPU usage..."
gpuci_logger "Check GPU usage"
nvidia-smi

logger "Activate conda env..."
source activate rapids

gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

# Enter dependencies to be shown in ASV tooltips.
CUGRAPH_DEPS=(cudf rmm)
LIBCUGRAPH_DEPS=(cudf rmm)

logger "conda install required packages"
conda install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge -c defaults \
gpuci_logger "Install required packages"
gpuci_conda_retry install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge -c defaults \
"cudf=${MINOR_VERSION}" \
"rmm=${MINOR_VERSION}" \
"cudatoolkit=$CUDA_REL" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=${MINOR_VERSION}" \
"ucx-proc=*=gpu" \
"rapids-build-env=${MINOR_VERSION}" \
rapids-pytest-benchmark

# Install the master version of dask and distributed
logger "pip install git+https://github.com/dask/distributed.git --upgrade --no-deps"
gpuci_logger "Install the master version of dask and distributed"
pip install "git+https://github.com/dask/distributed.git" --upgrade --no-deps

logger "pip install git+https://github.com/dask/dask.git --upgrade --no-deps"
pip install "git+https://github.com/dask/dask.git" --upgrade --no-deps

logger "Check versions..."
gpuci_logger "Check versions"
python --version
$CC --version
$CXX --version
conda list

gpuci_logger "Check conda environment"
conda info
conda config --show-sources
conda list --show-channel-urls

##########################################
# Build cuGraph #
##########################################

logger "Build libcugraph..."
gpuci_logger "Build libcugraph"
$WORKSPACE/build.sh clean libcugraph cugraph

##########################################
# Run Benchmarks #
##########################################

logger "Downloading Datasets for Benchmarks..."
gpuci_logger "Downloading Datasets for Benchmarks"
cd $DATASETS_DIR
bash ./get_test_data.sh --benchmark
ERRORCODE=$((ERRORCODE | $?))
Expand Down Expand Up @@ -148,7 +154,7 @@ BENCHMARK_META=$(jq -n \
echo "Benchmark meta:"
echo "${BENCHMARK_META}" | jq "."

logger "Running Benchmarks..."
gpuci_logger "Running Benchmarks"
cd $BENCHMARKS_DIR
set +e
time pytest -v -m "small and managedmem_on and poolallocator_on" \
Expand Down
63 changes: 38 additions & 25 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@
#########################################
set -e

# Logger function for build status output
function logger() {
echo -e "\n>>>> $@\n"
}

# Set path and build parallel level
export PATH=/conda/bin:/usr/local/cuda/bin:$PATH
export PARALLEL_LEVEL=4
export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH
export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4}

# Set home to the job's workspace
export HOME=$WORKSPACE
Expand All @@ -25,41 +20,59 @@ if [[ "$BUILD_MODE" = "branch" && "$SOURCE_BRANCH" = branch-* ]] ; then
export VERSION_SUFFIX=`date +%y%m%d`
fi

# Setup 'gpuci_conda_retry' for build retries (results in 2 total attempts)
export GPUCI_CONDA_RETRY_MAX=1
export GPUCI_CONDA_RETRY_SLEEP=30

################################################################################
# SETUP - Check environment
################################################################################

logger "Get env..."
gpuci_logger "Check environment variables"
env

logger "Activate conda env..."
source activate gdf
gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

logger "Check versions..."
gpuci_logger "Check versions"
python --version
gcc --version
g++ --version
conda list
$CC --version
$CXX --version

gpuci_logger "Check conda environment"
conda info
conda config --show-sources
conda list --show-channel-urls

# FIX Added to deal with Anancoda SSL verification issues during conda builds
conda config --set ssl_verify False

###############################################################################
# BUILD - Conda package builds (conda deps: libcugraph <- cugraph)
################################################################################
# BUILD - Conda package builds
###############################################################################

logger "Build conda pkg for libcugraph..."
source ci/cpu/libcugraph/build_libcugraph.sh
gpuci_logger "Build conda pkg for libcugraph"
if [ "$BUILD_LIBCUGRAPH" == '1' ]; then
if [[ -z "$PROJECT_FLASH" || "$PROJECT_FLASH" == "0" ]]; then
conda build conda/recipes/libcugraph
else
conda build --dirty --no-remove-work-dir conda/recipes/libcugraph
fi
fi

logger "Build conda pkg for cugraph..."
source ci/cpu/cugraph/build_cugraph.sh
gpuci_logger "Build conda pkg for cugraph"
if [ "$BUILD_CUGRAPH" == "1" ]; then
if [[ -z "$PROJECT_FLASH" || "$PROJECT_FLASH" == "0" ]]; then
conda build conda/recipes/cugraph --python=$PYTHON
else
conda build conda/recipes/cugraph -c ci/artifacts/cugraph/cpu/conda-bld/ --dirty --no-remove-work-dir --python=$PYTHON
fi
fi

################################################################################
# UPLOAD - Conda packages
################################################################################

logger "Upload libcugraph conda pkg..."
source ci/cpu/libcugraph/upload-anaconda.sh

logger "Upload cugraph conda pkg..."
source ci/cpu/cugraph/upload-anaconda.sh
gpuci_logger "Upload conda packages"
source ci/cpu/upload.sh
25 changes: 0 additions & 25 deletions ci/cpu/cugraph/build_cugraph.sh

This file was deleted.

50 changes: 0 additions & 50 deletions ci/cpu/cugraph/upload-anaconda.sh

This file was deleted.

25 changes: 0 additions & 25 deletions ci/cpu/libcugraph/build_libcugraph.sh

This file was deleted.

Loading