IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
330689f verified
raw
history blame
7.48 kB
{
"config": {
"name": "cpu_training_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"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",
"evaluation_strategy": "no",
"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": 16766.7712,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": "0600d2e2ba71f8a4277cfa9b8287625223e3f7a0",
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 2852.94592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.8185318580000001,
0.7169457759999887,
0.7058918580000011,
0.7701133460000165,
0.6838706019999847
],
"count": 5,
"total": 3.695353439999991,
"mean": 0.7390706879999982,
"p50": 0.7169457759999887,
"p90": 0.7991644532000066,
"p95": 0.8088481556000033,
"p99": 0.8165951175200007,
"stdev": 0.04881622709522122,
"stdev_": 6.605082286150867
},
"throughput": {
"unit": "samples/s",
"value": 13.530505487994708
},
"energy": {
"unit": "kWh",
"cpu": 0.00015749381767777762,
"ram": 6.586819386551181e-06,
"gpu": 0,
"total": 0.0001640806370643288
},
"efficiency": {
"unit": "samples/kWh",
"value": 60945.64342823364
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 2852.94592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.8185318580000001,
0.7169457759999887
],
"count": 2,
"total": 1.5354776339999887,
"mean": 0.7677388169999944,
"p50": 0.7677388169999944,
"p90": 0.8083732497999989,
"p95": 0.8134525538999995,
"p99": 0.8175159971799999,
"stdev": 0.0507930410000057,
"stdev_": 6.61592717149354
},
"throughput": {
"unit": "samples/s",
"value": 5.210105196491621
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 2852.94592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.7058918580000011,
0.7701133460000165,
0.6838706019999847
],
"count": 3,
"total": 2.1598758060000023,
"mean": 0.7199586020000007,
"p50": 0.7058918580000011,
"p90": 0.7572690484000134,
"p95": 0.7636911972000149,
"p99": 0.7688289162400161,
"stdev": 0.036586497402137284,
"stdev_": 5.0817501590372345
},
"throughput": {
"unit": "samples/s",
"value": 8.333812504402848
},
"energy": null,
"efficiency": null
}
}
}