Reputation: 13
During I test several cases, I have some questions. One of that is "Training with tf 1.15 on RTX 3090".
[MY current environments]
Can I proceed with the training in this environment?
Upvotes: 0
Views: 5154
Reputation: 341
If you can't upgrade your code base to 2.X TF. You may want to use the nvidia-tensorflow version which is basically a nvidia maintained version of tensorflow 1.15 which is compatible with CUDA >11 (and so on RTX 30 gpus).
You'll find more information here : https://developer.nvidia.com/blog/accelerating-tensorflow-on-a100-gpus/
TL;DR
pip install nvidia-pyindex
pip install nvidia-tensorflow[horovod]
Then you're good to go.
Upvotes: 3
Reputation: 2010
The following worked for me (and my 3090 w/ CUDA 11.3).
# create new conda env
conda create --name nv-tf15
# install nvidia-version of TF 1.15
pip install nvidia-pyindex
pip install nvidia-tensorflow
# install pytorch (likely optional)
pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio==0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
# tensorboard wasn't importing properly, so I did this
conda install tensorboard
Upvotes: 1
Reputation: 385
I believe this cannot work. Tensorflow 1.15 requires cuda 10:
https://www.tensorflow.org/install/source#gpu
I believe the RTX 3090 does not support cuda 10.
You might need to use either TF 1.15 on CPU. Or a 2.x TF release with a more recent cuda version.
Upvotes: -1