Graphcore
distilbert-base-ipu / ipu_config.json
katalinic's picture
Update ipu_config.json
250d193
raw
history blame
893 Bytes
{
"decompose_grad_sum": false,
"device_iterations": 1,
"embedding_serialization_factor": 0,
"enable_half_first_order_momentum": true,
"enable_half_partials": true,
"executable_cache_dir": "./exe_cache",
"execute_encoder_on_cpu_for_generation": false,
"gradient_accumulation_steps": 16,
"inference_device_iterations": 5,
"inference_replication_factor": {"pod4": 2, "pod8": 4, "pod16": 8, "pod32": 16, "pod64": 32, "default": 2},
"ipus_per_replica": 2,
"layers_per_ipu": [2, 4],
"matmul_proportion": 0.25,
"optimizer_state_offchip": false,
"profile_dir": "",
"recompute_checkpoint_every_layer": true,
"replication_factor": {"pod4": 2, "pod8": 4, "pod16": 8, "pod32": 16, "pod64": 32, "default": 2},
"replicated_tensor_sharding": true,
"seed": 42,
"sharded_execution_for_inference": false,
"use_popdist": false
}