Commit fa07f86
authored
feat(learning): feature_store & graph_store V1 (#4237)
<!--
Thanks for your contribution! please review
https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before
opening an issue.
-->
## What do these changes do?
Step 1: Implement GraphScope-based PyG Remote Backend and complete the
end-to-end integration of GraphScope and PyG. (Finished)
Step 2: Get data from the Server through PyG Remote Backend and support
sampling on the Client side. (Finished)
## Related issue number
<!-- Are there any issues opened that will be resolved by merging this
change? -->
PyG Remote Backend Based on GraphScope #37391 parent 49b2643 commit fa07f86
File tree
5 files changed
+534
-1
lines changed- learning_engine
- python/graphscope
- client
- learning
- gl_torch_examples
5 files changed
+534
-1
lines changedSubmodule graphlearn-for-pytorch updated 27 files
- .github/workflows/glt-ci.yml+6-1
- .github/workflows/glt-v6d-ci.yml+6-1
- .github/workflows/manylinux-cd.yml+6-1
- .github/workflows/scripts/build.sh+2-2
- .github/workflows/scripts/build_wheel.sh-7
- CMakeLists.txt+1-1
- dockerfiles/graphlearn-torch-dev.Dockerfile+16
- dockerfiles/graphlearn-torch-wheel.Dockerfile+18
- dockerfiles/gs-graphlearn-torch-dev.Dockerfile+13
- examples/distributed/README.md+6-4
- examples/distributed/server_client_mode/sage_supervised_client.py+11-5
- examples/distributed/server_client_mode/sage_supervised_server.py+11-12
- examples/igbh/dist_train_rgnn.py+7-2
- examples/pai/ogbn_products/README.md-2
- graphlearn_torch/python/data/feature.py+5-2
- graphlearn_torch/python/data/table_dataset.py+7-1
- graphlearn_torch/python/distributed/dist_dataset.py+4-2
- graphlearn_torch/python/distributed/dist_feature.py+175-1
- graphlearn_torch/python/distributed/dist_neighbor_sampler.py+18-7
- graphlearn_torch/python/distributed/dist_options.py+13-3
- graphlearn_torch/python/distributed/dist_sampling_producer.py+13-3
- graphlearn_torch/python/distributed/dist_server.py+45-1
- scripts/build_wheel.sh+1-8
- scripts/launch_container.sh-13
- setup.py+1-1
- test/python/test_hetero_neighbor_sampler.py+22
- test/python/test_pyg_remote_backend.py+281
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
| 1334 | + | |
1334 | 1335 | | |
1335 | 1336 | | |
| 1337 | + | |
| 1338 | + | |
1336 | 1339 | | |
1337 | 1340 | | |
1338 | 1341 | | |
| |||
1380 | 1383 | | |
1381 | 1384 | | |
1382 | 1385 | | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1383 | 1392 | | |
1384 | 1393 | | |
1385 | 1394 | | |
| |||
1682 | 1691 | | |
1683 | 1692 | | |
1684 | 1693 | | |
| 1694 | + | |
1685 | 1695 | | |
1686 | 1696 | | |
1687 | 1697 | | |
| |||
1699 | 1709 | | |
1700 | 1710 | | |
1701 | 1711 | | |
| 1712 | + | |
1702 | 1713 | | |
Lines changed: 157 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
0 commit comments