Reverted docker-cuda to mainline version.

This commit is contained in:
ebolam 2022-02-06 19:04:13 -05:00
parent 586b989582
commit c0bbe9f810
6 changed files with 5 additions and 38 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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