ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing
ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing

All Courses

Understanding LLM Model Sizes and Hardware Requirements
Chapter 1: Introduction to Large Language Models and Size
What is a Large Language Model (LLM)?
Understanding Model Parameters
How Model Size is Measured
Examples of Different Model Sizes
Quiz for Chapter 1
Chapter 2: Essential Hardware Components for AI
The Central Processing Unit (CPU)
Random Access Memory (RAM)
The Graphics Processing Unit (GPU)
Video RAM (VRAM)
Brief Overview of TPUs
Quiz for Chapter 2
Chapter 3: Connecting Model Size to Hardware Needs
Model Parameters and Memory Consumption
Data Types and Precision (FP16, INT8)
Introduction to Quantization
Compute Requirements (FLOPS)
Memory Bandwidth Importance
Quiz for Chapter 3
Chapter 4: Running LLMs: Inference vs. Training
What is Model Inference?
Hardware Needs for Inference
What is Model Training?
Hardware Needs for Training
Focus on Inference Requirements
Quiz for Chapter 4
Chapter 5: Estimating Hardware Needs
Rule of Thumb: Parameters to VRAM
Accounting for Activation Memory
Factors Influencing Actual Usage
Checking Hardware Specifications
Practice: Simple VRAM Estimations
Quiz for Chapter 5

Chapter 4: Running LLMs: Inference vs. Training

Having examined Large Language Models, their size in parameters, and the associated hardware components like GPUs and VRAM, we now turn to how these models are actually utilized. There are two fundamental modes of operation: using a pre-existing model to generate outputs (inference) and the process of creating or adapting a model (training).

These distinct activities impose substantially different loads on the hardware resources discussed earlier. Recognizing the difference between inference and training is key to understanding why certain hardware configurations are suitable for simply running an LLM, while others are necessary for development or fine-tuning.

This chapter covers the following points:

  • Defining model inference: using a trained model for prediction or generation.
  • Outlining the hardware resources typically required for inference.
  • Defining model training: the process of building or adjusting model parameters from data.
  • Contrasting the significantly greater hardware demands associated with training.
  • Establishing why inference requirements are the primary consideration for most end-user interactions with LLMs.

By comparing the resource needs of these two processes, we can better contextualize the hardware estimation techniques discussed later.

Sections

  • 4.1 What is Model Inference?

  • 4.2 Hardware Needs for Inference

  • 4.3 What is Model Training?

  • 4.4 Hardware Needs for Training

  • 4.5 Focus on Inference Requirements

© 2026 ApX Machine Learning