Commit Graph

39 Commits

Author SHA1 Message Date
Hongzhi (Steve), Chen
0978ce6571 Reorder dependency list in setup (#7672)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2024-08-08 13:01:30 +08:00
Hongzhi (Steve), Chen
86fe4c20fc Remove datapipe from dgl dependency. (#7667)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2024-08-08 10:39:41 +08:00
Rhett Ying
b5fe4737bb [dev] add more dependencies into setup (#7570) 2024-07-23 07:56:31 +08:00
Rhett Ying
dfdfad2cdb Revert "[dev] limit numpy < 2.0.0 for compatibility" (#7496) 2024-07-01 11:33:51 +08:00
Rhett Ying
6294c4be16 [dev] limit numpy < 2.0.0 for compatibility (#7479) 2024-06-26 13:11:36 +08:00
Rhett Ying
396b0ec2d2 [release] add pandas into dependencies (#7218) 2024-03-18 10:24:02 +08:00
Rhett Ying
ade806b460 [dev] exclude dist dir (#7176) 2024-02-29 14:59:13 +08:00
Rhett Ying
5f653c32d6 [dev] remove build artifacts for cleanup (#7166) 2024-02-28 12:47:07 +08:00
Rhett Ying
ca675ed41d [GraphBolt] add torchdata into DGL dependencies (#6809) 2023-12-22 11:26:36 +08:00
Rhett Ying
7eeac69a74 [dev] remove torchdata from dep 2023-12-21 16:47:01 +08:00
Rhett Ying
4dd92922a7 [dev] do not specify version for torchdata 2023-12-21 16:36:35 +08:00
Rhett Ying
80763d4ba3 [dev] add torchdata dependency into DGL requirements (#6801) 2023-12-21 15:00:49 +08:00
Muhammed Fatih BALIN
f0d8ca1e40 [Dev] Change CXX standard to 17 (#6138) 2023-08-14 10:26:40 +08:00
Rhett Ying
57b037fda6 [dev] remove distutils from dependency (#6089) 2023-08-03 17:07:27 +08:00
Xin Yao
7eef3e0db3 [Bugfix] Fix setup.py (#5746) 2023-05-31 10:15:50 +08:00
peizhou001
cc5c237965 [GraphBolt]CI patch (#5707)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-25-242.ap-northeast-1.compute.internal>
2023-05-19 10:18:15 +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
Hongzhi (Steve), Chen
3e5137feaf [Misc] Autoformat python dgl (Part 2). (#5332)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-02-20 20:56:25 +08:00
czkkkkkk
7c059e86c7 [Sparse] Add sparse matrix C++ implementation (#4773)
* [Sparse] Add sparse matrix C++ implementation

* Add documentation

* Update

* Minor fix

* Move Python code to dgl/mock_sparse2

* Move headers to include

* lint

* Update

* Add dgl_sparse directory

* Move src code to dgl_sparse

* Add __init__.py in tests to avoid naming conflict

* Add dgl sparse so in Jenkinsfile

* Complete docstring & SparseMatrix basic op

* lint

* Disable win tests
2022-11-07 18:01:19 +08:00
Hongzhi (Steve), Chen
98325b1097 [Misc] Black auto fix. (#4691)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2022-10-10 10:53:51 +08:00
Quan (Andy) Gan
14cafe73e2 bump version (#4667)
* bump version

* Update setup.py

* Update setup.py
2022-10-01 00:47:38 +08:00
Hongzhi (Steve), Chen
701c6fe754 [Readability] Auto fix setup.py and update-version.py (#4446)
* Auto fix update-version

* Auto fix setup.py

* Auto fix update-version

* Auto fix setup.py

* [Doc] Change random.py to random_partition.py in guide on distributed partition pipeline (#4438)

* Update distributed-preprocessing.rst

* Update

Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-26.ap-northeast-1.compute.internal>

* fix unpinning when tensoradaptor is not available (#4450)

* [Doc] fix print issue in tutorial (#4459)

* [Example][Refactor] Refactor RGCN example (#4327)

* Refactor full graph entity classification

* Refactor rgcn with sampling

* README update

* Update

* Results update

* Respect default setting of self_loop=false in entity.py

* Update

* Update README

* Update for multi-gpu

* Update

* [doc] fix invalid link in user guide (#4468)

* [Example] directional_GSN for ogbg-molpcba (#4405)

* version-1

* version-2

* version-3

* update examples/README

* Update .gitignore

* update performance in README, delete scripts

* 1st approving review

* 2nd approving review

Co-authored-by: Mufei Li <mufeili1996@gmail.com>

* Clarify the message name, which is 'm'. (#4462)

Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>

* [Refactor] Auto fix view.py. (#4461)

Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>

* [Example] SEAL for OGBL (#4291)

* [Example] SEAL for OGBL

* update index

* update

* fix readme typo

* add seal sampler

* modify set ops

* prefetch

* efficiency test

* update

* optimize

* fix ScatterAdd dtype issue

* update sampler style

* update

Co-authored-by: Quan Gan <coin2028@hotmail.com>

* [CI] use https instead of http (#4488)

* [BugFix] fix crash due to incorrect dtype in dgl.to_block() (#4487)

* [BugFix] fix crash due to incorrect dtype in dgl.to_block()

* fix test failure in TF

* [Feature] Make TensorAdapter Stream Aware (#4472)

* Allocate tensors in DGL's current stream

* make tensoradaptor stream-aware

* replace TAemtpy with cpu allocator

* fix typo

* try fix cpu allocation

* clean header

* redirect AllocDataSpace as well

* resolve comments

* [Build][Doc] Specify the sphinx version (#4465)

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>

* reformat

* reformat

* Auto fix update-version

* Auto fix setup.py

* reformat

* reformat

Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-26.ap-northeast-1.compute.internal>
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: Chang Liu <chang.liu@utexas.edu>
Co-authored-by: Zhiteng Li <55398076+ZHITENGLI@users.noreply.github.com>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
Co-authored-by: rudongyu <ru_dongyu@outlook.com>
Co-authored-by: Quan Gan <coin2028@hotmail.com>
2022-09-14 13:36:18 +08:00
Daniil Sizov
5561af4517 [Feature] Dataloader worker affinitization (#3723)
* PR3355 + CSR conversion workaround

* Remove debug code

* Fix convention errors

* Remove wrongly added code section during merge

* Update to reflect dataloading changes

* Fix missing changes

* Remove comment

* Fix linter errors

* Fix trailing whitespace

* Add wrapper around worker init function

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-04-28 13:00:04 +08:00
Mufei Li
dfa32ae092 [NN] GNNExplainer (#3490)
* Update

* Update

* Update

* Fix

* Update

* Update

* Update

* Update

* Update

* Update

* Fix

* Fix

* Update

* Update

* Update

* Update

* Update

* Update

* lint fix

* lint fix

* Fix lint

* Update

* Fix CI

* Fix CI

* Fix

* CI

* Fix

* Update

* Fix

* Fix

* Fix CI

* Fix CI
2021-11-11 02:22:22 +08:00
Jinjing Zhou
0346b0aa80 [Test] Add test for Cython and force rebuild when run setup.py (#2635) 2021-02-05 22:38:46 +08:00
Quan (Andy) Gan
47c9380555 [Performance] Fix Cython not being imported after switching to RTLD_LOCAL (#2608)
* fix

* ?

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-02-02 16:23:54 +08:00
Quan (Andy) Gan
9a7235faf2 [Performance] Use allocator from PyTorch if possible (#2328)
* first commit

* some thoughts

* move around

* more commit

* more fixes

* now it uses torch allocator

* fix symbol export error

* fix

* fixes

* test fix

* add script

* building separate library per version

* fix for vs2019

* more fixes

* fix on windows build

* update jenkinsfile

* auto copy built dlls for windows

* lint and installation guide update

* fix

* specify conda environment

* set environment for ci

* fix

* fix

* fix

* fix again

* revert

* fix cmake

* fix

* switch to using python interpreter path

* remove scripts

* debug

* oops sorry

* Update index.rst

* Update index.rst

* copies automatically, no need for this

* do not print message if library not found

* tiny fixes

* debug on nightly

* replace add_compile_definitions to make CMake 3.5 happy

* fix linking to wrong lib for multiple pytorch envs

* changed building strategy

* fix nightly

* fix windows

* fix windows again

* setup bugfix

* address comments

* change README
2020-12-25 13:57:51 +08:00
Minjie Wang
537d37c26c [Misc] add requests as the package dependency (#1268) 2020-02-17 23:45:17 +08:00
Quan (Andy) Gan
bdcba9c85c setup for prerelease builds (#763) 2019-08-14 23:13:37 +08:00
Minjie Wang
d3cd60142c [Build] fix setup script to allow cython ext (#444) 2019-03-08 18:23:38 -05:00
Minjie Wang
ca2a7e1ca1 [Refactor] Nodeflow, sampling, CAPI (#430)
* enable cython

* add helper function and data structure for void_p vector return

* move sampler from graph index to contrib.sampling

* WIP

* WIP

* refactor layer sampling

* pass tests

* fix lint

* fix graphsage

* remove comments

* pickle test

* fix comments

* update dev guide for cython build
2019-03-05 14:07:22 -05:00
Minjie Wang
af23c45726 [Release] update version (#297)
* update version; add news.md; modify contributing.md

* change urls to dmlc
2018-12-11 15:40:51 -05:00
Sheng Zha
f720ce13e1 [Build] support universal wheel on linux (#272) 2018-12-06 18:06:58 -05:00
Minjie Wang
612a7fb996 [Release] setup version (#264) 2018-12-05 19:33:06 -05:00
Gan Quan
a8fa85c7d5 Conda builds (#187)
* conda recipe

* switching to source build

* trying windows build

* wip

* windows build works
2018-11-29 02:21:53 -05:00
Minjie Wang
2c2b747808 [Install] pip install (#180)
* add bdist_wheel build

* fix wheel build

* fix setup

* fix ci

* fix setup

* fix

* fix setup

* poke ci

* fix

* poke ci

* clean build

* fix ci

* addback the env
2018-11-27 00:47:01 -05:00
Minjie Wang
c468e06867 some fix 2018-10-05 10:38:44 -04:00
Minjie Wang
11e42d1094 Batching semantics and naive frame storage (#31)
* batch message_func, reduce_func and update_func

Conflicts:
	python/dgl/backend/pytorch.py

* test cases for batching

Conflicts:
	python/dgl/graph.py

* resolve conflicts

* setter/getter

Conflicts:
	python/dgl/graph.py

* test setter/getter

Conflicts:
	python/dgl/graph.py

* merge DGLGraph and DGLBGraph

Conflicts:
	python/dgl/graph.py

Conflicts:
	python/dgl/graph.py

* batchability test

Conflicts:
	python/dgl/graph.py

Conflicts:
	python/dgl/graph.py

* New interface (draft)

Conflicts:
	_reference/gat_mx.py
	_reference/molecular-gcn.py
	_reference/molecular-gcn_mx.py
	_reference/multi-gcn.py
	_reference/multi-gcn_mx.py
	_reference/mx.py
	python/dgl/graph.py

* Batch operations on graph

Conflicts:
	.gitignore
	python/dgl/backend/__init__.py
	python/dgl/backend/numpy.py
	python/dgl/graph.py

* sendto

* storage

* NodeDict

* DGLFrame/DGLArray

* scaffold code for graph.py

* clean up files; initial frame code

* basic frame tests using pytorch

* frame autograd test passed

* fix non-batched tests

* initial code for cached graph; tested

* batch sendto

* batch recv

* update routines

* update all

* anonymous repr batching

* specialize test

* igraph dep

* fix

* fix

* fix

* fix

* fix

* clean some files

* batch setter and getter

* fix utests
2018-07-30 14:10:37 -04:00
Minjie Wang
beaeb8a827 Setup Jenkins (#30)
* jenkins init

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* test succ (#1)

* test succ

* test fail

* fix fail

* fix jenkins

* icon

* icon

* icon
2018-07-22 18:38:37 -04:00