zkonduit / ezkl

ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.
https://docs.ezkl.xyz/
947 stars 142 forks source link

feat: bounded lookup log argument #864

Closed alexander-camuto closed 2 weeks ago

alexander-camuto commented 2 weeks ago

Uses a piecewise linear approximation of log2 to create a log argument that uses a bounded lookup table. This induces errors of max 3-5% on test examples.

For now this is an experimental feature and can be switched on using ezkl gen-settings --bounded-log-lookup