singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject svn commit: r1778497 [1/2] - in /incubator/singa/site/trunk/en: ./ _sources/develop/ _sources/docs/ _sources/docs/notebook/ community/ develop/ docs/ docs/examples/ docs/examples/caffe/ docs/examples/char-rnn/ docs/examples/cifar10/ docs/examples/image...
Date Fri, 13 Jan 2017 06:25:40 GMT
Author: wangwei
Date: Fri Jan 13 06:25:39 2017
New Revision: 1778497

URL: http://svn.apache.org/viewvc?rev=1778497&view=rev
Log:
update the docs by jenkins for commit 8dac86c

Modified:
    incubator/singa/site/trunk/en/_sources/develop/contribute-docs.txt
    incubator/singa/site/trunk/en/_sources/docs/installation.txt
    incubator/singa/site/trunk/en/_sources/docs/notebook/README.txt
    incubator/singa/site/trunk/en/community/issue-tracking.html
    incubator/singa/site/trunk/en/community/mail-lists.html
    incubator/singa/site/trunk/en/community/source-repository.html
    incubator/singa/site/trunk/en/community/team-list.html
    incubator/singa/site/trunk/en/develop/contribute-code.html
    incubator/singa/site/trunk/en/develop/contribute-docs.html
    incubator/singa/site/trunk/en/develop/how-contribute.html
    incubator/singa/site/trunk/en/develop/schedule.html
    incubator/singa/site/trunk/en/docs.html
    incubator/singa/site/trunk/en/docs/cnn.html
    incubator/singa/site/trunk/en/docs/converter.html
    incubator/singa/site/trunk/en/docs/data.html
    incubator/singa/site/trunk/en/docs/dependencies.html
    incubator/singa/site/trunk/en/docs/device.html
    incubator/singa/site/trunk/en/docs/examples/caffe/README.html
    incubator/singa/site/trunk/en/docs/examples/char-rnn/README.html
    incubator/singa/site/trunk/en/docs/examples/cifar10/README.html
    incubator/singa/site/trunk/en/docs/examples/imagenet/README.html
    incubator/singa/site/trunk/en/docs/examples/index.html
    incubator/singa/site/trunk/en/docs/examples/mnist/README.html
    incubator/singa/site/trunk/en/docs/image_tool.html
    incubator/singa/site/trunk/en/docs/index.html
    incubator/singa/site/trunk/en/docs/initializer.html
    incubator/singa/site/trunk/en/docs/installation.html
    incubator/singa/site/trunk/en/docs/layer.html
    incubator/singa/site/trunk/en/docs/loss.html
    incubator/singa/site/trunk/en/docs/metric.html
    incubator/singa/site/trunk/en/docs/net.html
    incubator/singa/site/trunk/en/docs/neural-net.html
    incubator/singa/site/trunk/en/docs/notebook/README.html
    incubator/singa/site/trunk/en/docs/optimizer.html
    incubator/singa/site/trunk/en/docs/snapshot.html
    incubator/singa/site/trunk/en/docs/software_stack.html
    incubator/singa/site/trunk/en/docs/tensor.html
    incubator/singa/site/trunk/en/docs/utils.html
    incubator/singa/site/trunk/en/downloads.html
    incubator/singa/site/trunk/en/genindex.html
    incubator/singa/site/trunk/en/index.html
    incubator/singa/site/trunk/en/py-modindex.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.1.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.2.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.3.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_1.0.0.html
    incubator/singa/site/trunk/en/search.html
    incubator/singa/site/trunk/en/searchindex.js

Modified: incubator/singa/site/trunk/en/_sources/develop/contribute-docs.txt
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/develop/contribute-docs.txt?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_sources/develop/contribute-docs.txt (original)
+++ incubator/singa/site/trunk/en/_sources/develop/contribute-docs.txt Fri Jan 13 06:25:39 2017
@@ -1,4 +1,4 @@
-# How to Contribute Documentation
+# How to Contribute to Documentation
 
 
 ## Website

Modified: incubator/singa/site/trunk/en/_sources/docs/installation.txt
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/docs/installation.txt?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_sources/docs/installation.txt (original)
+++ incubator/singa/site/trunk/en/_sources/docs/installation.txt Fri Jan 13 06:25:39 2017
@@ -1,8 +1,9 @@
 # Installation
 
+
 ## Install PySINGA
 
-PySINGA has been tested on Linux (Ubunu 14.04 and 16.04) and Mac OS (10.11).
+PySINGA has been tested on Linux (Ubunu 14.04 and 16.04) and Mac OS (10.11 and 10.12).
 
 ### Install dependent libraries
 
@@ -38,20 +39,25 @@ to avoid the conflicts of system path an
 
 ### From wheel
 
-Currently, we have three versions of wheel files,
+Currently, we have the following wheel files,
 
-    # Ubuntu 14.04 64-bit, CPU only, Python 2.7
-    $ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/ubuntu1404/singa-1.0.0-cp27-none-linux_x86_64.whl
+| OS          | Device  | CUDA/CUDNN | Link |
+|:----        |:------|------|:-------|:--------|
+| Ubuntu14.04|CPU|-|[latest](http://comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux)|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN4|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cuda7.5-cudnn4/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux)|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN5|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cuda7.5-cudnn5/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux)|
+| Ubuntu16.04|CPU|-|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu16.04-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux)|
+| Ubuntu16.04|GPU|CUDA8+CUDNN5|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu16.04-cuda8.0-cudnn5/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux)|
+| MacOSX10.11|CPU|-|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx/latest/macosx10.11-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx)|
+| MacOSX10.12|CPU|-|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx/latest/macosx10.12-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx)|
 
-    # Ubuntu 14.04 64-bit, GPU enabled, Python 2.7, CUDA toolkit 7.5 and CuDNN v5
-    $ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/ubuntu1404/cuda7.5-cudnn5/singa-1.0.0-cp27-none-linux_x86_64.whl
+Download the whl file and execute the following command to install PySINGA,
 
-    # Mac OSX (10.11), CPU only, Python 2.7
-    $ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/pb2.6/singa-1.0.0-cp27-none-macosx_10_11_intel.whl
+    $ pip install --upgrade <path to the whel file>
 
+To install the wheel file compiled with CUDA, you need to install CUDA and export the `LD_LIBRARY_PATH` to CUDNN before running the above instruction.
 
 If you have sudo right, you can run the above commands using `sudo pip install` without python virtual environment.
-You can also download the `.whl` file and run `pip install <the whl file directly>`.
 The option `--upgrade` may cause errors sometimes, in which case you can ignore it.
 
 ### From source
@@ -69,11 +75,11 @@ They can be installed by
     $ sudo apt-get install swig
 
 Note that swig has to be installed from source on Ubuntu 14.04.
-After installing numpy, please export the header path of numpy.i as
+After installing numpy, export the header path of numpy.i as
 
     $ export CPLUS_INCLUDE_PATH=`python -c "import numpy; print numpy.get_include()"`:$CPLUS_INCLUDE_PATH
 
