At cmd prompt, to confirm cuda was installed type:
nvcc -V
To start running ML code: open anaconda prompt from start and type
conda activate tf-gpu-cuda9
Simple ML program to run
To test TF 2.0, these commands should work:
import tensorflow as tf
assert tf.test.is_gpu_available() assert tf.test.is_built_with_cuda()
No comments:
Post a Comment