Skip to content

Commit

Permalink
build: libcudnn library for GPU containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ronpai committed May 10, 2023
1 parent d7555a2 commit 287bbeb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
#FROM python:3.8-slim-buster
FROM nvidia/cuda:11.7.0-runtime-ubuntu20.04

COPY kanai/libcudnn/* /usr/local/cuda/lib64/
# COPY kanai/libcudnn/* /usr/local/cuda/lib64/

RUN apt update
RUN apt install ffmpeg libsm6 libxext6 -y
RUN apt install libcudnn8=8.5.0.96-1+cuda11.7
RUN cp /usr/lib/x86_64-linux-gnu/*cudnn* /usr/local/cuda/lib64/
RUN apt install wget unzip -y
RUN apt install python3.8 pip -y
RUN pip install -U pip
Expand Down
2 changes: 1 addition & 1 deletion src/edge/EdgeSolution/modules/kanai/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"image": {
"repository": "${CONTAINER_REGISTRY_NAME}/kanai",
"tag": {
"version": "0.41.46",
"version": "0.41.47",
"platforms": {
"amd64": "./dockerfiles/Dockerfile.amd64",
"gpuamd64": "./dockerfiles/Dockerfile.gpuamd64",
Expand Down
1 change: 1 addition & 0 deletions src/edge/EdgeSolution/modules/kanai/requirements-gpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ httpx
azure-iot-device
pytz
grpcio
protobuf==3.20.*
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ httpx
azure-iot-device
pytz
grpcio
protobuf==3.19.*
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ httpx
azure-iot-device
pytz
grpcio
protobuf==3.19.*
1 change: 1 addition & 0 deletions src/edge/EdgeSolution/modules/kanai/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ httpx
azure-iot-device
pytz
grpcio
protobuf==3.20.*

0 comments on commit 287bbeb

Please sign in to comment.