IlyasMoutawwakil's picture
Upload cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
811a0e0 verified
raw
history blame
7.87 kB
{
"config": {
"name": "cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"tp_plan": null,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"allow_tf32": false,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "training",
"_target_": "optimum_benchmark.scenarios.training.scenario.TrainingScenario",
"max_steps": 5,
"warmup_steps": 2,
"dataset_shapes": {
"dataset_size": 500,
"sequence_length": 16,
"num_choices": 1
},
"training_arguments": {
"per_device_train_batch_size": 2,
"gradient_accumulation_steps": 1,
"output_dir": "./trainer_output",
"eval_strategy": "no",
"save_strategy": "no",
"do_train": true,
"use_cpu": false,
"max_steps": 5,
"do_eval": false,
"do_predict": false,
"report_to": "none",
"skip_memory_metrics": true,
"ddp_find_unused_parameters": false
},
"latency": true,
"memory": true,
"energy": true
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": false,
"device_isolation_action": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16772.579328,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.11.0-1018-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.18",
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"transformers_version": "4.55.2",
"transformers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"accelerate_version": "1.10.0",
"accelerate_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"diffusers_version": "0.35.0",
"diffusers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"peft_version": "0.17.0",
"peft_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 935.493632,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.016169329999996762,
0.01269999599999494,
0.012234255999999277,
0.012165928000001713,
0.012404774000003727
],
"count": 5,
"total": 0.06567428399999642,
"mean": 0.013134856799999284,
"p50": 0.012404774000003727,
"p90": 0.014781596399996034,
"p95": 0.015475463199996396,
"p99": 0.01603055663999669,
"stdev": 0.0015284015985439225,
"stdev_": 11.636225821236252
},
"throughput": {
"unit": "samples/s",
"value": 761.3330051683963
},
"energy": {
"unit": "kWh",
"cpu": 6.822959102942169e-06,
"ram": 2.116487716666645e-06,
"gpu": 0.0,
"total": 8.939446819608814e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1118637.4505931223
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 935.493632,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.016169329999996762,
0.01269999599999494
],
"count": 2,
"total": 0.028869325999991702,
"mean": 0.014434662999995851,
"p50": 0.014434662999995851,
"p90": 0.01582239659999658,
"p95": 0.015995863299996672,
"p99": 0.016134636659996746,
"stdev": 0.0017346670000009112,
"stdev_": 12.017370963225188
},
"throughput": {
"unit": "samples/s",
"value": 277.1107299145917
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 935.493632,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.012234255999999277,
0.012165928000001713,
0.012404774000003727
],
"count": 3,
"total": 0.03680495800000472,
"mean": 0.012268319333334906,
"p50": 0.012234255999999277,
"p90": 0.012370670400002837,
"p95": 0.012387722200003282,
"p99": 0.012401363640003637,
"stdev": 0.00010043932144232165,
"stdev_": 0.8186885156258739
},
"throughput": {
"unit": "samples/s",
"value": 489.0645439670843
},
"energy": null,
"efficiency": null
}
}
}