This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This branch is a collection of all the refactoring improvements. closes #13 closes #14 closes #17 closes #18 closes rapidsai/cugraph-ops#492 Authors: - Brad Rees (https://github.com/BradReesWork) - https://github.com/dongxuy04 - Junhong Liu (https://github.com/hello-11) - Tingyu Wang (https://github.com/tingyu66) Approvers: - Tingyu Wang (https://github.com/tingyu66) - https://github.com/dongxuy04 - AJ Schmidt (https://github.com/ajschmidt8) URL: #24
- Loading branch information
1 parent
c63a9e2
commit aba3fd7
Showing
334 changed files
with
42,860 additions
and
25,975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||
|
||
[flake8] | ||
filename = *.py, *.pyx, *.pxd, *.pxi | ||
exclude = __init__.py, *.egg, build, docs, .git | ||
force-check = True | ||
max-line-length = 120 | ||
ignore = | ||
# line break before binary operator | ||
W503, | ||
# whitespace before : | ||
E203 | ||
per-file-ignores = | ||
# Rules ignored only in Cython: | ||
# E211: whitespace before '(' (used in multi-line imports) | ||
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>) | ||
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*) | ||
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax) | ||
# E275: Missing whitespace after keyword (Doesn't work with Cython except?) | ||
# E402: invalid syntax (works for Python, not Cython) | ||
# E999: invalid syntax (works for Python, not Cython) | ||
# W504: line break after binary operator (breaks lines that end with a pointer) | ||
*.pyx: E211, E225, E226, E227, E275, E402, E999, W504 | ||
*.pxd: E211, E225, E226, E227, E275, E402, E999, W504 | ||
*.pxi: E211, E225, E226, E227, E275, E402, E999, W504 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners | ||
# Order matters - match of highest importance goes last (last match wins) | ||
|
||
#doc code owners | ||
datasets/ @rapidsai/wholegraph-doc-codeowners | ||
notebooks/ @rapidsai/wholegraph-doc-codeowners | ||
docs/ @rapidsai/wholegraph-doc-codeowners | ||
**/*.txt @rapidsai/wholegraph-doc-codeowners | ||
**/*.md @rapidsai/wholegraph-doc-codeowners | ||
**/*.rst @rapidsai/wholegraph-doc-codeowners | ||
**/*.ipynb @rapidsai/wholegraph-doc-codeowners | ||
**/*.pdf @rapidsai/wholegraph-doc-codeowners | ||
**/*.png @rapidsai/wholegraph-doc-codeowners | ||
|
||
#cpp code owners | ||
cpp/ @rapidsai/wholegraph-cpp-codeowners | ||
|
||
#python code owners | ||
python/ @rapidsai/wholegraph-python-codeowners | ||
|
||
#cmake code owners | ||
**/CMakeLists.txt @rapidsai/wholegraph-cmake-codeowners | ||
**/cmake/ @rapidsai/wholegraph-cmake-codeowners | ||
|
||
#build/ops code owners | ||
.github/ @rapidsai/ops-codeowners | ||
ci/ @rapidsai/ops-codeowners | ||
conda/ @rapidsai/ops-codeowners | ||
**/Dockerfile @rapidsai/ops-codeowners | ||
**/.dockerignore @rapidsai/ops-codeowners |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# https://github.com/actions/labeler#common-examples | ||
# Adapted from https://github.com/rapidsai/wholegraph/blob/main/.github/CODEOWNERS | ||
# Labels culled from https://github.com/rapidsai/cugraph/labels | ||
|
||
python: | ||
- 'python/**' | ||
- 'notebooks/**' | ||
|
||
benchmarks: | ||
- 'benchmarks/**' | ||
|
||
doc: | ||
- 'docs/**' | ||
- '**/*.md' | ||
- 'datasets/**' | ||
- 'notebooks/**' | ||
- '**/*.txt' | ||
- '**/*.rst' | ||
- '**/*.ipynb' | ||
- '**/*.pdf' | ||
- '**/*.png' | ||
|
||
datasets: | ||
- 'datasets/**' | ||
|
||
WholeGraph: | ||
- 'cpp/**' | ||
|
||
CMake: | ||
- '**/CMakeLists.txt' | ||
- '**/cmake/**' | ||
|
||
ci: | ||
- 'ci/**' | ||
|
||
conda: | ||
- 'conda/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Add new issue/PR to project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
pull_request_target: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue or PR to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/rapidsai/projects/47 | ||
github-token: ${{ secrets.ADD_TO_PROJECT_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- "branch-*" | ||
tags: | ||
- v[0-9][0-9].[0-9][0-9].[0-9][0-9] | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
required: true | ||
type: string | ||
date: | ||
required: true | ||
type: string | ||
sha: | ||
required: true | ||
type: string | ||
build_type: | ||
type: string | ||
default: nightly | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
cpp-build: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
build_script: ci/build_cpp.sh | ||
python-build: | ||
needs: [cpp-build] | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
build_script: ci/build_python.sh | ||
docs-build: | ||
if: ${{ startsWith(github.ref, 'refs/heads/branch-') }} | ||
needs: [python-build] | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: branch | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/build_docs.sh" | ||
upload-conda: | ||
needs: [cpp-build, python-build] | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
wheel-build-pylibwholegraph: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
sha: ${{ inputs.sha }} | ||
date: ${{ inputs.date }} | ||
wheel-publish-pylibwholegraph: | ||
needs: wheel-build-pylibwholegraph | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
sha: ${{ inputs.sha }} | ||
date: ${{ inputs.date }} | ||
package-name: pylibwholegraph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: pr | ||
|
||
on: | ||
push: | ||
branches: | ||
- "pull-request/[0-9]+" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
pr-builder: | ||
needs: | ||
- checks | ||
- conda-cpp-build | ||
- conda-cpp-tests | ||
- conda-python-build | ||
- conda-python-tests | ||
- docs-build | ||
- wheel-build-pylibwholegraph | ||
- wheel-test-pylibwholegraph | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
checks: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
enable_check_generated_files: false | ||
conda-cpp-build: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: cpu16 | ||
conda-cpp-tests: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
conda-python-build: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
conda-python-tests: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
docs-build: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/build_docs.sh" | ||
wheel-build-pylibwholegraph: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
script: ci/build_wheel.sh | ||
wheel-test-pylibwholegraph: | ||
needs: wheel-build-pylibwholegraph | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
script: ci/test_wheel.sh | ||
matrix_filter: map(select(.ARCH == "amd64")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: test | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
required: true | ||
type: string | ||
date: | ||
required: true | ||
type: string | ||
sha: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
conda-cpp-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
conda-pytorch-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
wheel-tests-pylibwholegraph: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
script: ci/test_wheel.sh | ||
matrix_filter: map(select(.ARCH == "amd64")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.