From 22269c157b25deb943e137a58ca2b0fa0c9714e5 Mon Sep 17 00:00:00 2001 From: Srikumar Sastry Date: Fri, 19 Jan 2024 09:43:19 -0600 Subject: [PATCH] Fix conda getting stuck at solving environment --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ad51ba2f..50b3bcc7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ git \ ffmpeg -RUN conda create -n ffcv python=3.9 \ +RUN conda update conda && \ + conda create -n ffcv python=3.9 \ cupy \ pkg-config \ compilers \ @@ -29,4 +30,4 @@ RUN conda run -n ffcv pip install ffcv # 1- build the Dockerfile (e.g. docker build -t ffcv .) # 2- login to the docker container (e.g. docker run -it --gpus all ffcv bash) # 3- cd ffcv/examples/cifar -# 4- bash train_cifar.sh \ No newline at end of file +# 4- bash train_cifar.sh