[backend_cuda] CUDA libraries are too big for pypi
# context currently we have issues bc cuda package ships with the whole cuda library that weights approx 400Mo and this exceeds the pip package size limit of 100 Mo. Hence deploy jobs of `aidge_backend_cuda` fails: https://gitlab.eclipse.org/eclipse/aidge/aidge_backend_cuda/-/commit/6971fe6c3470630412383867aaea1f5bf192c5e7 First mentionned here : https://gitlab.eclipse.org/eclipse/aidge/aidge/-/work_items/79#note_2831786 # Solutions ### [The official solution is to dynamically load cuda library.](https://discuss.python.org/t/what-is-the-recommended-way-of-distributing-cuda-dependent-packages/9335.) * Here is an extensive tutorial on how to do that: https://www.devxperiences.com/pzwp1/2023/05/17/c-dynamic-loading-of-a-shared-library-also-create-and-load-one-on-your-own/ * stack overflow example : https://stackoverflow.com/questions/68977087/c-how-to-use-dlopen-in-c ## another less costful option delete repairwheel command from cibuildwheel to avoid having auditwheel pickupd cuda & cublad libraries and add them to the `.whl` generated package.
issue

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent