Open DiogenesAnalytics opened 9 months ago
Implemented (finally) with: 1c7b1f6a158eec754b7652d9d949bef77f91b700
Installing the and-conda
extras (i.e. as tensorflow[and-conda]
) makes the resulting Docker image MASSIVE:
Need to work with Poetry docs to figure out the correct way to make these CUDA libs optional ...
Some references specific to this issue.
Problem
Currently the Docker image being built does not have the correct drivers to work with the version of
tensorflow
pinned in the pyproject.toml file: https://github.com/DiogenesAnalytics/autoencoder/blob/ca2c35b185c0c106b282d6bea6077aa7ba04c3cf/pyproject.toml#L20Solution
What seems to work is installing
tensorflow[and-cuda]
viapip
according to the Tensorflow install documentation. Now the question becomes: how to handle this optional install with theautoencoder
library (which usespoetry
as its build backend)?References