DALI icon indicating copy to clipboard operation
DALI copied to clipboard

Conda packages

Open mrocklin opened this issue 6 years ago • 8 comments

As DALI gains adoption within the Python community it would be helpful to distribute conda packages. Is this in-scope for this project?

To start thinking about this, it would be interesting to know what dependencies this software has and waht compilation environment it requires.

cc @datametrician @jakirkham

mrocklin avatar Sep 18 '19 20:09 mrocklin

Hi, thanks for the question. Thanks to the contribution from IBM we have a conda recipe ready.

Conda packages are maintained and distributed by IBM. For details look here.

awolant avatar Sep 19 '19 10:09 awolant

IBM conda package is for POWER architecture. Using conda it is still possible to install pip whl and this works in DALI case (even if it is not the most recommended way by the conda community). @mrocklin have you encountered any problems using DALI whl in conda environment?

JanuszL avatar Sep 24 '19 22:09 JanuszL

even if it is not the most recommended way by the conda community

To be clear, this is strongly discouraged in the Conda community (not only not recommend). It raises issues with binary compatibility as wheels frequently vendor all library dependencies within the wheel. So two wheels can supply the same dependencies with different versions (like two BLAS libraries) and this will result in symbol collisions that will crash users' programs. The same problem can happen when adding a wheel in a Conda environment.

jakirkham avatar Sep 25 '19 07:09 jakirkham

Right, I forgot about binary compatibility problems. Libs itself are not a big deal - DALI hashes the lib names and do other magic to prevent symbol clash for the libraries it ships in its whl. But system libraries could be a problem. We are discussing shipping DALI conda package but we are far from the decision now.

JanuszL avatar Sep 26 '19 00:09 JanuszL

Hi, any update on this one? It's been almost two years at the moment since "discussing shipping"

otaj avatar Jul 22 '21 10:07 otaj

Hi @otaj,

I'm sorry, we don't have any updates we can share now. The DALI conda release is a part of a bigger strategy which details we can't share here.

JanuszL avatar Jul 26 '21 08:07 JanuszL

Has there been any update to this? DALI seems to be a good option for multiprocess data loading for use with JAX and it would be very convenient if shipped as a conda package

EDIT: I see that there is version 1.32.0 available through https://github.com/open-ce/DALI-feedstock

buchholzmd avatar Aug 08 '24 20:08 buchholzmd

Hi @buchholzmd,

Thank you for reaching out. Indeed, DALI is a part of the Open Cognitive Environment (Open-CE), but the effort is not run by NVIDIA. Regarding the original ask, we still don't have any updates we can share, sorry.

JanuszL avatar Aug 09 '24 08:08 JanuszL