To install TensorFlow with CUDA support, follow these step-by-step instructions. TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows. Ref: https://www.tensorflow.org/install/pip#windows-native Download and install cuda and cudnn - Match TensorFlow version with the appropriate CUDA and cuDNN versions https://www.tensorflow.org/install/source We are downloading tensorflow 2.10 which required cuda 11.2 and cudnn 8.1 pip install tensorflow==2.10.0 How to Confirm GPU Usage? import tensorflow as tf # Check if TensorFlow is using the GPU if tf.config.list_physical_devices('GPU'): print("TensorFlow is using the GPU!") # Get list of available GPUs gpus = tf.config.list_physical_devices('GPU') print("Available GPUs:", gpus) # Get details of each GPU for gpu in gpus: details = tf.config.experimental.get_device_details(gpu) print("GPU Details:", details) else: print("TensorFlow is using the CPU.") Output: TensorFlow is using the GPU! Available GPUs: [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] GPU Details: {'device_name': 'NVIDIA GeForce RTX 3090', 'compute_capability': (8, 6)} #tensorflow #computervision #cuda #nvidia

L-10 NumPy Tutorial for Beginners (2026) | Arrays, Speed & Why NumPy for AI?
405 views

L-9 Python Modules Explained for Beginners | Import Your Own Python Module
334 views

L-8 Learn Functions in Python | Python for AI & Data Science
304 views

L-7 Python Loops Explained for Beginners | for Loop & while Loop with Examples | Python for AI
251 views

L-6 Decision Making in Python | if, else, elif | Python for AI Beginners
315 views

L-5 Python Dictionaries Tutorial | Must Know for AI & APIs
399 views