Version Compatibility Matrix

Last updated: January 2026

This guide documents validated combinations of hardware, software versions, and configurations for the Tenstorrent ecosystem. Use this to troubleshoot compatibility issues or plan your development environment.


๐ŸŽฏ Quick Recommendations by Use Case

Just Starting Out (Lessons 1-5)

Hardware: n150 (Wormhole single-chip) TT-Metaliumโ„ข: Latest from main branch Python: 3.10 (system default on Ubuntu 22.04) Model: Qwen3-0.6B (1.5GB, no HuggingFace token needed)

Production Inference (vLLM)

Hardware: n150/n300/T3000/p100/p150 Deployment: TT-Inference-Server Docker image (recommended) Alternative: Native installation requires careful version matching

Multi-Chip Development (TT-XLA)

Hardware: n150/n300/T3000/Galaxy Python: 3.11 Installation: Wheel-based (no source build required)

Experimental Compiler (TT-Forgeโ„ข)

Hardware: n150 only (single-chip) Python: 3.11 Build time: 45-60 minutes Requirements: clang-17


๐Ÿ–ฅ๏ธ Hardware Configurations

Wormholeโ„ข Architecture

n150 (Single Chip)

n300 (Dual Chip)

T3000 (8 Chips)

TT-QuietBox (Wormhole-based)

Blackhole Architecture

p100 (Single Chip)

p150 (Configurable: 1, 2, 4, or 8 chips)

Galaxy (Multi-Node)


๐Ÿ“ฆ Software Stack Versions

Core Components (Lessons 1-10)

Component Version Python Installation Method Notes
TT-Metalium Latest (main branch) 3.10 Source build Core low-level API
TT-NNโ„ข Bundled with TT-Metalium 3.10 Included High-level neural network ops
OpenMPI ULFM 5.0.7 N/A System package Required for all hardware
PyTorch 2.x 3.10 pip (in venv) ML framework
Transformers Latest 3.10 pip (in venv) HuggingFace models

Environment variables required:

export TT_METAL_HOME=~/tt-metal
export PYTHONPATH=$TT_METAL_HOME:$PYTHONPATH
export LD_LIBRARY_PATH=/opt/openmpi-v5.0.7-ulfm/lib:$LD_LIBRARY_PATH
export MESH_DEVICE=N150  # or N300, T3K, P100, P150, GALAXY

vLLM Production Inference (Lesson 7)

Deployment Method Hardware Status Notes
TT-Inference-Server (Docker) n150/n300/T3000/p100/p150 โœ… Recommended Pre-validated configurations
Native installation n150/n300/T3000 โš ๏ธ Advanced Version compatibility challenges

Docker method (validated):

# Uses pre-built image with matched versions
# See Lesson 6 for TT-Inference-Server
# See Lesson 7 for manual vLLM setup

Native installation compatibility matrix:

Hardware TT-Metalium vLLM Status Notes
n150 Latest (main) Docker image โœ… Validated Use Docker
n150 Specific commits Native build โš ๏ธ Complex Requires model_specs_output.json matching
n300+ Latest (main) Docker image โœ… Validated Use Docker

Known issues with native installation:

Environment variables (vLLM):

export VLLM_TARGET_DEVICE=tt
export VLLM_CONFIGURE_LOGGING=1
export VLLM_RPC_TIMEOUT=900000
# For Blackhole (p100/p150):
export TT_METAL_ARCH_NAME=blackhole

TT-XLA JAX Compiler (Lesson 12)

Component Version Python Installation Method Hardware Support
TT-XLA Latest wheel 3.11 pip (wheel) n150/n300/T3000/Galaxy
JAX 0.7.1+ 3.11 pip Required dependency
TT-Forge Cloned for demos 3.11 git clone Demo code only

Status: โœ… Production-ready for multi-chip

Installation:

# Python 3.11 required
python3.11 -m venv ~/tt-xla-venv
source ~/tt-xla-venv/bin/activate
pip install pjrt-plugin-tt --pre --upgrade --extra-index-url https://pypi.eng.aws.tenstorrent.com/

Environment isolation (CRITICAL):

# MUST unset TT-Metalium variables
unset TT_METAL_HOME
unset LD_LIBRARY_PATH
export PYTHONPATH=~/tt-forge:$PYTHONPATH  # For demo imports only

Use the helper script:

