IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
d2c9d1b verified
{
"config": {
"name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM",
"backend": {
"name": "pytorch",
"version": "2.7.0+cpu",
"_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.685824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.11.0-1014-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.17",
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "ff21428e3261f6e83792fbd5b28887e8bda7ba91",
"transformers_version": "4.52.3",
"transformers_commit": null,
"accelerate_version": "1.7.0",
"accelerate_commit": null,
"diffusers_version": "0.33.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.15",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 547.24608,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.02256253800001673,
0.01634536600002434,
0.016765772999974615,
0.01669628300001591,
0.01678331599998728
],
"count": 5,
"total": 0.08915327600001888,
"mean": 0.017830655200003775,
"p50": 0.016765772999974615,
"p90": 0.02025084920000495,
"p95": 0.021406693600010837,
"p99": 0.02233136912001555,
"stdev": 0.0023712651740608608,
"stdev_": 13.298811218447874
},
"throughput": {
"unit": "samples/s",
"value": 560.8318868730008
},
"energy": {
"unit": "kWh",
"cpu": 1.0714949038889189e-05,
"ram": 4.4784400327591636e-07,
"gpu": 0,
"total": 1.1162793042165105e-05
},
"efficiency": {
"unit": "samples/kWh",
"value": 895833.1451839249
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 547.24608,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.02256253800001673,
0.01634536600002434
],
"count": 2,
"total": 0.03890790400004107,
"mean": 0.019453952000020536,
"p50": 0.019453952000020536,
"p90": 0.02194082080001749,
"p95": 0.02225167940001711,
"p99": 0.022500366280016806,
"stdev": 0.003108585999996194,
"stdev_": 15.979200524360873
},
"throughput": {
"unit": "samples/s",
"value": 205.61374881544776
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 547.24608,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.016765772999974615,
0.01669628300001591,
0.01678331599998728
],
"count": 3,
"total": 0.050245371999977806,
"mean": 0.016748457333325934,
"p50": 0.016765772999974615,
"p90": 0.016779807399984747,
"p95": 0.016781561699986014,
"p99": 0.016782965139987026,
"stdev": 3.758155580086499e-05,
"stdev_": 0.22438816335690537
},
"throughput": {
"unit": "samples/s",
"value": 358.2419491293238
},
"energy": null,
"efficiency": null
}
}
}