Skip to content

Installation

Requirements

  • Python 3.10+
  • PyTorch 2.0+
  • A HuggingFace causal language model

From PyPI

pip install hprobes
uv add hprobes

From Source

git clone https://github.com/huseyincavusbi/hprobes.git
cd hprobes
uv venv .venv
source .venv/bin/activate
uv sync --dev

Verification

from hprobes import HProbes
print("hprobes imported successfully")

CLI

The hprobes CLI is included automatically:

hprobes --help