-
Notifications
You must be signed in to change notification settings - Fork 37
Conversation
…into branch-23.06
…using package; 2. add short README.md; 3. fix build.sh to find setup.py
First PR for WholeGraph 23.06 refactor and add RAPIDS CI scripts
Co-authored-by: dongxuy04 <[email protected]>
refactor random genertor cpu
Refactoring and fixing build
Authors: - Brad Rees (https://github.com/BradReesWork) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: #32
…memory (#34) Try to fix CI. - Use System V API for host shared memory, so that we don't rely on /dev/shm size. Depending on /dev/shm size need `--shm-size` flag at container startup, for RAPIDS CI this may need support in shared-action-workflows. - Enabled all cpp tests. - Fixed append_unique_tests and wholememory_comm_tests in cpp tests. - Enabled all Python tests except for aarch64. Seems there is no public pytorch package avaiable supporting CUDA for aarch64. Authors: - https://github.com/dongxuy04 Approvers: - Brad Rees (https://github.com/BradReesWork) URL: #34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few comments.
additionally, this repository will also need an update-version.sh
script to ensure all of the RAPIDS version numbers stay up-to-date.
see the cugraph
file below for reference:
creating docs Authors: - Brad Rees (https://github.com/BradReesWork) Approvers: - https://github.com/dongxuy04 - Don Acosta (https://github.com/acostadon) URL: #35
Updated docs - Added more comments in codes - Merged #35 and enabled docs - Added some MarkDown docs Authors: - https://github.com/dongxuy04 Approvers: - Brad Rees (https://github.com/BradReesWork) - Don Acosta (https://github.com/acostadon) URL: #36
Authors: - Brad Rees (https://github.com/BradReesWork) Approvers: - Don Acosta (https://github.com/acostadon) URL: #39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. In addition the the PR comments, I have one other question/request.
Are all of the Doxygen files needed? I see three right now:
cpp/Doxyfile.in
cpp/Doxyfile
cpp/doxygen/Doxyfile
If not, can you remove the extra ones?
Also, in other repositories, we've intentionally removed CMake
as a dependency for building Doxygen docs (see here: rapidsai/cuml#5155).
Can you also do that for this repository? If cpp/Doxyfile.in
isn't used, then you'll just need to delete that file to complete this request. That's the only Doxygen file that I see which still uses CMake
, though I don't see that file being used anywhere.
As `libcugraphops` is only needed to run GNN applications, not required by `libwholgraph` or `pylibwholegraph`, just remove it from dependency. Updated YAML files to support CUDA 12 CI. Fix exit code in `ci/test_python.sh` and also skip python test for CUDA 12 as no public stable pytorch package. Authors: - https://github.com/dongxuy04 Approvers: - Tingyu Wang (https://github.com/tingyu66) - Brad Rees (https://github.com/BradReesWork) URL: #41
Authors: - Tingyu Wang (https://github.com/tingyu66) Approvers: - Brad Rees (https://github.com/BradReesWork) URL: #40
Thanks for helping figure this out, removed |
I have one more round of suggestions. I had to play with some of this locally, so it's easier for me to just post the patch below and elaborate on the changes. Details
diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh
index ae90826..eb0720b 100755
--- a/ci/release/update-version.sh
+++ b/ci/release/update-version.sh
@@ -46,10 +46,10 @@ sed_runner 's/'"branch-.*\/RAPIDS.cmake"'/'"branch-${NEXT_SHORT_TAG}\/RAPIDS.cma
sed_runner 's/'"RAPIDS_VERSION \".*\")"'/'"RAPIDS_VERSION \"${NEXT_SHORT_TAG}\")"'/g' cpp/CMakeLists.txt
# Python CMakeLists updates
-sed_runner 's/'"RAPIDS_VERSION .*)"'/'"RAPIDS_VERSION ${NEXT_FULL_TAG})"'/g' python/pylibwholegraph/CMakeLists.txt
+sed_runner '/set(RAPIDS_VERSION/ s/".*"/'\"${NEXT_SHORT_TAG}\"'/g' python/pylibwholegraph/CMakeLists.txt
# Python setup.py updates
-sed_runner 's/'version=".*"'/'version="${NEXT_FULL_TAG}"'/g' python/pylibwholegraph/setup.py
+sed_runner 's/'version=\".*\"'/'version=\"${NEXT_FULL_TAG}\"'/g' python/pylibwholegraph/setup.py
# RTD update
@@ -85,7 +85,7 @@ for DEP in "${DEPENDENCIES[@]}"; do
done
# Doxyfile update
-sed_runner "s|PROJECT_NUMBER[[:space:]]*=.*|PROJECT_NUMBER=${NEXT_SHORT_TAG}|" cpp/Doxyfile
+sed_runner "/^PROJECT_NUMBER/ s|=.*|= ${NEXT_SHORT_TAG}|" cpp/Doxyfile
# CI files
diff --git a/conda/environments/all_cuda-115_arch-x86_64.yaml b/conda/environments/all_cuda-115_arch-x86_64.yaml
index bbadcc0..f163b45 100644
--- a/conda/environments/all_cuda-115_arch-x86_64.yaml
+++ b/conda/environments/all_cuda-115_arch-x86_64.yaml
@@ -23,8 +23,8 @@ dependencies:
- graphviz
- ipykernel
- ipython
-- libraft-headers==23.08.*
-- librmm==23.08.*
+- libraft-headers==23.8.*
+- librmm==23.8.*
- nanobind>=0.2.0
- nbsphinx
- nccl
diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml
index 70e3721..ec637bb 100644
--- a/conda/environments/all_cuda-118_arch-x86_64.yaml
+++ b/conda/environments/all_cuda-118_arch-x86_64.yaml
@@ -23,8 +23,8 @@ dependencies:
- graphviz
- ipykernel
- ipython
-- libraft-headers==23.08.*
-- librmm==23.08.*
+- libraft-headers==23.8.*
+- librmm==23.8.*
- nanobind>=0.2.0
- nbsphinx
- nccl
diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml
index b354691..b532944 100644
--- a/conda/environments/all_cuda-120_arch-x86_64.yaml
+++ b/conda/environments/all_cuda-120_arch-x86_64.yaml
@@ -25,8 +25,8 @@ dependencies:
- graphviz
- ipykernel
- ipython
-- libraft-headers==23.08.*
-- librmm==23.08.*
+- libraft-headers==23.8.*
+- librmm==23.8.*
- nanobind>=0.2.0
- nbsphinx
- nccl
diff --git a/dependencies.yaml b/dependencies.yaml
index 280aae0..2eb6d63 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -164,8 +164,8 @@ dependencies:
common:
- output_types: [conda, requirements]
packages:
- - libraft-headers==23.08.*
- - librmm==23.08.*
+ - libraft-headers==23.8.*
+ - librmm==23.8.*
test_cpp:
common:
- output_types: [conda, requirements]
The changes are as follows:
The result of the bash ci/release/update-version.sh 23.08.00
bash ci/release/update-version.sh 23.10.00
bash ci/release/update-version.sh 24.08.00
bash ci/release/update-version.sh 23.08.00 # back to `23.08.00`. no net changes |
Clean up scripts for packaging and revise conda recipes. Authors: - Tingyu Wang (https://github.com/tingyu66) Approvers: - Brad Rees (https://github.com/BradReesWork) - AJ Schmidt (https://github.com/ajschmidt8) URL: #42
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conda recipes and wheel building script LGTM.
Thanks for the suggestions. They should be addressed in #44. Please take a look over there since I cannot request your review due to priviledges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. two small comments left.
/merge |
This branch is a collection of all the refactoring improvements.
closes #13
closes #14
closes #17
closes #18
closes https://github.com/rapidsai/cugraph-ops/issues/492