Skip to content

Commit

Permalink
Merge pull request Azure#262 from linkernetworks/build/gpu-cuda-lib
Browse files Browse the repository at this point in the history
build: libcudnn library for GPU container
  • Loading branch information
Haishi2016 authored May 21, 2023
2 parents 30dd865 + 0a8a018 commit d594f1f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
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
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 d594f1f

Please sign in to comment.