ZKML inference engine for deep learning models and computational graphs
Top 35.0% on sourcepulse
EZKL is a ZKML (Zero-Knowledge Machine Learning) engine enabling private inference for deep learning models and arbitrary computational graphs. It allows users to define models in PyTorch/TensorFlow, export them to ONNX, and generate ZK-SNARK circuits for verifiable computation. This empowers users to prove statements about private data processed by public models, public data processed by private models, or both, leveraging the Halo2 proof system for efficient verification.
How It Works
EZKL translates computational graphs (e.g., neural networks) defined in frameworks like PyTorch or TensorFlow into the ONNX format. It then quantizes these operations and converts the ONNX graph into a ZK-SNARK circuit using the Halo2 proof system. This circuit allows for the generation of proofs that a specific computation was performed correctly, with the verification process being computationally inexpensive and suitable for on-chain or browser-based execution.
Quick Start & Requirements
pip install ezkl
or pip install ezkl-gpu
for GPU acceleration.curl https://raw.githubusercontent.com/zkonduit/ezkl/main/install_ezkl_cli.sh | bash
.icicle
feature.examples/notebooks
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
docs/advanced_security
.2 days ago
1 day