-
Notifications
You must be signed in to change notification settings - Fork 0
/
job-launcher-example.conf
53 lines (50 loc) · 1.46 KB
/
job-launcher-example.conf
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[general]
# whether debugging mode is on
debug = true
# whether to keep or delete the job dirs after a run
keep_job_dirs = true
# whether to avoid pip from caching
pip_no_cache = false
# the compression to use for zip
# ZIP_STORED = 0
# ZIP_DEFLATED = 8
# ZIP_BZIP2 = 12
# ZIP_LZMA = 14
compression = 8
# how to obtain new jobs
# supported:
# - simple
poll = simple
# the time in seconds to wait before the next poll when encountering an error with the backend
# (comma-separated list of int)
poll_backenderror_wait = 10,30,60
# the GPU ID
# on GPU machines, corresponds to the GPU index
# on CPU-only machines, just use 0
gpu_id = 0
# the interval in seconds to wait at least between querying the backend whether a job has been cancelled
cancel_check_wait = 10
[backend]
# the URL of the UFDL backend
url = http://127.0.0.1:8000
# the user to use for connecting to the backend
user = admin
# the password to use
password = admin
[docker]
# the work directory for temporary files etc
work_dir = /tmp/ufdl-job-launcher/workdir
# the directory for caching downloaded base models etc
cache_dir = /tmp/ufdl-job-launcher/cache
# whether to use sudo (true|false)
# for development use only!
use_sudo = false
# whether to ask for sudo password (true|false)
# for development use only!
ask_sudo_pw = false
# whether docker runs as root (false) or the current user (true)
use_current_user = true
[poll_simple]
# interval in seconds for polling the backend
# (comma-separated list of int)
interval = 10,30