Skip to content

Conversation

@hero78119
Copy link
Collaborator

@hero78119 hero78119 commented Oct 27, 2025

Build on top of #1092

change scopes

  • verify api for continuation proofs
  • exclude init tables on shard > 0
  • ceno-cli with multiple proofs

design rationales

prover_id and num_provers are exposed as CLI arguments to specify the number of physical provers in a cluster, each mark with a prover_id. The overall trace data is divided into shards, which are distributed evenly among the provers. The number of shards are in general agnostic to number of provers. Each prover is assigned n shard where n can be even empty

Shard distribution follows a balanced allocation strategy — for example, if there are 10 shards and 3 provers, the shard counts will be distributed as 3, 3, and 4, ensuring an even workload across all provers.

@hero78119 hero78119 marked this pull request as draft October 27, 2025 14:25
@hero78119 hero78119 changed the title [WIP] verify continuation proofs [WIP] ceno-cli conntinuation proofs e2e Oct 27, 2025
@hero78119 hero78119 force-pushed the feat/multi_shard_ceno_cli branch from fec3589 to a210d89 Compare October 28, 2025 09:03
@hero78119 hero78119 marked this pull request as ready for review October 28, 2025 09:07

// max cycle per shard
#[arg(long, default_value = "536870912")] // 536870912 = 2^29
max_cycle_per_shard: u64,
Copy link
Collaborator Author

@hero78119 hero78119 Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples:
prover: 3
shard: 10
shards => [4, 3, 3]

prover: 4
shard: 10
shards => [3, 3, 2, 2]

@hero78119 hero78119 changed the title [WIP] ceno-cli conntinuation proofs e2e ceno-cli conntinuation proofs e2e Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants