KLay Docs

KLay is a Python library for accelerating inference on sparse arithmetic circuits.

Get started using the Quick Start Guide!

_images/scatter_reduce.svg

At its core, KLay transforms sparse directed acyclic graphs into layers that can be executed in parallel. The design of KLay is described in our paper KLay: Accelerating Arithmetic Circuits for Neurosymbolic AI, published at ICLR 2025.


Contents