文件历史

116 次代码提交

作者 SHA1 备注 提交日期
pyynb 0d9a09df18 [graphbolt] Disable liburing (#7366) 2024-04-29 11:48:06 +08:00
Muhammed Fatih BALIN 78df81015a [GraphBolt] Add optimized unique_and_compact_batched. (#7239) 2024-04-07 04:55:08 -04:00
xiangyuzhi b725ee53d7 [Graphbolt] Disk feature fetcher (#7128)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-40-250.ap-northeast-1.compute.internal>
2024-04-01 16:01:43 +08:00
xiangyuzhi 0c3a4428c1 [Graphbolt] Add liburing dependency (#7149)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-40-250.ap-northeast-1.compute.internal>
2024-02-29 14:48:55 +08:00
Muhammed Fatih BALIN 73e01d6daa [CUDA] Update CCCL to 2.3.0 (#7171) 2024-02-29 00:37:00 -05:00
Muhammed Fatih BALIN f6db850d75 [GraphBolt][CUDA] Add native GPUCachedFeature instead of using DGL (#6939) 2024-01-18 02:59:35 -05:00
Rhett Ying 7d5d576e19 [dev] enable GraphBolt build for all build types (#6832) 2023-12-26 17:11:42 +08:00
Muhammed Fatih BALIN 60a27bc6e8 [GraphBolt][CUDA] Pass GPU architecture option from DGL (#6792) 2023-12-26 13:55:06 +08:00
Muhammed Fatih BALIN 99fcdfece7 [Bug] Update thrust to the new monorepo CCCL (#6166)
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
2023-12-05 15:22:36 +08:00
Rhett Ying 9e26c8e388 [GraphBolt] upgrade CUDA to 17 and update CI gpu image to torch2.0+cu118 (#6505) 2023-10-30 13:15:29 +08:00
czkkkkkk d627d0f46f [Graphbolt] Support cuda compilation (#6383) 2023-09-26 15:27:09 +08:00
czkkkkkk edcecdd0a1 [CMAKE] Move DGL cuda file declaration to the main CMakeLists.txt (#6300) 2023-09-12 17:07:40 +08:00
Rhett Ying ce8a7dd314 [dev] 17 is new since cmake3.8 for CXX_STANDARD (#6302) 2023-09-08 16:30:44 +08:00
Hongzhi (Steve), Chen d5a1fe2fc9 [Misc] Keep all dgl_options with consistent style. (#6270)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-09-04 15:50:26 +08:00
Hugo MacDermott-Opeskin 4a42027d4a [Build] Add CMake changes from conda-forge build (#6189)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-09-01 11:21:03 +08:00
Rhett Ying 7467da9a39 [dev] configure optimize options explicitly for different build types (#6161) 2023-08-16 14:29:31 +08:00
Hongzhi (Steve), Chen 346410928f [Misc] Cleanup old flags, and rely on BUILD_TYPE for all features. (#6154)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-15 16:31:44 +08:00
Muhammed Fatih BALIN f0d8ca1e40 [Dev] Change CXX standard to 17 (#6138) 2023-08-14 10:26:40 +08:00
Hongzhi (Steve), Chen f7fef600e3 [Misc] Support build option: "all". (#6102)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-07 12:48:32 +08:00
Hongzhi (Steve), Chen 3397496388 [Misc] Clean up build option for testing. (#6090)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-03 17:03:49 +08:00
Hongzhi (Steve), Chen d7410cf468 [Misc] Support DGL feature option. (#6088)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-03 14:24:37 +08:00
Hongzhi (Steve), Chen ffd8edeb2a [Misc] Cleanup duplicated flags. (#6081)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-08-02 13:51:24 +08:00
Muhammed Fatih BALIN 224d6a6936 [Dev] Resolve compile issue with gcc 11.3.0 (#6072) 2023-08-01 14:37:24 +08:00
Muhammed Fatih BALIN 69a532c1ab [Feature] Gpu cache for node and edge data (#4341)
Co-authored-by: xiny <xiny@nvidia.com>
2023-07-24 13:17:10 +08:00
Muhammed Fatih BALIN 83115794c2 [Performance][CUDA] Faster CSRToCOO (#5648)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-07-14 12:57:38 +08:00
Rhett Ying 66c04855da [DistDGL] remove tensorpipe from third_party and no build (#5876) 2023-06-15 17:31:05 +08:00
Rhett Ying df97f2e8ee [DistDGL] remove tensorpipe-based dist cpp test (#5849) 2023-06-12 09:45:48 +08:00
Hongzhi (Steve), Chen 9ff56d2098 [Cleanup] Remove featgraph and unused TVM dependency. (#5767)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-06-02 15:14:31 +08:00
Hongzhi (Steve), Chen a93e5578d6 [Misc] Remove xbyak (#5752)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-05-30 16:40:20 +08:00
Andrzej Kotłowski 6862e37259 Upgrade libxsmm (#5725)
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
2023-05-24 11:25:57 +08:00
peizhou001 494d2b7a07 [GraphBolt] Add graphbolt build into dgl build (#5696)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-25-242.ap-northeast-1.compute.internal>
2023-05-16 08:58:31 +08:00
Daniil Sizov aeb7862be7 [Misc] Exclude libxsmm on unsupported platforms (#5668) 2023-05-10 12:35:52 +08:00
Ilia Taraban 78ecd5086b [Fix] fix libxsmm build issues on Mac OS (#5626) 2023-04-28 21:55:51 +08:00
Ilia Taraban acb4eb7ecd [Feature] Add bfloat16 support for CPU (#5497)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-04-06 11:16:41 +02:00
Xin Yao acb955e15f [Cleanup] Cleanup unused CMake options (#5470)
* cleanup unused cmake options

* disable BUILD_TORCH for cugraph

* resolve comments
2023-03-22 16:06:44 +08:00
Daniil Sizov 87fb7ed05b [Config] Enable libxsmm by default for AVX cpu (#5165)
* Enable AVX by default

* Fix linting errors

* Fix win64 build (libxsmm not linked)

Libxsmm on Win64 is not linked, should be disabled by default

* Fix clang format issues

* Change lower supported cpu version to LIBXSMM_X86_AVX2

Change lower supported cpu version to LIBXSMM_X86_AVX2 to address https://github.com/dmlc/dgl/issues/3459 issue

* Fix unit test

Remove assumption that libxsmm is enabled in the config by default (only true for intel CPUs with AVX2 instructions)

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-15-137.us-west-2.compute.internal>
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2023-03-16 02:05:22 +08:00
Xin Yao 8d5d8962ad [Refactor] Replace third_party/nccl with PyTorch's NCCL backend (#4989)
* expose GeneratePermutation

* add sparse_all_to_all_push

* add sparse_all_to_all_pull

* add unit test

* handle world_size=1

* remove python nccl wrapper

* remove the nccl dependency

* use pinned memory to speedup D2H copy

* fix lint

* resolve comments

* fix lint

* fix ut

* resolve comments
2023-03-08 12:59:10 +08:00
bgawrych 85526e34a1 [FIX] Ubuntu 22 build fix (#5272)
* Fix ubuntu 22 build

* Add one more flag
2023-03-03 10:04:22 +08:00
Hongzhi (Steve), Chen 325e795a18 Revert "Set USE_LIBXSMM default to OFF. (#5287)" (#5392)
This reverts commit a5e3139155.
2023-03-01 16:47:34 +08:00
Hongzhi (Steve), Chen a5e3139155 Set USE_LIBXSMM default to OFF. (#5287)
* Set USE_LIBXSMM default to OFF.

* update

---------

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-02-16 13:08:11 +08:00
Rhett Ying 0c5d6f1b00 [BUILD] enable dgl sparse build in default (#5175)
* enable dgl sparse build in default

* disable sparse build on cugraph

* update
2023-01-16 14:01:39 +08:00
Quan (Andy) Gan 9a40d2080e [Sparse] Change CMakeFiles to build DGL Sparse for multiple PyTorch versions (#5106)
* initial commit

* Update build.sh
2023-01-06 14:14:20 +08:00
czkkkkkk 1f2fcae3e2 [Sparse] Support SpMM and SDDMM (#5032)
* [Sparse] Support SpMM and SDDMM

* Add SDDMMAutoGrad

* Rename SpMMImpl and SDDMMImpl and move them to dgl_sparse/src/matmul.h

* Update comments

* Update

* Minor fix
2022-12-21 10:29:23 +08:00
czkkkkkk d02e560e07 Revert "[Sparse] Add SpMM and SDDMM." (#5014)
* Revert "[Sparse] Add SpMM and SDDMM. (#4999)"

This reverts commit 15365d7855.

* lint
2022-12-12 19:37:08 +08:00
czkkkkkk 15365d7855 [Sparse] Add SpMM and SDDMM. (#4999)
* [Sparse] Add SpMM and SDDMM

* Update

* Add CSR and CSC SpMM tests
2022-12-12 15:37:09 +08:00
czkkkkkk 774d57539c [CMAKE] Disable --exclude-libs option in MAX OS (#4992) 2022-12-08 10:40:26 +08:00
Muhammed Fatih BALIN b1e2695f3e [Feature] replace dgl PRNG with pcg32 (#4807)
* replace dgl PRNG with pcg32

* remove pcg submodule, add a simple implementation

* replace pcg32 with std::mt19937_64

* fix include order

* change RandomEngine to pcg32

* Remove custom pcg32 implementation, use the submodule provided by the original author.

* minor bug

* move include for linting

* include pcg for tests too

Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2022-12-01 09:19:28 +08:00
czkkkkkk 0cb5f0fdc0 [Sparse] Be compatible with Pytorch 1.13 and later version (#4935) 2022-11-23 15:36:18 -08:00
Muhammed Fatih BALIN bf264d00fe [Feature] (La)yer-Neigh(bor) sampling implementation (#4668)
* adding LABOR sampling

* add ladies and pladies samplers

* fix compile error after rebase

* add reference for ladies sampler

* Improve ladies implementation.

* weighted labor sampling initial implementation draft
fix indentation and small bug in ladies script

* importance_sampling currently doesn't work with weights

* fix weighted importance sampling

* move labor example into its own folder

* lint fixes

* Improve documentation

* remove examples from the main PR

* fix linting by not using c++17 features

* fix documentation of labor_sampler.py

* update documentation for labor.py

* reformat the labor.py file with black

* fix linting errors

* replace exception use with if

* fix typo in error comment

* fixing win64 build for ci

* fixing weighted implementation, works now.

* fix bug in the weighted case and importance_sampling==0

* address part of the reviews

* remove unused code paths from cuda

* remove unused code path from cpu side

* remove extra features of labor making use of random seed.

* fix exclude_edges bug

* remove pcg and seed logic from cpu implementation, seed logic should still work for cuda.

* minor style change

* refactor CPU implementation, take out the importance_sampling probability computation into a function.

* improve CUDAWorkspaceAllocator

* refactor importance_sampling part out to a function

* minor optimization

* fix linting issue

* Revert "remove pcg and seed logic from cpu implementation, seed logic should still work for cuda."

This reverts commit c250e07ac6d7e13f57e79e8a2c2f098d777378c2.

* Revert "remove extra features of labor making use of random seed."

This reverts commit 7f99034353080308f4783f27d9a08bea343fb796.

* fix the documentation

* disable NIDs

* improve the documentation in the code

* use the stream argument in pcg32 instead of skipping ahead t times, can discard the use of hashmap now since it is faster this way.

* fix linting issue

* address another round of reviews

* further optimize CPU LABOR sampling implementation

* fix linting error

* update the comment

* reformat

* rename and rephrase comment

* fix formatting according to new linting specs

* fix compile error due to renaming, fix linting.

* lint

* rename DGLHeteroGraph to DGLGraph to match master

* replace other occurrences of DGLHeteroGraph to DGLGraph

Co-authored-by: Muhammed Fatih BALIN <m.f.balin@gmail.com>
Co-authored-by: Kaan Sancak <kaansnck@gmail.com>
Co-authored-by: Quan Gan <coin2028@hotmail.com>
2022-11-22 09:03:02 +08:00
czkkkkkk 06438d7033 [Sparse] Link to DGL (#4877) 2022-11-17 10:14:08 +08:00