Skip to content

Installation

Using pip

SCRIBE can be installed from source:

pip install git+https://github.com/mrazomej/scribe.git

uv is the recommended package manager for SCRIBE development:

git clone https://github.com/mrazomej/scribe.git
cd scribe
uv sync

Development Installation

For contributors and developers:

git clone https://github.com/mrazomej/scribe.git
cd scribe
uv sync --group dev

To also install documentation dependencies:

uv sync --group dev --group docs

GPU Support

SCRIBE uses JAX for GPU-accelerated computation. The default installation includes CUDA 12 support. If you are on a system without a GPU, JAX will automatically fall back to CPU execution.

For specific JAX installation instructions (e.g., different CUDA versions or TPU support), see the JAX installation guide.

Docker

A Docker environment is also available for development:

docker build -t scribe-dev .
docker run --gpus all -it scribe-dev

Verifying Installation

After installation, verify that SCRIBE is working:

import scribe
print(scribe.__doc__)

If JAX GPU support is available:

import jax
print(jax.devices())  # Should show GPU device(s)