From c3006298c39b4eb67be56b254f8807d0f7d2478e Mon Sep 17 00:00:00 2001 From: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com> Date: Tue, 10 Mar 2020 09:44:35 +0100 Subject: [PATCH] trying to avoid out of memory issues (#6) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b01a4a4..943b2ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES compute,utility ENV NVIDIA_REQUIRE_CUDA "cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=396,driver<397 brand=tesla,driver>=410,driver<411" ENV NCCL_VERSION 2.4.8 ENV CUDNN_VERSION 7.6.5.32 +ENV TF_FORCE_GPU_ALLOW_GROWTH true RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates apt-transport-https gnupg-curl && \ NVIDIA_GPGKEY_SUM=d1be581509378368edeec8c1eb2958702feedf3bc3d17011adbf24efacce4ab5 && \