Essential AI Knowledge

38% of the NCA-AIIO exam. Read each answer, then drill this domain.

Drill this domainAll study notes

What is the difference between AI, machine learning and deep learning?

AI is the broad goal of making machines do tasks that need intelligence. Machine learning is the part of AI where systems learn patterns from data instead of following hand-written rules. Deep learning is the part of ML that uses neural networks with many layers, and it's the approach behind modern vision and language models.

Source: IBM: What is machine learning?

Why do GPUs matter so much for AI?

Training and running neural networks is mostly huge amounts of matrix math that can be split into many identical operations. GPUs have thousands of cores built for exactly that kind of parallel work, and Tensor Cores speed up matrix math further in lower precision. CPUs have fewer, more complex cores tuned for serial tasks.

Source: NVIDIA Tensor Cores

How do training and inference differ in what they need?

Training processes large datasets many times and stores weights, gradients and optimizer states, so it needs lots of GPU memory and fast links between GPUs, often for days. Inference runs the trained model on new inputs and cares most about latency, throughput and cost per request, often in lower precision.

Source: NVIDIA blog: training vs inference

Which NVIDIA software is used at each step from data to deployment?

RAPIDS speeds up data preparation and classic ML. Frameworks like PyTorch use CUDA and cuDNN for training, and NeMo helps build and customize generative AI models. TensorRT optimizes trained models, and Triton Inference Server or NIM microservices serve them. NGC hosts the containers and models, and NVIDIA AI Enterprise adds support for production.

Source: NVIDIA AI Enterprise

Why do teams use FP16, BF16, FP8 or INT8 instead of FP32?

Lower precision uses less memory and bandwidth and runs much faster on Tensor Cores. Mixed-precision training keeps critical values in FP32 to protect accuracy, and BF16 keeps FP32's numeric range for stable training. For inference, FP8 or INT8 quantization raises throughput, usually with little accuracy loss.

Source: NVIDIA mixed-precision training guide

How do large models get trained across many GPUs?

With data parallelism, every GPU has a full model copy and works on different data, and gradients are averaged with an all-reduce (handled by NCCL). When a model is too big for one GPU, tensor or pipeline parallelism splits the model itself across GPUs. Large LLMs combine these methods.

Source: NVIDIA NCCL

What are LLMs, transformers and RAG?

Transformers use self-attention to relate every token to every other token, and LLMs are very large transformers trained to predict the next token. Retrieval-augmented generation (RAG) fetches relevant documents when a question arrives and adds them to the prompt, so answers use current, private data without retraining.

Source: NVIDIA blog: what is RAG?

Drill this domain