[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-07-08 Thread ASF subversion and git services (JIRA)


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

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

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

SINGA-346 Update cudnn from V5 to V7

support cudnn5 (conv and rnn has API changes from v5 to v7)


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 4ccb72ee803520259f7fdaa25e64ce2aa8eca0f2 in incubator-singa's branch 
refs/heads/master from Wang Wei
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=4ccb72e ]

SINGA-346 Update cudnn from V5 to V7

Add Dockerfiles for building Singa with py2 and py3 in a native way
instead of using conda build.


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-24 Thread ASF subversion and git services (JIRA)

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

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

Commit 98e9d2f61ab9a350cc8ef72ccc9f26377acd28de in incubator-singa's branch 
refs/heads/master from Wang Wei
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=98e9d2f ]

SINGA-346 Update cudnn from V5 to V7

Separate the Dockerfile for conda building and native building.

Change the swig version to 3.0.8 which works for both python2.7 and 3.0

Move all Dockerfiles into tool/docker folder.


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-24 Thread ASF subversion and git services (JIRA)

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

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

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

SINGA-346 Update cudnn from V5 to V7

Update conda build scripts to include cudnn (.h and .so) in conda singa package.


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-24 Thread ASF subversion and git services (JIRA)

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

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

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

SINGA-346 Update cudnn from V5 to V7

4 functions in v5 not present in v7:

'cudnnActivationBackward_v4',
'cudnnActivationForward_v4',
'cudnnSetPooling2dDescriptor_v4',
'cudnnSetFilter4dDescriptor_v4'

4 functions API changed in v7:

'cudnnSetConvolution2dDescriptor',
'cudnnSetRNNDescriptor',

'cudnnSetFilterNdDescriptor',  (int to const int)
'cudnnSetTensorNdDescriptor'.  (int to const int)


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-24 Thread ASF subversion and git services (JIRA)

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

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

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

SINGA-346 Update cudnn from V5 to V7

Export numpy path by cmake; no need to export it into a env var now.

replace PYTHON3 with USE_PYTHON3

one bug left due to the unicode and byte string problem from py2 to py3.
which could be resolved by defining SWIG_PYTHON_2_UNICODE in *.i files.
It converts byte string in python2 into unicode and then to c++ std::string.


> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> h2. Update cudnn from V5 to V7
> out of the 68 distinct cudnn functions used in SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
>  'cudnnActivationForward_v4',
>  'cudnnSetPooling2dDescriptor_v4',
>  'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
>  'cudnnSetRNNDescriptor',
>  'cudnnSetFilterNdDescriptor',
>  'cudnnSetTensorNdDescriptor'.
> h2. Update the Dockerfiles
> Dockerfiles are moved into tool/docker folder.
>  The conda package generation and testing docker containers (Dockerfiles) are 
> separated.
> h2. Improve the compilation and test scripts
> Some env variables are removed to make the compilation and test easier, 
> including numpy path, CUDA version, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-09 Thread Zhang Junzhe (JIRA)

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

Zhang Junzhe commented on SINGA-346:


Thanks for your info Moaz. Dr Wang Wei asked me to give comparison and 
submitted this ticket.

Thanks,
Junzhe



> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> Update cudnn from V5 to V7, out of the 68 distinct cudnn functions used in 
> SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
> 'cudnnActivationForward_v4',
> 'cudnnSetPooling2dDescriptor_v4',
> 'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
> 'cudnnSetRNNDescriptor',
> 'cudnnSetFilterNdDescriptor',
> 'cudnnSetTensorNdDescriptor'.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SINGA-346) Update cudnn from V5 to V7

2018-04-08 Thread Moaz Reyad (JIRA)

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

Moaz Reyad commented on SINGA-346:
--

There is another open issue already for this task:

https://issues.apache.org/jira/browse/SINGA-335

 

> Update cudnn from V5 to V7
> --
>
> Key: SINGA-346
> URL: https://issues.apache.org/jira/browse/SINGA-346
> Project: Singa
>  Issue Type: Improvement
>Reporter: Zhang Junzhe
>Priority: Minor
>
> Update cudnn from V5 to V7, out of the 68 distinct cudnn functions used in 
> SINGA:
> 4 functions in v5 not present in v7:
> 'cudnnActivationBackward_v4',
> 'cudnnActivationForward_v4',
> 'cudnnSetPooling2dDescriptor_v4',
> 'cudnnSetFilter4dDescriptor_v4'
> 4 functions API changed in v7:
> 'cudnnSetConvolution2dDescriptor', 
> 'cudnnSetRNNDescriptor',
> 'cudnnSetFilterNdDescriptor',
> 'cudnnSetTensorNdDescriptor'.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)