Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 673 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 673 Bytes

zlax

Python and Zelus interfaces for the Zelus to Python-JAX compiler and runtime libraries. zlax supports also ProbZelus and provides interfaces and runtime librairies to write probabilistic models and run inference.

Install

# zlax and probzlax
pip install ./zlax
pip install ./probzlax

# zelus-jax
opam pin -k path .

Usage

Compile zls to py

# Zelus
zeluc -I `zeluc -where`-jax -jax <name>.zls

# ProbZelus
probzeluc -I `zeluc -where`-jax -jax <name>.zls

Simulation

Run zluciole. See usage using the -h option.