Skip to content

Conversation

@darth-cy
Copy link
Collaborator

No description provided.

@darth-cy darth-cy marked this pull request as draft November 24, 2025 00:43
darth-cy and others added 10 commits November 25, 2025 18:44
# Summary

We added a new feature called `gpu`. Running with the cmd

```
RUST_LOG=info cargo test --release --package ceno_recursion  --lib  aggregation::tests::test_single  --features "gpu" -- --exact
```
We can see the gpu prover's performance is like this (876160
instructions).

```
execute_metered [ 20.6ms | 100.00% ]
execute_preflight [ 126ms | 66.19% / 100.00% ]
trace_gen [ 431ms | 0.93% / 100.00% ] (⬆️ 😬)
stark_prove_excluding_trace [ 183ms | 0.07% / 100.00% ]
```

And the cpu's prover print out log like this.
```
execute_metered [ 20.4ms | 100.00% ]
execute_preflight [ 115ms | 65.98% / 100.00% ]
trace_gen [ 252ms | 1.16% / 100.00% ]
stark_prove_excluding_trace [ 3.52s | 0.12% / 100.00% ]
```

### aggregate binary

with gpu, we have
```
Aggregation - Start leaf proof (idx: 0) at: 1.031152699s
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=16
Aggregation - Completed leaf proof (idx: 0) at: 1.587258683s
Aggregation - Start leaf proof (idx: 1) at: 1.587274907s
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=16
Aggregation - Completed leaf proof (idx: 1) at: 2.065737664s
Aggregation - Start leaf proof (idx: 2) at: 2.065757212s
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=17
Aggregation - Completed leaf proof (idx: 2) at: 2.292657888s
```
without gpu, we end up with
```
Aggregation - Start leaf proof (idx: 0) at: 952.493241ms
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=16
Aggregation - Completed leaf proof (idx: 0) at: 7.603724584s
Aggregation - Start leaf proof (idx: 1) at: 7.603750731s
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=16
Aggregation - Completed leaf proof (idx: 1) at: 14.088209165s
Aggregation - Start leaf proof (idx: 2) at: 14.088250958s
 INFO total_proof:stark_prove_excluding_trace: openvm_stark_backend::prover::coordinator: num_air=17
Aggregation - Completed leaf proof (idx: 2) at: 18.048298693s
```
@kunxian-xia kunxian-xia marked this pull request as ready for review December 3, 2025 07:59
Base automatically changed from feat/recursion_ecc to master December 3, 2025 08:23
@kunxian-xia kunxian-xia enabled auto-merge December 4, 2025 06:08
@kunxian-xia kunxian-xia added this pull request to the merge queue Dec 4, 2025
Merged via the queue into master with commit f7f3374 Dec 4, 2025
4 checks passed
@kunxian-xia kunxian-xia deleted the feat/recursion_pi branch December 4, 2025 06:46
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.

3 participants