commit
932aabc2f3
|
@ -1,6 +1,6 @@
|
||||||
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
|
FROM mambaorg/micromamba
|
||||||
# installs the rocm-dev package.
|
WORKDIR /content/
|
||||||
|
COPY env.yml /home/micromamba/env.yml
|
||||||
FROM rocm/pytorch
|
RUN micromamba install -y -n base -f /home/micromamba/env.yml
|
||||||
RUN conda install --all -y Flask-SocketIO
|
USER root
|
||||||
RUN pip3 install git+https://github.com/finetuneanon/transformers@gpt-neo-localattention3
|
RUN apt update && apt install xorg libsqlite3-0 -y
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cd docker-rocm
|
cd docker-rocm
|
||||||
xhost +local:docker
|
xhost +local:docker
|
||||||
|
cp ../environments/rocm.yml env.yml
|
||||||
docker-compose run --service-ports koboldai bash -c "cd /content && python3 aiserver.py $*"
|
docker-compose run --service-ports koboldai bash -c "cd /content && python3 aiserver.py $*"
|
||||||
|
|
Loading…
Reference in New Issue