Framework to prove inference of ML models blazingly fast
3,353
stars
1,219
commits
Rust
primary language
May 31, 2026
updated
Zero-knowledge proof system for neural network inference, with first-class support for end-to-end LLM proving.
zkml/README.mdThat's where the installation steps, model setup, GPU build, and the full end-to-end bench-llm tutorial live. The rest of this page is a high-level summary of what DeepProve is and what to expect.
DeepProve is the first end-to-end zero-knowledge proof system for full LLM inference. It generates cryptographic proofs of neural network forward passes using sumchecks and logup GKR, achieving sublinear proving time in model size β orders of magnitude faster than circuit-based approaches.
Confirmed working models: GPT-2, Gemma 3, Llama 2 β all transformer layers proven end-to-end, from token embeddings through to next-token argmax. MLP and CNN inference is also supported.
This repository is a Rust workspace. The zkml crate is the core proving library; the remaining crates provide the client stack, storage layer, and developer tooling.
Single-machine inference proving on a 24-core / 504 GB CPU server:
| Model | Sequence | Prove time | Verify | Proof size | Throughput |
|---|---|---|---|---|---|
| GPT-2 | 512 tokens | 7.6 min | 1.3 s | 10.7 MiB | 1.12 tokens/s (67 tokens/min) |
| Gemma 3 | 512 tokens | 19 min | 4.3 s | 27 MiB | 0.45 tokens/s (27 tokens/min) |
For the full methodology and a deeper benchmark sweep across sequence lengths and models, see the DeepProve paper (link to be added) and zkml/README.md.
| Crate | Description |
|---|---|
zkml | Core proving library β model quantization, layer implementations (MLP, CNN, transformer), and ZK proof generation/verification |
deep-prove | Client stack β deep-prove-worker runs a proof generation server; deep-prove-cli submits proving jobs locally or to a remote proving network |
tenstore | Storage facade for persisting and retrieving tensor data; supports local and remote (S3-compatible) backends |
tenvis | Interactive CLI tool for inspecting and debugging proof data stored in tenstore |
telemetry | Shared OpenTelemetry tracing and logging setup used across all crates |
utils | Shared utility helpers: CSV recording, memory tracking, statistical summaries |
Licensed under the Lagrange License.
This project builds upon the work from scroll-tech/ceno, reusing the sumcheck and GKR implementation from that codebase.
(top 30 of 37)
Rust
90.2%
Python
9.6%
Framework to prove inference of ML models blazingly fast
3,353
stars
1,219
commits
Rust
primary language
May 31, 2026
updated
Zero-knowledge proof system for neural network inference, with first-class support for end-to-end LLM proving.
zkml/README.mdThat's where the installation steps, model setup, GPU build, and the full end-to-end bench-llm tutorial live. The rest of this page is a high-level summary of what DeepProve is and what to expect.
DeepProve is the first end-to-end zero-knowledge proof system for full LLM inference. It generates cryptographic proofs of neural network forward passes using sumchecks and logup GKR, achieving sublinear proving time in model size β orders of magnitude faster than circuit-based approaches.
Confirmed working models: GPT-2, Gemma 3, Llama 2 β all transformer layers proven end-to-end, from token embeddings through to next-token argmax. MLP and CNN inference is also supported.
This repository is a Rust workspace. The zkml crate is the core proving library; the remaining crates provide the client stack, storage layer, and developer tooling.
Single-machine inference proving on a 24-core / 504 GB CPU server:
| Model | Sequence | Prove time | Verify | Proof size | Throughput |
|---|---|---|---|---|---|
| GPT-2 | 512 tokens | 7.6 min | 1.3 s | 10.7 MiB | 1.12 tokens/s (67 tokens/min) |
| Gemma 3 | 512 tokens | 19 min | 4.3 s | 27 MiB | 0.45 tokens/s (27 tokens/min) |
For the full methodology and a deeper benchmark sweep across sequence lengths and models, see the DeepProve paper (link to be added) and zkml/README.md.
| Crate | Description |
|---|---|
zkml | Core proving library β model quantization, layer implementations (MLP, CNN, transformer), and ZK proof generation/verification |
deep-prove | Client stack β deep-prove-worker runs a proof generation server; deep-prove-cli submits proving jobs locally or to a remote proving network |
tenstore | Storage facade for persisting and retrieving tensor data; supports local and remote (S3-compatible) backends |
tenvis | Interactive CLI tool for inspecting and debugging proof data stored in tenstore |
telemetry | Shared OpenTelemetry tracing and logging setup used across all crates |
utils | Shared utility helpers: CSV recording, memory tracking, statistical summaries |
Licensed under the Lagrange License.
This project builds upon the work from scroll-tech/ceno, reusing the sumcheck and GKR implementation from that codebase.
(top 30 of 37)
Rust
90.2%
Python
9.6%