@@ -110,12 +110,27 @@ distributed-zkml/
110110
111111## Requirements
112112
113- ### Docker Setup (Recommended)
113+ ### Option 1: Docker (Recommended)
114+
115+ ``` bash
116+ # Build the development image
117+ docker compose build dev
118+
119+ # Run interactive shell
120+ docker compose run --rm dev
121+
122+ # Run tests
123+ docker compose run --rm test
124+ ```
125+
126+ ### Option 2: Native Build
114127
115128- ** Docker** and ** Docker Compose** only
116129- All other dependencies are included in the container image
117130
118- ### Native Build
131+ # Install Python dependencies
132+ uv sync # or: pip install -e .
133+ ```
119134
120135**Required:**
121136- **Rust** (nightly toolchain) - Install via [rustup](https://rustup.rs/)
@@ -261,25 +276,6 @@ cd ..
261276uv sync # or: pip install -e .
262277```
263278
264- ### Run Distributed Proving
265-
266- ``` bash
267- # Simulation mode (fast, no actual proofs)
268- python3 tests/simple_distributed.py \
269- --model zkml/examples/mnist/model.msgpack \
270- --input zkml/examples/mnist/inp.msgpack \
271- --layers 4 \
272- --workers 2
273-
274- # Real mode (generates actual ZK proofs, ~2-3s per chunk)
275- python3 tests/simple_distributed.py \
276- --model zkml/examples/mnist/model.msgpack \
277- --input zkml/examples/mnist/inp.msgpack \
278- --layers 4 \
279- --workers 2 \
280- --real
281- ```
282-
283279## Testing and CI
284280
285281### Distributed Proving Test
0 commit comments