[jira] [Commented] (SINGA-483) fix dummy bugs

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908668#comment-16908668
 ] 

ASF subversion and git services commented on SINGA-483:
---

Commit b17931e7cda660b695aa65f9ed47fca74e79f737 in incubator-singa's branch 
refs/heads/master from Wei Wang
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b17931e ]

Merge pull request #521 from joddiy/SINGA-483

SINGA-483

> fix dummy bugs
> --
>
> Key: SINGA-483
> URL: https://issues.apache.org/jira/browse/SINGA-483
> Project: Singa
>  Issue Type: New Feature
>Reporter: zhangzhaoqi
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is a but at autograd dummy operator. It should call __getattribute__ 
> function to get tensor's attribute, not directly use the name. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SINGA-483) fix dummy bugs

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908667#comment-16908667
 ] 

ASF subversion and git services commented on SINGA-483:
---

Commit b17931e7cda660b695aa65f9ed47fca74e79f737 in incubator-singa's branch 
refs/heads/master from Wei Wang
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b17931e ]

Merge pull request #521 from joddiy/SINGA-483

SINGA-483

> fix dummy bugs
> --
>
> Key: SINGA-483
> URL: https://issues.apache.org/jira/browse/SINGA-483
> Project: Singa
>  Issue Type: New Feature
>Reporter: zhangzhaoqi
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is a but at autograd dummy operator. It should call __getattribute__ 
> function to get tensor's attribute, not directly use the name. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[GitHub] [incubator-singa] nudles merged pull request #521: SINGA-483

2019-08-15 Thread GitBox
nudles merged pull request #521: SINGA-483
URL: https://github.com/apache/incubator-singa/pull/521
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] joddiy opened a new pull request #521: fix dummy bug

2019-08-15 Thread GitBox
joddiy opened a new pull request #521: fix dummy bug
URL: https://github.com/apache/incubator-singa/pull/521
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (SINGA-483) fix dummy bugs

2019-08-15 Thread zhangzhaoqi (JIRA)
zhangzhaoqi created SINGA-483:
-

 Summary: fix dummy bugs
 Key: SINGA-483
 URL: https://issues.apache.org/jira/browse/SINGA-483
 Project: Singa
  Issue Type: New Feature
Reporter: zhangzhaoqi


There is a but at autograd dummy operator. It should call __getattribute__ 
function to get tensor's attribute, not directly use the name. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SINGA-481) Reconstruct SONNX

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908628#comment-16908628
 ] 

ASF subversion and git services commented on SINGA-481:
---

Commit a9cb710caac267513e92272b6b55e4fd4c21b46c in incubator-singa's branch 
refs/heads/master from Wei Wang
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a9cb710 ]

Merge pull request #504 from joddiy/SINGA-481

SINGA-481 Reconsturct soonx

> Reconstruct SONNX
> -
>
> Key: SINGA-481
> URL: https://issues.apache.org/jira/browse/SINGA-481
> Project: Singa
>  Issue Type: New Feature
>Reporter: zhangzhaoqi
>Priority: Major
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> * Reconstruct the frontend and backend of soonx, and make it support transfer 
> learning. 
>  * Develop soonx operators: conv2d, relu, avg_pool, softmax, sigmoid, add, 
> concat, matmul
>  
>  * Add these operators' test cases.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[GitHub] [incubator-singa] nudles merged pull request #504: SINGA-481 Reconsturct soonx

2019-08-15 Thread GitBox
nudles merged pull request #504: SINGA-481 Reconsturct soonx
URL: https://github.com/apache/incubator-singa/pull/504
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully build and run the jupyter notebook 
example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   