source ~/tt-scratchpad/setup-tt-xla.sh

TT-Forge MLIR Compiler (Lesson 11)

Component Version Python Installation Method Hardware Support
TT-Forge Source build 3.11 cmake (45-60 min) n150 only
clang 17 N/A apt Required compiler
LLVM Built from submodule N/A cmake 6719 targets (~40 min)
JAX 0.7.1 3.11 pip Build dependency

Status: โš ๏ธ Experimental (as of December 2025)

Build requirements:

# Install prerequisites
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.11 python3.11-venv python3.11-dev clang-17

# Create compiler symlinks (CRITICAL)
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100

Build time: 45-60 minutes (LLVM compilation is slow)

Environment setup (CRITICAL):

# MUST unset TT-Metalium variables
unset TT_METAL_HOME
unset TT_METAL_VERSION

# MUST use absolute paths (CMake doesn't expand ~)
export TTFORGE_TOOLCHAIN_DIR=/home/$USER/ttforge-toolchain
export TTMLIR_TOOLCHAIN_DIR=/home/$USER/ttmlir-toolchain
export TTFORGE_PYTHON_VERSION=python3.11
export CC=/usr/bin/clang-17
export CXX=/usr/bin/clang++-17

Use the helper script:

source ~/tt-scratchpad/setup-tt-forge.sh

Model support: 169 validated models in tt-forge-models repository

Stable Diffusion 3.5 (Lesson 9)

Component Hardware Status Notes
SD 3.5 Large n150/n300/T3000/p100 โœ… Validated 1024x1024 generation
Generation time n150 ~2-3 minutes First run, includes model load
Environment Standard TT-Metalium โœ… Works No special setup needed

No special version requirements - uses standard TT-Metalium environment.


๐Ÿ”ง Environment Variable Reference

Always Required (Lessons 1-10)

# Point to TT-Metalium installation
export TT_METAL_HOME=~/tt-metal

# Add TT-Metalium to Python import path
export PYTHONPATH=$TT_METAL_HOME:$PYTHONPATH

# Add OpenMPI libraries (CRITICAL - #1 most common error)
export LD_LIBRARY_PATH=/opt/openmpi-v5.0.7-ulfm/lib:$LD_LIBRARY_PATH

# Specify hardware type
export MESH_DEVICE=N150  # or N300, T3K, P100, P150, GALAXY

Hardware-Specific

For Blackhole chips (p100/p150):

export TT_METAL_ARCH_NAME=blackhole

Application-Specific

vLLM:

export VLLM_TARGET_DEVICE=tt
export VLLM_CONFIGURE_LOGGING=1
export VLLM_RPC_TIMEOUT=900000

Stable Diffusion (non-interactive):

export NO_PROMPT=1

TT-XLA (isolation required):

unset TT_METAL_HOME
unset LD_LIBRARY_PATH
export PYTHONPATH=~/tt-forge:$PYTHONPATH

TT-Forge (isolation required):

unset TT_METAL_HOME
unset TT_METAL_VERSION
export TTFORGE_TOOLCHAIN_DIR=/home/$USER/ttforge-toolchain
export TTMLIR_TOOLCHAIN_DIR=/home/$USER/ttmlir-toolchain
export TTFORGE_PYTHON_VERSION=python3.11
export CC=/usr/bin/clang-17
export CXX=/usr/bin/clang++-17

๐Ÿ› Common Compatibility Issues

Issue 1: "undefined symbol: MPIX_Comm_revoke"

Error:

ImportError: /home/user/tt-metal/build/tt_metal/libtt_metal.so: undefined symbol: MPIX_Comm_revoke

Cause: OpenMPI library path not set

Fix:

export LD_LIBRARY_PATH=/opt/openmpi-v5.0.7-ulfm/lib:$LD_LIBRARY_PATH

Prevalence: #1 most common error in cloud environments

Make permanent:

echo 'export LD_LIBRARY_PATH=/opt/openmpi-v5.0.7-ulfm/lib:$LD_LIBRARY_PATH' >> ~/.bashrc

Issue 2: vLLM Version Mismatch

Error:

TypeError: block_size has unsupported type list[int]

Cause: PyTorch/vLLM type hint incompatibility

Fix: Use Docker image (validated configuration)

# See Lesson 6 for TT-Inference-Server Docker setup
# See Lesson 7 for manual Docker approach

