index.rst 2.95 KB
Newer Older
Minjie Wang's avatar
Minjie Wang committed
1
2
3
4
5
.. DGL documentation master file, created by
   sphinx-quickstart on Fri Oct  5 14:18:01 2018.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Minjie Wang's avatar
Minjie Wang committed
6
7
8
9
10
11
12
13
Overview of DGL
===============

Deep Graph Library (DGL) is a Python package built for easy implementation of
graph neural network model family, on top of existing DL frameworks (e.g.
Pytorch, MXNet, Gluon etc.).

DGL reduces the implementation of graph neural networks into declaring a set
VoVAllen's avatar
VoVAllen committed
14
of *functions* (or *modules* in PyTorch terminology).  In addition, DGL
Minjie Wang's avatar
Minjie Wang committed
15
16
17
18
19
20
21
22
23
24
provides:

* Versatile controls over message passing, ranging from low-level operations
  such as sending along selected edges and receiving on specific nodes, to
  high-level control such as graph-wide feature updates.
* Transparent speed optimization with automatic batching of computations and
  sparse matrix multiplication.
* Seamless integration with existing deep learning frameworks.
* Easy and friendly interfaces for node/edge feature access and graph
  structure manipulation.
Da Zheng's avatar
Da Zheng committed
25
* Good scalability to graphs with tens of millions of vertices.
Minjie Wang's avatar
Minjie Wang committed
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

To begin with, we have prototyped 10 models across various domains:
semi-supervised learning on graphs (with potentially billions of nodes/edges),
generative models on graphs, (previously) difficult-to-parallelize tree-based
models like TreeLSTM, etc. We also implement some conventional models in DGL
from a new graphical perspective yielding simplicity.

Relationship of DGL to other frameworks
---------------------------------------
DGL is designed to be compatible and agnostic to the existing tensor
frameworks. It provides a backend adapter interface that allows easy porting
to other tensor-based, autograd-enabled frameworks. Currently, our prototype
works with MXNet/Gluon and PyTorch.

Free software
-------------
DGL is free software; you can redistribute it and/or modify it under the terms
of the Apache License 2.0. We welcome contributions.
Join us on `GitHub <https://github.com/jermainewang/dgl>`_.

History
-------
Prototype of DGL started in early Spring, 2018, at NYU Shanghai by Prof. Zheng
Zhang and Quan Gan. Serious development began when Minjie, Lingfan and Prof
Jinyang Li from NYU's system group joined, flanked by a team of student
volunteers at NYU Shanghai, Fudan and other universities (Yu, Zihao, Murphy,
Allen, Qipeng, Qi, Hao), as well as early adopters at the CILVR lab (Jake
Zhao). Development accelerated when AWS MXNet Science team joined force, with
Da Zheng, Alex Smola, Haibin Lin, Chao Ma and a number of others. For full
credit, see `here <https://www.dgl.ai/ack>`_.
Minjie Wang's avatar
Minjie Wang committed
56
57

.. toctree::
Minjie Wang's avatar
Minjie Wang committed
58
59
60
61
62
   :maxdepth: 1
   :caption: Get Started
   :glob:

   install/index
Minjie Wang's avatar
Minjie Wang committed
63
64
65

.. toctree::
   :maxdepth: 2
Minjie Wang's avatar
Minjie Wang committed
66
67
   :caption: Tutorials
   :glob:
Minjie Wang's avatar
Minjie Wang committed
68

69
70
   tutorials/basics/index
   tutorials/models/index
Minjie Wang's avatar
Minjie Wang committed
71
72
73

.. toctree::
   :maxdepth: 2
Minjie Wang's avatar
Minjie Wang committed
74
75
   :caption: API Reference
   :glob:
Minjie Wang's avatar
Minjie Wang committed
76
77
78

   api/python/index

Minjie Wang's avatar
Minjie Wang committed
79
80
81
82
83
84
85
.. toctree::
   :maxdepth: 1
   :glob:

   faq
   env_var

Minjie Wang's avatar
Minjie Wang committed
86
87
88
Index
-----
* :ref:`genindex`