-
Notifications
You must be signed in to change notification settings - Fork 123
GPU prover #16
Comments
Others:
See also my quick analysis at: mratsim/constantine#92 There are 2 additional backends that might be interesting:
Intel integrated GPUs also have unified memory but they are not powerful enough. In case we want to use those we need to wait for an LLVM version with SPIR-V that is not experimental otherwise LLVM needs to be built from source with a couple of other LLVM+SPIR-V translators. |
The evaluation part of lookup and permutation also deserve optimization. |
As there are many Nvidia GPUs available in the crypto mining market. Focusing on Nvidia GPU should be enough. For each zkp project, to reduce the time of data copy and save memory, there should be also a common memory management module for MSM, FFT and so on. |
The miners focused on megahash per watt first, which was dominated by AMD GPUs, then they used Nvidia GPUs. However, GPUs with large amount of VRAM consume more (and cost more) without it being useful for parallel SHA256 computation. Concretely they bought a lot of AMD RX480 and Nvidia GTX 1080ti but those had only 8 and 11GB of RAM. And nvidia is still gimping the RAM of its GPUs (there are AMD consumer GPUs with 24GB)
Do you have an example of this? Even on CPUs. |
I see. So, there is a challenge to let low-end machines with GPUs like 1080 to do zkp proving.
On CPUs, the system DDR is shared for all the computation, and no need to care about this. For GPU, there is limited memory, which is smaller than DDR, so memory management is essential. |
Look into using the GPU to speed up certain prover work:
Libraries:
The text was updated successfully, but these errors were encountered: