Prep for runpod docker
This commit is contained in:
1 parent
de2da96a81
commit
88acc28d7f
3 files changed
+23
-1
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
FROM runpod/base:0.6.2-cuda12.1.0
|
||||||
|
LABEL authors="jaret"
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
ARG CACHEBUST=1
|
||||||
|
RUN git clone https://github.com/ostris/ai-toolkit.git && \
|
||||||
|
cd ai-toolkit && \
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
WORKDIR /app/ai-toolkit
|
||||||
|
|
||||||
|
RUN ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
RUN python -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
RUN apt-get install -y tmux nvtop htop
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
CMD ["/start.sh"]
|
||||||
@@ -27,3 +27,4 @@ hf_transfer
|
|||||||
lpips
|
lpips
|
||||||
pytorch_fid
|
pytorch_fid
|
||||||
optimum-quanto
|
optimum-quanto
|
||||||
|
sentencepiece
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
# os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
||||||
import sys
|
import sys
|
||||||
from typing import Union, OrderedDict
|
from typing import Union, OrderedDict
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|||||||
Reference in new issue
Block a user