IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
0179baf verified
{
"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.571136,
"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": "dd1612232fccf710f50fdb3170de6fc4301cb440",
"transformers_version": "4.56.1",
"transformers_commit": "dd1612232fccf710f50fdb3170de6fc4301cb440",
"accelerate_version": "1.10.1",
"accelerate_commit": "dd1612232fccf710f50fdb3170de6fc4301cb440",
"diffusers_version": "0.35.1",
"diffusers_commit": "dd1612232fccf710f50fdb3170de6fc4301cb440",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "dd1612232fccf710f50fdb3170de6fc4301cb440",
"peft_version": "0.17.1",
"peft_commit": "dd1612232fccf710f50fdb3170de6fc4301cb440"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 992.088064,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.017673287999997456,
0.0155381870000042,
0.014668427000003703,
0.014754919000012023,
0.01592542200000935
],
"count": 5,
"total": 0.07856024300002673,
"mean": 0.015712048600005347,
"p50": 0.0155381870000042,
"p90": 0.016974141600002213,
"p95": 0.017323714799999834,
"p99": 0.017603373359997933,
"stdev": 0.001088802935616818,
"stdev_": 6.929732483238675
},
"throughput": {
"unit": "samples/s",
"value": 636.4542431466637
},
"energy": {
"unit": "kWh",
"cpu": 7.3410966731669595e-06,
"ram": 2.2665321888888617e-06,
"gpu": 0.0,
"total": 9.607628862055821e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1040839.5394511753
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 992.088064,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.017673287999997456,
0.0155381870000042
],
"count": 2,
"total": 0.033211475000001656,
"mean": 0.016605737500000828,
"p50": 0.016605737500000828,
"p90": 0.01745977789999813,
"p95": 0.01756653294999779,
"p99": 0.01765193698999752,
"stdev": 0.0010675504999966279,
"stdev_": 6.428805104239271
},
"throughput": {
"unit": "samples/s",
"value": 240.88059925069876
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 992.088064,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.014668427000003703,
0.014754919000012023,
0.01592542200000935
],
"count": 3,
"total": 0.045348768000025075,
"mean": 0.015116256000008358,
"p50": 0.014754919000012023,
"p90": 0.015691321400009884,
"p95": 0.015808371700009614,
"p99": 0.0159020119400094,
"stdev": 0.0005732552823914558,
"stdev_": 3.7923099634667397
},
"throughput": {
"unit": "samples/s",
"value": 396.92368268946245
},
"energy": null,
"efficiency": null
}
}
}