Create docker-compose.yml
Browse files- docker-compose.yml +20 -0
docker-compose.yml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: '3.8'
|
2 |
+
services:
|
3 |
+
axolotl:
|
4 |
+
image: winglian/axolotl:main-py3.10-cu118-2.0.1
|
5 |
+
restart: on-failure
|
6 |
+
command: tail -f /dev/null
|
7 |
+
volumes:
|
8 |
+
- ./config:/workspace/axolotl/config/
|
9 |
+
- ./outputs:/workspace/axolotl/outputs/
|
10 |
+
- ~/.cache/huggingface/:/root/.cache/huggingface/
|
11 |
+
# set environment variables
|
12 |
+
environment:
|
13 |
+
- WANDB_API_KEY=${WANDB_API_KEY}
|
14 |
+
deploy:
|
15 |
+
resources:
|
16 |
+
reservations:
|
17 |
+
devices:
|
18 |
+
- driver: nvidia
|
19 |
+
# count: 1
|
20 |
+
capabilities: [gpu]
|