Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/branch-24.04' into feat/scikit…
Browse files Browse the repository at this point in the history
…_build_core
  • Loading branch information
vyasr committed Mar 19, 2024
2 parents c95cd2e + 9f290c4 commit 2e4be2b
Show file tree
Hide file tree
Showing 32 changed files with 142 additions and 373 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_script: ci/build_cpp.sh
script: ci/build_cpp.sh
python-build:
needs: [cpp-build]
secrets: inherit
Expand All @@ -44,7 +44,7 @@ jobs:
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
build_script: ci/build_python.sh
script: ci/build_python.sh
docs-build:
if: github.ref_type == 'branch'
needs: [python-build]
Expand Down
19 changes: 11 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,19 @@ repos:
)
types_or: [c, c++, cuda]
args: ["-fallback-style=none", "-style=file", "-i"]
- repo: local
hooks:
- id: copyright-check
name: copyright-check
entry: python3 ./scripts/checks/copyright.py --update-current-year
language: python
pass_filenames: false
additional_dependencies: [gitpython]
- repo: https://github.com/rapidsai/dependency-file-generator
rev: v1.8.0
hooks:
- id: rapids-dependency-file-generator
args: ["--clean"]
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.0.1
hooks:
- id: verify-copyright
files: |
(?x)
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
CMakeLists[.]txt$|
meta[.]yaml$|
setup[.]cfg$|
[.]flake8[.]cython$
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ It is optimized for NVLink systems like DGX A100 servers.
By working together with cuGraph, cuGraph-Ops, cuGraph-DGL, cuGraph-PyG,
and upstream DGL and PyG, it will be easy to build GNN applications.

## Table of content
## Table of Contents
- Installation
- [Getting WholeGraph Packages](./docs/wholegraph/source/installation/getting_wholegraph.md)
- [Building from Source](./docs/wholegraph/source/installation/source_build.md)
- [Getting WholeGraph Packages](https://docs.rapids.ai/api/cugraph/nightly/wholegraph/installation/getting_wholegraph/)
- [Building from Source](https://docs.rapids.ai/api/cugraph/nightly/wholegraph/installation/source_build/)
- General
- [WholeGraph Introduction](./docs/wholegraph/source/basics/wholegraph_intro.md)
- [WholeGraph Introduction](https://docs.rapids.ai/api/cugraph/nightly/wholegraph/basics/wholegraph_intro/)
- Packages
- libwholegraph (C/CUDA)
- pylibwholegraph
- API Docs
- Python
- C
- [Python](https://docs.rapids.ai/api/cugraph/nightly/api_docs/wholegraph/pylibwholegraph/)
- [C](https://docs.rapids.ai/api/cugraph/nightly/api_docs/wholegraph/libwholegraph/#wholegraph-c-api-documentation)
- Reference
- [RAPIDS](https://rapids.ai)
- [cuGraph](https://github.com/rapidsai/cugraph)
271 changes: 0 additions & 271 deletions ci/checks/copyright.py

This file was deleted.

9 changes: 9 additions & 0 deletions ci/run_ctests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

set -euo pipefail

# Support customizing the ctests' install location
cd "${INSTALL_PREFIX:-${CONDA_PREFIX:-/usr}}/bin/gtests/libwholegraph/"

find . -type f -executable -print0 | xargs -0 -r -t -n1 -P1 sh -c 'exec "$0"';
9 changes: 9 additions & 0 deletions ci/run_pytests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

set -euo pipefail

# Support invoking run_pytests.sh outside the script directory
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/pylibwholegraph/pylibwholegraph/

pytest --cache-clear --forked --import-mode=append "$@" tests
Loading

0 comments on commit 2e4be2b

Please sign in to comment.