Skip to content

Commit

Permalink
feat(prover): Bump CUDA to 12.4 for circuit prover (#3351)
Browse files Browse the repository at this point in the history
## What ❔

Upgrade CUDA from 12.2 to 12.4 for circuit prover.

<!-- 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 ❔

<!-- 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. -->

- [ ] 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.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.

ref ZKD-2085
  • Loading branch information
yorik authored Dec 2, 2024
1 parent f27b4f3 commit a8b88f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/circuit-prover-gpu-gar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG PROVER_IMAGE
FROM us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/circuit-prover-gpu:2.0-$PROVER_IMAGE as prover

FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04 as app
FROM nvidia/cuda:12.4.0-runtime-ubuntu22.04 as app

# HACK copying to root is the only way to make Docker layer caching work for these files for some reason
COPY *.bin /
Expand Down
4 changes: 2 additions & 2 deletions docker/circuit-prover-gpu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04 AS builder
FROM nvidia/cuda:12.4.0-devel-ubuntu22.04 AS builder

ARG DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -45,7 +45,7 @@ COPY . .

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

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

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

Expand Down

0 comments on commit a8b88f2

Please sign in to comment.