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

Datasets api docs #86

Merged
merged 2 commits into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .github/ops-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ auto_merger: true
branch_checker: true
label_checker: true
release_drafter: true
external_contributors: false
copy_prs: true
rerun_tests: true
103 changes: 101 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,108 @@

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

# cuGraph 22.06.00 (Date TBD)
# cuGraph 22.06.00 (7 Jun 2022)

Please see https://github.com/rapidsai/cugraph/releases/tag/v22.06.00a for the latest changes to this development branch.
## 🚨 Breaking Changes

- Fix uniform neighborhood sampling remove duplicates ([#2301](https://github.com/rapidsai/cugraph/pull/2301)) [@ChuckHastings](https://github.com/ChuckHastings)
- Split update_v_frontier_from_outgoing_e to two simpler primitives ([#2290](https://github.com/rapidsai/cugraph/pull/2290)) [@seunghwak](https://github.com/seunghwak)
- Refactor MG neighborhood sampling and add SG implementation ([#2285](https://github.com/rapidsai/cugraph/pull/2285)) [@jnke2016](https://github.com/jnke2016)
- Resolve inconsistencies in reduction support in primitives ([#2257](https://github.com/rapidsai/cugraph/pull/2257)) [@seunghwak](https://github.com/seunghwak)
- Revert SG Katz API's signature to previous <22.04 version ([#2242](https://github.com/rapidsai/cugraph/pull/2242)) [@betochimas](https://github.com/betochimas)
- Rename primitive functions. ([#2234](https://github.com/rapidsai/cugraph/pull/2234)) [@seunghwak](https://github.com/seunghwak)
- Graph primitives API updates ([#2220](https://github.com/rapidsai/cugraph/pull/2220)) [@seunghwak](https://github.com/seunghwak)
- Add Katz Centrality to pylibcugraph, refactor Katz Centrality for cugraph ([#2201](https://github.com/rapidsai/cugraph/pull/2201)) [@betochimas](https://github.com/betochimas)
- Update graph/graph primitives API to consistently use vertex/edge centric terminologies instead of matrix centric terminolgies ([#2187](https://github.com/rapidsai/cugraph/pull/2187)) [@seunghwak](https://github.com/seunghwak)
- Define C API for eigenvector centrality ([#2180](https://github.com/rapidsai/cugraph/pull/2180)) [@ChuckHastings](https://github.com/ChuckHastings)

## 🐛 Bug Fixes

- fix sampling handling of dscr region ([#2321](https://github.com/rapidsai/cugraph/pull/2321)) [@ChuckHastings](https://github.com/ChuckHastings)
- Add test to reproduce issue with double weights, fix issue (graph cre… ([#2305](https://github.com/rapidsai/cugraph/pull/2305)) [@ChuckHastings](https://github.com/ChuckHastings)
- Fix MG BFS through C API ([#2291](https://github.com/rapidsai/cugraph/pull/2291)) [@ChuckHastings](https://github.com/ChuckHastings)
- fixes BUG 2275 ([#2279](https://github.com/rapidsai/cugraph/pull/2279)) [@BradReesWork](https://github.com/BradReesWork)
- Refactored SG `hits` and MG `katz_centrality` ([#2276](https://github.com/rapidsai/cugraph/pull/2276)) [@betochimas](https://github.com/betochimas)
- Multi-GPU reduce_v & transform_reduce_v bug fix. ([#2269](https://github.com/rapidsai/cugraph/pull/2269)) [@seunghwak](https://github.com/seunghwak)
- Update BFS and SSSP to check start/source vertex for validity ([#2268](https://github.com/rapidsai/cugraph/pull/2268)) [@alexbarghi-nv](https://github.com/alexbarghi-nv)
- Update some clustering algos to only support undirected graphs ([#2267](https://github.com/rapidsai/cugraph/pull/2267)) [@jnke2016](https://github.com/jnke2016)
- Resolves maximum spanning tree bug when using Edgelist instead of Adjlist ([#2256](https://github.com/rapidsai/cugraph/pull/2256)) [@betochimas](https://github.com/betochimas)
- cudf moved the default_hash into the cudf::detail namespace ([#2244](https://github.com/rapidsai/cugraph/pull/2244)) [@ChuckHastings](https://github.com/ChuckHastings)
- Allow `cugraph` to be imported in an SG env for SG algorithms ([#2241](https://github.com/rapidsai/cugraph/pull/2241)) [@betochimas](https://github.com/betochimas)
- Address some MNMG issues in cython.cu ([#2224](https://github.com/rapidsai/cugraph/pull/2224)) [@ChuckHastings](https://github.com/ChuckHastings)
- Fix error from two conflicting merges ([#2219](https://github.com/rapidsai/cugraph/pull/2219)) [@ChuckHastings](https://github.com/ChuckHastings)
- Branch 22.06 MNMG bug work and support for Undirected Graphs ([#2215](https://github.com/rapidsai/cugraph/pull/2215)) [@acostadon](https://github.com/acostadon)
- Branch 22.06 merge 22.04 ([#2190](https://github.com/rapidsai/cugraph/pull/2190)) [@rlratzel](https://github.com/rlratzel)

## 📖 Documentation

- Fix BFS Docstring ([#2318](https://github.com/rapidsai/cugraph/pull/2318)) [@alexbarghi-nv](https://github.com/alexbarghi-nv)
- small typo ([#2250](https://github.com/rapidsai/cugraph/pull/2250)) [@hoosierEE](https://github.com/hoosierEE)
- Updating issue template and missing docs ([#2211](https://github.com/rapidsai/cugraph/pull/2211)) [@BradReesWork](https://github.com/BradReesWork)
- Python code cleanup across docs, wrappers, testing ([#2194](https://github.com/rapidsai/cugraph/pull/2194)) [@betochimas](https://github.com/betochimas)

## 🚀 New Features

- Multi GPU Property Graph with basic creation support ([#2286](https://github.com/rapidsai/cugraph/pull/2286)) [@acostadon](https://github.com/acostadon)
- Triangle Counting ([#2253](https://github.com/rapidsai/cugraph/pull/2253)) [@seunghwak](https://github.com/seunghwak)
- Triangle Counts C++ API ([#2233](https://github.com/rapidsai/cugraph/pull/2233)) [@seunghwak](https://github.com/seunghwak)
- Define C API for eigenvector centrality ([#2180](https://github.com/rapidsai/cugraph/pull/2180)) [@ChuckHastings](https://github.com/ChuckHastings)

## 🛠️ Improvements

- Pin `dask` and `distributed` for release ([#2317](https://github.com/rapidsai/cugraph/pull/2317)) [@galipremsagar](https://github.com/galipremsagar)
- Pin `dask` & `distributed` for release ([#2312](https://github.com/rapidsai/cugraph/pull/2312)) [@galipremsagar](https://github.com/galipremsagar)
- Triangle counting C API implementation ([#2302](https://github.com/rapidsai/cugraph/pull/2302)) [@ChuckHastings](https://github.com/ChuckHastings)
- Fix uniform neighborhood sampling remove duplicates ([#2301](https://github.com/rapidsai/cugraph/pull/2301)) [@ChuckHastings](https://github.com/ChuckHastings)
- Migrate SG and MG SSSP to pylibcugraph ([#2295](https://github.com/rapidsai/cugraph/pull/2295)) [@alexbarghi-nv](https://github.com/alexbarghi-nv)
- Add Louvain to the C API ([#2292](https://github.com/rapidsai/cugraph/pull/2292)) [@ChuckHastings](https://github.com/ChuckHastings)
- Split update_v_frontier_from_outgoing_e to two simpler primitives ([#2290](https://github.com/rapidsai/cugraph/pull/2290)) [@seunghwak](https://github.com/seunghwak)
- Add and test mechanism for creating graph with edge index as weight ([#2288](https://github.com/rapidsai/cugraph/pull/2288)) [@ChuckHastings](https://github.com/ChuckHastings)
- Implement eigenvector centrality ([#2287](https://github.com/rapidsai/cugraph/pull/2287)) [@ChuckHastings](https://github.com/ChuckHastings)
- Refactor MG neighborhood sampling and add SG implementation ([#2285](https://github.com/rapidsai/cugraph/pull/2285)) [@jnke2016](https://github.com/jnke2016)
- Migrate SG and MG BFS to pylibcugraph ([#2284](https://github.com/rapidsai/cugraph/pull/2284)) [@alexbarghi-nv](https://github.com/alexbarghi-nv)
- Optimize Sampling for graph_store ([#2283](https://github.com/rapidsai/cugraph/pull/2283)) [@VibhuJawa](https://github.com/VibhuJawa)
- Refactor mg symmetrize tests ([#2278](https://github.com/rapidsai/cugraph/pull/2278)) [@jnke2016](https://github.com/jnke2016)
- Add do_expensive_check to graph primitives ([#2274](https://github.com/rapidsai/cugraph/pull/2274)) [@seunghwak](https://github.com/seunghwak)
- add bindings for triangle counting ([#2273](https://github.com/rapidsai/cugraph/pull/2273)) [@jnke2016](https://github.com/jnke2016)
- Define triangle_count C API ([#2271](https://github.com/rapidsai/cugraph/pull/2271)) [@ChuckHastings](https://github.com/ChuckHastings)
- Revert old pattern of SG cugraph testing for CI purposes ([#2262](https://github.com/rapidsai/cugraph/pull/2262)) [@betochimas](https://github.com/betochimas)
- Branch 22.06 bug fixes + update imports ([#2261](https://github.com/rapidsai/cugraph/pull/2261)) [@betochimas](https://github.com/betochimas)
- Raft RNG updated API ([#2260](https://github.com/rapidsai/cugraph/pull/2260)) [@MatthiasKohl](https://github.com/MatthiasKohl)
- Add Degree Centrality to cugraph ([#2259](https://github.com/rapidsai/cugraph/pull/2259)) [@betochimas](https://github.com/betochimas)
- Refactor Uniform Neighborhood Sampling ([#2258](https://github.com/rapidsai/cugraph/pull/2258)) [@ChuckHastings](https://github.com/ChuckHastings)
- Resolve inconsistencies in reduction support in primitives ([#2257](https://github.com/rapidsai/cugraph/pull/2257)) [@seunghwak](https://github.com/seunghwak)
- Add Eigenvector Centrality to pylibcugraph, cugraph APIs ([#2255](https://github.com/rapidsai/cugraph/pull/2255)) [@betochimas](https://github.com/betochimas)
- Add MG Hits and MG Neighborhood_sampling to benchmarks ([#2254](https://github.com/rapidsai/cugraph/pull/2254)) [@jnke2016](https://github.com/jnke2016)
- Undirected graph support for MG graphs ([#2247](https://github.com/rapidsai/cugraph/pull/2247)) [@jnke2016](https://github.com/jnke2016)
- Branch 22.06 bugs ([#2245](https://github.com/rapidsai/cugraph/pull/2245)) [@BradReesWork](https://github.com/BradReesWork)
- Revert SG Katz API's signature to previous <22.04 version ([#2242](https://github.com/rapidsai/cugraph/pull/2242)) [@betochimas](https://github.com/betochimas)
- add API for the new uniform neighborhood sampling ([#2236](https://github.com/rapidsai/cugraph/pull/2236)) [@ChuckHastings](https://github.com/ChuckHastings)
- Reverting raft pinned tag ([#2235](https://github.com/rapidsai/cugraph/pull/2235)) [@cjnolet](https://github.com/cjnolet)
- Rename primitive functions. ([#2234](https://github.com/rapidsai/cugraph/pull/2234)) [@seunghwak](https://github.com/seunghwak)
- Moves pylibcugraph APIS from 22.04 and earlier out of `experimental` namespace ([#2232](https://github.com/rapidsai/cugraph/pull/2232)) [@betochimas](https://github.com/betochimas)
- Use conda to build python packages during GPU tests ([#2230](https://github.com/rapidsai/cugraph/pull/2230)) [@Ethyling](https://github.com/Ethyling)
- Fix typos in documentation ([#2225](https://github.com/rapidsai/cugraph/pull/2225)) [@seunghwak](https://github.com/seunghwak)
- Update CMake pinning to allow newer CMake versions. ([#2221](https://github.com/rapidsai/cugraph/pull/2221)) [@vyasr](https://github.com/vyasr)
- Graph primitives API updates ([#2220](https://github.com/rapidsai/cugraph/pull/2220)) [@seunghwak](https://github.com/seunghwak)
- Enable MG support for small datasets ([#2216](https://github.com/rapidsai/cugraph/pull/2216)) [@jnke2016](https://github.com/jnke2016)
- Unpin `dask` & `distributed` for devlopment ([#2214](https://github.com/rapidsai/cugraph/pull/2214)) [@galipremsagar](https://github.com/galipremsagar)
- updated MG Test code to not use DiGraph ([#2213](https://github.com/rapidsai/cugraph/pull/2213)) [@BradReesWork](https://github.com/BradReesWork)
- renaming detail space functions ([#2212](https://github.com/rapidsai/cugraph/pull/2212)) [@seunghwak](https://github.com/seunghwak)
- Make diagram and caption consistent in Pagerank.ipynb ([#2207](https://github.com/rapidsai/cugraph/pull/2207)) [@charlesbluca](https://github.com/charlesbluca)
- Add Katz Centrality to pylibcugraph, refactor Katz Centrality for cugraph ([#2201](https://github.com/rapidsai/cugraph/pull/2201)) [@betochimas](https://github.com/betochimas)
- Resolve Forward merging of branch-22.04 into branch-22.06 ([#2197](https://github.com/rapidsai/cugraph/pull/2197)) [@jnke2016](https://github.com/jnke2016)
- Add Katz Centrality to the C API ([#2192](https://github.com/rapidsai/cugraph/pull/2192)) [@ChuckHastings](https://github.com/ChuckHastings)
- Update graph/graph primitives API to consistently use vertex/edge centric terminologies instead of matrix centric terminolgies ([#2187](https://github.com/rapidsai/cugraph/pull/2187)) [@seunghwak](https://github.com/seunghwak)
- Labeling algorithm updates for C API ([#2185](https://github.com/rapidsai/cugraph/pull/2185)) [@ChuckHastings](https://github.com/ChuckHastings)
- Added GraphStore Function ([#2183](https://github.com/rapidsai/cugraph/pull/2183)) [@wangxiaoyunNV](https://github.com/wangxiaoyunNV)
- Enable building static libs ([#2179](https://github.com/rapidsai/cugraph/pull/2179)) [@trxcllnt](https://github.com/trxcllnt)
- Fix merge conflicts ([#2155](https://github.com/rapidsai/cugraph/pull/2155)) [@ajschmidt8](https://github.com/ajschmidt8)
- Remove unused code (gunrock HITS) ([#2152](https://github.com/rapidsai/cugraph/pull/2152)) [@seunghwak](https://github.com/seunghwak)
- Turn off cuco dependency in RAFT. Re-establish explicit `cuco` and `libcuxx` cmake dependencies ([#2132](https://github.com/rapidsai/cugraph/pull/2132)) [@cjnolet](https://github.com/cjnolet)
- Consolidate C++ conda recipes and add `libcugraph-tests` package ([#2124](https://github.com/rapidsai/cugraph/pull/2124)) [@Ethyling](https://github.com/Ethyling)
- Use conda compilers ([#2101](https://github.com/rapidsai/cugraph/pull/2101)) [@Ethyling](https://github.com/Ethyling)
- Use mamba to build packages ([#2051](https://github.com/rapidsai/cugraph/pull/2051)) [@Ethyling](https://github.com/Ethyling)

# cuGraph 22.04.00 (6 Apr 2022)

Expand Down
2 changes: 0 additions & 2 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ fi

gpuci_logger "Check versions"
python --version
$CC --version
$CXX --version

gpuci_logger "Check conda environment"
conda info
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ requirements:
- cudf={{ minor_version }}
- dask-cudf {{ minor_version }}
- dask-cuda {{ minor_version }}
- dask==2022.05.2
- distributed==2022.05.2
- dask>=2022.05.2
- distributed>=2022.05.2
- ucx-py {{ ucx_py_version }}
- ucx-proc=*=gpu
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
Expand Down
3 changes: 2 additions & 1 deletion cpp/src/c_api/triangle_count.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ struct triangle_count_functor : public cugraph::c_api::abstract_functor {

if (vertices_ != nullptr) {
vertices.resize(vertices_->size_, handle_.get_stream());
counts.resize(vertices_->size_, handle_.get_stream());

raft::copy(
vertices.data(), vertices_->as_type<vertex_t>(), vertices.size(), handle_.get_stream());
Expand All @@ -101,6 +100,8 @@ struct triangle_count_functor : public cugraph::c_api::abstract_functor {
vertices = cugraph::detail::shuffle_ext_vertices_by_gpu_id(handle_, std::move(vertices));
}

counts.resize(vertices.size(), handle_.get_stream());

cugraph::renumber_ext_vertices<vertex_t, multi_gpu>(
handle_,
vertices.data(),
Expand Down
Loading