Recall & Review
beginner Click to reveal answer
What is the first step to install TensorFlow with GPU support?
The first step is to install the correct NVIDIA GPU drivers for your graphics card to enable GPU acceleration.
beginner Click to reveal answer
Why do you need CUDA and cuDNN for TensorFlow GPU setup?
CUDA is a platform that allows TensorFlow to use NVIDIA GPUs for computation. cuDNN is a library that speeds up deep learning operations on GPUs.
beginner Click to reveal answer
How can you check if TensorFlow is using the GPU after installation?
You can run `tf.config.list_physical_devices('GPU')` in Python. If it returns a list with GPU devices, TensorFlow is using the GPU.
beginner Click to reveal answer
What command installs TensorFlow with GPU support using pip?
Use `pip install tensorflow` as the main package now includes GPU support by default in recent versions.
intermediate Click to reveal answer
What is a common issue if TensorFlow does not detect your GPU after setup?
Common issues include incompatible CUDA/cuDNN versions, missing drivers, or environment variables not set correctly.
Which driver must be installed first to enable TensorFlow GPU support?
✗ Incorrect
TensorFlow GPU support requires NVIDIA GPU drivers because it uses CUDA technology.
What is the role of cuDNN in TensorFlow GPU setup?
✗ Incorrect
cuDNN is a GPU-accelerated library for deep neural networks that speeds up TensorFlow computations.
How do you verify if TensorFlow detects your GPU?
✗ Incorrect
This TensorFlow command lists all detected GPU devices.
Which package do you install to get TensorFlow with GPU support in recent versions?
✗ Incorrect
The main tensorflow package now includes GPU support by default.
What might cause TensorFlow not to detect your GPU after installation?
✗ Incorrect
Using wrong versions of CUDA or cuDNN is a common cause of GPU detection failure.
Explain the steps to set up TensorFlow to use your GPU for faster training.
Think about what software and libraries are needed for GPU acceleration.
You got /5 concepts.
Describe how you can check if TensorFlow is actually using your GPU after installation.
Focus on TensorFlow commands that list hardware devices.
You got /3 concepts.
