From c0bbe9f810c80b887f8d5b6fe17ae9524d463e31 Mon Sep 17 00:00:00 2001 From: ebolam Date: Sun, 6 Feb 2022 19:04:13 -0500 Subject: [PATCH] Reverted docker-cuda to mainline version. --- docker-cuda/Dockerfile | 8 +++++--- docker-cuda/Dockerfile_base | 10 ---------- docker-cuda/Dockerfile_base_finetune | 6 ------ docker-cuda/Dockerfile_base_huggingface | 7 ------- docker-cuda/Dockerfile_finetune | 7 ------- docker-cuda/build_docker_images.sh | 5 ----- 6 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 docker-cuda/Dockerfile_base delete mode 100644 docker-cuda/Dockerfile_base_finetune delete mode 100644 docker-cuda/Dockerfile_base_huggingface delete mode 100644 docker-cuda/Dockerfile_finetune delete mode 100644 docker-cuda/build_docker_images.sh diff --git a/docker-cuda/Dockerfile b/docker-cuda/Dockerfile index 36dac8e1..49ec3c8a 100644 --- a/docker-cuda/Dockerfile +++ b/docker-cuda/Dockerfile @@ -1,7 +1,9 @@ # This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and # installs the rocm-dev package. -FROM ebolam/koboldai_base +FROM mambaorg/micromamba WORKDIR /content/ -COPY . /content/ -CMD python aiserver.py +COPY env.yml /home/micromamba/env.yml +RUN micromamba install -y -n base -f /home/micromamba/env.yml +USER root +RUN apt update && apt install xorg -y \ No newline at end of file diff --git a/docker-cuda/Dockerfile_base b/docker-cuda/Dockerfile_base deleted file mode 100644 index 8f7e2f63..00000000 --- a/docker-cuda/Dockerfile_base +++ /dev/null @@ -1,10 +0,0 @@ -# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and -# installs the rocm-dev package. - - -FROM mambaorg/micromamba -WORKDIR /content/ -COPY environments /content/environments -RUN micromamba install -y -n base -f /content/environments/base.yml -USER root -RUN apt update && apt install xorg -y diff --git a/docker-cuda/Dockerfile_base_finetune b/docker-cuda/Dockerfile_base_finetune deleted file mode 100644 index 843fdb06..00000000 --- a/docker-cuda/Dockerfile_base_finetune +++ /dev/null @@ -1,6 +0,0 @@ -# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and -# installs the rocm-dev package. - -FROM ebolam/koboldai_base:bare -WORKDIR /content/ -RUN micromamba update -y -n base -f /content/environments/finetuneanon.yml diff --git a/docker-cuda/Dockerfile_base_huggingface b/docker-cuda/Dockerfile_base_huggingface deleted file mode 100644 index c3fb8833..00000000 --- a/docker-cuda/Dockerfile_base_huggingface +++ /dev/null @@ -1,7 +0,0 @@ -# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and -# installs the rocm-dev package. - - -FROM ebolam/koboldai_base:bare -WORKDIR /content/ -RUN micromamba update -y -n base -f /content/environments/huggingface.yml diff --git a/docker-cuda/Dockerfile_finetune b/docker-cuda/Dockerfile_finetune deleted file mode 100644 index cd8f4b4b..00000000 --- a/docker-cuda/Dockerfile_finetune +++ /dev/null @@ -1,7 +0,0 @@ -# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and -# installs the rocm-dev package. - -FROM ebolam/koboldai_base:finetune -WORKDIR /content/ -COPY . /content/ -CMD python aiserver.py diff --git a/docker-cuda/build_docker_images.sh b/docker-cuda/build_docker_images.sh deleted file mode 100644 index 42a4d49a..00000000 --- a/docker-cuda/build_docker_images.sh +++ /dev/null @@ -1,5 +0,0 @@ -docker image build -f docker-cuda/Dockerfile_base . -t ebolam/koboldai_base:bare -docker image build -f docker-cuda/Dockerfile_base_huggingface . -t ebolam/koboldai_base -docker image build -f docker-cuda/Dockerfile_base_finetune . -t ebolam/koboldai_base:finetune -docker image build -f docker-cuda/Dockerfile . -t ebolam/koboldai -docker image build -f docker-cuda/Dockerfile_finetune . -t ebolam/koboldai:finetune \ No newline at end of file