Versions Compared

Key

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

...

Info

Exercise:

  1. Create a GPU enabled TensorFlow Conda environment.

  2. Start an interative session that requests one GPU.

  3. Run the tf_test_gpu.py python script,

Expected Output:

Code Block
...
TensorFlow Version: 2.17.0
Num GPUs Available:  1
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

The version might be different if a newer version has been made available since this example was created.

...