New Tool Radar

Local AI

How to Check the CPU Supports AVX2 Before Installing a Local Model App

Check the CPU supports AVX2 before installing a local model app, so the install does not fail on the processor.

Schematic with three steps: List the CPU features; Read the result; Decide what to install.

Local model apps need a modern CPU instruction set: LM Studio needs AVX2 on x64 Windows and Linux, Jan needs a 64-bit CPU with AVX2, and GPT4All needs AVX or AVX2. A machine without AVX2 will fail to run these apps, so check the processor before you download anything.

What you need

  • A computer you plan to install a local model app on
  • A terminal on the machine
  • The CPU model name, if you know it

Step 1: List the CPU features

On Linux, run grep -o avx2 /proc/cpuinfo and look for a match. On macOS, run sysctl machdep.cpu.features and look for AVX2 in the list. On Windows, look up the CPU model on the maker site and check its instruction set.

Step 2: Read the result

A match for AVX2 means the CPU supports it. No match means the CPU is too old for apps that require AVX2.

Step 3: Decide what to install

If AVX2 is present, install the app you planned. If it is missing, do not install an app that requires it; use a machine with a newer CPU, or a cloud option, instead.

Worked example: synthetic AVX2 check

The table below is a synthetic example. It shows the expected result of checking AVX2; no CPU was checked.

CPU AVX2 found? Action
Recent Intel i5 Yes Install the app
Recent AMD Ryzen 5 Yes Install the app
Very old CPU No Use a newer machine

Expected result (UNTESTED). the recent Intel and AMD CPUs show AVX2 and the app installs, while the very old CPU shows no AVX2 and a newer machine is used instead. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • AVX2 is only one requirement; RAM, disk, and the operating system matter too.
  • Apple Silicon Macs do not use AVX2; this check is for x64 Windows and Linux machines.
  • If the feature list is unclear, check the CPU model against the maker specification sheet.

Sources

See all