Skip to main content
Version: 4.0.0

CUDA

WARNING: CUDA proving is still an experimental feature and may be buggy.

SP1 supports CUDA acceleration, which can provide dramatically better latency and cost performance compared to using the CPU prover, even with AVX acceleration.

Software Requirements

Please make sure you have the following installed before using the CUDA prover:

Hardware Requirements

  • CPU: We recommend having at least 8 CPU cores with 32GB of RAM available to fully utilize the GPU.
  • GPU: 24GB or more for core/compressed proofs, 40GB or more for shrink/wrap proofs

Usage

To use the CUDA prover, you have two options:

  1. Use ProverClient::from_env to build the client and set SP1_PROVER environment variable to cuda.
  2. Use ProverClient::builder().cuda().build() to build the client.

Then, use your standard methods on the ProverClient to generate proofs.