Skip to content

How-ToGPU

How to Set Up a Tenstorrent AI Card on Linux

Tenstorrent AI cards need Linux, a specific BIOS setting and Tenstorrent's own tt tool. Here's how to fit a Blackhole or Wormhole card, install the driver and firmware on Ubuntu, check it's working and serve your first local AI model.

By , Systems & Technical Editor

6 min read

How to Set Up a Tenstorrent AI Card on Linux

Tenstorrent's Blackhole and Wormhole PCIe cards are dedicated AI accelerators, and getting one working is quite different from installing a graphics card. There's no Windows driver, the BIOS needs one specific setting, and the software is installed and managed through Tenstorrent's own command-line tool, tt. This guide follows Tenstorrent's official documentation, from fitting the card to serving your first model on Ubuntu.

What you need

  • A supported operating system. Tenstorrent recommends Ubuntu LTS: Ubuntu 22.04 LTS and 24.04 LTS are supported, other Linux distributions are untested and considered experimental, and macOS, Windows and WSL are not supported because there is no driver.

  • A suitable PC. Tenstorrent's minimum requirements for its PCIe cards include an x86_64 CPU, 64GB of system memory and at least 100GB of storage (2TB or more recommended). Blackhole cards want a PCI Express 5.0 x16 slot with room for a dual-slot card, though Tenstorrent says they can work in slots with reduced connectivity at potentially reduced performance. Wormhole cards use PCI Express 4.0 x16.

  • The right power cable. Blackhole p100a, p150a and p150b cards use a single 12+4-pin 12V-2x6 connector and Tenstorrent asks for an ATX 3.1-certified power supply or better. Wormhole n150 and n300 cards use a 4+4-pin EPS12V connector instead.

  • sudo access and an internet connection. The tt tool downloads packages and model weights, and the driver and firmware tooling are installed as root.

If you haven't bought a card yet, our best Tenstorrent AI cards guide explains the differences between them.

Step 1: Fit the card and connect power

Install the card in a PCIe x16 slot as you would a graphics card. Tenstorrent recommends supporting the card's weight with a horizontal orientation or an anti-sag bracket; our guide to fixing GPU sag covers the options.

For a Blackhole card, plug a 12+4-pin 12V-2x6 cable into the back of the card. Tenstorrent warns you to seat the cable fully and avoid tight bends near the connector, because a partly seated connector can cause instability or damage. If your power supply doesn't have a native 12V-2x6 connector, use only an adapter supplied or explicitly approved by the PSU manufacturer, with each input on a separate PSU output. Our guide to connecting a 12V-2x6 cable safely has more detail.

If you're installing more than one p150a or p150b card, Tenstorrent says to cable them together through their QSFP-DD ports before you power on.

Do not use a p150b in a desktop: Tenstorrent says its passive heatsink needs the forced airflow of a rack-mounted server. Passively cooled Wormhole n150s and n300s cards need their bundled Active Cooling Kit in a desktop workstation.

Step 2: Set PCIe AER to OS First in the BIOS

Before installing any software, enter your motherboard's BIOS and set the PCIe AER Reporting Mechanism to OS First. Tenstorrent says its TT-SMI software needs this setting to work properly, that it's typically found in the Motherboard Information section, and that you must set it again if you update or reset your BIOS. If you're not sure how to get into the BIOS, our guide to changing the boot order in the BIOS shows how to enter it.

Step 3: Check that Linux can see the card

Boot into Ubuntu, open a terminal and run:

sudo update-pciids
lspci -d 1e52:

According to Tenstorrent, you should see one Tenstorrent Blackhole entry for each Blackhole card. An n150 card also appears once, and so does an n300, because its second chip has no PCIe address of its own. If nothing appears, the PC can't see the card at all. For a Blackhole card, check that the fan spins and the green power LED lights up when the system boots.

Step 4: Install the tt command-line tool

tt is a Python application. It needs Python 3.10 or newer with the venv module, plus git and curl. On Ubuntu, install them with:

sudo apt update && sudo apt install -y python3 python3-venv python3-pip git curl ca-certificates

Tenstorrent recommends the uv tool to keep tt in its own isolated Python environment. Install uv using the instructions on its official site (docs.astral.sh/uv), open a new terminal, then run:

