Discover and explore top open-source AI tools and projects—updated daily.
inference-labs-incToolkit for distributed zero-knowledge machine learning (zkML)
Top 57.4% on SourcePulse
Summary
Dsperse is a toolkit for distributed zero-knowledge machine learning (zkML), enabling users to slice, analyze, and execute neural network models. It specifically targets ONNX models, facilitating detailed analysis, optimization, and verification through a modular, layered inference approach. The primary benefit is enabling the generation and verification of zero-knowledge proofs for model computations, making complex AI models auditable and privacy-preserving.
How It Works
The core of Dsperse involves breaking down ONNX neural network models into smaller, manageable segments using its slicing functionality. It then orchestrates layered inference, where the output of one segment becomes the input for the next. Crucially, Dsperse integrates with the ezkl library to compile these segments into circuits, generate zero-knowledge proofs for their execution, and verify these proofs. This approach allows for distributed computation and verifiable AI, offering a novel way to ensure the integrity and privacy of machine learning model inferences.
Quick Start & Requirements
Installation is straightforward via PyPI (pip install dsperse or uv tool install dsperse) or from source using the ./install.sh script (requires Python 3.9+). Key dependencies include the ezkl CLI, recommended via cargo (requiring Rust) or alternatively via pip. For optimal performance, EZKL's Setup Reference String (SRS) files are recommended and can be downloaded interactively during installation or manually using ezkl get-srs.
Highlighted Details
ezkl for zkML circuit generation, proving, and verification.full-run command streamlines the entire pipeline from slicing to verification.Maintenance & Community
The project welcomes contributions via issues and PRs. Specific details regarding core maintainers, community channels (like Discord or Slack), or a public roadmap are not detailed in the provided README.
Licensing & Compatibility
The specific license type is not explicitly stated in the provided text, with a note to "See the LICENSE file for details." This necessitates checking the repository directly for licensing terms and compatibility, especially for commercial use.
Limitations & Caveats
Currently, Dsperse exclusively supports ONNX models. The tool generates absolute paths in its output JSON files, which may require manual adjustment when sharing artifacts across different computing environments. The download of EZKL SRS files can be time-consuming.
2 days ago
Inactive
ddkang
PrimeIntellect-ai
zkonduit