Installation#

Python (pip)#

pip install raptor-eagle                # CPU threads: no NVIDIA packages
pip install "raptor-eagle[cuda12]"      # NVIDIA GPU; or [cuda13]; add [torch] for PyTorch interop

The package imports as eagle. It depends on neither NumPy nor CuPy: arrays are eagle.Array. Add raptor-eagle[numpy] for array.to("numpy"), and the [cuda12] / [cuda13] extra for array.to("cupy"). It needs Python 3.9 or newer (CPython 3.9-3.14) and an NVIDIA driver at run time; no nvcc or CUDA toolkit. Free-threaded builds (3.14t, 3.15t) run GIL-free. The wheel ships GPU code (SASS) for every NVIDIA architecture from Pascal (sm_60) through Blackwell (sm_100 and sm_103 on B200 and B300, sm_120 and sm_121 on the RTX PRO 6000 and GB10), plus PTX (compute_100 and compute_121) for newer GPUs such as Jetson Thor. The wheel carries that native code, so those GPUs need no first-use JIT; sm_120 is measured (RTX PRO 6000 Blackwell Server Edition); sm_100, sm_103 and sm_121 are not yet run on hardware. One wheel serves [cuda12] and [cuda13] alike: the plugin needs only the driver. To write kernels for it with hawk, install "raptor-hawk[cuda12]" alongside ([cuda13] on both for CUDA 13).

Driver requirements (Linux; the driver, not the installed toolkit, decides, because the plugin uses the driver API only)#

Code used

GPUs

Minimum driver

Precompiled SASS (every listed architecture)

Any GPU the wheel lists

Any driver that supports the GPU: >= 525.60.13 for CUDA 12.x GPUs; Blackwell needs >= 570.26 for the GPU itself

PTX fallback (compute_100, compute_121)

GPUs with no SASS in the wheel: Jetson Thor under a CUDA 13 driver (sm_110), future GPUs

>= 575.51.03 (the CUDA 12.9 PTX ISA); the driver compiles the PTX at first load and caches it in ~/.nv/ComputeCache, near-SASS speed after a one-off JIT delay

Important

NVIDIA packages come only through the extras. raptor-eagle[cuda12] / [cuda13] pull CuPy (cupy-cuda12x / cupy-cuda13x, with the CUDA headers CuPy compiles against); raptor-hawk[cuda12] pulls cuda-bindings 12, nvidia-cuda-nvrtc-cu12 and nvidia-cuda-cccl-cu12, and raptor-hawk[cuda13] pulls cuda-bindings 13, nvidia-cuda-nvrtc 13 and nvidia-cuda-cccl 13 (CUDA 13’s wheels have no -cu13 suffix). Without an extra pip installs no NVIDIA package: you get the CPU route, or the GPU route through a CUDA setup you already have. Pick the extra matching the CUDA version your driver reports (nvidia-smi, top right).

Platforms: the wheels are Linux x86_64 and aarch64 and macOS arm64 (CPython 3.9–3.15, including free-threaded 3.14t and 3.15t). The Linux wheels carry the GPU plugin; the aarch64 one is built and load-tested without a GPU and has not run on one (python -m eagle.cuda --selftest reports what it finds on your machine). The macOS wheels run on the CPU. The performance page lists the NVIDIA GPUs and the x86-64 and ARM (aarch64) CPUs the code has been run and measured on. There are no wheels for Windows, and WSL2 is untested. raptor-core and aether-dsc are pure Python and install anywhere.

To build from source, and for the supported-version table, see build from source.

C++ library#

eagle is a header-only library. Installation copies the headers and a CMake config file so that downstream projects can consume it with find_package(eagle CONFIG REQUIRED).

Prerequisites#

Dependency

Version

Notes

aether

≥ 0.2

Required; must be installed first (see below).

CUDA Toolkit

12.6 or newer (each performance card records its toolkit)

Required for GPU mode; not needed for EAGLE_CPP_MODE.

OpenMP

any

Required for the eagle::cpu::Host dispatcher.

GoogleTest

1.14.0

Test-only; fetched automatically by CMake when EAGLE_BUILD_TESTS=ON.

CMake

≥ 3.20

Build system.

C++ compiler

C++23

GCC ≥ 12 or Clang ≥ 16; for GPU mode, also no newer than your CUDA Toolkit’s own supported host-compiler ceiling (nvcc rejects a newer one).

Installing aether first#

eagle depends only on aether, which must be installed into the same prefix:

git clone https://github.com/amasat01/aether.git
cd aether
cmake -DAETHER_DEBUG_MODE=OFF \
      -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \
      -B build .
cmake --install build

For a CPU-only aether build (required for EAGLE_CPP_MODE):

cmake -DAETHER_DEBUG_MODE=OFF \
      -DAETHER_CPP_MODE=ON \
      -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \
      -B build .
cmake --install build

Building and installing eagle#

cd eagle
cmake -B build \
      -DCMAKE_PREFIX_PATH=${CONDA_PREFIX} \
      -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \
      .
cmake --install build

See Build options for all available CMake options.

Using eagle in your project#

After installation, add to your CMakeLists.txt:

find_package(eagle CONFIG REQUIRED)
target_link_libraries(your_target PRIVATE eagle::eagle)

Then include the library with a single header:

#include <eagle/eagle.h>

Building the Python package from source#

For contributors, or to build against your own toolchain. The Python package (raptor-eagle, imported as eagle) has two compiled parts. eagle._core is plain C++ and needs no CUDA toolkit, runtime or driver. eagle/libeagle_cuda.so, the CUDA backend the core loads on first use, is built with nvcc (pass -DEAGLE_PYTHON_CUDA_PLUGIN=OFF to build the core alone). At run time the backend needs only the NVIDIA driver (libcuda.so.1): it bundles no CUDA runtime and requires no CUDA package. The build needs aether installed in CUDA mode (without -DAETHER_CPP_MODE=ON) plus eagle’s own headers, both in PREFIX. It also depends on raptor, whose schema constants it re-exports (pip install raptor-core, or a clone next to this one). The Python package needs Python 3.9 or newer (CPython 3.9–3.14). The examples that use CuPy arrays need CuPy for your CUDA major version, which the [cuda12] / [cuda13] extra installs.

cmake -DCMAKE_PREFIX_PATH=${PREFIX} -B build-hdr . && cmake --install build-hdr --prefix ${PREFIX}
pip install raptor-core         # or a clone of the raptor repository: pip install ../raptor
export CMAKE_PREFIX_PATH=${PREFIX}
# append ;-DCMAKE_CUDA_HOST_COMPILER=<g++-13> if your default compiler is newer than nvcc accepts
export SKBUILD_CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=<your GPU's arch, e.g. 70>"
pip install -e ./python          # or: pip install ./python

Verify the install:

python -c "import eagle; print(eagle.ABI_VERSION)"

A GPU and its driver are needed only to run device code (eagle.loaded, eagle.pipeline) — the package imports and the host (CPU) launch path work without them, and a device call then raises eagle.BackendUnavailable. python/tests is the test suite: pytest python/tests -m "not gpu and not interop_matrix" drops the GPU-only rows on a machine without a GPU, cupy or torch.

See also

Build options — all CMake flags and their defaults. C++ quickstart — a minimal working C++ capture-and-launch example. Python quickstart — a minimal working Python example.