Alternative: Match specific TT-Metalium and vLLM commits via model_specs_output.json (advanced)

Issue 3: TT-Forge Import Failure

Error:

ImportError: /path/to/libTTMLIRRuntime.so: undefined symbol: _ZN4ttnn...

Cause: Environment variable pollution (TT_METAL_HOME conflicts)

Fix:

source ~/tt-scratchpad/setup-tt-forge.sh

The script automatically unsets conflicting variables.

Issue 4: CMake Build Errors (TT-Forge)

Error:

CMake Error: CMAKE_C_COMPILER: clang not found

Cause: Compiler symlinks not created

Fix:

sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100

Issue 5: JAX 0.7.1 Not Found

Error:

ERROR: Could not find a version that satisfies the requirement jax==0.7.1
ERROR: Ignored the following versions that require a different python version: ... Requires-Python >=3.11

Cause: Python version mismatch (needs 3.11)

Fix:

# Install Python 3.11
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.11 python3.11-venv python3.11-dev

# Create venv with 3.11
python3.11 -m venv ~/tt-xla-venv
source ~/tt-xla-venv/bin/activate

๐Ÿ“Š Model Size vs Hardware Matrix

Model Parameters Disk Size n150 (12GB) n300 (24GB) T3000 (96GB)
Qwen3-0.6B 0.6B 1.5GB โœ… Perfect โœ… Excellent โœ… Excellent
Gemma 3-1B-IT 1B 2GB โœ… Good โœ… Excellent โœ… Excellent
Llama-3.1-8B 8B 16GB โš ๏ธ Tight โœ… Good โœ… Excellent
Qwen3-8B 8B 16GB โš ๏ธ Tight โœ… Good โœ… Excellent
Llama-3.1-70B 70B 140GB โŒ Too large โŒ Too large โœ… Good

Legend:

n150 recommendation: Start with Qwen3-0.6B (0.6B parameters, 1.5GB)


๐ŸŽ“ Learning Path Recommendations

Path 1: Beginner (First Time with Tenstorrent)

  1. Hardware: n150
  2. Start with: Lessons 1-5 (Direct TT-Metalium API)
  3. Model: Qwen3-0.6B
  4. Time to first inference: ~30 minutes
  5. Environment: Standard TT-Metalium (Python 3.10)

Path 2: Production Deployment

  1. Hardware: n150/n300/T3000 depending on model size
  2. Start with: Lessons 1-5 (understand the stack)
  3. Then: Lesson 6 (TT-Inference-Server Docker)
  4. Model: Match to hardware capacity
  5. Environment: Docker (validated configurations)

Path 3: Model Developer

  1. Hardware: n150 (development), scale up for testing
  2. Start with: Lessons 1-5 (foundation)
  3. Then: Lesson 13 (Bounty Program contribution workflow)
  4. Model: Bring your own architecture
  5. Environment: Standard TT-Metalium + git workflow

Path 4: Compiler Explorer

  1. Hardware: n150 (single-chip)
  2. Start with: Lessons 1-5 (baseline understanding)
  3. Then: Lesson 12 (TT-XLA, production-ready)
  4. Optional: Lesson 11 (TT-Forge, experimental)
  5. Environment: Isolated (separate Python 3.11 venvs)

๐Ÿ” Validation Status by Lesson

Lesson Hardware Tested Status Notes
1-5 n150 โœ… Validated Zero issues after install_dependencies.sh
6 n150 โœ… Validated TT-Inference-Server Docker
7 n150 โš ๏ธ Docker recommended Native install has version challenges
8 n150 โœ… Validated VSCode chat integration
9 n150 โœ… Validated Stable Diffusion 3.5, ~2.5 min generation
10 n150 โœ… Validated Coding assistant
11 n150 โš ๏ธ Experimental TT-Forge 45-60 min build, limited model support
12 n150 โœ… Validated TT-XLA wheel install, GPT-2 XL working
13-14 n150 ๐Ÿ“‹ Documentation Bounty program, RISC-V programming
15 n150 โœ… Validated TT-Metalium cookbook projects

๐Ÿ“š Additional Resources

Official Documentation:

Community:

Troubleshooting:


Remember: When in doubt, start with the recommended path for your hardware. The most reliable configurations are thoroughly documented in Lessons 1-5, which work on all hardware.