It installs:
- Tensorflow+docker
- PyTorch
- Darknet
- Python environments for testing things out
$ ansible-galaxy install -r playbook-requirements.yml
$ ansible-playbook -i host, playbook.yml
Subscribe to RSS feed of tensorflow releases: https://github.com/tensorflow/tensorflow/releases.atom
Update version numbers given here: https://www.tensorflow.org/install/gpu#install_cuda_with_apt
PyTorch releases RSS: https://github.com/pytorch/pytorch/releases.atom
TODO: multiple cuda installations:
https://devtalk.nvidia.com/default/topic/493290/cuda-programming-and-performance/multiple-cuda-versions-can-they-coexist-/post/3532363/#3532363
https://stackoverflow.com/questions/41330798/install-multiple-versions-of-cuda-and-cudnn/53345192#53345192
https://docs.nvidia.com/deploy/cuda-compatibility/index.html
TODO: automate testing they all see the GPU
~/.python_venv/tensorflow2-beta/bin/python -c 'import tensorflow as tf; print(tf.test.gpu_device_name())'
~/.python_venv/pytorch-py37/bin/python -c 'import torch; print(torch.cuda.is_available())'
TODO: -i inventory.yml
, https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html
all:
hosts:
mail.example.com:
vars:
group_all_var: value