Create ipu_config.json
Browse files- ipu_config.json +19 -0
ipu_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"recompute_checkpoint_every_layer": true,
|
3 |
+
"optimizer_state_offchip": true,
|
4 |
+
"replicated_tensor_sharding": true,
|
5 |
+
"enable_half_first_order_momentum": true,
|
6 |
+
"enable_half_partials": true,
|
7 |
+
|
8 |
+
"replication_factor": 4,
|
9 |
+
"gradient_accumulation_steps": 16,
|
10 |
+
"device_iterations": 1,
|
11 |
+
"executable_cache_dir": "./exe_cache",
|
12 |
+
|
13 |
+
"inference_device_iterations": 4,
|
14 |
+
"inference_replication_factor": 4,
|
15 |
+
|
16 |
+
"ipus_per_replica": 4,
|
17 |
+
"layers_per_ipu": [3, 3, 3, 3],
|
18 |
+
"matmul_proportion": [0.3]
|
19 |
+
}
|