Skip to content

Commit

Permalink
update dgl doc, include karata.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 21, 2024
1 parent fad3e8b commit 887e32f
Show file tree
Hide file tree
Showing 8 changed files with 192 additions and 33 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
needs:
- changed-files
- checks
- conda-cpp-build
# - conda-cpp-build
# - conda-cpp-tests
- conda-python-build
- conda-python-tests
# - conda-python-build
# - conda-python-tests
- wheel-build-pylibwholegraph
# - wheel-tests-pylibwholegraph
- wheel-build-cugraph-dgl
Expand Down Expand Up @@ -64,33 +64,33 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
enable_check_generated_files: false
conda-cpp-build:
needs: checks
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
node_type: cpu32
# conda-cpp-build:
# needs: checks
# secrets: inherit
# uses: rapidsai/shared-workflows/.github/workflows/[email protected]
# with:
# build_type: pull-request
# node_type: cpu32
# conda-cpp-tests:
# needs: [conda-cpp-build, changed-files]
# secrets: inherit
# uses: rapidsai/shared-workflows/.github/workflows/[email protected]
# if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
# with:
# build_type: pull-request
conda-python-build:
needs: conda-cpp-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
conda-python-tests:
needs: [conda-python-build, changed-files]
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
with:
build_type: pull-request
# conda-python-build:
# needs: conda-cpp-build
# secrets: inherit
# uses: rapidsai/shared-workflows/.github/workflows/[email protected]
# with:
# build_type: pull-request
# conda-python-tests:
# needs: [conda-python-build, changed-files]
# secrets: inherit
# uses: rapidsai/shared-workflows/.github/workflows/[email protected]
# if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
# with:
# build_type: pull-request
wheel-build-pylibwholegraph:
needs: checks
secrets: inherit
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
- cupy>=12.0.0
- cython>=3.0.0
- dask-cudf==24.12.*,>=0.0.0a0
- dglteam/label/th21_cu118::dgl
- dglteam/label/th23_cu118::dgl
- doxygen
- graphviz
- ipython
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-121_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- cupy>=12.0.0
- cython>=3.0.0
- dask-cudf==24.12.*,>=0.0.0a0
- dglteam/label/th21_cu121::dgl
- dglteam/label/th23_cu121::dgl
- doxygen
- graphviz
- ipython
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-124_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- cupy>=12.0.0
- cython>=3.0.0
- dask-cudf==24.12.*,>=0.0.0a0
- dglteam/label/th21_cu121::dgl
- dglteam/label/th23_cu121::dgl
- doxygen
- graphviz
- ipython
Expand Down
156 changes: 156 additions & 0 deletions datasets/karate.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
1 0 1.0
2 0 1.0
3 0 1.0
4 0 1.0
5 0 1.0
6 0 1.0
7 0 1.0
8 0 1.0
10 0 1.0
11 0 1.0
12 0 1.0
13 0 1.0
17 0 1.0
19 0 1.0
21 0 1.0
31 0 1.0
2 1 1.0
3 1 1.0
7 1 1.0
13 1 1.0
17 1 1.0
19 1 1.0
21 1 1.0
30 1 1.0
3 2 1.0
7 2 1.0
8 2 1.0
9 2 1.0
13 2 1.0
27 2 1.0
28 2 1.0
32 2 1.0
7 3 1.0
12 3 1.0
13 3 1.0
6 4 1.0
10 4 1.0
6 5 1.0
10 5 1.0
16 5 1.0
16 6 1.0
30 8 1.0
32 8 1.0
33 8 1.0
33 9 1.0
33 13 1.0
32 14 1.0
33 14 1.0
32 15 1.0
33 15 1.0
32 18 1.0
33 18 1.0
33 19 1.0
32 20 1.0
33 20 1.0
32 22 1.0
33 22 1.0
25 23 1.0
27 23 1.0
29 23 1.0
32 23 1.0
33 23 1.0
25 24 1.0
27 24 1.0
31 24 1.0
31 25 1.0
29 26 1.0
33 26 1.0
33 27 1.0
31 28 1.0
33 28 1.0
32 29 1.0
33 29 1.0
32 30 1.0
33 30 1.0
32 31 1.0
33 31 1.0
33 32 1.0
0 1 1.0
0 2 1.0
0 3 1.0
0 4 1.0
0 5 1.0
0 6 1.0
0 7 1.0
0 8 1.0
0 10 1.0
0 11 1.0
0 12 1.0
0 13 1.0
0 17 1.0
0 19 1.0
0 21 1.0
0 31 1.0
1 2 1.0
1 3 1.0
1 7 1.0
1 13 1.0
1 17 1.0
1 19 1.0
1 21 1.0
1 30 1.0
2 3 1.0
2 7 1.0
2 8 1.0
2 9 1.0
2 13 1.0
2 27 1.0
2 28 1.0
2 32 1.0
3 7 1.0
3 12 1.0
3 13 1.0
4 6 1.0
4 10 1.0
5 6 1.0
5 10 1.0
5 16 1.0
6 16 1.0
8 30 1.0
8 32 1.0
8 33 1.0
9 33 1.0
13 33 1.0
14 32 1.0
14 33 1.0
15 32 1.0
15 33 1.0
18 32 1.0
18 33 1.0
19 33 1.0
20 32 1.0
20 33 1.0
22 32 1.0
22 33 1.0
23 25 1.0
23 27 1.0
23 29 1.0
23 32 1.0
23 33 1.0
24 25 1.0
24 27 1.0
24 31 1.0
25 31 1.0
26 29 1.0
26 33 1.0
27 33 1.0
28 31 1.0
28 33 1.0
29 32 1.0
29 33 1.0
30 32 1.0
30 33 1.0
31 32 1.0
31 33 1.0
32 33 1.0
6 changes: 3 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ dependencies:
common:
- output_types: [conda]
packages:
- dgl>=1.1.0.cu*
- dgl>=2.4.0.cu*
- &tensordict tensordict>=0.1.2
cugraph_pyg_dev:
common:
Expand Down Expand Up @@ -426,10 +426,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- "dglteam/label/th21_cu121::dgl"
- "dglteam/label/th23_cu121::dgl"
- matrix: {cuda: "11.*"}
packages:
- "dglteam/label/th21_cu118::dgl"
- "dglteam/label/th23_cu118::dgl"
- {matrix: null, packages: ["dglteam/label/th23_cu121::dgl"]}

depends_on_pyg:
Expand Down
7 changes: 5 additions & 2 deletions python/cugraph-dgl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
Install and update cugraph-dgl and the required dependencies using the command:

```
conda install mamba -n base -c conda-forge
mamba install cugraph-dgl -c rapidsai-nightly -c rapidsai -c pytorch -c conda-forge -c nvidia -c dglteam
# CUDA 11
conda install -c rapidsai -c pytorch -c conda-forge -c nvidia -c dglteam/label/th23_cu118 cugraph-dgl
# CUDA 12
conda install -c rapidsai -c pytorch -c conda-forge -c nvidia -c dglteam/label/th23_cu121 cugraph-dgl
```

## Build from Source
Expand Down
4 changes: 2 additions & 2 deletions python/cugraph-dgl/conda/cugraph_dgl_dev_cuda-118.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ channels:
- nvidia
dependencies:
- cugraph==24.12.*,>=0.0.0a0
- dgl>=1.1.0.cu*
- dglteam/label/th21_cu118::dgl
- dgl>=2.4.0.cu*
- dglteam/label/th23_cu118::dgl
- pre-commit
- pydantic
- pylibcugraphops==24.12.*,>=0.0.0a0
Expand Down

0 comments on commit 887e32f

Please sign in to comment.