Chapter 18 · Hands-on: set up your AI workbench
How the hands-on tutorials work
You follow the steps on your own computer; nothing here runs a model for you, so you learn by doing.
Chapter 18 · Hands-on: set up your AI workbench
You follow the steps on your own computer; nothing here runs a model for you, so you learn by doing.
Over the next ten lessons you set up four pieces on your own computer. Later chapters use them to build real projects.
These lessons are for Windows, macOS and Linux desktops and laptops. Phones and tablets cannot follow them. Nothing in this course runs a model for you inside the web page: you do each step on your own computer, then tick it off here. Pick your system first, so every lesson shows the right commands.
Choose the system you are using. We remember it while this tab stays open.
Check: the commands in later steps change when you switch.
A terminal is a window where you type commands instead of clicking. The next lesson explains it properly. For now, just open one.
PowerShell and open Windows PowerShell.Terminal and press Return.Check: you see a window with a blinking cursor after some text, called the prompt.
Models are loaded into memory, so memory decides what you can run. Type the command for your system and press Enter.
(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1GBOn macOS the number is in bytes: divide by 1,073,741,824 to get gigabytes. On Windows the answer is already in gigabytes.
Check: you see your memory. A laptop often shows between 8 and 32 gigabytes (GB). Write it down.
Models are files, and some are several gigabytes. Check you have room before you download one.
Get-PSDrive C | Select-Object Used, FreeOn Windows the numbers are in bytes. Divide by 1,073,741,824 to get gigabytes.
Check: you can read how much space is free. Keep at least 10 GB spare for the model lessons.
Keep everything in one folder so it is easy to find, move or delete later. mkdir means “make directory” (a directory is a folder).
mkdir ai-workbench
cd ai-workbenchCheck: your prompt now ends with ai-workbench.
Enter what you found in the steps above. The answer is a rough guide, not a promise.
Memory (RAM)
Free disk space
Separate graphics card (GPU)?
Where do the hands-on tutorials run?
Why check memory before downloading a model?
A command from a lesson fails. What should you do?