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

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

Commit 6b2ff3c98c2a82aa7bc3db245393c3a55f0449cd in incubator-singa's branch 
refs/heads/dev from [~wangwei.cs]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=6b2ff3c ]

SINGA-217 build python package with setup.py

CudnnRNN requires cudnn version later than 5.05, the previous check
based on CUDNN_VERSION_MAJOR and CUDNN_VERSION_PATCH does not work for
version 5.13. Therefore, we replaced the check to CUDNN_VERSION >= 5005.
CUDNN_VERSION is defined in cudnn.h.

cmake defines CUDNN_VERSION_SWIG which is used by model_layer.i for cudnn
rnn.

Remvoe the hardcoded sys imports for python files. Now users need to
install the python module to run python examples and tests.

Tested installation in python virtual enviornment and conda
virtural enviorment:

Inside build/python
```
pip install -e .
```


> build python package with setup.py
> ----------------------------------
>
>                 Key: SINGA-217
>                 URL: https://issues.apache.org/jira/browse/SINGA-217
>             Project: Singa
>          Issue Type: New Feature
>            Reporter: wu wenfeng
>            Assignee: wu wenfeng
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to