我想要在在autodl部署以下内容(escriptorium),但是遇到了很多问题:
docker install
Last edited by Robin Tissot
Install git, docker.
Note: don't forget docker's post-installation steps! (eg for linux).
Fetch the source:
$ git clone https://gitlab.com/scripta/escriptorium.git
Copy the environement variables file
$ cd escriptorium && cp variables.env_example variables.env
Change some of those variables if you wish to,
notably the super-user username and password are created from DJANGO_SU_NAME
and DJANGO_SU_PASSWORD
, defaulting to admin:admin.
Pull and run the docker containers
$ docker compose pull
$ docker compose up -d
You should be able to access the website at http://localhost:8080/
To update:
$ git pull
$ docker compose pull
$ docker compose up -d
Use your GPU:
Install nvidia-docker2, if you have issues, follow this guide.
Update docker-compose.override.yml
to include this content:
version: "2.4"
services:
celery-gpu:
shm_size: '3gb'
runtime: nvidia
environment:
- KRAKEN_TRAINING_DEVICE=cuda:0
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
虽然有full install,但是对我来说有点困难