singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangwei (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SINGA-359) Create alias for conda packages
Date Fri, 11 May 2018 01:59:00 GMT
wangwei created SINGA-359:
-----------------------------

             Summary: Create alias for conda packages
                 Key: SINGA-359
                 URL: https://issues.apache.org/jira/browse/SINGA-359
             Project: Singa
          Issue Type: Improvement
            Reporter: wangwei


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)

Mime
View raw message