-Please compile SINGA from source (see the next section) with `cmake -DUSE_PYTHON=ON  -DUSE_MODULES=ON ..`,
+**compile SINGA from source** (see the next section) with `cmake -DUSE_PYTHON=ON ..`,
 and then run the following commands,
 
     # under the build directory
@@ -89,9 +95,27 @@ Developers can build the wheel file via
 The generated wheel file is under "dist" directory.
 
 
-## Build SINGA on Linux and Mac OS
+## Install SINGA from Debian Package
+
+We have prepared the Debian packages (on architecture: amd64) for SINGA as listed below,
+
+| OS          | Device  | CUDA/CUDNN | Link |
+|:----        |:------|------|:-------|:--------|
+| Ubuntu14.04|CPU|-|[latest](http://comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/latest/ubuntu14.04-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/)|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN4|coming soon|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN5|coming soon|
+| Ubuntu16.04|CPU|-|[latest](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/latest/ubuntu16.04-cpp/), [history](http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/)|
+| Ubuntu16.04|GPU|CUDA8+CUDNN5|coming soon|
+
+Download the deb file and install it via
+
+    apt-get install <path to the deb file, e.g., ./python-singa.deb>
 
-The source files could be downloaded either as a [tar.gz file](https://dist.apache.org/repos/dist/dev/incubator/singa/1.0.0/apache-singa-incubating-1.0.0-RC2.tar.gz), or as a git repo
+To create the Debian packages, please refer to the README.md file under `SINGA_ROOT/tool/debian`.
+
+## Compile SINGA from source on Linux and Mac OS
+
+The source files could be downloaded either as a [tar.gz file](https://dist.apache.org/repos/dist/dev/incubator/singa/), or as a git repo
 
     $ git clone https://github.com/apache/incubator-singa.git
     $ cd incubator-singa/
@@ -118,9 +142,9 @@ If they are not installed in your OS, yo
 cmake would download OpenBlas and Protobuf (2.6.1) and compile them together
 with SINGA.
 
-### Install dependent libraries and compile SINGA
+### Install dependent libraries and then compile SINGA
 
-Users can also install the dependent libraries and link SINGA with them.
+Users can also install the dependent libraries and then link SINGA with them.
 
 The following libraries are required
 * google protobuf (>=2.5,<3)
@@ -145,7 +169,7 @@ The following instructions are tested on
     $ sudo apt-get install python2.7-dev python-pip python-numpy
     $ sudo apt-get install libopencv-dev libgoogle-glog-dev liblmdb-dev
 
-Please note that PySINGA requires swig >=3.0, which could be installed via
+Note that PySINGA requires swig >=3.0, which could be installed via
 apt-get on Ubuntu 16.04; but it has to be installed from source for other Ubuntu versions including 14.04.
 
 The following instructions are tested on Mac OS X Yosemite (10.10.5) for installing dependent libraries.
@@ -162,12 +186,12 @@ The following instructions are tested on
     $ brew install -vd glog lmdb
 
 By default, openblas is installed into /usr/local/opt/openblas. To let the compiler (and cmake) know the openblas
-path, please export
+path,
 
     $ export CMAKE_INCLUDE_PATH=/usr/local/opt/openblas/include:$CMAKE_INCLUDE_PATH
     $ export CMAKE_LIBRARY_PATH=/usr/local/opt/openblas/lib:$CMAKE_LIBRARY_PATH
 
-To let the runtime know the openblas path, please export
+To let the runtime know the openblas path,
 
     $ export LD_LIBRARY_PATH=/usr/local/opt/openblas/library:$LD_LIBRARY_PATH
 
@@ -196,11 +220,11 @@ the following environment variables
 
 ### Compile SINGA with CUDA and CUDNN
 
-Users are encouraged to install the cuda and
-[cudnn](https://developer.nvidia.com/cudnn) for running SINGA on GPUs to
+Users are encouraged to install the CUDA and
+[CUDNN](https://developer.nvidia.com/cudnn) for running SINGA on GPUs to
 get better performance.
 
-SINGA has been tested over CUDA (7 and 7.5), and CUDNN (4-5.1).  If CUDNN is
+SINGA has been tested over CUDA (7, 7.5, 8), and CUDNN (4 and 5).  If CUDNN is
 decompressed into non-system folder, e.g. /home/bob/local/cudnn/, the following
 commands should be executed for cmake and the runtime to find it
 
@@ -262,26 +286,30 @@ specify a 64-bit version project by:
     $ cmake -G "Visual Studio 14 Win64" -DUSE_CUDA=OFF -DUSE_PYTHON=OFF ..
 
 If you get error outputs like "Could NOT find xxxxx" indicating a dependent
-library missing, please configure your library file and include path for cmake or the system.
+library missing, configure your library file and include path for cmake or the system.
 For example, you get an error "Could NOT find CBLAS" and suppose you installed
 openblas header files at "d:\include" and openblas library at "d:\lib". You should run the
 following command to specify your cblas parameters in cmake:
 
     $ cmake -G "Visual Studio 14" -DUSE_CUDA=OFF -DUSE_PYTHON=OFF -DCBLAS_INCLUDE_DIR="d:\include" -DCBLAS_LIBRARIES="d:\lib\libopenblas.lib" -DProtobuf_INCLUDE_DIR=<include dir of protobuf> -DProtobuf_LIBRARIES=<path to libprotobuf.lib> -DProtobuf_PROTOC_EXECUTABLE=<path to protoc.exe> -DGLOG_INCLUDE_DIR=<include dir of glog> -DGLOG_LIBRARIES=<path to libglog.lib> ..
 
-
 To find out the parameters you need to specify for some special libraries, you
 can run the following command:
 
     $ cmake -LAH
 
-If you use cmake GUI tool in windows, please make sure you configure the right
+If you use cmake GUI tool in windows, make sure you configure the right
 parameters for the singa solution by select "Advanced" box. After generating the VS project,
-please open the "singa.sln" project file under
+open the "singa.sln" project file under
 the "build" folder and compile it as a normal VS solution. You will find the
 unit tests file named "test_singa" in the project binary folder.
 If you get errors when running test_singa.exe due to libglog.dll/libopenblas.dll missing,
-please just copy the dll files into the same folder as test_singa.exe
+just copy the dll files into the same folder as test_singa.exe
+
+## Build the Debian packages
+
+    $ cd debian
+    $ ./build.sh
 
 ## FAQ
 
@@ -292,32 +320,32 @@ please just copy the dll files into the
     steps show the solutions for different cases
     1. Check the cudnn and cuda and gcc versions, cudnn5 and cuda7.5 and gcc4.8/4.9 are preferred. if gcc is 5.0, then downgrade it.
        If cudnn is missing or not match with the wheel version, you can download the correct version of cudnn into ~/local/cudnn/ and
-        ```
-        echo "export LD_LIBRARY_PATH=/home/<yourname>/local/cudnn/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
-        ```
-    2. If it is the problem related to protobuf, then please download the newest whl files which have [compiled protobuf and openblas into the whl](https://issues.apache.org/jira/browse/SINGA-255) file of PySINGA.
+
+            $ echo "export LD_LIBRARY_PATH=/home/<yourname>/local/cudnn/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
+
+    2. If it is the problem related to protobuf, then download the newest whl files which have [compiled protobuf and openblas into the whl](https://issues.apache.org/jira/browse/SINGA-255) file of PySINGA.
        Or you can install protobuf from source into a local folder, say ~/local/;
        Decompress the tar file, and then
-       ```
-       ./configure --prefix=/home/<yourname>local
-       make && make install
-       echo "export LD_LIBRARY_PATH=/home/<yourname>/local/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
-       source ~/.bashrc
-    3. If it cannot find other libs including python, then please create virtual env using pip or conda;
+
+            $ ./configure --prefix=/home/<yourname>local
+            $ make && make install
+            $ echo "export LD_LIBRARY_PATH=/home/<yourname>/local/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
+            $ source ~/.bashrc
+
+    3. If it cannot find other libs including python, then create virtual env using pip or conda;
        and then install SINGA via
-       ```
-       pip install --upgrade <url of singa wheel>
-       ```
+
+            $ pip install --upgrade <url of singa wheel>
 
 
 * Q: Error from running `cmake ..`, which cannot find the dependent libraries.
 
-    A: If you haven't installed the libraries, please install them. If you installed
+    A: If you haven't installed the libraries, install them. If you installed
     the libraries in a folder that is outside of the system folder, e.g. /usr/local,
-    please export the following variables
+    you need to export the following variables
 
-        export CMAKE_INCLUDE_PATH=<path to your header file folder>
-        export CMAKE_LIBRARY_PATH=<path to your lib file folder>
+        $ export CMAKE_INCLUDE_PATH=<path to your header file folder>
+        $ export CMAKE_LIBRARY_PATH=<path to your lib file folder>
 
 
 * Q: Error from `make`, e.g. the linking phase
@@ -325,8 +353,8 @@ please just copy the dll files into the
     A: If your libraries are in other folders than system default paths, you need
     to export the following varaibles
 
-    $ export LIBRARY_PATH=<path to your lib file folder>
-    $ export LD_LIBRARY_PATH=<path to your lib file folder>
+        $ export LIBRARY_PATH=<path to your lib file folder>
+        $ export LD_LIBRARY_PATH=<path to your lib file folder>
 
 
 * Q: Error from header files, e.g. 'cblas.h no such file or directory exists'
@@ -403,3 +431,15 @@ please just copy the dll files into the
     A: Please install numpy and export the path of numpy header files as
 
         $ export CPLUS_INCLUDE_PATH=`python -c "import numpy; print numpy.get_include()"`:$CPLUS_INCLUDE_PATH
+
+* Q: When I run PySINGA in Mac OS X, I got the error "Fatal Python error: PyThreadState_Get: no current thread  Abort trap: 6"
+
+    A: This error happens typically when you have multiple version of Python on your system,
+    e.g, the one comes with the OS and the one installed by Homebrew. The Python linked by PySINGA must be the same as the Python interpreter.
+    You can check your interpreter by `which python` and check the Python linked by PySINGA via `otool -L <path to _singa_wrap.so>`.
+    To fix this error, compile SINGA with the correct version of Python.
+    In particular, if you build PySINGA from source, you need to specify the paths when invoking [cmake](http://stackoverflow.com/questions/15291500/i-have-2-versions-of-python-installed-but-cmake-is-using-older-version-how-do)
+
+        $ cmake -DPYTHON_LIBRARY=`python-config --prefix`/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=`python-config --prefix`/include/python2.7/ ..
+
+    If installed PySINGA from binary packages, e.g. debian or wheel, then you need to change the python interpreter, e.g., reset the $PATH to put the correct path of Python at the front position.

Modified: incubator/singa/site/trunk/en/_sources/docs/notebook/README.txt
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/docs/notebook/README.txt?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_sources/docs/notebook/README.txt (original)
+++ incubator/singa/site/trunk/en/_sources/docs/notebook/README.txt Fri Jan 13 06:25:39 2017
@@ -1,3 +1,3 @@
 These are some examples in IPython notebooks.
 
-You can open them in [notebook viewer](http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/notebook/index.ipynb).
+You can open them in [notebook viewer](http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb).

Modified: incubator/singa/site/trunk/en/community/issue-tracking.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/community/issue-tracking.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/community/issue-tracking.html (original)
+++ incubator/singa/site/trunk/en/community/issue-tracking.html Fri Jan 13 06:25:39 2017
@@ -96,7 +96,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul class="current">

Modified: incubator/singa/site/trunk/en/community/mail-lists.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/community/mail-lists.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/community/mail-lists.html (original)
+++ incubator/singa/site/trunk/en/community/mail-lists.html Fri Jan 13 06:25:39 2017
@@ -96,7 +96,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul class="current">

Modified: incubator/singa/site/trunk/en/community/source-repository.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/community/source-repository.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/community/source-repository.html (original)
+++ incubator/singa/site/trunk/en/community/source-repository.html Fri Jan 13 06:25:39 2017
@@ -33,7 +33,7 @@
   
     <link rel="top" title="incubator-singa 1.0.1 documentation" href="../index.html"/>
         <link rel="next" title="Project Mailing Lists" href="mail-lists.html"/>
-        <link rel="prev" title="How to Contribute Documentation" href="../develop/contribute-docs.html"/>
+        <link rel="prev" title="How to Contribute to Documentation" href="../develop/contribute-docs.html"/>
     <link href="../_static/style.css" rel="stylesheet" type="text/css">
 
 
@@ -96,7 +96,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul class="current">
@@ -184,7 +184,7 @@
         <a href="mail-lists.html" class="btn btn-neutral float-right" title="Project Mailing Lists" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../develop/contribute-docs.html" class="btn btn-neutral" title="How to Contribute Documentation" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="../develop/contribute-docs.html" class="btn btn-neutral" title="How to Contribute to Documentation" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   

Modified: incubator/singa/site/trunk/en/community/team-list.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/community/team-list.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/community/team-list.html (original)
+++ incubator/singa/site/trunk/en/community/team-list.html Fri Jan 13 06:25:39 2017
@@ -95,7 +95,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul class="current">

Modified: incubator/singa/site/trunk/en/develop/contribute-code.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/develop/contribute-code.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/develop/contribute-code.html (original)
+++ incubator/singa/site/trunk/en/develop/contribute-code.html Fri Jan 13 06:25:39 2017
@@ -32,7 +32,7 @@
 
   
     <link rel="top" title="incubator-singa 1.0.1 documentation" href="../index.html"/>
-        <link rel="next" title="How to Contribute Documentation" href="contribute-docs.html"/>
+        <link rel="next" title="How to Contribute to Documentation" href="contribute-docs.html"/>
         <link rel="prev" title="How to Contribute to SINGA" href="how-contribute.html"/>
     <link href="../_static/style.css" rel="stylesheet" type="text/css">
 
@@ -101,7 +101,7 @@
 <li class="toctree-l2"><a class="reference internal" href="#pull-request">Pull Request</a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>
@@ -216,7 +216,7 @@ will be automatically updated. For detai
   
     <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
       
-        <a href="contribute-docs.html" class="btn btn-neutral float-right" title="How to Contribute Documentation" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
+        <a href="contribute-docs.html" class="btn btn-neutral float-right" title="How to Contribute to Documentation" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
       
       
         <a href="how-contribute.html" class="btn btn-neutral" title="How to Contribute to SINGA" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>

Modified: incubator/singa/site/trunk/en/develop/contribute-docs.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/develop/contribute-docs.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/develop/contribute-docs.html (original)
+++ incubator/singa/site/trunk/en/develop/contribute-docs.html Fri Jan 13 06:25:39 2017
@@ -9,7 +9,7 @@
   
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
-  <title>How to Contribute Documentation &mdash; incubator-singa 1.0.1 documentation</title>
+  <title>How to Contribute to Documentation &mdash; incubator-singa 1.0.1 documentation</title>
   
 
   
@@ -96,7 +96,7 @@
 <li class="toctree-l1"><a class="reference internal" href="schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1 current"><a class="current reference internal" href="">How to Contribute Documentation</a><ul>
+<li class="toctree-l1 current"><a class="current reference internal" href="">How to Contribute to Documentation</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="#website">Website</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#cpp-api">CPP API</a></li>
 </ul>
@@ -138,7 +138,7 @@
   <ul class="wy-breadcrumbs">
     <li><a href="../index.html">Docs</a> &raquo;</li>
       
-    <li>How to Contribute Documentation</li>
+    <li>How to Contribute to Documentation</li>
       <li class="wy-breadcrumbs-aside">
         
           
@@ -150,8 +150,8 @@
           <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
            <div itemprop="articleBody">
             
-  <div class="section" id="how-to-contribute-documentation">
-<span id="how-to-contribute-documentation"></span><h1>How to Contribute Documentation<a class="headerlink" href="#how-to-contribute-documentation" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="how-to-contribute-to-documentation">
+<span id="how-to-contribute-to-documentation"></span><h1>How to Contribute to Documentation<a class="headerlink" href="#how-to-contribute-to-documentation" title="Permalink to this headline">¶</a></h1>
 <div class="section" id="website">
 <span id="website"></span><h2>Website<a class="headerlink" href="#website" title="Permalink to this headline">¶</a></h2>
 <p>This document gives step-by-step instructions for deploying <a class="reference external" href="http://singa.incubator.apache.org">Singa website</a>.</p>

Modified: incubator/singa/site/trunk/en/develop/how-contribute.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/develop/how-contribute.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/develop/how-contribute.html (original)
+++ incubator/singa/site/trunk/en/develop/how-contribute.html Fri Jan 13 06:25:39 2017
@@ -96,7 +96,7 @@
 <li class="toctree-l1"><a class="reference internal" href="schedule.html">Development Schedule</a></li>
 <li class="toctree-l1 current"><a class="current reference internal" href="">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/develop/schedule.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/develop/schedule.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/develop/schedule.html (original)
+++ incubator/singa/site/trunk/en/develop/schedule.html Fri Jan 13 06:25:39 2017
@@ -96,7 +96,7 @@
 <li class="toctree-l1 current"><a class="current reference internal" href="">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs.html (original)
+++ incubator/singa/site/trunk/en/docs.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>
@@ -157,14 +157,16 @@
 <li class="toctree-l4"><a class="reference internal" href="docs/installation.html#from-source">From source</a></li>
 </ul>
 </li>
-<li class="toctree-l3"><a class="reference internal" href="docs/installation.html#build-singa-on-linux-and-mac-os">Build SINGA on Linux and Mac OS</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="docs/installation.html#install-singa-from-debian-package">Install SINGA from Debian Package</a></li>
+<li class="toctree-l3"><a class="reference internal" href="docs/installation.html#compile-singa-from-source-on-linux-and-mac-os">Compile SINGA from source on Linux and Mac OS</a><ul>
 <li class="toctree-l4"><a class="reference internal" href="docs/installation.html#compile-singa-together-with-dependent-libraries">Compile SINGA together with dependent libraries</a></li>
-<li class="toctree-l4"><a class="reference internal" href="docs/installation.html#install-dependent-libraries-and-compile-singa">Install dependent libraries and compile SINGA</a></li>
+<li class="toctree-l4"><a class="reference internal" href="docs/installation.html#install-dependent-libraries-and-then-compile-singa">Install dependent libraries and then compile SINGA</a></li>
 <li class="toctree-l4"><a class="reference internal" href="docs/installation.html#compile-singa-with-cuda-and-cudnn">Compile SINGA with CUDA and CUDNN</a></li>
 <li class="toctree-l4"><a class="reference internal" href="docs/installation.html#compile-singa-with-opencl-support-linux">Compile SINGA with OpenCL support (Linux)</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="docs/installation.html#build-singa-on-windows">Build SINGA on Windows</a></li>
+<li class="toctree-l3"><a class="reference internal" href="docs/installation.html#build-the-debian-packages">Build the Debian packages</a></li>
 <li class="toctree-l3"><a class="reference internal" href="docs/installation.html#faq">FAQ</a></li>
 </ul>
 </li>

Modified: incubator/singa/site/trunk/en/docs/cnn.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/cnn.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/cnn.html (original)
+++ incubator/singa/site/trunk/en/docs/cnn.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/converter.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/converter.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/converter.html (original)
+++ incubator/singa/site/trunk/en/docs/converter.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/data.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/data.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/data.html (original)
+++ incubator/singa/site/trunk/en/docs/data.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/dependencies.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/dependencies.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/dependencies.html (original)
+++ incubator/singa/site/trunk/en/docs/dependencies.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/device.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/device.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/device.html (original)
+++ incubator/singa/site/trunk/en/docs/device.html Fri Jan 13 06:25:39 2017
@@ -120,7 +120,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/caffe/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/caffe/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/caffe/README.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/caffe/README.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/char-rnn/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/char-rnn/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/char-rnn/README.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/char-rnn/README.html Fri Jan 13 06:25:39 2017
@@ -123,7 +123,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/cifar10/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/cifar10/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/cifar10/README.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/cifar10/README.html Fri Jan 13 06:25:39 2017
@@ -123,7 +123,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/imagenet/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/imagenet/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/imagenet/README.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/imagenet/README.html Fri Jan 13 06:25:39 2017
@@ -123,7 +123,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/index.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/index.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/index.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/index.html Fri Jan 13 06:25:39 2017
@@ -120,7 +120,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/examples/mnist/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/examples/mnist/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/examples/mnist/README.html (original)
+++ incubator/singa/site/trunk/en/docs/examples/mnist/README.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/image_tool.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/image_tool.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/image_tool.html (original)
+++ incubator/singa/site/trunk/en/docs/image_tool.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/index.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/index.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/index.html (original)
+++ incubator/singa/site/trunk/en/docs/index.html Fri Jan 13 06:25:39 2017
@@ -114,7 +114,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>
@@ -176,14 +176,16 @@
 <li class="toctree-l3"><a class="reference internal" href="installation.html#from-source">From source</a></li>
 </ul>
 </li>
-<li class="toctree-l2"><a class="reference internal" href="installation.html#build-singa-on-linux-and-mac-os">Build SINGA on Linux and Mac OS</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="installation.html#install-singa-from-debian-package">Install SINGA from Debian Package</a></li>
+<li class="toctree-l2"><a class="reference internal" href="installation.html#compile-singa-from-source-on-linux-and-mac-os">Compile SINGA from source on Linux and Mac OS</a><ul>
 <li class="toctree-l3"><a class="reference internal" href="installation.html#compile-singa-together-with-dependent-libraries">Compile SINGA together with dependent libraries</a></li>
-<li class="toctree-l3"><a class="reference internal" href="installation.html#install-dependent-libraries-and-compile-singa">Install dependent libraries and compile SINGA</a></li>
+<li class="toctree-l3"><a class="reference internal" href="installation.html#install-dependent-libraries-and-then-compile-singa">Install dependent libraries and then compile SINGA</a></li>
 <li class="toctree-l3"><a class="reference internal" href="installation.html#compile-singa-with-cuda-and-cudnn">Compile SINGA with CUDA and CUDNN</a></li>
 <li class="toctree-l3"><a class="reference internal" href="installation.html#compile-singa-with-opencl-support-linux">Compile SINGA with OpenCL support (Linux)</a></li>
 </ul>
 </li>
 <li class="toctree-l2"><a class="reference internal" href="installation.html#build-singa-on-windows">Build SINGA on Windows</a></li>
+<li class="toctree-l2"><a class="reference internal" href="installation.html#build-the-debian-packages">Build the Debian packages</a></li>
 <li class="toctree-l2"><a class="reference internal" href="installation.html#faq">FAQ</a></li>
 </ul>
 </li>

Modified: incubator/singa/site/trunk/en/docs/initializer.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/initializer.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/initializer.html (original)
+++ incubator/singa/site/trunk/en/docs/initializer.html Fri Jan 13 06:25:39 2017
@@ -119,7 +119,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/installation.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/installation.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/installation.html (original)
+++ incubator/singa/site/trunk/en/docs/installation.html Fri Jan 13 06:25:39 2017
@@ -99,14 +99,16 @@
 <li class="toctree-l4"><a class="reference internal" href="#from-source">From source</a></li>
 </ul>
 </li>
-<li class="toctree-l3"><a class="reference internal" href="#build-singa-on-linux-and-mac-os">Build SINGA on Linux and Mac OS</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#install-singa-from-debian-package">Install SINGA from Debian Package</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#compile-singa-from-source-on-linux-and-mac-os">Compile SINGA from source on Linux and Mac OS</a><ul>
 <li class="toctree-l4"><a class="reference internal" href="#compile-singa-together-with-dependent-libraries">Compile SINGA together with dependent libraries</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#install-dependent-libraries-and-compile-singa">Install dependent libraries and compile SINGA</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#install-dependent-libraries-and-then-compile-singa">Install dependent libraries and then compile SINGA</a></li>
 <li class="toctree-l4"><a class="reference internal" href="#compile-singa-with-cuda-and-cudnn">Compile SINGA with CUDA and CUDNN</a></li>
 <li class="toctree-l4"><a class="reference internal" href="#compile-singa-with-opencl-support-linux">Compile SINGA with OpenCL support (Linux)</a></li>
 </ul>
 </li>
 <li class="toctree-l3"><a class="reference internal" href="#build-singa-on-windows">Build SINGA on Windows</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#build-the-debian-packages">Build the Debian packages</a></li>
 <li class="toctree-l3"><a class="reference internal" href="#faq">FAQ</a></li>
 </ul>
 </li>
@@ -133,7 +135,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>
@@ -189,7 +191,7 @@
 <span id="installation"></span><h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
 <div class="section" id="install-pysinga">
 <span id="install-pysinga"></span><h2>Install PySINGA<a class="headerlink" href="#install-pysinga" title="Permalink to this headline">¶</a></h2>
-<p>PySINGA has been tested on Linux (Ubunu 14.04 and 16.04) and Mac OS (10.11).</p>
+<p>PySINGA has been tested on Linux (Ubunu 14.04 and 16.04) and Mac OS (10.11 and 10.12).</p>
 <div class="section" id="install-dependent-libraries">
 <span id="install-dependent-libraries"></span><h3>Install dependent libraries<a class="headerlink" href="#install-dependent-libraries" title="Permalink to this headline">¶</a></h3>
 <p>Python 2.7 is required to run PySINGA.</p>
@@ -222,19 +224,22 @@ to avoid the conflicts of system path an
 </div>
 <div class="section" id="from-wheel">
 <span id="from-wheel"></span><h3>From wheel<a class="headerlink" href="#from-wheel" title="Permalink to this headline">¶</a></h3>
-<p>Currently, we have three versions of wheel files,</p>
-<div class="highlight-python"><div class="highlight"><pre># Ubuntu 14.04 64-bit, CPU only, Python 2.7
-$ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/ubuntu1404/singa-1.0.0-cp27-none-linux_x86_64.whl
-
-# Ubuntu 14.04 64-bit, GPU enabled, Python 2.7, CUDA toolkit 7.5 and CuDNN v5
-$ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/ubuntu1404/cuda7.5-cudnn5/singa-1.0.0-cp27-none-linux_x86_64.whl
-
-# Mac OSX (10.11), CPU only, Python 2.7
-$ pip install --upgrade http://comp.nus.edu.sg/~dbsystem/singa/assets/file/pb2.6/singa-1.0.0-cp27-none-macosx_10_11_intel.whl
+<p>Currently, we have the following wheel files,</p>
+<p>| OS          | Device  | CUDA/CUDNN | Link |
+|:&#8212;-        |:&#8212;&#8212;|&#8212;&#8212;|:&#8212;&#8212;-|:&#8212;&#8212;&#8211;|
+| Ubuntu14.04|CPU|-|<a class="reference external" href="http://comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux">history</a>|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN4|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cuda7.5-cudnn4/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux">history</a>|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN5|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu14.04-cuda7.5-cudnn5/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux">history</a>|
+| Ubuntu16.04|CPU|-|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu16.04-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux">history</a>|
+| Ubuntu16.04|GPU|CUDA8+CUDNN5|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux/latest/ubuntu16.04-cuda8.0-cudnn5/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/linux">history</a>|
+| MacOSX10.11|CPU|-|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx/latest/macosx10.11-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx">history</a>|
+| MacOSX10.12|CPU|-|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx/latest/macosx10.12-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/wheel/macosx">history</a>|</p>
+<p>Download the whl file and execute the following command to install PySINGA,</p>
+<div class="highlight-python"><div class="highlight"><pre>$ pip install --upgrade &lt;path to the whel file&gt;
 </pre></div>
 </div>
+<p>To install the wheel file compiled with CUDA, you need to install CUDA and export the <code class="docutils literal"><span class="pre">LD_LIBRARY_PATH</span></code> to CUDNN before running the above instruction.</p>
 <p>If you have sudo right, you can run the above commands using <code class="docutils literal"><span class="pre">sudo</span> <span class="pre">pip</span> <span class="pre">install</span></code> without python virtual environment.
-You can also download the <code class="docutils literal"><span class="pre">.whl</span></code> file and run <code class="docutils literal"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">&lt;the</span> <span class="pre">whl</span> <span class="pre">file</span> <span class="pre">directly&gt;</span></code>.
 The option <code class="docutils literal"><span class="pre">--upgrade</span></code> may cause errors sometimes, in which case you can ignore it.</p>
 </div>
 <div class="section" id="from-source">
@@ -252,11 +257,11 @@ $ sudo apt-get install swig
 </pre></div>
 </div>
 <p>Note that swig has to be installed from source on Ubuntu 14.04.
-After installing numpy, please export the header path of numpy.i as</p>
+After installing numpy, export the header path of numpy.i as</p>
 <div class="highlight-python"><div class="highlight"><pre>$ export CPLUS_INCLUDE_PATH=`python -c &quot;import numpy; print numpy.get_include()&quot;`:$CPLUS_INCLUDE_PATH
 </pre></div>
 </div>
-<p>Please compile SINGA from source (see the next section) with <code class="docutils literal"><span class="pre">cmake</span> <span class="pre">-DUSE_PYTHON=ON</span> <span class="pre">-DUSE_MODULES=ON</span> <span class="pre">..</span></code>,
+<p><strong>compile SINGA from source</strong> (see the next section) with <code class="docutils literal"><span class="pre">cmake</span> <span class="pre">-DUSE_PYTHON=ON</span> <span class="pre">..</span></code>,
 and then run the following commands,</p>
 <div class="highlight-python"><div class="highlight"><pre># under the build directory
 $ cd python
@@ -272,9 +277,25 @@ $ python setup.py bdist_wheel
 <p>The generated wheel file is under &#8220;dist&#8221; directory.</p>
 </div>
 </div>
-<div class="section" id="build-singa-on-linux-and-mac-os">
-<span id="build-singa-on-linux-and-mac-os"></span><h2>Build SINGA on Linux and Mac OS<a class="headerlink" href="#build-singa-on-linux-and-mac-os" title="Permalink to this headline">¶</a></h2>
-<p>The source files could be downloaded either as a <a class="reference external" href="https://dist.apache.org/repos/dist/dev/incubator/singa/1.0.0/apache-singa-incubating-1.0.0-RC2.tar.gz">tar.gz file</a>, or as a git repo</p>
+<div class="section" id="install-singa-from-debian-package">
+<span id="install-singa-from-debian-package"></span><h2>Install SINGA from Debian Package<a class="headerlink" href="#install-singa-from-debian-package" title="Permalink to this headline">¶</a></h2>
+<p>We have prepared the Debian packages (on architecture: amd64) for SINGA as listed below,</p>
+<p>| OS          | Device  | CUDA/CUDNN | Link |
+|:&#8212;-        |:&#8212;&#8212;|&#8212;&#8212;|:&#8212;&#8212;-|:&#8212;&#8212;&#8211;|
+| Ubuntu14.04|CPU|-|<a class="reference external" href="http://comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/latest/ubuntu14.04-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/">history</a>|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN4|coming soon|
+| Ubuntu14.04|GPU|CUDA7.5+CUDNN5|coming soon|
+| Ubuntu16.04|CPU|-|<a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/latest/ubuntu16.04-cpp/">latest</a>, <a class="reference external" href="http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/debian/">history</a>|
+| Ubuntu16.04|GPU|CUDA8+CUDNN5|coming soon|</p>
+<p>Download the deb file and install it via</p>
+<div class="highlight-python"><div class="highlight"><pre>apt-get install &lt;path to the deb file, e.g., ./python-singa.deb&gt;
+</pre></div>
+</div>
+<p>To create the Debian packages, please refer to the README.md file under <code class="docutils literal"><span class="pre">SINGA_ROOT/tool/debian</span></code>.</p>
+</div>
+<div class="section" id="compile-singa-from-source-on-linux-and-mac-os">
+<span id="compile-singa-from-source-on-linux-and-mac-os"></span><h2>Compile SINGA from source on Linux and Mac OS<a class="headerlink" href="#compile-singa-from-source-on-linux-and-mac-os" title="Permalink to this headline">¶</a></h2>
+<p>The source files could be downloaded either as a <a class="reference external" href="https://dist.apache.org/repos/dist/dev/incubator/singa/">tar.gz file</a>, or as a git repo</p>
 <div class="highlight-python"><div class="highlight"><pre>$ git clone https://github.com/apache/incubator-singa.git
 $ cd incubator-singa/
 </pre></div>
@@ -300,9 +321,9 @@ $ make
 <p>cmake would download OpenBlas and Protobuf (2.6.1) and compile them together
 with SINGA.</p>
 </div>
-<div class="section" id="install-dependent-libraries-and-compile-singa">
-<span id="install-dependent-libraries-and-compile-singa"></span><h3>Install dependent libraries and compile SINGA<a class="headerlink" href="#install-dependent-libraries-and-compile-singa" title="Permalink to this headline">¶</a></h3>
-<p>Users can also install the dependent libraries and link SINGA with them.</p>
+<div class="section" id="install-dependent-libraries-and-then-compile-singa">
+<span id="install-dependent-libraries-and-then-compile-singa"></span><h3>Install dependent libraries and then compile SINGA<a class="headerlink" href="#install-dependent-libraries-and-then-compile-singa" title="Permalink to this headline">¶</a></h3>
+<p>Users can also install the dependent libraries and then link SINGA with them.</p>
 <p>The following libraries are required</p>
 <ul class="simple">
 <li>google protobuf (&gt;=2.5,&lt;3)</li>
@@ -325,7 +346,7 @@ $ sudo apt-get install python2.7-dev pyt
 $ sudo apt-get install libopencv-dev libgoogle-glog-dev liblmdb-dev
 </pre></div>
 </div>
-<p>Please note that PySINGA requires swig &gt;=3.0, which could be installed via
+<p>Note that PySINGA requires swig &gt;=3.0, which could be installed via
 apt-get on Ubuntu 16.04; but it has to be installed from source for other Ubuntu versions including 14.04.</p>
 <p>The following instructions are tested on Mac OS X Yosemite (10.10.5) for installing dependent libraries.</p>
 <div class="highlight-python"><div class="highlight"><pre># required libraries
@@ -341,12 +362,12 @@ $ brew install -vd glog lmdb
 </pre></div>
 </div>
 <p>By default, openblas is installed into /usr/local/opt/openblas. To let the compiler (and cmake) know the openblas
-path, please export</p>
+path,</p>
 <div class="highlight-python"><div class="highlight"><pre>$ export CMAKE_INCLUDE_PATH=/usr/local/opt/openblas/include:$CMAKE_INCLUDE_PATH
 $ export CMAKE_LIBRARY_PATH=/usr/local/opt/openblas/lib:$CMAKE_LIBRARY_PATH
 </pre></div>
 </div>
-<p>To let the runtime know the openblas path, please export</p>
+<p>To let the runtime know the openblas path,</p>
 <div class="highlight-python"><div class="highlight"><pre>$ export LD_LIBRARY_PATH=/usr/local/opt/openblas/library:$LD_LIBRARY_PATH
 </pre></div>
 </div>
@@ -374,10 +395,10 @@ export CMAKE_LIBRARY_PATH=&lt;path to th
 </div>
 <div class="section" id="compile-singa-with-cuda-and-cudnn">
 <span id="compile-singa-with-cuda-and-cudnn"></span><h3>Compile SINGA with CUDA and CUDNN<a class="headerlink" href="#compile-singa-with-cuda-and-cudnn" title="Permalink to this headline">¶</a></h3>
-<p>Users are encouraged to install the cuda and
-<a class="reference external" href="https://developer.nvidia.com/cudnn">cudnn</a> for running SINGA on GPUs to
+<p>Users are encouraged to install the CUDA and
+<a class="reference external" href="https://developer.nvidia.com/cudnn">CUDNN</a> for running SINGA on GPUs to
 get better performance.</p>
-<p>SINGA has been tested over CUDA (7 and 7.5), and CUDNN (4-5.1).  If CUDNN is
+<p>SINGA has been tested over CUDA (7, 7.5, 8), and CUDNN (4 and 5).  If CUDNN is
 decompressed into non-system folder, e.g. /home/bob/local/cudnn/, the following
 commands should be executed for cmake and the runtime to find it</p>
 <div class="highlight-python"><div class="highlight"><pre>$ export CMAKE_INCLUDE_PATH=/home/bob/local/cudnn/include:$CMAKE_INCLUDE_PATH
@@ -437,7 +458,7 @@ $ cmake -G &quot;Visual Studio 14 Win64&
 </pre></div>
 </div>
 <p>If you get error outputs like &#8220;Could NOT find xxxxx&#8221; indicating a dependent
-library missing, please configure your library file and include path for cmake or the system.
+library missing, configure your library file and include path for cmake or the system.
 For example, you get an error &#8220;Could NOT find CBLAS&#8221; and suppose you installed
 openblas header files at &#8220;d:\include&#8221; and openblas library at &#8220;d:\lib&#8221;. You should run the
 following command to specify your cblas parameters in cmake:</p>
@@ -449,13 +470,20 @@ can run the following command:</p>
 <div class="highlight-python"><div class="highlight"><pre>$ cmake -LAH
 </pre></div>
 </div>
-<p>If you use cmake GUI tool in windows, please make sure you configure the right
+<p>If you use cmake GUI tool in windows, make sure you configure the right
 parameters for the singa solution by select &#8220;Advanced&#8221; box. After generating the VS project,
-please open the &#8220;singa.sln&#8221; project file under
+open the &#8220;singa.sln&#8221; project file under
 the &#8220;build&#8221; folder and compile it as a normal VS solution. You will find the
 unit tests file named &#8220;test_singa&#8221; in the project binary folder.
 If you get errors when running test_singa.exe due to libglog.dll/libopenblas.dll missing,
-please just copy the dll files into the same folder as test_singa.exe</p>
+just copy the dll files into the same folder as test_singa.exe</p>
+</div>
+<div class="section" id="build-the-debian-packages">
+<span id="build-the-debian-packages"></span><h2>Build the Debian packages<a class="headerlink" href="#build-the-debian-packages" title="Permalink to this headline">¶</a></h2>
+<div class="highlight-python"><div class="highlight"><pre>$ cd debian
+$ ./build.sh
+</pre></div>
+</div>
 </div>
 <div class="section" id="faq">
 <span id="faq"></span><h2>FAQ<a class="headerlink" href="#faq" title="Permalink to this headline">¶</a></h2>
@@ -467,23 +495,23 @@ steps show the solutions for different c
 <ol>
 <li><p class="first">Check the cudnn and cuda and gcc versions, cudnn5 and cuda7.5 and gcc4.8/4.9 are preferred. if gcc is 5.0, then downgrade it.
 If cudnn is missing or not match with the wheel version, you can download the correct version of cudnn into ~/local/cudnn/ and</p>
-<div class="highlight-python"><div class="highlight"><pre>echo &quot;export LD_LIBRARY_PATH=/home/&lt;yourname&gt;/local/cudnn/lib64:$LD_LIBRARY_PATH&quot; &gt;&gt; ~/.bashrc
+<div class="highlight-python"><div class="highlight"><pre> $ echo &quot;export LD_LIBRARY_PATH=/home/&lt;yourname&gt;/local/cudnn/lib64:$LD_LIBRARY_PATH&quot; &gt;&gt; ~/.bashrc
 </pre></div>
 </div>
 </li>
-<li><p class="first">If it is the problem related to protobuf, then please download the newest whl files which have <a class="reference external" href="https://issues.apache.org/jira/browse/SINGA-255">compiled protobuf and openblas into the whl</a> file of PySINGA.
+<li><p class="first">If it is the problem related to protobuf, then download the newest whl files which have <a class="reference external" href="https://issues.apache.org/jira/browse/SINGA-255">compiled protobuf and openblas into the whl</a> file of PySINGA.
 Or you can install protobuf from source into a local folder, say ~/local/;
 Decompress the tar file, and then</p>
-<div class="highlight-python"><div class="highlight"><pre>./configure --prefix=/home/&lt;yourname&gt;local
-make &amp;&amp; make install
-echo &quot;export LD_LIBRARY_PATH=/home/&lt;yourname&gt;/local/lib:$LD_LIBRARY_PATH&quot; &gt;&gt; ~/.bashrc
-source ~/.bashrc
+<div class="highlight-python"><div class="highlight"><pre> $ ./configure --prefix=/home/&lt;yourname&gt;local
+ $ make &amp;&amp; make install
+ $ echo &quot;export LD_LIBRARY_PATH=/home/&lt;yourname&gt;/local/lib:$LD_LIBRARY_PATH&quot; &gt;&gt; ~/.bashrc
+ $ source ~/.bashrc
 </pre></div>
 </div>
 </li>
-<li><p class="first">If it cannot find other libs including python, then please create virtual env using pip or conda;
+<li><p class="first">If it cannot find other libs including python, then create virtual env using pip or conda;
 and then install SINGA via</p>
-<div class="highlight-python"><div class="highlight"><pre>pip install --upgrade &lt;url of singa wheel&gt;
+<div class="highlight-python"><div class="highlight"><pre> $ pip install --upgrade &lt;url of singa wheel&gt;
 </pre></div>
 </div>
 </li>
@@ -492,11 +520,11 @@ and then install SINGA via</p>
 </ul>
 <ul>
 <li><p class="first">Q: Error from running <code class="docutils literal"><span class="pre">cmake</span> <span class="pre">..</span></code>, which cannot find the dependent libraries.</p>
-<p>A: If you haven&#8217;t installed the libraries, please install them. If you installed
+<p>A: If you haven&#8217;t installed the libraries, install them. If you installed
 the libraries in a folder that is outside of the system folder, e.g. /usr/local,
-please export the following variables</p>
-<div class="highlight-python"><div class="highlight"><pre>  export CMAKE_INCLUDE_PATH=&lt;path to your header file folder&gt;
-  export CMAKE_LIBRARY_PATH=&lt;path to your lib file folder&gt;
+you need to export the following variables</p>
+<div class="highlight-python"><div class="highlight"><pre>  $ export CMAKE_INCLUDE_PATH=&lt;path to your header file folder&gt;
+  $ export CMAKE_LIBRARY_PATH=&lt;path to your lib file folder&gt;
 </pre></div>
 </div>
 </li>
@@ -505,8 +533,10 @@ please export the following variables</p
 <li><p class="first">Q: Error from <code class="docutils literal"><span class="pre">make</span></code>, e.g. the linking phase</p>
 <p>A: If your libraries are in other folders than system default paths, you need
 to export the following varaibles</p>
-<p>$ export LIBRARY_PATH=<path to your lib file folder>
-$ export LD_LIBRARY_PATH=<path to your lib file folder></p>
+<div class="highlight-python"><div class="highlight"><pre>  $ export LIBRARY_PATH=&lt;path to your lib file folder&gt;
+  $ export LD_LIBRARY_PATH=&lt;path to your lib file folder&gt;
+</pre></div>
+</div>
 </li>
 </ul>
 <ul>
@@ -583,6 +613,17 @@ the virtual environment.</p>
 </pre></div>
 </div>
 </li>
+<li><p class="first">Q: When I run PySINGA in Mac OS X, I got the error &#8220;Fatal Python error: PyThreadState_Get: no current thread  Abort trap: 6&#8221;</p>
+<p>A: This error happens typically when you have multiple version of Python on your system,
+e.g, the one comes with the OS and the one installed by Homebrew. The Python linked by PySINGA must be the same as the Python interpreter.
+You can check your interpreter by <code class="docutils literal"><span class="pre">which</span> <span class="pre">python</span></code> and check the Python linked by PySINGA via <code class="docutils literal"><span class="pre">otool</span> <span class="pre">-L</span> <span class="pre">&lt;path</span> <span class="pre">to</span> <span class="pre">_singa_wrap.so&gt;</span></code>.
+To fix this error, compile SINGA with the correct version of Python.
+In particular, if you build PySINGA from source, you need to specify the paths when invoking <a class="reference external" href="http://stackoverflow.com/questions/15291500/i-have-2-versions-of-python-installed-but-cmake-is-using-older-version-how-do">cmake</a></p>
+<div class="highlight-python"><div class="highlight"><pre>  $ cmake -DPYTHON_LIBRARY=`python-config --prefix`/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=`python-config --prefix`/include/python2.7/ ..
+</pre></div>
+</div>
+<p>If installed PySINGA from binary packages, e.g. debian or wheel, then you need to change the python interpreter, e.g., reset the $PATH to put the correct path of Python at the front position.</p>
+</li>
 </ul>
 </div>
 </div>

Modified: incubator/singa/site/trunk/en/docs/layer.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/layer.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/layer.html (original)
+++ incubator/singa/site/trunk/en/docs/layer.html Fri Jan 13 06:25:39 2017
@@ -119,7 +119,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/loss.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/loss.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/loss.html (original)
+++ incubator/singa/site/trunk/en/docs/loss.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/metric.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/metric.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/metric.html (original)
+++ incubator/singa/site/trunk/en/docs/metric.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/net.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/net.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/net.html (original)
+++ incubator/singa/site/trunk/en/docs/net.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/neural-net.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/neural-net.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/neural-net.html (original)
+++ incubator/singa/site/trunk/en/docs/neural-net.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/notebook/README.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/notebook/README.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/notebook/README.html (original)
+++ incubator/singa/site/trunk/en/docs/notebook/README.html Fri Jan 13 06:25:39 2017
@@ -94,7 +94,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>
@@ -145,7 +145,7 @@
            <div itemprop="articleBody">
             
   <p>These are some examples in IPython notebooks.</p>
-<p>You can open them in <a class="reference external" href="http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/notebook/index.ipynb">notebook viewer</a>.</p>
+<p>You can open them in <a class="reference external" href="http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb">notebook viewer</a>.</p>
 
 
            </div>

Modified: incubator/singa/site/trunk/en/docs/optimizer.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/optimizer.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/optimizer.html (original)
+++ incubator/singa/site/trunk/en/docs/optimizer.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/snapshot.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/snapshot.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/snapshot.html (original)
+++ incubator/singa/site/trunk/en/docs/snapshot.html Fri Jan 13 06:25:39 2017
@@ -115,7 +115,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/software_stack.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/software_stack.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/software_stack.html (original)
+++ incubator/singa/site/trunk/en/docs/software_stack.html Fri Jan 13 06:25:39 2017
@@ -120,7 +120,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>

Modified: incubator/singa/site/trunk/en/docs/tensor.html
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/tensor.html?rev=1778497&r1=1778496&r2=1778497&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/tensor.html (original)
+++ incubator/singa/site/trunk/en/docs/tensor.html Fri Jan 13 06:25:39 2017
@@ -120,7 +120,7 @@
 <li class="toctree-l1"><a class="reference internal" href="../develop/schedule.html">Development Schedule</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/how-contribute.html">How to Contribute to SINGA</a></li>
 <li class="toctree-l1"><a class="reference internal" href="../develop/contribute-code.html">How to Contribute Code</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute Documentation</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../develop/contribute-docs.html">How to Contribute to Documentation</a></li>
 </ul>
 <p class="caption"><span class="caption-text">Community</span></p>
 <ul>



Mime
View raw message