-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.yaml
57 lines (45 loc) · 1.51 KB
/
conf.yaml
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
54
55
56
57
# Sample configuration file for a multi-core machine
# Each worker is running on a seperate core
---
- nodes:
- {name: w1, host: localhost, port: 45000}
- {name: w2, host: localhost, port: 45001}
- {name: w3, host: localhost, port: 45002}
- {name: w4, host: localhost, port: 45003}
- {name: w5, host: localhost, port: 45004}
- {name: w6, host: localhost, port: 45005}
- {name: w7, host: localhost, port: 45006}
- {name: w8, host: localhost, port: 45007}
# - {name: w9, host: localhost, port: 45008}
# - {name: w10, host: localhost, port: 45009}
# - {name: w11, host: localhost, port: 45010}
# - {name: w12, host: localhost, port: 45011}
- arch:
- 'w1': {'w2': 3, 'w4': 2}
- 'w2': {'w1': 3, 'w5': 1, 'w7': 1}
- 'w3': {'w5': 4}
- 'w4': {'w1': 2, 'w7': 2}
- 'w5': {'w2': 1, 'w3': 4, 'w6': 2}
- 'w6': {'w5': 2, 'w7': 3}
- 'w7': {'w2': 1, 'w4': 2, 'w6': 3, 'w8': 4}
- 'w8': {'w7': 4}
# Learning rate
- lr: 0.01
# Number of iterations
- epoches: 10
# Shuffle the data:
- shuffle: True
# Fix a random state
- random_state: None
# The probability of initiating a fetch parameter request
- fetch_probability: 1
# The timeout value is used for flow-control
- timeout_ms: 2500
# Choose interpolation method: clock, loss or constant
- interpolation: constant
# Diverge models when loss is reaching the value specified here (use 0 to disable)
- divergence_threshold: 0.2
# Individual interpolation methods configuration:
- constant: { value: 0.5 }
- clock: 0
- loss: 0