forked from yael-vinker/CLIPasso
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (36 loc) · 863 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (36 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: "3"
services:
clipasso-cpu:
build:
context: docker/cpu
dockerfile: Dockerfile
container_name: clipasso_cpu
volumes:
- ./work:/work
- ./:/CLIPasso
- ./CLIP-cache:/root/.cache/clip
ports:
- 8888:8888
command: jupyter-lab --ip 0.0.0.0 --allow-root --NotebookApp.token=''
working_dir: /CLIPasso
tty: true
clipasso-gpu:
build:
context: docker/gpu
dockerfile: Dockerfile
container_name: clipasso_gpu
volumes:
- ./work:/work
- ./:/CLIPasso
- ./CLIP-cache:/root/.cache/clip
ports:
- 8888:8888
command: jupyter-lab --ip 0.0.0.0 --allow-root --NotebookApp.token=''
working_dir: /CLIPasso
tty: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]