Skip to content

Commit

Permalink
feat(prover): Make compressor build with 80 CUDA arch. (#2812)
Browse files Browse the repository at this point in the history
## What ❔

Add arch 80 to docker image of compressor

## Why ❔

To be able to run it on NVIDIA A100

## 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 `zk fmt` and `zk lint`.
  • Loading branch information
Artemka374 committed Sep 5, 2024
1 parent 1da3f7e commit 50da6c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/proof-fri-gpu-compressor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ FROM nvidia/cuda:12.2.0-devel-ubuntu22.04 as builder
ARG DEBIAN_FRONTEND=noninteractive

ARG CUDA_ARCH=89
ENV CUDAARCHS=${CUDA_ARCH}
ARG A100_CUDA_ARCH=80
ENV CUDAARCHS=${CUDA_ARCH};${A100_CUDA_ARCH}

RUN apt-get update && apt-get install -y curl clang openssl libssl-dev gcc g++ git \
pkg-config build-essential libclang-dev && \
Expand Down

0 comments on commit 50da6c4

Please sign in to comment.