nova-ml is a library for building recursive circuits for folding batch inference in zero-knowledge machine learning.
The thought process behind this library is described in the document Folding Circom circuits: a ZKML case study.
git clone https://github.com/nalinbhardwaj/circom.git
cd circom
git checkout pasta
cargo install --path circom
cd ..
npm install
./compile.sh
cargo build
cargo run
src/{circuitName}/
: Contains the circuit implementation for the circuitcircuitName
.src/main.rs
: Contains the main function. Only the toy example is implemented at the moment.src/utils/
: Contains utility circuit templates.