← Open Source
inference-labs-inc

dsperse

Distributed zkML.

InfrastructureOrchestrationModel optimizationRust
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.34k
Stars
14
Forks
+0
This week
0
Contributors
Created 2025-03-03 · Updated 2026-10-05 · #10628 today

inference-labs-inc/dsperse is ranked 10,628 with 1,342 stars.

Same-category comparison

inference-labs-inc/dsperse is ranked 10,628 among these 8 peers; hao-ai-lab/LookaheadDecoding is ranked 10,626.

Same-category comparison
NameRankMetrics
uxlfoundation/scikit-learn-intelex10,599
Language:
Python
Stars:
1,355
Forks:
190
Description:
Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application.
ebhy/budgetml10,614
Language:
Python
Stars:
1,345
Forks:
65
Description:
Deploy a ML inference service on a budget in less than 10 lines of code.
NervanaSystems/ngraph10,624
Language:
C++
Stars:
1,343
Forks:
218
Description:
nGraph has moved to OpenVINO.
hao-ai-lab/LookaheadDecoding10,626
Language:
Python
Stars:
1,343
Forks:
84
Description:
[ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding.
stulzq/azure-openai-proxy10,650
Language:
Go
Stars:
1,336
Forks:
187
Description:
Azure OpenAI Service Proxy. Convert OpenAI official API request to Azure OpenAI API request. Support GPT-4,Embeddings,Langchain. Adapter from OpenAI to Azure OpenAI.
Vahe1994/AQLM10,667
Language:
Python
Stars:
1,330
Forks:
195
Description:
Official Pytorch repository for Extreme Compression of Large Language Models via Additive Quantization https://arxiv.org/pdf/2401.06118.pdf and PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM Compression https://arxiv.org/abs/2405.14852.
onnx/onnx-tensorflow10,673
Language:
Python
Stars:
1,328
Forks:
299
Description:
Tensorflow Backend for ONNX.
tf-coreml/tf-coreml10,674
Language:
Python
Stars:
1,328
Forks:
164
Description:
TensorFlow to CoreML Converter.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageRust
CategoryInfrastructure
SubcategoryOrchestration, Model optimization
KeywordsCompiler, Inference optimization
Stars1,342
Forks14
Contributors0
Created date2025-03-03
Updated date2026-10-05
Stars in 1 day0
Stars in 7 days0
Rank10,628
Previous rank10,613
Rank change-15
7-day stars rank12,696
Previous 7-day stars rank19,052
7-day stars rank change6,356
Total stars rank8,855
Previous total stars rank8,846
Total stars rank change-9
README summary

DSperse: Community Edition DSperse is a proving-system-agnostic intelligent slicer for verifiable AI. It decomposes ONNX neural network models into circuit-compatible segments and orchestrates compilation, inference, proving, and verification across pluggable ZK backends. Features **Model Slicing**: Split neural network models into individual layers or custom segments **ONNX Support**: Slice and orchestrate ONNX models **Layered Inference**: Run inference on sliced models, chaining the output of each segment **Zero-Knowledge Proofs**: Generate and verify proofs for model execution via JSTprove

**Tiling and Channel Splitting**: Automatically decompose large convolutions for circuit-compatible execution **Proof System Agnostic**: Pluggable backend architecture supporting Expander and Remainder proof systems Documentation Overview: High-level overview of the project, its goals, and features JSTprove Backend: JSTprove integration and usage Installation From PyPI (includes CLI) This installs both the CLI command and the Python library bindings. Project Structure Contributing Contributions are welcome. License See the LICENSE file for details.

Frequently asked questions

How many stars and forks are recorded?

inference-labs-inc/dsperse has 1,342 stars and 14 forks.

What is the repository rank?

inference-labs-inc/dsperse is ranked 10,628.

What language and category are recorded?

inference-labs-inc/dsperse has 1,342 stars, uses Rust and belongs to Infrastructure.

Which repository is closest in rank?

inference-labs-inc/dsperse is compared with hao-ai-lab/LookaheadDecoding, ranked 10,626 with 1,343 stars.

README

DSperse: Community Edition

DSperse is a proving-system-agnostic intelligent slicer for verifiable AI. It decomposes ONNX neural network models into circuit-compatible segments and orchestrates compilation, inference, proving, and verification across pluggable ZK backends.

Features

  • Model Slicing: Split neural network models into individual layers or custom segments
  • ONNX Support: Slice and orchestrate ONNX models
  • Layered Inference: Run inference on sliced models, chaining the output of each segment
  • Zero-Knowledge Proofs: Generate and verify proofs for model execution via JSTprove
  • Tiling and Channel Splitting: Automatically decompose large convolutions for circuit-compatible execution
  • Proof System Agnostic: Pluggable backend architecture supporting Expander and Remainder proof systems

Documentation

  • Overview: High-level overview of the project, its goals, and features
  • JSTprove Backend: JSTprove integration and usage

Installation

From PyPI (includes CLI)

pip install dsperse

This installs both the dsperse CLI command and the Python library bindings. No additional dependencies required — everything is compiled into a single native extension.

From source (Rust binary)

cargo install --path crates/dsperse

As a Rust library

[dependencies]
dsperse = { git = "https://github.com/inference-labs-inc/dsperse.git" }

CLI Usage

DSperse provides six subcommands that form a complete pipeline:

Command Description
slice Split an ONNX model into segments
compile Compile slices into ZK circuits
run Execute chained inference across slices (--weights to inject consumer ONNX)
prove Generate ZK proofs for a completed run
verify Verify ZK proofs
full-run Execute compile, run, prove, verify in sequence (supports --weights)

Quickstart

dsperse slice --model-dir models/net
dsperse compile --model-dir models/net --parallel 4
dsperse run --model-dir models/net --input-file models/net/input.json
dsperse prove --model-dir models/net --run-dir models/net/run/run_*
dsperse verify --model-dir models/net --run-dir models/net/run/run_*

Or run the entire pipeline at once:

dsperse full-run --model-dir models/net --input-file models/net/input.json

To inject consumer weights from a fine-tuned ONNX model (same architecture, different weights):

dsperse run --model-dir models/net --input-file models/net/input.json --weights path/to/consumer.onnx
dsperse full-run --model-dir models/net --input-file models/net/input.json --weights path/to/consumer.onnx

Python Library Usage

import dsperse

metadata_json = dsperse.slice_model("models/net/model.onnx", output_dir="models/net/slices")
dsperse.compile_slices("models/net/slices", parallel=4)
run_json = dsperse.run_inference("models/net/slices", "models/net/input.json", "models/net/run")
proof_json = dsperse.prove_run("models/net/run", "models/net/slices")
verify_json = dsperse.verify_run("models/net/run", "models/net/slices")

To inject consumer weights at inference time, pass weights_onnx (path to a fine-tuned ONNX with the same architecture):

run_json = dsperse.run_inference(
    "models/net/slices", "models/net/input.json", "models/net/run",
    weights_onnx="path/to/consumer.onnx",
)

slice_model, run_inference, prove_run, and verify_run return JSON strings parseable with json.loads(). compile_slices returns None.

Project Structure

crates/dsperse/
  src/
    cli/          CLI argument parsing and command dispatch
    slicer/       ONNX model analysis, slicing, autotiling, channel splitting
    pipeline/     Compilation, inference, proving, verification orchestration
    backend/      JSTprove backend integration
    schema/       Metadata and execution result types (serde)
    converter.rs  Prepares JSTprove artifacts from ONNX files
    utils/        I/O helpers and path resolution
  tests/          Unit and integration tests
python/           Thin Python wrapper for PyO3 bindings

Contributing

Contributions are welcome. Please open issues and PRs on GitHub.

License

See the LICENSE file for details.

Nearby in the ranking
Similar items