Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
python3 -m pip install virtualenv
virtualenv gpu
source gpu/bin/activate

CentOS 7

Install the prerequisites and Tensorflow 2.8:

...

Code Block
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]


Ubuntu 20.04

Begin by installing the nvidia-cuda-toolkit:

...