-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbench.yaml
59 lines (53 loc) · 1.72 KB
/
bench.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
58
59
default: &default
matrix:
LANGUAGE_SETTINGS: &lang_settings
- { LANGUAGE: "r", VERSION: "0.8.1-syncronize" }
- { LANGUAGE: "r", VERSION: "main" }
- { LANGUAGE: "py", VERSION: "1.12.1" }
DEVICE_SETTINGS: &device_settings
- { DEVICE: "cpu" }
- { DEVICE: "cuda" }
BATCH_SIZE_ITER: &batch_size
- { BATCH_SIZE: 32, ITER: 2000 }
- { BATCH_SIZE: 256, ITER: 1000 }
- { BATCH_SIZE: 512, ITER: 1000 }
- { BATCH_SIZE: 1024, ITER: 500 }
- { BATCH_SIZE: 2048, ITER: 500 }
small: &small
matrix:
LANGUAGE_SETTINGS: *lang_settings
DEVICE_SETTINGS: *device_settings
BATCH_SIZE_ITER: &small_batch_size_iter
- { BATCH_SIZE: 32, ITER: 500 }
- { BATCH_SIZE: 256, ITER: 100 }
- { BATCH_SIZE: 512, ITER: 50 }
- { BATCH_SIZE: 1024, ITER: 20 }
- { BATCH_SIZE: 2048, ITER: 10 }
mini: &mini
matrix:
LANGUAGE_SETTINGS: *lang_settings
DEVICE_SETTINGS: *device_settings
BATCH_SIZE_ITER: &mini_batch_size_iter
- { BATCH_SIZE: 32, ITER: 100 }
- { BATCH_SIZE: 256, ITER: 20 }
- { BATCH_SIZE: 512, ITER: 5 }
- { BATCH_SIZE: 1024, ITER: 5 }
- { BATCH_SIZE: 2048, ITER: 5 }
repeats: 10
bench:
00_torch_mm: *default
01_dollar_mm: *default
02_nn_module: *default
03_backward: *default
04_optim: *default
05_dataloader: *small
06_cats_vs_dogs: *mini
07_mnist:
matrix:
LANGUAGE_SETTINGS:
- { LANGUAGE: "r", VERSION: "0.8.1-syncronize" }
- { LANGUAGE: "r", VERSION: "main", VECTORIZED_DS: "yes" }
- { LANGUAGE: "r", VERSION: "main", VECTORIZED_DS: "no" }
- { LANGUAGE: "py", VERSION: "1.12.1" }
DEVICE_SETTINGS: *device_settings
BATCH_SIZE_ITER: *small_batch_size_iter