Skip to content

Commit

Permalink
feat(prover): Add cuobjdump output after prover builds
Browse files Browse the repository at this point in the history
ref ZKD-2085
  • Loading branch information
yorik committed Dec 3, 2024
1 parent a8b88f2 commit 9f6711e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/circuit-prover-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN curl -Lo sccache-v0.8.1-x86_64-unknown-linux-musl.tar.gz https://github.com/
WORKDIR /usr/src/zksync
COPY . .

RUN cd prover && cargo build --release --bin zksync_circuit_prover
RUN cd prover && cargo build --release --bin zksync_circuit_prover && cuobjdump /usr/src/zksync/prover/target/release/zksync_circuit_prover

FROM nvidia/cuda:12.4.0-runtime-ubuntu22.04

Expand Down
2 changes: 1 addition & 1 deletion docker/proof-fri-gpu-compressor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN cd prover && \
cmake -Bbellman-cuda/build -Sbellman-cuda/ -DCMAKE_BUILD_TYPE=Release && \
cmake --build bellman-cuda/build/

RUN cd prover && BELLMAN_CUDA_DIR=$PWD/bellman-cuda cargo build --features "gpu" --release --bin zksync_proof_fri_compressor
RUN cd prover && BELLMAN_CUDA_DIR=$PWD/bellman-cuda cargo build --features "gpu" --release --bin zksync_proof_fri_compressor && cuobjdump /usr/src/zksync/prover/target/release/zksync_proof_fri_compressor

FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04

Expand Down
2 changes: 1 addition & 1 deletion docker/prover-gpu-fri/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN curl -Lo sccache-v0.8.1-x86_64-unknown-linux-musl.tar.gz https://github.com/
WORKDIR /usr/src/zksync
COPY . .

RUN cd prover && cargo build --release --features "gpu" --bin zksync_prover_fri
RUN cd prover && cargo build --release --features "gpu" --bin zksync_prover_fri && cuobjdump /usr/src/zksync/prover/target/release/zksync_prover_fri

FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04

Expand Down

0 comments on commit 9f6711e

Please sign in to comment.