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