Create ipu_config.json
#1
by
arsalanu
- opened
- ipu_config.json +24 -0
ipu_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"device_iterations": 1,
|
| 3 |
+
"embedding_serialization_factor": 1,
|
| 4 |
+
"enable_half_partials": true,
|
| 5 |
+
"executable_cache_dir": "./exe_cache",
|
| 6 |
+
"gradient_accumulation_steps": 512,
|
| 7 |
+
"inference_device_iterations": 4,
|
| 8 |
+
"inference_replication_factor": 4,
|
| 9 |
+
"ipus_per_replica": 4,
|
| 10 |
+
"layers_per_ipu": [
|
| 11 |
+
0,
|
| 12 |
+
4,
|
| 13 |
+
4,
|
| 14 |
+
4
|
| 15 |
+
],
|
| 16 |
+
"matmul_proportion": 0.22,
|
| 17 |
+
"optimizer_state_offchip": false,
|
| 18 |
+
"optimum_version": "0.1.2",
|
| 19 |
+
"output_mode": "final",
|
| 20 |
+
"recompute_checkpoint_every_layer": true,
|
| 21 |
+
"replicated_tensor_sharding": true,
|
| 22 |
+
"replication_factor": 4,
|
| 23 |
+
"seed": 42
|
| 24 |
+
}
|