You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2018/07/09 12:55:00 UTC

[jira] [Resolved] (SINGA-359) Create alias for conda packages

     [ https://issues.apache.org/jira/browse/SINGA-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangwei resolved SINGA-359.
---------------------------
    Resolution: Fixed

> Create alias for conda packages
> -------------------------------
>
>                 Key: SINGA-359
>                 URL: https://issues.apache.org/jira/browse/SINGA-359
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: wangwei
>            Priority: Major
>
> The conda packages stored on [anaconda cloud|https://anaconda.org/nusdbsystem/singa/files] are differentiated by the build string, which consists of the python version, cuda and cudnn version. The full name is like
> {code:java}
> singa=1.1.1=py36_cuda9.0_cudnn7.1.2{code}
> This ticket creates dummy conda packages with simple names like singa-cpu, singa-gpu. By enforcing the dependency on the real packages. e.g.
> {code:java}
> singa-gpu --> singa=1.1.1=py36_cuda9.0_cudnn7.1.2
> singa-cpu --> singa=1.1.1=py36_cpu
> singa --> singa-cpu{code}
> when we run
> {code:java}
> conda install -c nusdbsystem singa{code}
> the following package will be installed automatically
> {code:java}
> singa=1.1.1=py36_cpu{code}
> The new dummy packages are created in the similar way as (no need to have the build.sh)
>  [https://github.com/apache/incubator-singa/tree/master/tool/conda]
> The dependency is specified in the run section, e.g.
> {code:java}
> run: 
> - singa=1.1.1=py36_cpu{code}
> The channel needs to be added before running the build instruction.
> {code:java}
> conda config --add channels nusdbsystem{code}



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