FarisHijazi commited on
Commit
84169d1
1 Parent(s): ecfe8d0

added docker-compose file

Browse files
Files changed (2) hide show
  1. README.md +6 -0
  2. docker-compose.yaml +20 -0
README.md CHANGED
@@ -55,6 +55,12 @@ accelerate launch scripts/finetune.py examples/lora-openllama-3b/config.yml \
55
  - `winglian/axolotl:dev`: dev branch
56
  - `winglian/axolotl-runpod:main`: for runpod
57
 
 
 
 
 
 
 
58
  - Conda/Pip venv
59
  1. Install python **3.9**
60
 
 
55
  - `winglian/axolotl:dev`: dev branch
56
  - `winglian/axolotl-runpod:main`: for runpod
57
 
58
+ Or run on the current files for development:
59
+
60
+ ```sh
61
+ docker compose up -d
62
+ ```
63
+
64
  - Conda/Pip venv
65
  1. Install python **3.9**
66
 
docker-compose.yaml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # version: '3.8'
2
+ services:
3
+ axolotl:
4
+ build:
5
+ context: .
6
+ dockerfile: ./docker/Dockerfile
7
+ volumes:
8
+ - .:/workspace/axolotl
9
+ - ~/.cache/huggingface/:/root/.cache/huggingface/
10
+ # set environment variables
11
+ environment:
12
+ - WANDB_API_KEY=${WANDB_API_KEY}
13
+ deploy:
14
+ resources:
15
+ reservations:
16
+ devices:
17
+ - driver: nvidia
18
+ # count: 1
19
+ capabilities: [gpu]
20
+ command: tail -f /dev/null