Open RuiQi857 opened 2 weeks ago
The first time doing a compilation for CUDA is expected to take a long time. It varies based on the GPU architecture and even version of the GPU drivers. I install and use sccache
which makes subsequent builds go much faster.
Thank you for your guidance! After using sccache, my compilation time was reduced to about 11mins.
But I want to further shorten the time, because after we develop locally, we need to push it to the remote server for debugging, and the long compilation time is unacceptable to us; For example, we often only modify the code under guests folder. Under this condition, is there any way to speed up compilation?
We are running
cargo build -F cuda --release
onUbuntu 22.04.4 LTS
. This command takes too long, more than 30 minutes. especially on the last few risc0 related packages.Do you have any good suggestions to optimize the efficiency of the entire compilation? Express my gratitude in advance~
Our environmental information is as follows: