Hongzhi (Steve), Chen
a208e8868b
[Misc] Black auto fix. ( #4680 )
...
* [Misc] Black auto fix.
* fix pylint disable
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-10-08 14:15:56 +08:00
Tong He
f73c7a648b
[bugfix] Set stacklevel=2 for dgl_warning ( #3816 )
...
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2022-03-25 23:21:05 +08:00
Quan (Andy) Gan
71c7ee0e48
[Bugfix] add DGLWarning class ( #1898 )
...
* add DGLWarning class
* docstrings
* lint
2020-07-31 13:18:36 +08:00
Minjie Wang
44089c8b4d
[Refactor][Graph] Merge DGLGraph and DGLHeteroGraph ( #1862 )
...
* Merge
* [Graph][CUDA] Graph on GPU and many refactoring (#1791 )
* change edge_ids behavior and C++ impl
* fix unittests; remove utils.Index in edge_id
* pass mx and th tests
* pass tf test
* add aten::Scatter_
* Add nonzero; impl CSRGetDataAndIndices/CSRSliceMatrix
* CSRGetData and CSRGetDataAndIndices passed tests
* CSRSliceMatrix basic tests
* fix bug in empty slice
* CUDA CSRHasDuplicate
* has_node; has_edge_between
* predecessors, successors
* deprecate send/recv; fix send_and_recv
* deprecate send/recv; fix send_and_recv
* in_edges; out_edges; all_edges; apply_edges
* in deg/out deg
* subgraph/edge_subgraph
* adj
* in_subgraph/out_subgraph
* sample neighbors
* set/get_n/e_repr
* wip: working on refactoring all idtypes
* pass ndata/edata tests on gpu
* fix
* stash
* workaround nonzero issue
* stash
* nx conversion
* test_hetero_basics except update routines
* test_update_routines
* test_hetero_basics for pytorch
* more fixes
* WIP: flatten graph
* wip: flatten
* test_flatten
* test_to_device
* fix bug in to_homo
* fix bug in CSRSliceMatrix
* pass subgraph test
* fix send_and_recv
* fix filter
* test_heterograph
* passed all pytorch tests
* fix mx unittest
* fix pytorch test_nn
* fix all unittests for PyTorch
* passed all mxnet tests
* lint
* fix tf nn test
* pass all tf tests
* lint
* lint
* change deprecation
* try fix compile
* lint
* update METIDS
* fix utest
* fix
* fix utests
* try debug
* revert
* small fix
* fix utests
* upd
* upd
* upd
* fix
* upd
* upd
* upd
* upd
* upd
* trigger
* +1s
* [kernel] Use heterograph index instead of unitgraph index (#1813 )
* upd
* upd
* upd
* fix
* upd
* upd
* upd
* upd
* upd
* trigger
* +1s
* [Graph] Mutation for Heterograph (#1818 )
* mutation add_nodes and add_edges
* Add support for remove_edges, remove_nodes, add_selfloop, remove_selfloop
* Fix
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
* upd
* upd
* upd
* fix
* [Transfom] Mutable transform (#1833 )
* add nodesy
* All three
* Fix
* lint
* Add some test case
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* fix
* triger
* Fix
* fix
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
* [Graph] Migrate Batch & Readout module to heterograph (#1836 )
* dgl.batch
* unbatch
* fix to device
* reduce readout; segment reduce
* change batch_num_nodes|edges to function
* reduce readout/ softmax
* broadcast
* topk
* fix
* fix tf and mx
* fix some ci
* fix batch but unbatch differently
* new checkk
* upd
* upd
* upd
* idtype behavior; code reorg
* idtype behavior; code reorg
* wip: test_basics
* pass test_basics
* WIP: from nx/ to nx
* missing files
* upd
* pass test_basics:test_nx_conversion
* Fix test
* Fix inplace update
* WIP: fixing tests
* upd
* pass test_transform cpu
* pass gpu test_transform
* pass test_batched_graph
* GPU graph auto cast to int32
* missing file
* stash
* WIP: rgcn-hetero
* Fix two datasety
* upd
* weird
* Fix capsuley
* fuck you
* fuck matthias
* Fix dgmg
* fix bug in block degrees; pass rgcn-hetero
* rgcn
* gat and diffpool fix
also fix ppi and tu dataset
* Tree LSTM
* pointcloud
* rrn; wip: sgc
* resolve conflicts
* upd
* sgc and reddit dataset
* upd
* Fix deepwalk, gindt and gcn
* fix datasets and sign
* optimization
* optimization
* upd
* upd
* Fix GIN
* fix bug in add_nodes add_edges; tagcn
* adaptive sampling and gcmc
* upd
* upd
* fix geometric
* fix
* metapath2vec
* fix agnn
* fix pickling problem of block
* fix utests
* miss file
* linegraph
* upd
* upd
* upd
* graphsage
* stgcn_wave
* fix hgt
* on unittests
* Fix transformer
* Fix HAN
* passed pytorch unittests
* lint
* fix
* Fix cluster gcn
* cluster-gcn is ready
* on fixing block related codes
* 2nd order derivative
* Revert "2nd order derivative"
This reverts commit 523bf6c249bee61b51b1ad1babf42aad4167f206.
* passed torch utests again
* fix all mxnet unittests
* delete some useless tests
* pass all tf cpu tests
* disable
* disable distributed unittest
* fix
* fix
* lint
* fix
* fix
* fix script
* fix tutorial
* fix apply edges bug
* fix 2 basics
* fix tutorial
Co-authored-by: yzh119 <expye@outlook.com >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-7-42.us-west-2.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-1-5.us-west-2.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-68-185.ec2.internal >
2020-07-28 14:30:41 +08:00
Quan (Andy) Gan
ec2e24be6d
[Feature] Slice dstnode features in NN modules ( #1838 )
...
* slice dstdata from srcdata within nn module
* a bunch of fixes
* add comment
* fix gcmc layer
* repr for blocks
* fix
* fix context
* fix
* do not copy internal columns
* docstring
2020-07-25 21:57:49 +08:00
Minjie Wang
f25bc176d0
[Hetero] Improve speed of several Hetero APIs ( #1486 )
...
* add clone function to frame
* add utest
* replace all local_var with local_scope
* fix utest
* avoid creating canonical types in __getitem__
* lint
* try another utest appraoch for mx
* utest
2020-05-01 15:21:33 +08:00
Minjie Wang
9b4d60799a
[Hetero] New syntax ( #824 )
...
* WIP. remove graph arg in NodeBatch and EdgeBatch
* refactor: use graph adapter for scheduler
* WIP: recv
* draft impl
* stuck at bipartite
* bipartite->unitgraph; support dsttype == srctype
* pass test_query
* pass test_query
* pass test_view
* test apply
* pass udf message passing tests
* pass quan's test using builtins
* WIP: wildcard slicing
* new construct methods
* broken
* good
* add stack cross reducer
* fix bug; fix mx
* fix bug in csrmm2 when the CSR is not square
* lint
* removed FlattenedHeteroGraph class
* WIP
* prop nodes, prop edges, filter nodes/edges
* add DGLGraph tests to heterograph. Fix several bugs
* finish nx<->hetero graph conversion
* create bipartite from nx
* more spec on hetero/homo conversion
* silly fixes
* check node and edge types
* repr
* to api
* adj APIs
* inc
* fix some lints and bugs
* fix some lints
* hetero/homo conversion
* fix flatten test
* more spec in hetero_from_homo and test
* flatten using concat names
* WIP: creators
* rewrite hetero_from_homo in a more efficient way
* remove useless variables
* fix lint
* subgraphs and typed subgraphs
* lint & removed heterosubgraph class
* lint x2
* disable heterograph mutation test
* docstring update
* add edge id for nx graph test
* fix mx unittests
* fix bug
* try fix
* fix unittest when cross_reducer is stack
* fix ci
* fix nx bipartite bug; docstring
* fix scipy creation bug
* lint
* fix bug when converting heterograph from homograph
* fix bug in hetero_from_homo about ntype order
* trailing white
* docstring fixes for add_foo and data views
* docstring for relation slice
* to_hetero and to_homo with feature support
* lint
* lint
* DGLGraph compatibility
* incidence matrix & docstring fixes
* example string fixes
* feature in hetero_from_relations
* deduplication of edge types in to_hetero
* fix lint
* fix
2019-09-17 15:41:57 -04:00
Quan (Andy) Gan
86f28d6553
[Misc] Provide a "return 1s instead of edge IDs" option in scipy adjacency matrix ( #730 )
...
* return 1 option in scipy adjacency matrix
* lint
* use dgl warning
* i'm an idiot
* lint x2
* rename
2019-07-29 21:40:09 +08: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
4bd4d6e348
[Lint] Pylint ( #330 )
...
* fix lint for graph_index.py
* pylint for base.py
* pylint for batched_graph.py
* pylint for frame.py; simplify and fix bugs in frame when index is slice type
* pylint for graph.py
* pylint for immutable_graph_index.py
* pylint for init.py
* pylint for rest files in root package
* pylint for _ffi package
* pylint for function package
* pylint for runtime package
* pylint for runtime.ir package
* add pylint to ci
* fix mx tests
* fix lint errors
* fix ci
* fix as requested
* fix lint
2019-01-01 15:15:41 -05:00
Minjie Wang
3e76bcc052
remove anonymous repr
2018-10-18 21:43:40 -04:00
Minjie Wang
b9631912db
[Frame] Refactor frame. ( #85 )
...
* refactor frame codes
* fix unit test
* fix gcn example
* minor doc/message changes
* raise errors for non-exist columns in FrameRef; sanity check when append
* fix unittest; change error msg
* Add warning for none initializer
* fix unittest
* use warnings package
2018-10-18 15:08:21 -04:00
Minjie Wang
61fa3c6cf5
Builtin function and API changes ( #53 )
...
* WIP: API renaming
* API rewrite and node function refactor
* builtin functions
* builtin functions tested
* fix test
* send and recv spmv test
* WIP: fix examples
* Fix examples using new APIs
2018-09-01 13:38:01 -04:00
Minjie Wang
2c489fadec
SPMV specialization ( #32 )
...
* fix edge list order problem in cached graph.
* minor fix
* fix bug in edge iter
* SPMV works
* gcn spmv on CPU
* change gcn style
* fix cached graph performance; fixed gcn dataset bug
* reorg dir
* non-batch spmv; partial update problem with shape change
* fix reorder problem; finish gcn-batch impl
* pop API
* GPU context
2018-08-06 14:00:06 -04:00