You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2021/09/06 09:28:52 UTC

[singa-doc] branch master updated: 8-16-no-dist and 3.2.0

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/singa-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new b48f68b  8-16-no-dist and 3.2.0
     new c79dea7  Merge pull request #47 from lzjpaul/8-11-rc1
b48f68b is described below

commit b48f68bd6efd841c055ed41046f37deeff84f03b
Author: zhaojing <zh...@comp.nus.edu.sg>
AuthorDate: Mon Aug 16 17:09:06 2021 +0800

    8-16-no-dist and 3.2.0
---
 docs-site/docs/installation.md                     |  24 +-
 docs-site/docs/releases/RELEASE_NOTES_3.2.0.md     |  43 +++
 docs-site/docs/releases/RELEASE_NOTES_3.2.0.rc1.md |  43 +++
 docs-site/docs/wheel-cpu.md                        |   6 +
 docs-site/docs/wheel-gpu.md                        |  15 +-
 .../version-3.2.0.rc1/half-precision.md            | 105 ++++++
 .../version-3.2.0.rc1}/installation.md             |  27 +-
 .../versioned_docs/version-3.2.0.rc1/onnx.md       | 410 +++++++++++++++++++++
 .../releases/RELEASE_NOTES_3.1.0.md                |  51 +++
 .../releases/RELEASE_NOTES_3.2.0.rc1.md            |  44 +++
 .../versioned_docs/version-3.2.0.rc1/team-list.md  |  60 +++
 .../versioned_docs/version-3.2.0.rc1}/wheel-cpu.md |   9 +-
 .../versioned_docs/version-3.2.0.rc1}/wheel-gpu.md |  18 +-
 .../version-3.2.0/releases/RELEASE_NOTES_3.2.0.md  |  44 +++
 .../version-3.2.0.rc1-sidebars.json                |  38 ++
 docs-site/website/versions.json                    |   2 +
 16 files changed, 892 insertions(+), 47 deletions(-)

diff --git a/docs-site/docs/installation.md b/docs-site/docs/installation.md
index 03aeeef..0762538 100644
--- a/docs-site/docs/installation.md
+++ b/docs-site/docs/installation.md
@@ -20,7 +20,7 @@ SINGA.
    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Ntkhi-Z6XTR8WYPXiLwujHd2dOm0772V?usp=sharing)
 
 ```shell
-$ conda install -c nusdbsystem -c conda-forge singa-cpu=3.1.0
+$ conda install -c nusdbsystem -c conda-forge singa-cpu=3.2.0.rc1
 ```
 
 Please note that we need to specify the version of singa-cpu during the installation.
@@ -29,20 +29,12 @@ Please note that we need to specify the version of singa-cpu during the installa
    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1do_TLJe18IthLOnBOsHCEe-FFPGk1sPJ?usp=sharing)
 
 ```shell
-$ conda install -c nusdbsystem -c conda-forge singa-gpu=3.1.0
+$ conda install -c nusdbsystem -c conda-forge singa-gpu=3.2.0.rc1
 ```
 
 Please note that we need to specify the version of singa-gpu during the installation.
 
-3. GPU with CUDA and cuDNN (CUDA driver >=384.81 is required), and also with the distributed training module
-
-```shell
-$ conda install -c nusdbsystem -c conda-forge singa-dist=3.1.0
-```
-
-Please note that we need to specify the version of singa-dist during the installation.
-
-4. Install a specific version of SINGA. The following command lists all the
+3. Install a specific version of SINGA. The following command lists all the
    available SINGA packages.
 
 ```shell
@@ -50,9 +42,9 @@ $ conda search -c nusdbsystem singa
 
 Loading channels: done
 # Name                       Version           Build  Channel
-singa                      3.1.0.rc2        cpu_py36  nusdbsystem
-singa                      3.1.0.rc2 cudnn7.6.5_cuda10.2_py36  nusdbsystem
-singa                      3.1.0.rc2 cudnn7.6.5_cuda10.2_py37  nusdbsystem
+singa                      3.2.0.rc1        cpu_py36  nusdbsystem
+singa                      3.2.0.rc1 cudnn7.6.5_cuda10.2_nccl2.6.4.1_mpich3.3.2_py36 nusdbsystem
+singa                          3.2.0        cpu_py36  nusdbsystem
 ```
 
 <!--- > Please note that using the nightly built images is not recommended except for SINGA development and testing. Using stable releases is recommended. -->
@@ -81,7 +73,7 @@ pip install singa -f http://singa.apache.org/docs/next/wheel-cpu.html --trusted-
 ```
 
 You can install a specific version of SINGA via `singa==<version>`, where the
-`<version>` field should be replaced, e.g., `3.1.0`. The available SINGA
+`<version>` field should be replaced, e.g., `3.2.0`. The available SINGA
 versions are listed at the link.
 
 To install the latest develop version, replace the link with
@@ -95,7 +87,7 @@ pip install singa -f http://singa.apache.org/docs/next/wheel-gpu.html --trusted-
 ```
 
 You can also configure SINGA version and the CUDA version, like
-`singa==3.1.0+cuda10.2`. The available combinations of SINGA version and CUDA
+`singa==3.2.0+cuda10.2`. The available combinations of SINGA version and CUDA
 version are listed at the link.
 
 To install the latest develop version, replace the link with
