Probabilistic Circuits Package
-
(Optional) Make a new conda environment
conda create -n pyjuice python=3.8 conda activate pyjuice
-
Clone this repository and
cdinto it. -
Install the
pyjuicepackage in developement mode, run the following:pip install --editable . -
Install GPU Enabled Pytorch
2.0. See pytorch installation guide for more details. Make sure to install version>=2.0.pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
-
Install
pytest:pip install pytest
-
To run the tests, simply call:
pytest