IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
6ec8eb8 verified
raw
history blame
7.89 kB
{
"config": {
"name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "hf-internal-testing/tiny-random-LlamaForCausalLM",
"processor": "hf-internal-testing/tiny-random-LlamaForCausalLM",
"task": "text-generation",
"library": "transformers",
"model_type": "llama",
"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.7.0.dev0",
"optimum_benchmark_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"transformers_version": "4.56.2",
"transformers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"accelerate_version": "1.10.1",
"accelerate_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"diffusers_version": "0.35.1",
"diffusers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"peft_version": "0.17.1",
"peft_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 993.284096,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018216512999998713,
0.01489150599999789,
0.013777741000012611,
0.013631125999978622,
0.01339667700000291
],
"count": 5,
"total": 0.07391356299999075,
"mean": 0.014782712599998148,
"p50": 0.013777741000012611,
"p90": 0.016886510199998383,
"p95": 0.017551511599998546,
"p99": 0.018083512719998678,
"stdev": 0.0017922073255906374,
"stdev_": 12.123670222682012
},
"throughput": {
"unit": "samples/s",
"value": 676.4658334764117
},
"energy": {
"unit": "kWh",
"cpu": 7.183705711580975e-06,
"ram": 2.2179406777777584e-06,
"gpu": 0.0,
"total": 9.401646389358734e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1063643.4924119795
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 993.284096,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018216512999998713,
0.01489150599999789
],
"count": 2,
"total": 0.0331080189999966,
"mean": 0.0165540094999983,
"p50": 0.0165540094999983,
"p90": 0.01788401229999863,
"p95": 0.01805026264999867,
"p99": 0.018183262929998705,
"stdev": 0.0016625035000004118,
"stdev_": 10.04290531548011
},
"throughput": {
"unit": "samples/s",
"value": 241.63330340002585
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 993.284096,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.013777741000012611,
0.013631125999978622,
0.01339667700000291
],
"count": 3,
"total": 0.04080554399999414,
"mean": 0.013601847999998048,
"p50": 0.013631125999978622,
"p90": 0.013748418000005813,
"p95": 0.013763079500009212,
"p99": 0.013774808700011932,
"stdev": 0.00015694020939622245,
"stdev_": 1.153815344769659
},
"throughput": {
"unit": "samples/s",
"value": 441.1165306361945
},
"energy": null,
"efficiency": null
}
}
}