-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 980 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (34 loc) · 980 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
services:
excoder:
build:
context: .
args:
BASE_IMAGE: nvidia/cuda:12.4.0-devel-ubuntu22.04
USE_CUDA: "true"
volumes:
- .:/workspace
- downloads:/workspace/_work/downloads
- gguf_models:/home/etest/gguf_models
- ~/.cache/huggingface:/home/etest/.cache/huggingface
working_dir: /workspace
tty: true
stdin_open: true
network_mode: "host"
environment:
- AZURE_END_POINT=${AZURE_END_POINT}
- AZURE_API_KEY=${AZURE_API_KEY}
deploy:
resources:
reservations:
devices:
- driver: cdi
device_ids:
- nvidia.com/gpu=all
capabilities:
- gpu
volumes:
# Where the GGUF weights land ($GGUF_DIR in the image); the container runs as
# the unprivileged `etest` user, so the volume is mounted under its home.
# run_experiment_pipeline.sh --download-models fills it.
gguf_models: {}
downloads: {}