[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully build and run the jupyter notebook 
example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   

[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully build and run the jupyter notebook 
example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   

[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully run the jupyter notebook example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   -- The C 

[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully build and run the jupyter notebook 
example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   

[GitHub] [incubator-singa] chrishkchris commented on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris commented on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521635425
 
 
   Updated on 15 Aug 2019
   Latest successful build log just now after the commit 3076113 to add the 
license header, which also successfully build and run the jupyter notebook 
example.
   
   ```
   ubuntu@ip-172-31-17-155:~/incubator-singa$ mkdir build
   ubuntu@ip-172-31-17-155:~/incubator-singa$ cd build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ cmake -D 
CMAKE_PREFIX_PATH="/usr/local/cuda/lib64;/usr/local/cuda/" -DENABLE_TEST=OFF 
-DUSE_CUDA=ON -DUSE_PYTHON3=ON -DUSE_MKLDNN=ON -DUSE_MODULES=OFF -DUSE_DIST=ON 
..
   -- The C compiler identification is GNU 5.4.0
   -- The CXX compiler identification is GNU 5.4.0
   -- Check for working C compiler: /usr/bin/cc
   -- Check for working C compiler: /usr/bin/cc -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Check for working CXX compiler: /usr/bin/c++
   -- Check for working CXX compiler: /usr/bin/c++ -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable 
version "3.0.0", minimum required is "3.0")
   -- Found CBLAS: /usr/local/include
   -- Found GLOG: /usr/include
   -- Found cuda_v10.0
   -- Found CUDNN: /usr/local/cuda/include
   -- Found Cudnn_7401 at /usr/local/cuda/include 
/usr/local/cuda/lib64/libcudnn.so
   -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", 
minimum required is "3")
   -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found 
suitable version "3.5.2", minimum required is "3")
   -- Found SWIG: /usr/local/bin/swig (found suitable version "3.0.12", minimum 
required is "3.0.10")
   -- Found MKLDNN at /usr/local/include
   -- Found MPI at /home/ubuntu/mpich-3.3/build/include
   -- Found MPI lib at /home/ubuntu/mpich-3.3/build/lib/libmpi.so
   -- Found all lib at 
/usr/local/lib/libprotobuf.so;/usr/local/lib/libopenblas.so;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/cuda/lib64/libcudnn.so;/usr/local/cuda/lib64/libcudart.so;/usr/local/cuda/lib64/libcurand.so;/usr/local/cuda/lib64/libcublas.so;/home/ubuntu/incubator-singa/build/lib/libcnmem.a;/usr/local/lib/libmkldnn.so;/home/ubuntu/mpich-3.3/build/lib/libmpi.so;/home/ubuntu/mpich-3.3/build/lib/libmpicxx.so
   -- Found NCCL at /usr/local/cuda/include
   -- Found NCCL lib at /usr/local/cuda/lib/libnccl.so
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/ubuntu/incubator-singa/build
   ubuntu@ip-172-31-17-155:~/incubator-singa/build$ make -j2
   Scanning dependencies of target cnmem
   Scanning dependencies of target copy_protobuf
   [  1%] Creating directories for 'cnmem'
   [  2%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/model.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: model.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  3%] Performing download step (git clone) for 'cnmem'
   Cloning into 'cnmem'...
   [  4%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/caffe.proto
   [  5%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/core.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: core.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  6%] Running C++ protocol buffer compiler on 
/home/ubuntu/incubator-singa/src/proto/io.proto
   [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax 
specified for the proto file: io.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
   [  7%] Copying Protobuf headers
   [  7%] Built target copy_protobuf
   [  8%] Building NVCC (Device) object 
src/CMakeFiles/cuda_compile_1.dir/core/tensor/cuda_compile_1_generated_math_kernel.cu.o
   Already on 'master'
   Your branch is up-to-date with 'origin/master'.
   [  9%] No patch step for 'cnmem'
   [ 10%] Performing update step for 'cnmem'
   Current branch master is up to date.
   [ 11%] Performing configure step for 'cnmem'
   -- The C 

[GitHub] [incubator-singa] ShichengChen opened a new pull request #520: SINGA-474 add operator

2019-08-15 Thread GitBox
ShichengChen opened a new pull request #520: SINGA-474 add operator
URL: https://github.com/apache/incubator-singa/pull/520
 
 
   make add operator support broadcast forward and backward.
   still keep add_bias, to make old code can be run


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] dcslin edited a comment on issue #514: SINGA-482 tc comprehension integration

2019-08-15 Thread GitBox
dcslin edited a comment on issue #514: SINGA-482 tc comprehension integration
URL: https://github.com/apache/incubator-singa/pull/514#issuecomment-521572874
 
 
   Hi, this is the working version of tc integration for now, with following 
notes:
   1. tested in the environment specified in the dockerfile `cuda9`
   2. it implemented `MatMul`, `Relu` in TC for demonstration and usage is 
shown in following tests:
   ` ./bin/test_singa --gtest_filter=*TC*`, and tests are passing.
   3. for now only working in Cuda environment, and only working with type 
`float`
   
   P.S. `softmax` is implemented but still checking why the output is not 
correct.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] dcslin commented on issue #514: SINGA-482 tc comprehension integration

2019-08-15 Thread GitBox
dcslin commented on issue #514: SINGA-482 tc comprehension integration
URL: https://github.com/apache/incubator-singa/pull/514#issuecomment-521572874
 
 
   Hi, this is the working version of tc integration for now, with following 
notes:
   1. tested in the environment specified in the dockerfile `cuda9`
   2. it implemented `MatMul`, `Relu` in TC for demonstration and usage is 
shown in following tests:
   ` ./bin/test_singa --gtest_filter=*TC*`, and tests are passing.
   3. for now only working in Cuda environment
   
   P.S. `softmax` is implemented but still checking why the output is not 
correct.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Already resolved by restore to master branch meta.yaml because the 
   - libprotobuf 3.6.1
   - libopenblas 0.3.3
   already added before in master branch


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Also the change in the following conda meta.yaml file I am not sure
   
![change_in_meta_yaml](https://user-images.githubusercontent.com/38325429/63027003-bcbc8780-bede-11e9-9c77-b60f8aa6bf48.png)
   
   for example, don't know why comment out the git_url and what is the effect 
in conda-build
   (maybe in this way the source code is taken from the local disk, instead of 
from git repo)
   
   After comparing the code with master branch, I already retore the file to 
master branch's "meta.yaml" becuase the 
   - libprotobuf 3.6.1
   - libopenblas 0.3.3
   already there in the master branch 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] ShichengChen closed pull request #482: SINGA-474 hardsigmoid operator

2019-08-15 Thread GitBox
ShichengChen closed pull request #482: SINGA-474 hardsigmoid operator
URL: https://github.com/apache/incubator-singa/pull/482
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] ShichengChen opened a new pull request #519: SINGA-474 hardSigmoid operator

2019-08-15 Thread GitBox
ShichengChen opened a new pull request #519: SINGA-474 hardSigmoid operator
URL: https://github.com/apache/incubator-singa/pull/519
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Also the change in the following conda meta.yaml file I am not sure
   
![change_in_meta_yaml](https://user-images.githubusercontent.com/38325429/63027003-bcbc8780-bede-11e9-9c77-b60f8aa6bf48.png)
   
   for example, don't know why comment out the git_url and what is the effect 
in conda-build
   (maybe in this way the source code is taken from the local disk, instead of 
from git repo)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Also the change in the following conda meta.yaml file I am not sure
   
![change_in_meta_yaml](https://user-images.githubusercontent.com/38325429/63027003-bcbc8780-bede-11e9-9c77-b60f8aa6bf48.png)
   
   for example, don't know why comment out the git_url and what is the effect 
in conda
   (maybe in this way the source code is taken from the local disk, otherwise 
in git repo)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Also the change in the following conda meta.yaml file I am not sure
   
![change_in_meta_yaml](https://user-images.githubusercontent.com/38325429/63027003-bcbc8780-bede-11e9-9c77-b60f8aa6bf48.png)
   
   for example, don't know why comment out the git_url and what is the effect 
in conda
   (maybe in this way the source code is taken from the local disk, instead of 
from git repo)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] chrishkchris edited a comment on issue #468: Distributted module

2019-08-15 Thread GitBox
chrishkchris edited a comment on issue #468: Distributted module
URL: https://github.com/apache/incubator-singa/pull/468#issuecomment-521258077
 
 
   Also the change in the following conda meta.yaml file I am not sure
   
![change_in_meta_yaml](https://user-images.githubusercontent.com/38325429/63027003-bcbc8780-bede-11e9-9c77-b60f8aa6bf48.png)
   
   for example, don't know why comment out the git_url and what is the effect 
in conda
   (maybe in this way the source code is taken in the local disk, otherwise in 
git repo)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907930#comment-16907930
 ] 

ASF subversion and git services commented on SINGA-474:
---

Commit f15526721da09bc4999ec7a17dce66f017c84d36 in incubator-singa's branch 
refs/heads/master from ShichengChen
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=f155267 ]

SINGA-474 squeeze operator, fix forward bug


> Implement ONNX Operators in Autograd
> 
>
> Key: SINGA-474
> URL: https://issues.apache.org/jira/browse/SINGA-474
> Project: Singa
>  Issue Type: Improvement
>Reporter: Shicheng
>Priority: Minor
>  Time Spent: 17h 20m
>  Remaining Estimate: 0h
>
> Implement ONNX Operators following 
> https://github.com/onnx/onnx/blob/master/docs/Operators.md



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907931#comment-16907931
 ] 

ASF subversion and git services commented on SINGA-474:
---

Commit 76cd65de0e1bdef2ca977a3f8c8a12e22ada2606 in incubator-singa's branch 
refs/heads/master from Wei Wang
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=76cd65d ]

Merge pull request #517 from ShichengChen/operatorConflict

SINGA-474 squeeze operator

> Implement ONNX Operators in Autograd
> 
>
> Key: SINGA-474
> URL: https://issues.apache.org/jira/browse/SINGA-474
> Project: Singa
>  Issue Type: Improvement
>Reporter: Shicheng
>Priority: Minor
>  Time Spent: 17h 20m
>  Remaining Estimate: 0h
>
> Implement ONNX Operators following 
> https://github.com/onnx/onnx/blob/master/docs/Operators.md



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd

2019-08-15 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907929#comment-16907929
 ] 

ASF subversion and git services commented on SINGA-474:
---

Commit 07b265a4fc516f0b2c6dfbc4d10a7a63d42458b8 in incubator-singa's branch 
refs/heads/master from ShichengChen
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=07b265a ]

SINGA-474 squeeze operator


> Implement ONNX Operators in Autograd
> 
>
> Key: SINGA-474
> URL: https://issues.apache.org/jira/browse/SINGA-474
> Project: Singa
>  Issue Type: Improvement
>Reporter: Shicheng
>Priority: Minor
>  Time Spent: 17h 20m
>  Remaining Estimate: 0h
>
> Implement ONNX Operators following 
> https://github.com/onnx/onnx/blob/master/docs/Operators.md



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[GitHub] [incubator-singa] nudles merged pull request #517: SINGA-474 squeeze operator

2019-08-15 Thread GitBox
nudles merged pull request #517: SINGA-474 squeeze operator
URL: https://github.com/apache/incubator-singa/pull/517
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] nudles merged pull request #518: SINGA 475 - add shape operator

2019-08-15 Thread GitBox
nudles merged pull request #518: SINGA 475 - add shape operator
URL: https://github.com/apache/incubator-singa/pull/518
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] nudles merged pull request #509: SINGA -475 add max operator

2019-08-15 Thread GitBox
nudles merged pull request #509: SINGA -475 add max operator
URL: https://github.com/apache/incubator-singa/pull/509
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] pinpom opened a new pull request #518: SINGA 475 - add shape operator

2019-08-15 Thread GitBox
pinpom opened a new pull request #518: SINGA 475 - add shape operator
URL: https://github.com/apache/incubator-singa/pull/518
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] nudles merged pull request #510: SINGA 475 - add min operator

2019-08-15 Thread GitBox
nudles merged pull request #510: SINGA 475 - add min operator
URL: https://github.com/apache/incubator-singa/pull/510
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #517: SINGA-474 squeeze operator

2019-08-15 Thread GitBox
ShichengChen commented on a change in pull request #517: SINGA-474 squeeze 
operator
URL: https://github.com/apache/incubator-singa/pull/517#discussion_r31411
 
 

 ##
 File path: python/singa/autograd.py
 ##
 @@ -2194,6 +2194,30 @@ def log(x):
 return Log()(x)[0]
 
 
+class Squeeze(Operation):
+def __init__(self,axis=[]):
+super(Squeeze, self).__init__()
+self.axis=axis
+
+def forward(self, x):
+self.cache=x.shape()
+cur = list(self.cache)
 
 Review comment:
   sorry, I fixed the bug followed your code.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] nudles commented on a change in pull request #517: SINGA-474 squeeze operator

2019-08-15 Thread GitBox
nudles commented on a change in pull request #517: SINGA-474 squeeze operator
URL: https://github.com/apache/incubator-singa/pull/517#discussion_r314186001
 
 

 ##
 File path: python/singa/autograd.py
 ##
 @@ -2194,6 +2194,30 @@ def log(x):
 return Log()(x)[0]
 
 
+class Squeeze(Operation):
+def __init__(self,axis=[]):
+super(Squeeze, self).__init__()
+self.axis=axis
+
+def forward(self, x):
+self.cache=x.shape()
+cur = list(self.cache)
 
 Review comment:
   ```
   newshape = []
   for i in self.axis:
  assert i < len(self.cache)
  assert self.cache[i] == 1, "the length of axis {} is {}, which should be 
1".format(i, self.cache[i])
   for d in self.cache:
  if d > 1:
 newshape.append(d)
   ```
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-singa] nudles commented on a change in pull request #517: SINGA-474 squeeze operator

2019-08-15 Thread GitBox
nudles commented on a change in pull request #517: SINGA-474 squeeze operator
URL: https://github.com/apache/incubator-singa/pull/517#discussion_r314186001
 
 

 ##
 File path: python/singa/autograd.py
 ##
 @@ -2194,6 +2194,30 @@ def log(x):
 return Log()(x)[0]
 
 
+class Squeeze(Operation):
+def __init__(self,axis=[]):
+super(Squeeze, self).__init__()
+self.axis=axis
+
+def forward(self, x):
+self.cache=x.shape()
+cur = list(self.cache)
 
 Review comment:
   ```
   newshape = []
   for i in self.axis:
  assert self.cache[i] == 1, "the length of axis {} is {}, which should be 
1".format(i, self.cache[i])
   for d in self.cache:
  if d > 1:
 newshape.append(d)
   ```
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services