skynet/Dockerfile

32 lines
534 B
Docker
Raw Normal View History

from pytorch/pytorch:latest
2022-12-04 23:39:43 +00:00
env DEBIAN_FRONTEND=noninteractive
run apt-get update && apt-get install -y git wget
2022-12-04 23:39:43 +00:00
run conda install xformers -c xformers/label/dev
2022-12-04 23:39:43 +00:00
run pip install --upgrade \
diffusers[torch] \
accelerate \
2022-12-04 23:39:43 +00:00
transformers \
huggingface_hub \
pyTelegramBotAPI \
pymongo \
scipy \
2022-12-04 23:39:43 +00:00
pdbpp
env NVIDIA_VISIBLE_DEVICES=all
2022-12-04 23:39:43 +00:00
run mkdir /scripts
run mkdir /outputs
run mkdir /inputs
env HF_HOME /hf_home
run mkdir /hf_home
workdir /scripts
env PYTORCH_CUDA_ALLOC_CONF max_split_size_mb:128