Installation

QKerasV3 is published on PyPI as qkeras-v3 and imported as qkeras.

Supported backends

QKerasV3 currently supports TensorFlow, JAX and PyTorch via Keras 3.

Before importing qkeras, ensure the Keras backend is set (default is TensorFlow):

export KERAS_BACKEND=tensorflow/jax/torch

You can also set it per-command:

KERAS_BACKEND=tensorflow python -c "import qkeras; print(qkeras.__version__)"

Install from PyPI

pip install -U pip
pip install qkeras-v3

Install from source (development)

git clone https://github.com/fastmachinelearning/qkerasV3.git
cd qkerasV3
pip install -e .

Verify installation

KERAS_BACKEND=tensorflow python - <<'PY'
import qkeras
print("qkeras import OK")
PY