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 2: Essential Hardware Components for AI

Having established what Large Language Models are and how their size is measured in parameters, we now consider the physical hardware required to run them. This chapter focuses on the essential computer components involved.

We will review the roles of the Central Processing Unit (CPU), system memory (RAM), the Graphics Processing Unit (GPU), and its dedicated video memory (VRAM). A brief introduction to Tensor Processing Units (TPUs) is also included. Grasping the purpose of each component is necessary to understand how LLM size impacts hardware selection for tasks like inference, which we will cover subsequently.

Sections

  • 2.1 The Central Processing Unit (CPU)

  • 2.2 Random Access Memory (RAM)

  • 2.3 The Graphics Processing Unit (GPU)

  • 2.4 Video RAM (VRAM)

  • 2.5 Brief Overview of TPUs

© 2026 ApX Machine Learning