Skip to content

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: 6971fe6c

First mentionned here : aidge#79 (comment 2831786)

Solutions

The official solution is to dynamically load cuda library.

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.

Edited by Grégoire Kubler