Skip to content

Commit 00badca

Browse files
authored
feat(prover): Add cuobjdump output after prover builds (#3354)
## What ❔ Add CUDA cuobjdump output on binary after build. <!-- What are the changes this PR brings about? --> <!-- Example: This PR adds a PR template to the repo. --> <!-- (For bigger PRs adding more context is appreciated) --> ## Why ❔ To make sure that we build in all the needed GPU support. <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [x] Code has been formatted via `zkstack dev fmt` and `zkstack dev lint`. ref ZKD-2085
1 parent a8b88f2 commit 00badca

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

docker/circuit-prover-gpu/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ COPY . .
4545

4646
RUN cd prover && cargo build --release --bin zksync_circuit_prover
4747

48+
# Output build in CUDA architectures for debugging purposes.
49+
RUN cuobjdump /usr/src/zksync/prover/target/release/zksync_circuit_prover
50+
4851
FROM nvidia/cuda:12.4.0-runtime-ubuntu22.04
4952

5053
RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/*

docker/proof-fri-gpu-compressor/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ RUN cd prover && \
5050

5151
RUN cd prover && BELLMAN_CUDA_DIR=$PWD/bellman-cuda cargo build --features "gpu" --release --bin zksync_proof_fri_compressor
5252

53+
# Output build in CUDA architectures for debugging purposes.
54+
RUN cuobjdump /usr/src/zksync/prover/target/release/zksync_proof_fri_compressor
55+
5356
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04
5457

5558
RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/*

docker/prover-gpu-fri/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ COPY . .
4545

4646
RUN cd prover && cargo build --release --features "gpu" --bin zksync_prover_fri
4747

48+
# Output build in CUDA architectures for debugging purposes.
49+
RUN cuobjdump /usr/src/zksync/prover/target/release/zksync_prover_fri
50+
4851
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04
4952

5053
RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)