Create new file
Browse files- ipu_config.json +27 -0
ipu_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"embedding_serialization_factor": 0,
|
3 |
+
"recompute_checkpoint_every_layer": false,
|
4 |
+
"optimizer_state_offchip": false,
|
5 |
+
"replicated_tensor_sharding": true,
|
6 |
+
"enable_half_first_order_momentum": true,
|
7 |
+
"enable_half_partials": true,
|
8 |
+
"device_iterations": 1,
|
9 |
+
"inference_device_iterations": 4,
|
10 |
+
"replication_factor": 1,
|
11 |
+
"inference_replication_factor": 1,
|
12 |
+
"gradient_accumulation_steps": 32,
|
13 |
+
"executable_cache_dir": "./exe_cache",
|
14 |
+
"ipus_per_replica": 4,
|
15 |
+
"layers_per_ipu": [
|
16 |
+
9,
|
17 |
+
4,
|
18 |
+
4,
|
19 |
+
4
|
20 |
+
],
|
21 |
+
"matmul_proportion": [
|
22 |
+
0.1,
|
23 |
+
0.1,
|
24 |
+
0.1,
|
25 |
+
0.1
|
26 |
+
]
|
27 |
+
}
|