IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
559a034 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": "c612f8daff0d3bf339a990b46eb50d80852cc290",
"transformers_version": "4.56.2",
"transformers_commit": "c612f8daff0d3bf339a990b46eb50d80852cc290",
"accelerate_version": "1.10.1",
"accelerate_commit": "c612f8daff0d3bf339a990b46eb50d80852cc290",
"diffusers_version": "0.35.1",
"diffusers_commit": "c612f8daff0d3bf339a990b46eb50d80852cc290",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "c612f8daff0d3bf339a990b46eb50d80852cc290",
"peft_version": "0.17.1",
"peft_commit": "c612f8daff0d3bf339a990b46eb50d80852cc290"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 990.347264,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018377837000002728,
0.014810841000041819,
0.014018531000033363,
0.01447167700001728,
0.014513103999945542
],
"count": 5,
"total": 0.07619199000004073,
"mean": 0.015238398000008146,
"p50": 0.014513103999945542,
"p90": 0.016951038600018363,
"p95": 0.017664437800010546,
"p99": 0.018235157160004293,
"stdev": 0.0015900232827784925,
"stdev_": 10.434320476323315
},
"throughput": {
"unit": "samples/s",
"value": 656.2369613915225
},
"energy": {
"unit": "kWh",
"cpu": 7.1425936574044855e-06,
"ram": 2.1877680916666188e-06,
"gpu": 0.0,
"total": 9.330361749071105e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1071769.8058165389
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 990.347264,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018377837000002728,
0.014810841000041819
],
"count": 2,
"total": 0.03318867800004455,
"mean": 0.016594339000022273,
"p50": 0.016594339000022273,
"p90": 0.01802113740000664,
"p95": 0.018199487200004683,
"p99": 0.01834216704000312,
"stdev": 0.0017834979999804546,
"stdev_": 10.747629055776557
},
"throughput": {
"unit": "samples/s",
"value": 241.04605793545807
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 990.347264,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.014018531000033363,
0.01447167700001728,
0.014513103999945542
],
"count": 3,
"total": 0.043003311999996185,
"mean": 0.014334437333332062,
"p50": 0.01447167700001728,
"p90": 0.01450481859995989,
"p95": 0.014508961299952716,
"p99": 0.014512275459946978,
"stdev": 0.00022401883498854218,
"stdev_": 1.5628017324937349
},
"throughput": {
"unit": "samples/s",
"value": 418.57241135291156
},
"energy": null,
"efficiency": null
}
}
}