diff --git a/docs-site/docs/releases/RELEASE_NOTES_3.2.0.md b/docs-site/docs/releases/RELEASE_NOTES_3.2.0.md
new file mode 100644
index 0000000..421de21
--- /dev/null
+++ b/docs-site/docs/releases/RELEASE_NOTES_3.2.0.md
@@ -0,0 +1,43 @@
+---
+id: RELEASE_NOTES_3.2.0
+title: Apache SINGA-3.2.0 Release Notes
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+SINGA is a distributed deep learning library.
+
+This release includes following changes:
+
+- New examples
+
+  - Add one cifar-10 distributed CNN example for benchmarking the performance of the distributed
+    training.
+  - Add one large CNN example for training with a dataset from the filesysetm.
+
+- Enhance distributed training 
+
+  - Improve the data augmentation module for faster distributed training.
+  - Add device synchronization for more accurate time measurements during the distributed training.
+
+- Add Support for half-precision floating-point format (fp16) in deep learning models and 
+  computational kernels.
+
+- Update new onnx APIs and fix onnx examples accordingly, namely, DenseNet121, ShuffleNetv1, 
+  ShuffleNetv2, SqueezeNet, VGG19.
+
+- Add a new method to resize images by given width and height.
+
+- Use docusaurus versioning to simplify the process of generating the project homepage.
+
+- Promote code quality
+
+  - Unify the formats of docstrings that describe the contents and usage of the module.
+  - Unify the parameters of command-line arguments.
+  
+- Fix bugs
+
+  - Fix the CI build error by downloading the tbb binaries.
+  - Add disabling graph option for accessing parameter or gradient tensors during distributed  
+    training.
+  - Solve the warnings of deprecated functions in the distributed optimizer module.
diff --git a/docs-site/docs/releases/RELEASE_NOTES_3.2.0.rc1.md b/docs-site/docs/releases/RELEASE_NOTES_3.2.0.rc1.md
new file mode 100644
index 0000000..f7f2b07
--- /dev/null
+++ b/docs-site/docs/releases/RELEASE_NOTES_3.2.0.rc1.md
@@ -0,0 +1,43 @@
+---
+id: RELEASE_NOTES_3.2.0.rc1
+title: Apache SINGA-3.2.0.rc1 Release Notes
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+SINGA is a distributed deep learning library.
+
+This release includes following changes:
+
+- New examples
+
+  - Add one cifar-10 distributed CNN example for benchmarking the performance of the distributed
+    training.
+  - Add one large CNN example for training with a dataset from the filesysetm.
+
+- Enhance distributed training 
+
+  - Improve the data augmentation module for faster distributed training.
+  - Add device synchronization for more accurate time measurements during the distributed training.
+
+- Add Support for half-precision floating-point format (fp16) in deep learning models and 
+  computational kernels.
+
+- Update new onnx APIs and fix onnx examples accordingly, namely, DenseNet121, ShuffleNetv1, 
+  ShuffleNetv2, SqueezeNet, VGG19.
+
+- Add a new method to resize images by given width and height.
+
+- Use docusaurus versioning to simplify the process of generating the project homepage.
+
+- Promote code quality
+
+  - Unify the formats of docstrings that describe the contents and usage of the module.
+  - Unify the parameters of command-line arguments.
+  
+- Fix bugs
+
+  - Fix the CI build error by downloading the tbb binaries.
+  - Add disabling graph option for accessing parameter or gradient tensors during distributed  
+    training.
+  - Solve the warnings of deprecated functions in the distributed optimizer module.
diff --git a/docs-site/docs/wheel-cpu.md b/docs-site/docs/wheel-cpu.md
index 7952a31..cc02e9c 100644
--- a/docs-site/docs/wheel-cpu.md
+++ b/docs-site/docs/wheel-cpu.md
@@ -5,6 +5,12 @@ title: CPU only
 
 <!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
 
+## 3.2.0
+
+- [Python 3.6](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp36-cp36m-manylinux2014_x86_64.whl)
+- [Python 3.7](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp37-cp37m-manylinux2014_x86_64.whl)
+- [Python 3.8](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp38-cp38-manylinux2014_x86_64.whl)
+
 ## 3.1.0
 
 - [Python 3.6](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0-cp36-cp36m-manylinux2014_x86_64.whl)
diff --git a/docs-site/docs/wheel-gpu.md b/docs-site/docs/wheel-gpu.md
index bd91c4f..6c900fe 100644
--- a/docs-site/docs/wheel-gpu.md
+++ b/docs-site/docs/wheel-gpu.md
@@ -5,14 +5,17 @@ title: CUDA enabled
 
 <!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
 
