Tensorflow and Cudatoolkit Version
Note
Due to the update of conda, tensorflow and the system of clusters, some information are out of date.
- Why are there two separate conda requirements file?
requirements-min.txtlimits the tensorflow version up to2.2. Beyond this version,condawill install the wrong dependency versions, in particularcudatoolkitversions and sometimespython3.tensorflow_2_6_requirements.txtmanually selects the correctpythonandcudatoolkitversions to match thetensorflow-2.6.0build onconda-forge.
- Should I use the latest
tensorflowversion? We highly recommend Ampere card users (RTX 30 series for example), to install their
condaenvironments withtensorflow_2_6_requirements.txtwhich usescudatoolkitversion 11.2.
- Should I use the latest
- Why should Ampere use
cudatoolkitversion > 11.0? To avoid a few minutes of overhead due to JIT compilation.
cudatoolkitversion < 11.0 does not have pre-compiled CUDA binaries for Ampere architecture. So oldercudatoolkitversions have to JIT compile the PTX code everytimetensorflowuses the GPU hence the overhead.See this explanation about old CUDA versions and JIT compile.
- Why should Ampere use
- Will you update the
tensorflow_2_X_requirements.txtfile regularly to the latest available version on `conda`? We do not guarantee any regular updates on
tensorflow_2_X_requirements.txt.We will update this should a particular build becomes unavailable on
condaor a new release of GPUs require atensorflowandcudatoolkitupdate. Please notify us if this is the case.
- Will you update the