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