uv tool install tenstorrent
uv tool update-shell

Open a new terminal and confirm it works with tt --version. If you already use pipx, pipx install tenstorrent works too. The first time you run tt, it asks whether you want to share anonymous usage telemetry. Tenstorrent says this is strictly opt-in, and you can change your answer later with tt config set telemetry.enabled true or false.

Step 5: Install the driver and firmware with tt update

Run:

tt update

This installs Tenstorrent's tested software stack in one go: device firmware, the kernel-mode driver (TT-KMD), HugePages configuration, TT-SMI, TT-Flash and, if no container runtime is present, Docker. You'll be asked for your password, and tt asks you to confirm before it flashes firmware, because flashing resets the devices.

The installer can leave you with an older version of tt than the latest release, so Tenstorrent recommends running tt self update afterwards. tt update never reboots for you. After the first install, or if the HugePages configuration changed, reboot with sudo reboot. Rebooting also applies your new membership of the docker group if tt installed Docker.

Step 6: Check the card is working

After rebooting, run:

tt device status

You should see one row per chip with its board type, PCIe bus address and live readings such as temperature, power and clock speed. p100 and p150 boards are Blackhole; n150 and n300 boards are Wormhole. An n300 card shows two rows, because it has two chips. For more detail, including firmware versions, run tt device info. For a live view, run tt smi and press Q to leave it.

If you have a multi-card Wormhole system, such as several linked n300 cards, Tenstorrent's guide has an extra step to configure them as a mesh with its TT-Topology tool. Skip it on Blackhole systems and single-card Wormhole systems.

Step 7: Serve your first model

tt model list shows the models validated for the card tt detects, and tt model info <model> reports each model's disk space, host memory needs and validation status. Models download from the Hugging Face Hub, so log in once with tt model login; gated models such as Llama and Gemma also require you to accept the licence on the model's Hugging Face page first.

Then run tt serve <model>. Tenstorrent says this installs its TT-Inference-Server, downloads the weights and starts an OpenAI-compatible endpoint on port 20000. The first time you serve a model it downloads and compiles a lot, so it will take a while; later runs are much faster. Send a test prompt with tt model curl "<prompt>".

To chat with the model in your browser, tt launch openwebui starts Open WebUI, and tt launch list shows the other web interfaces and coding agents available. If you'd prefer a point-and-click app, tt serve <model> --studio runs the model inside Tenstorrent's TT-Studio web application. See our Ollama vs Open WebUI comparison for more on Open WebUI.

On Wormhole cards, Tenstorrent warns that a listed model can still be refused if it's pinned to an older container image, so run tt serve <model> --dry-run to check before downloading anything.

Troubleshooting

  • tt device status shows no devices: reboot if you haven't since tt update installed the driver, check lspci -d 1e52: again, and confirm the BIOS AER setting. If a Blackhole card has power, try tt device reset.

  • Docker refuses commands with a permission error: if Docker was already installed before tt update, add yourself to the docker group with sudo usermod -aG docker $USER, then log out and back in.

  • Still stuck: tt report bundle collects a redacted support bundle and opens a prefilled email to Tenstorrent support.

The bottom line

Setting up a Tenstorrent card is mostly handled by Tenstorrent's tt tool: fit the card, set PCIe AER to OS First in the BIOS, install tt on Ubuntu 22.04 or 24.04, run tt update, reboot and check the card with tt device status. From there, tt serve gives you an OpenAI-compatible endpoint and tt launch openwebui adds a chat interface. Just remember there's no Windows or WSL support at all.

Sources

  1. 01Tenstorrent, Installing Tenstorrent Software
  2. 02Tenstorrent, Installing a Blackhole Card
  3. 03Tenstorrent Blackhole PCIe Cards documentation
  4. 04Tenstorrent Wormhole PCIe Cards documentation
  5. 05Tenstorrent, Serve Models guide

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

What Is PCIe ASPM? Link State Power Management Explained

How-To

What Is PCIe ASPM? Link State Power Management Explained

ASPM and Link State Power Management control how PCI Express devices such as graphics cards and SSDs save power at idle. Here's what ASPM, L0s and L1 mean, where to find the BIOS and Windows settings, and why Intel says Arc cards need ASPM L1 for low idle power.

Marcus Thorne3 min