+## 3.2.0
+
+- [CUDA10.2, cuDNN 7.6.5, Python 3.6](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.7](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.8](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
+
 ## 3.1.0
 
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.6]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.7]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.8]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.6](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.7](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.8](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
 
 ## 3.0.0
 
diff --git a/docs-site/website/versioned_docs/version-3.2.0.rc1/half-precision.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/half-precision.md
new file mode 100644
index 0000000..ef2c49e
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/half-precision.md
@@ -0,0 +1,105 @@
+---
+id: version-3.2.0.rc1-half-precision
+title: Half Precision
+original_id: half-precision
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+Half precision training could bring benefits:
+- using less GPU memory, supporting larger network. 
+- training faster. 
+
+## Half data type
+
+### Half data type definition
+The IEEE 754 standard specifies a binary16 as having the following
+ [format](https://en.wikipedia.org/wiki/Half-precision_floating-point_format):
+Sign bit: 1 bit
+Exponent width: 5 bits
+Significand precision: 11 bits (10 explicitly stored)
+
+### Half data type operation
+Load data in fp32 and easily convert to fp16 by casting.
+```python
+>>> from singa import tensor, device
+>>> dev = device.create_cuda_gpu()
+>>> x = tensor.random((2,3),dev)
+>>> x
+[[0.7703407  0.42764223 0.5872884 ]
+ [0.78362167 0.70469785 0.64975065]], float32
+>>> y = x.as_type(tensor.float16)
+>>> y
+[[0.7705 0.4277 0.5874]
+ [0.7837 0.7046 0.65  ]], float16
+```
+
+Primary operations are supported in fp16.
+```python
+>>> y+y
+[[1.541  0.8555 1.175 ]
+ [1.567  1.409  1.3   ]], float16
+```
+
+## Training in Half
+
+### Training in Half three step
+Training in half precision could be done easily in three steps:
+1. Load data and convert to half
+2. Set data type of optimizer
+3. Train model as usual
+``` python
+# cast input data to fp16
+x = load_data()
+x = x.astype(np.float16)
+tx = tensor.from_numpy(x)
+
+# load model
+model = build_model()
+# set optimizer dtype to fp16
+sgd = opt.SGD(lr=0.1, dtype=tensor.float16)
+
+# train as usual
+out, loss = model(tx, ty)
+```
+
+### Example
+An example script is `train_cnn.py`, run below command to train in half.
+```python
+python examples/cnn/train_cnn.py cnn mnist -pfloat16
+```
+
+## Implementation
+
+### Half Type Dependency
+This half implementation is integrated in C++ backend as general half type 
+support.
+
+To run on GPU, `__half` is available in Cuda math API. To support `__half` 
+math operation, it is required to compile against Nvidia compute arch > 6.0
+ (Pascal).
+
+### Nvidia Hardware Acceleration: Tensor Core
+Tensor Core released by Nvidia further accelerates half precision and multiples 
+throughput for operations like GEMM(CuBlas) and convolution(CuDNN). To enable 
+Tensor core operation, there are a few restriction on GEMM dimensions, 
+convolution channel size, Cuda version, and GPU version(Turing or later) and etc.
+
+### Implement Operations
+Half operations are primarily implemented in `tensor_math_cuda.h`, by specializing
+operation template with half type and implementation the low level computation.
+
+For example, GEMM operation is implemented as:
+```c++
+template <>
+void GEMM<half_float::half, lang::Cuda>(const half_float::half alpha,
+                                        const Tensor& A, const Tensor& B,
+                                        const half_float::half beta, Tensor* C,
+                                        Context* ctx) {
+  // ...
+  CUBLAS_CHECK(cublasGemmEx(handle, transb, transa, ncolB, nrowA, ncolA,
+                           alphaPtr, BPtr, Btype, ldb, APtr, Atype, lda,
+                           betaPtr, CPtr, Ctype, ldc, computeType, algo));
+  // ...
+}
+```
\ No newline at end of file
diff --git a/docs-site/docs/installation.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/installation.md
similarity index 90%
copy from docs-site/docs/installation.md
copy to docs-site/website/versioned_docs/version-3.2.0.rc1/installation.md
index 03aeeef..fa0d788 100644
--- a/docs-site/docs/installation.md
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/installation.md
@@ -1,6 +1,7 @@
 ---
-id: installation
+id: version-3.2.0.rc1-installation
 title: Installation
+original_id: installation
 ---
 
 <!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
@@ -20,7 +21,7 @@ SINGA.
    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Ntkhi-Z6XTR8WYPXiLwujHd2dOm0772V?usp=sharing)
 
 ```shell
-$ conda install -c nusdbsystem -c conda-forge singa-cpu=3.1.0
+$ conda install -c nusdbsystem -c conda-forge singa-cpu=3.2.0.rc1
 ```
 
 Please note that we need to specify the version of singa-cpu during the installation.
@@ -29,20 +30,12 @@ Please note that we need to specify the version of singa-cpu during the installa
    [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1do_TLJe18IthLOnBOsHCEe-FFPGk1sPJ?usp=sharing)
 
 ```shell
-$ conda install -c nusdbsystem -c conda-forge singa-gpu=3.1.0
+$ conda install -c nusdbsystem -c conda-forge singa-gpu=3.2.0.rc1
 ```
 
 Please note that we need to specify the version of singa-gpu during the installation.
 
-3. GPU with CUDA and cuDNN (CUDA driver >=384.81 is required), and also with the distributed training module
-
-```shell
-$ conda install -c nusdbsystem -c conda-forge singa-dist=3.1.0
-```
-
-Please note that we need to specify the version of singa-dist during the installation.
-
-4. Install a specific version of SINGA. The following command lists all the
+3. Install a specific version of SINGA. The following command lists all the
    available SINGA packages.
 
 ```shell
@@ -50,9 +43,9 @@ $ conda search -c nusdbsystem singa
 
 Loading channels: done
 # Name                       Version           Build  Channel
-singa                      3.1.0.rc2        cpu_py36  nusdbsystem
-singa                      3.1.0.rc2 cudnn7.6.5_cuda10.2_py36  nusdbsystem
-singa                      3.1.0.rc2 cudnn7.6.5_cuda10.2_py37  nusdbsystem
+singa                      3.2.0.rc1        cpu_py36  nusdbsystem
+singa                      3.2.0.rc1 cudnn7.6.5_cuda10.2_nccl2.6.4.1_mpich3.3.2_py36 nusdbsystem
+singa                          3.2.0        cpu_py36  nusdbsystem
 ```
 
 <!--- > Please note that using the nightly built images is not recommended except for SINGA development and testing. Using stable releases is recommended. -->
@@ -81,7 +74,7 @@ pip install singa -f http://singa.apache.org/docs/next/wheel-cpu.html --trusted-
 ```
 
 You can install a specific version of SINGA via `singa==<version>`, where the
-`<version>` field should be replaced, e.g., `3.1.0`. The available SINGA
+`<version>` field should be replaced, e.g., `3.2.0`. The available SINGA
 versions are listed at the link.
 
 To install the latest develop version, replace the link with
@@ -95,7 +88,7 @@ pip install singa -f http://singa.apache.org/docs/next/wheel-gpu.html --trusted-
 ```
 
 You can also configure SINGA version and the CUDA version, like
-`singa==3.1.0+cuda10.2`. The available combinations of SINGA version and CUDA
+`singa==3.2.0+cuda10.2`. The available combinations of SINGA version and CUDA
 version are listed at the link.
 
 To install the latest develop version, replace the link with
diff --git a/docs-site/website/versioned_docs/version-3.2.0.rc1/onnx.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/onnx.md
new file mode 100644
index 0000000..d3f83e0
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/onnx.md
@@ -0,0 +1,410 @@
+---
+id: version-3.2.0.rc1-onnx
+title: ONNX
+original_id: onnx
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+[ONNX](https://onnx.ai/) is an open representation format for machine learning
+models, which enables AI developers to use models across different libraries and
+tools. SINGA supports loading ONNX format models for training and inference, and
+saving models defined using SINGA APIs (e.g., [Module](./module)) into ONNX
+format.
+
+SINGA has been tested with the following
+[version](https://github.com/onnx/onnx/blob/master/docs/Versioning.md) of ONNX.
+
+| ONNX version | File format version | Opset version ai.onnx | Opset version ai.onnx.ml | Opset version ai.onnx.training |
+| ------------ | ------------------- | --------------------- | ------------------------ | ------------------------------ |
+| 1.6.0        | 6                   | 11                    | 2                        | -                              |
+
+## General usage
+
+### Loading an ONNX Model into SINGA
+
+After loading an ONNX model from disk by `onnx.load`, You only need to update
+the batch-size of input using `tensor.PlaceHolder` after SINGA v3.0, the shape
+of internal tensors will be inferred automatically.
+
+Then, you should define a class inheriting from `sonnx.SONNXModel` and implement
+two methods `forward` for forward work and `train_one_batch` for training work.
+After you call `model.compile`, the SONNX iterates and translates all the nodes
+within the ONNX model's graph into SINGA operators, loads all stored weights and
+infers each intermediate tensor's shape.
+
+```python3
+import onnx
+from singa import device
+from singa import sonnx
+
+class MyModel(sonnx.SONNXModel):
+
+    def __init__(self, onnx_model):
+        super(MyModel, self).__init__(onnx_model)
+
+    def forward(self, *x):
+        y = super(MyModel, self).forward(*x)
+        # Since SINGA model returns the output as a list,
+        # if there is only one output,
+        # you just need to take the first element.
+        return y[0]
+
+    def train_one_batch(self, x, y):
+        pass
+
+model_path = "PATH/To/ONNX/MODEL"
+onnx_model = onnx.load(model_path)
+
+# convert onnx model into SINGA model
+dev = device.create_cuda_gpu()
+x = tensor.PlaceHolder(INPUT.shape, device=dev)
+model = MyModel(onnx_model)
+model.compile([x], is_train=False, use_graph=True, sequential=True)
+```
+
+### Inference SINGA model
+
+Once the model is created, you can do inference by calling `model.forward`. The
+input and output must be SINGA `Tensor` instances.
+
+```python3
+x = tensor.Tensor(device=dev, data=INPUT)
+y = model.forward(x)
+```
+
+### Saving SINGA model into ONNX Format
+
+Given the input tensors and the output tensors generated by the operators the
+model, you can trace back all internal operations. Therefore, a SINGA model is
+defined by the input and outputs tensors. To export a SINGA model into ONNX
+format, you just need to provide the input and output tensor list.
+
+```python3
+# x is the input tensor, y is the output tensor
+sonnx.to_onnx([x], [y])
+```
+
+### Re-training an ONNX model
+
+To train (or refine) an ONNX model using SINGA, you need to implement the
+`train_one_batch` from `sonnx.SONNXModel` and mark the `is_train=True` when
+calling `model.compile`.
+
+```python3
+from singa import opt
+from singa import autograd
+
+class MyModel(sonnx.SONNXModel):
+
+    def __init__(self, onnx_model):
+        super(MyModel, self).__init__(onnx_model)
+
+    def forward(self, *x):
+        y = super(MyModel, self).forward(*x)
+        return y[0]
+
+    def train_one_batch(self, x, y, dist_option, spars):
+        out = self.forward(x)
+        loss = autograd.softmax_cross_entropy(out, y)
+        if dist_option == 'fp32':
+            self.optimizer.backward_and_update(loss)
+        elif dist_option == 'fp16':
+            self.optimizer.backward_and_update_half(loss)
+        elif dist_option == 'partialUpdate':
+            self.optimizer.backward_and_partial_update(loss)
+        elif dist_option == 'sparseTopK':
+            self.optimizer.backward_and_sparse_update(loss,
+                                                      topK=True,
+                                                      spars=spars)
+        elif dist_option == 'sparseThreshold':
+            self.optimizer.backward_and_sparse_update(loss,
+                                                      topK=False,
+                                                      spars=spars)
+        return out, loss
+
+    def set_optimizer(self, optimizer):
+        self.optimizer = optimizer
+
+sgd = opt.SGD(lr=0.005, momentum=0.9, weight_decay=1e-5)
+model.set_optimizer(sgd)
+model.compile([tx], is_train=True, use_graph=graph, sequential=True)
+```
+
+### Transfer-learning an ONNX model
+
+You also can append some layers to the end of the ONNX model to do
+transfer-learning. The `last_layers` accept a negative integer indicating the
+layer to cut off from. For example, `-1` means cut off after the final output(do
+not cut off any layer), `-2` means you cut off after the last second layer.
+
+```python3
+from singa import opt
+from singa import autograd
+
+class MyModel(sonnx.SONNXModel):
+
+    def __init__(self, onnx_model):
+        super(MyModel, self).__init__(onnx_model)
+        self.linear = layer.Linear(1000, 3)
+
+    def forward(self, *x):
+        # cut off after the last third layer
+        # and append a linear layer
+        y = super(MyModel, self).forward(*x, last_layers=-3)[0]
+        y = self.linear(y)
+        return y
+
+    def train_one_batch(self, x, y, dist_option, spars):
+        out = self.forward(x)
+        loss = autograd.softmax_cross_entropy(out, y)
+        if dist_option == 'fp32':
+            self.optimizer.backward_and_update(loss)
+        elif dist_option == 'fp16':
+            self.optimizer.backward_and_update_half(loss)
+        elif dist_option == 'partialUpdate':
+            self.optimizer.backward_and_partial_update(loss)
+        elif dist_option == 'sparseTopK':
+            self.optimizer.backward_and_sparse_update(loss,
+                                                      topK=True,
+                                                      spars=spars)
+        elif dist_option == 'sparseThreshold':
+            self.optimizer.backward_and_sparse_update(loss,
+                                                      topK=False,
+                                                      spars=spars)
+        return out, loss
+
+    def set_optimizer(self, optimizer):
+        self.optimizer = optimizer
+
+sgd = opt.SGD(lr=0.005, momentum=0.9, weight_decay=1e-5)
+model.set_optimizer(sgd)
+model.compile([tx], is_train=True, use_graph=graph, sequential=True)
+```
+
+## ONNX model zoo
+
+The [ONNX Model Zoo](https://github.com/onnx/models) is a collection of
+pre-trained, state-of-the-art models in the ONNX format contributed by community
+members. SINGA has supported several CV and NLP models now. More models are
+going to be supported soon.
+
+### Image Classification
+
+This collection of models take images as input, then classifies the major
+objects in the images into 1000 object categories such as keyboard, mouse,
+pencil, and many animals.
+
+| Model Class                                                                                         | Reference                                               | Description                                                                                                                                                                                                                               | Link                                                                                           [...]
+| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- [...]
+| <b>[MobileNet](https://github.com/onnx/models/tree/master/vision/classification/mobilenet)</b>      | [Sandler et al.](https://arxiv.org/abs/1801.04381)      | Light-weight deep neural network best suited for mobile and embedded vision applications. <br>Top-5 error from paper - ~10%                                                                                                               | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.res [...]
+| <b>[ResNet18](https://github.com/onnx/models/tree/master/vision/classification/resnet)</b>          | [He et al.](https://arxiv.org/abs/1512.03385)           | A CNN model (up to 152 layers). Uses shortcut connections to achieve higher accuracy when classifying images. <br> Top-5 error from paper - ~3.6%                                                                                         | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.res [...]
+| <b>[VGG16](https://github.com/onnx/models/tree/master/vision/classification/vgg)</b>                | [Simonyan et al.](https://arxiv.org/abs/1409.1556)      | Deep CNN model(up to 19 layers). Similar to AlexNet but uses multiple smaller kernel-sized filters that provides more accuracy when classifying images. <br>Top-5 error from paper - ~8%                                                  | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.res [...]
+| <b>[ShuffleNet_V2](https://github.com/onnx/models/tree/master/vision/classification/shufflenet)</b> | [Simonyan et al.](https://arxiv.org/pdf/1707.01083.pdf) | Extremely computation efficient CNN model that is designed specifically for mobile devices. This network architecture design considers direct metric such as speed, instead of indirect metric like FLOP. Top-1 error from paper - ~30.6% | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.res [...]
+
+We also give some re-training examples by using VGG and ResNet, please check
+`examples/onnx/training`.
+
+### Object Detection
+
+Object detection models detect the presence of multiple objects in an image and
+segment out areas of the image where the objects are detected.
+
+| Model Class                                                                                                       | Reference                                             | Description                                                                                                                        | Link                                                                                                                                                    |
+| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| <b>[Tiny YOLOv2](https://github.com/onnx/models/tree/master/vision/object_detection_segmentation/tiny_yolov2)</b> | [Redmon et al.](https://arxiv.org/pdf/1612.08242.pdf) | A real-time CNN for object detection that detects 20 different classes. A smaller version of the more complex full YOLOv2 network. | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/11V4I6cRjIJNUv5ZGsEGwqHuoQEie6b1T) |
+
+### Face Analysis
+
+Face detection models identify and/or recognize human faces and emotions in
+given images.
+
+| Model Class                                                                                               | Reference                                          | Description                                                                                                                         | Link                                                                                                                                                    |
+| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| <b>[ArcFace](https://github.com/onnx/models/tree/master/vision/body_analysis/arcface)</b>                 | [Deng et al.](https://arxiv.org/abs/1801.07698)    | A CNN based model for face recognition which learns discriminative features of faces and produces embeddings for input face images. | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1qanaqUKGIDtifdzEzJOHjEj4kYzA9uJC) |
+| <b>[Emotion FerPlus](https://github.com/onnx/models/tree/master/vision/body_analysis/emotion_ferplus)</b> | [Barsoum et al.](https://arxiv.org/abs/1608.01041) | Deep CNN for emotion recognition trained on images of faces.                                                                        | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1XHtBQGRhe58PDi4LGYJzYueWBeWbO23r) |
+
+### Machine Comprehension
+
+This subset of natural language processing models that answer questions about a
+given context paragraph.
+
+| Model Class                                                                                           | Reference                                                                                                                           | Description                                                                                                       | Link                                                                                                                                     [...]
+| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- [...]
+| <b>[BERT-Squad](https://github.com/onnx/models/tree/master/text/machine_comprehension/bert-squad)</b> | [Devlin et al.](https://arxiv.org/pdf/1810.04805.pdf)                                                                               | This model answers questions based on the context of the given input paragraph.                                   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1kud-lUPjS_u-TkDAzi [...]
+| <b>[RoBERTa](https://github.com/onnx/models/tree/master/text/machine_comprehension/roberta)</b>       | [Devlin et al.](https://arxiv.org/pdf/1907.11692.pdf)                                                                               | A large transformer-based model that predicts sentiment based on given input text.                                | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1F-c4LJSx3Cb2jW6tP7 [...]
+| <b>[GPT-2](https://github.com/onnx/models/tree/master/text/machine_comprehension/gpt-2)</b>           | [Devlin et al.](https://d4mucfpksywv.cloudfront.net/better-language-models/language_models_are_unsupervised_multitask_learners.pdf) | A large transformer-based language model that given a sequence of words within some text, predicts the next word. | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ZlXLSIMppPch6HgzKR [...]
+
+## Supported operators
+
+The following operators are supported:
+
+- Acos
+- Acosh
+- Add
+- And
+- Asin
+- Asinh
+- Atan
+- Atanh
+- AveragePool
+- BatchNormalization
+- Cast
+- Ceil
+- Clip
+- Concat
+- ConstantOfShape
+- Conv
+- Cos
+- Cosh
+- Div
+- Dropout
+- Elu
+- Equal
+- Erf
+- Expand
+- Flatten
+- Gather
+- Gemm
+- GlobalAveragePool
+- Greater
+- HardSigmoid
+- Identity
+- LeakyRelu
+- Less
+- Log
+- MatMul
+- Max
+- MaxPool
+- Mean
+- Min
+- Mul
+- Neg
+- NonZero
+- Not
+- OneHot
+- Or
+- Pad
+- Pow
+- PRelu
+- Reciprocal
+- ReduceMean
+- ReduceSum
+- Relu
+- Reshape
+- ScatterElements
+- Selu
+- Shape
+- Sigmoid
+- Sign
+- Sin
+- Sinh
+- Slice
+- Softmax
+- Softplus
+- Softsign
+- Split
+- Sqrt
+- Squeeze
+- Sub
+- Sum
+- Tan
+- Tanh
+- Tile
+- Transpose
+- Unsqueeze
+- Upsample
+- Where
+- Xor
+
+### Special comments for ONNX backend
+
+- Conv, MaxPool and AveragePool
+
+  Input must be 1d`(N*C*H)` and 2d(`N*C*H*W`) shape and `dilation` must be 1.
+
+- BatchNormalization
+
+  `epsilon` is 1e-05 and cannot be changed.
+
+- Cast
+
+  Only support float32 and int32, other types are casted to these two types.
+
+- Squeeze and Unsqueeze
+
+  If you encounter errors when you `Squeeze` or `Unsqueeze` between `Tensor` and
+  Scalar, please report to us.
+
+- Empty tensor Empty tensor is illegal in SINGA.
+
+## Implementation
+
+The code of SINGA ONNX locates at `python/singa/soonx.py`. There are four main
+class, `SingaFrontend`, `SingaBackend`, `SingaRep` and `SONNXModel`.
+`SingaFrontend` translates a SINGA model to an ONNX model; `SingaBackend`
+translates an ONNX model to `SingaRep` object which stores all SINGA operators
+and tensors(the tensor in this doc means SINGA `Tensor`); `SingaRep` can be run
+like a SINGA model. `SONNXModel` inherits from `model.Model` which defines a
+unified API for SINGA.
+
+### SingaFrontend
+
+The entry function of `SingaFrontend` is `singa_to_onnx_model` which also is
+called `to_onnx`. `singa_to_onnx_model` creates the ONNX model, and it also
+create a ONNX graph by using `singa_to_onnx_graph`.
+
+`singa_to_onnx_graph` accepts the output of the model, and recursively iterate
+the SINGA model's graph from the output to get all operators to form a queue.
+The input and intermediate tensors, i.e, trainable weights, of the SINGA model
+is picked up at the same time. The input is stored in `onnx_model.graph.input`;
+the output is stored in `onnx_model.graph.output`; and the trainable weights are
+stored in `onnx_model.graph.initializer`.
+
+Then the SINGA operator in the queue is translated to ONNX operators one by one.
+`_rename_operators` defines the operators name mapping between SINGA and ONNX.
+`_special_operators` defines which function to be used to translate the
+operator.
+
+In addition, some operators in SINGA has different definition with ONNX, that
+is, ONNX regards some attributes of SINGA operators as input, so
+`_unhandled_operators` defines which function to handle the special operator.
+
+Since the bool type is regarded as int32 in SINGA, `_bool_operators` defines the
+operators to be changed as bool type.
+
+### SingaBackend
+
+The entry function of `SingaBackend` is `prepare` which checks the version of
+ONNX model and call `_onnx_model_to_singa_ops` then.
+
+The purpose of `_onnx_model_to_singa_ops` is to get SINGA tensors and operators.
+The tensors are stored in a dictionary by their name in ONNX, and operators are
+stored in queue by the form of `namedtuple('SingaOps', ['node', 'operator'])`.
+For each operator, `node` is an instance from OnnxNode which is defined to store
+some basic information for an ONNX node; `operator` is the SINGA operator's
+forward function;
+
+The first step of `_onnx_model_to_singa_ops` has four steps, the first one is to
+call `_parse_graph_params` to get all tensors stored as `params`. Then call
+`_parse_graph_inputs_outputs` to get all input and output information stores as
+`inputs` and `outputs`. Finally, it iterators all nodes within the ONNX graph
+and parses it by `_onnx_node_to_singa_op` as SIGNA operators or layers and store
+them as `outputs`. Some weights are stored within an ONNX node called
+`Constant`, SONNX can handle them by `_onnx_constant_to_np` to store it into
+`params`.
+
+This class finally return a `SingaRep` object and stores above `params`,
+`inputs`, `outputs`, `layers`.
+
+### SingaRep
+
+`SingaBackend` stores all SINGA tensors and operators. `run` accepts the input
+of the model and runs the SINGA operators one by one following the operators'
+queue. The user can use `last_layers` to cut off the model after the last few
+layers.
+
+### SONNXModel
+
+`SONNXModel` inherits from `sonnx.SONNXModel` and implements the method
+`forward` to provide a unified API with other SINGA models.
diff --git a/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.1.0.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.1.0.md
new file mode 100644
index 0000000..c3032ea
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.1.0.md
@@ -0,0 +1,51 @@
+---
+id: version-3.2.0.rc1-RELEASE_NOTES_3.1.0
+title: Apache SINGA-3.1.0 Release Notes
+original_id: RELEASE_NOTES_3.1.0
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+SINGA is a distributed deep learning library.
+
+This release includes following changes:
+
+- Tensor core:
+
+  - Support tensor transformation (reshape, transpose) for tensors up to 6
+    dimensions.
+  - Implement traverse_unary_transform in Cuda backend, which is similar to CPP
+    backend one.
+
+- Add new tensor operators into the autograd module, including CosSim,
+  DepthToSpace, Embedding, Erf, Expand, Floor, Pad, Round, Rounde, SpaceToDepth,
+  UpSample, Where. The corresponding ONNX operators are thus supported by SINGA.
+
+- Add Embedding and Gemm into the layer module.
+
+- Add SGD operators to opt module, including RMSProp, Adam, and AdaGrad.
+
+- Extend the sonnx module to support DenseNet121, ShuffleNetv1, ShuffleNetv2,
+  SqueezeNet, VGG19, GPT2, and RoBERTa.
+
+- Reconstruct sonnx to
+
+  - Support creating operators from both layer and autograd.
+  - Re-write SingaRep to provide a more powerful intermediate representation of
+    SINGA.
+  - Add a SONNXModel which implements from Model to provide uniform API and
+    features.
+
+- Add one example that trains a BiLSTM model over the InsuranceQA data.
+
+- Replace the Travis CI with Github workflow. Add quality and coverage
+  management.
+
+- Add compiling and packaging scripts to creat wheel packages for distribution.
+
+- Fix bugs
+  - Fix IMDB LSTM model example training script.
+  - Fix Tensor operation Mult on Broadcasting use cases.
+  - Gaussian function on Tensor now can run on Tensor with odd size.
+  - Updated a testing helper function gradients() in autograd to lookup param
+    gradient by param python object id for testing purpose.
diff --git a/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.2.0.rc1.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.2.0.rc1.md
new file mode 100644
index 0000000..2448f0d
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/releases/RELEASE_NOTES_3.2.0.rc1.md
@@ -0,0 +1,44 @@
+---
+id: version-3.2.0.rc1-RELEASE_NOTES_3.2.0.rc1
+title: Apache SINGA-3.2.0.rc1 Release Notes
+original_id: RELEASE_NOTES_3.2.0.rc1
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+SINGA is a distributed deep learning library.
+
+This release includes following changes:
+
+- New examples
+
+  - Add one cifar-10 distributed CNN example for benchmarking the performance of the distributed
+    training.
+  - Add one large CNN example for training with a dataset from the filesysetm.
+
+- Enhance distributed training 
+
+  - Improve the data augmentation module for faster distributed training.
+  - Add device synchronization for more accurate time measurements during the distributed training.
+
+- Add Support for half-precision floating-point format (fp16) in deep learning models and 
+  computational kernels.
+
+- Update new onnx APIs and fix onnx examples accordingly, namely, DenseNet121, ShuffleNetv1, 
+  ShuffleNetv2, SqueezeNet, VGG19.
+
+- Add a new method to resize images by given width and height.
+
+- Use docusaurus versioning to simplify the process of generating the project homepage.
+
+- Promote code quality
+
+  - Unify the formats of docstrings that describe the contents and usage of the module.
+  - Unify the parameters of command-line arguments.
+  
+- Fix bugs
+
+  - Fix the CI build error by downloading the tbb binaries.
+  - Add disabling graph option for accessing parameter or gradient tensors during distributed  
+    training.
+  - Solve the warnings of deprecated functions in the distributed optimizer module.
diff --git a/docs-site/website/versioned_docs/version-3.2.0.rc1/team-list.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/team-list.md
new file mode 100644
index 0000000..11bf06d
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/team-list.md
@@ -0,0 +1,60 @@
+---
+id: version-3.2.0.rc1-team-list
+title: The SINGA Team
+original_id: team-list
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+A successful project requires many people to play many roles. Some members write
+code or documentation, while others are valuable as testers, submitting patches
+and suggestions.
+
+The SINGA community has developers mainly from National University of Singapore,
+Zhejiang University, NetEase, Osaka University, yzBigData, etc.
+
+## PMC
+
+| Name          | Email                   | Organization                                  |
+| ------------- | ----------------------- | --------------------------------------------- |
+| Gang Chen     | cg@apache.org           | Zhejiang University                           |
+| Anh Dinh      | dinhtta@apache.org      | Singapore University of Technology and Design |
+| Ted Dunning   | tdunning@apache.org     | Apache Software Foundation                    |
+| Jinyang Gao   | jinyang@apache.org      | DAMO Academy, Alibaba Group                   |
+| Alan Gates    | gates@apache.org        | Apache Software Foundation                    |
+| Zhaojing Luo  | zhaojing@apache.org     | National University of Singapore              |
+| Thejas Nair   | thejas@apache.org       | Apache Software Foundation                    |
+| Beng Chin Ooi | ooibc@apache.org        | National University of Singapore              |
+| Moaz Reyad    | moaz@apache.org         | Université Grenoble Alpes                     |
+| Kian-Lee Tan  | tankianlee@apache.org   | National University of Singapore              |
+| Sheng Wang    | wangsh@apache.org       | DAMO Academy, Alibaba Group                   |
+| Wei Wang      | wangwei@apache.org      | ByteDance                                     |
+| Zhongle Xie   | zhongle@apache.org      | Hangzhou MZH Technologies                     |
+| Sai Ho Yeung  | chrishkchris@apache.org | Cermati.com                                   |
+| Meihui Zhang  | meihuizhang@apache.org  | Beijing Institute of Technology               |
+| Kaiping Zheng | kaiping@apache.org      | National University of Singapore              |
+
+## Committers
+
+| Name         | Email                  | Organization                                  |
+| ------------ | ---------------------- | --------------------------------------------- |
+| Xiangrui Cai | caixr@apache.org       | Nankai University                             |
+| Chonho Lee   | chonho@apache.org      | Osaka University                              |
+| Shicong Lin  | shicong@apache.org     | Cubist Systematic Strategies                  |
+| Rulin Xing   | rulin@apache.org       | Huazhong University of Science and Technology |
+| Wanqi Xue    | xuewanqi@apache.org    | Nanyang Technological University              |
+| Joddiy Zhang | joddiyzhang@apache.org | Shopee                                        |
+
+## Contributors
+
+| Name               | Email                        | Organization                     |
+| ------------------ | ---------------------------- | -------------------------------- |
+| Haibo Chen         | hzchenhaibo@corp.netease.com | NetEase                          |
+| Shicheng Chen      | chengsc@comp.nus.edu.sg      | National University of Singapore |
+| Xin Ji             | vincent.j.xin@gmail.com      | Visenze, Singapore               |
+| Anthony K. H. Tung | atung@comp.nus.edu.sg        | National University of Singapore |
+| Ji Wang            | wangji@mzhtechnologies.com   | Hangzhou MZH Technologies        |
+| Yuan Wang          | wangyuan@corp.netease.com    | NetEase                          |
+| Wenfeng Wu         | dcswuw@gmail.com             | Freelancer, China                |
+| Kaiyuan Yang       | yangky@comp.nus.edu.sg       | National University of Singapore |
+| Chang Yao          | yaochang2009@gmail.com       | Hangzhou MZH Technologies        |
diff --git a/docs-site/docs/wheel-cpu.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-cpu.md
similarity index 78%
copy from docs-site/docs/wheel-cpu.md
copy to docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-cpu.md
index 7952a31..1634607 100644
--- a/docs-site/docs/wheel-cpu.md
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-cpu.md
@@ -1,10 +1,17 @@
 ---
-id: wheel-cpu
+id: version-3.2.0.rc1-wheel-cpu
 title: CPU only
+original_id: wheel-cpu
 ---
 
 <!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
 
+## 3.2.0
+
+- [Python 3.6](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp36-cp36m-manylinux2014_x86_64.whl)
+- [Python 3.7](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp37-cp37m-manylinux2014_x86_64.whl)
+- [Python 3.8](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0-cp38-cp38-manylinux2014_x86_64.whl)
+
 ## 3.1.0
 
 - [Python 3.6](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0-cp36-cp36m-manylinux2014_x86_64.whl)
diff --git a/docs-site/docs/wheel-gpu.md b/docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-gpu.md
similarity index 57%
copy from docs-site/docs/wheel-gpu.md
copy to docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-gpu.md
index bd91c4f..b8686cc 100644
--- a/docs-site/docs/wheel-gpu.md
+++ b/docs-site/website/versioned_docs/version-3.2.0.rc1/wheel-gpu.md
@@ -1,18 +1,22 @@
 ---
-id: wheel-gpu
+id: version-3.2.0.rc1-wheel-gpu
 title: CUDA enabled
+original_id: wheel-gpu
 ---
 
 <!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
 
+## 3.2.0
+
+- [CUDA10.2, cuDNN 7.6.5, Python 3.6](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.7](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.8](https://www.comp.nus.edu.sg/~dbsystem/wheelhouse/singa-3.2.0+cuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
+
 ## 3.1.0
 
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.6]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.7]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
-- [CUDA10.2, cuDNN 7.6.5, Python
-  3.8]https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.6](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp36-cp36m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.7](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp37-cp37m-manylinux2014_x86_64.whl)
+- [CUDA10.2, cuDNN 7.6.5, Python 3.8](https://singa-wheel.s3-ap-southeast-1.amazonaws.com/singa-3.1.0%2Bcuda10.2-cp38-cp38-manylinux2014_x86_64.whl)
 
 ## 3.0.0
 
diff --git a/docs-site/website/versioned_docs/version-3.2.0/releases/RELEASE_NOTES_3.2.0.md b/docs-site/website/versioned_docs/version-3.2.0/releases/RELEASE_NOTES_3.2.0.md
new file mode 100644
index 0000000..767c3ee
--- /dev/null
+++ b/docs-site/website/versioned_docs/version-3.2.0/releases/RELEASE_NOTES_3.2.0.md
@@ -0,0 +1,44 @@
+---
+id: version-3.2.0-RELEASE_NOTES_3.2.0
+title: Apache SINGA-3.2.0 Release Notes
+original_id: RELEASE_NOTES_3.2.0
+---
+
+<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree [...]
+
+SINGA is a distributed deep learning library.
+
+This release includes following changes:
+
+- New examples
+
+  - Add one cifar-10 distributed CNN example for benchmarking the performance of the distributed
+    training.
+  - Add one large CNN example for training with a dataset from the filesysetm.
+
+- Enhance distributed training 
+
+  - Improve the data augmentation module for faster distributed training.
+  - Add device synchronization for more accurate time measurements during the distributed training.
+
+- Add Support for half-precision floating-point format (fp16) in deep learning models and 
+  computational kernels.
+
+- Update new onnx APIs and fix onnx examples accordingly, namely, DenseNet121, ShuffleNetv1, 
+  ShuffleNetv2, SqueezeNet, VGG19.
+
+- Add a new method to resize images by given width and height.
+
+- Use docusaurus versioning to simplify the process of generating the project homepage.
+
+- Promote code quality
+
+  - Unify the formats of docstrings that describe the contents and usage of the module.
+  - Unify the parameters of command-line arguments.
+  
+- Fix bugs
+
+  - Fix the CI build error by downloading the tbb binaries.
+  - Add disabling graph option for accessing parameter or gradient tensors during distributed  
+    training.
+  - Solve the warnings of deprecated functions in the distributed optimizer module.
diff --git a/docs-site/website/versioned_sidebars/version-3.2.0.rc1-sidebars.json b/docs-site/website/versioned_sidebars/version-3.2.0.rc1-sidebars.json
new file mode 100644
index 0000000..0161eb8
--- /dev/null
+++ b/docs-site/website/versioned_sidebars/version-3.2.0.rc1-sidebars.json
@@ -0,0 +1,38 @@
+{
+  "version-3.2.0.rc1-docs": {
+    "Getting Started": [
+      "version-3.2.0.rc1-installation",
+      "version-3.2.0.rc1-software-stack",
+      "version-3.2.0.rc1-examples"
+    ],
+    "Guides": [
+      "version-3.2.0.rc1-device",
+      "version-3.2.0.rc1-tensor",
+      "version-3.2.0.rc1-autograd",
+      "version-3.2.0.rc1-optimizer",
+      "version-3.2.0.rc1-graph",
+      "version-3.2.0.rc1-onnx",
+      "version-3.2.0.rc1-dist-train",
+      "version-3.2.0.rc1-time-profiling",
+      "version-3.2.0.rc1-half-precision"
+    ],
+    "Development": [
+      "version-3.2.0.rc1-downloads",
+      "version-3.2.0.rc1-build",
+      "version-3.2.0.rc1-contribute-code",
+      "version-3.2.0.rc1-contribute-docs",
+      "version-3.2.0.rc1-how-to-release",
+      "version-3.2.0.rc1-git-workflow"
+    ]
+  },
+  "version-3.2.0.rc1-community": {
+    "Community": [
+      "version-3.2.0.rc1-source-repository",
+      "version-3.2.0.rc1-mail-lists",
+      "version-3.2.0.rc1-issue-tracking",
+      "version-3.2.0.rc1-security",
+      "version-3.2.0.rc1-team-list",
+      "version-3.2.0.rc1-history-singa"
+    ]
+  }
+}
diff --git a/docs-site/website/versions.json b/docs-site/website/versions.json
index 1eab5f6..202f2fc 100644
--- a/docs-site/website/versions.json
+++ b/docs-site/website/versions.json
@@ -1,4 +1,6 @@
 [
+  "3.2.0",
+  "3.2.0.rc1",
   "3.1.0",
   "3.0.0",
   "3.0.0.rc1",