IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
4a1231b verified
raw
history blame
7.9 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": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c",
"transformers_version": "4.56.2",
"transformers_commit": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c",
"accelerate_version": "1.10.1",
"accelerate_commit": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c",
"diffusers_version": "0.35.1",
"diffusers_commit": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c",
"peft_version": "0.17.1",
"peft_commit": "9cc55e4e01d6a6ab24fa9022f535a34740ea022c"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 992.509952,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018549973000006048,
0.014956022999996321,
0.014111225999982935,
0.014133727999990242,
0.014357488000001695
],
"count": 5,
"total": 0.07610843799997724,
"mean": 0.015221687599995449,
"p50": 0.014357488000001695,
"p90": 0.017112393000002158,
"p95": 0.0178311830000041,
"p99": 0.01840621500000566,
"stdev": 0.001691844164726268,
"stdev_": 11.114695092854053
},
"throughput": {
"unit": "samples/s",
"value": 656.9573796799633
},
"energy": {
"unit": "kWh",
"cpu": 7.076577740930296e-06,
"ram": 2.1814277472222284e-06,
"gpu": 0.0,
"total": 9.258005488152523e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1080146.2596665132
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 992.509952,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018549973000006048,
0.014956022999996321
],
"count": 2,
"total": 0.03350599600000237,
"mean": 0.016752998000001185,
"p50": 0.016752998000001185,
"p90": 0.018190578000005075,
"p95": 0.018370275500005563,
"p99": 0.018514033500005952,
"stdev": 0.0017969750000048634,
"stdev_": 10.726289109595408
},
"throughput": {
"unit": "samples/s",
"value": 238.76323509378543
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 992.509952,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.014111225999982935,
0.014133727999990242,
0.014357488000001695
],
"count": 3,
"total": 0.04260244199997487,
"mean": 0.014200813999991624,
"p50": 0.014133727999990242,
"p90": 0.014312735999999405,
"p95": 0.014335112000000549,
"p99": 0.014353012800001466,
"stdev": 0.00011116546739117914,
"stdev_": 0.7828105303769537
},
"throughput": {
"unit": "samples/s",
"value": 422.51099127159466
},
"energy": null,
"efficiency": null
}
}
}