IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
19e87b5 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.575232,
"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": 989.474816,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018776579999979504,
0.01427839099997641,
0.013386791000016274,
0.01347382500000549,
0.013345773999986932
],
"count": 5,
"total": 0.07326136099996461,
"mean": 0.014652272199992922,
"p50": 0.01347382500000549,
"p90": 0.016977304399978264,
"p95": 0.017876942199978884,
"p99": 0.01859665243997938,
"stdev": 0.002090302370377424,
"stdev_": 14.26606291397203
},
"throughput": {
"unit": "samples/s",
"value": 682.4880034650755
},
"energy": {
"unit": "kWh",
"cpu": 6.835442604786134e-06,
"ram": 2.123547597222202e-06,
"gpu": 0.0,
"total": 8.958990202008335e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1116197.2247450724
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 989.474816,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.018776579999979504,
0.01427839099997641
],
"count": 2,
"total": 0.03305497099995591,
"mean": 0.016527485499977956,
"p50": 0.016527485499977956,
"p90": 0.018326761099979196,
"p95": 0.01855167054997935,
"p99": 0.018731598109979472,
"stdev": 0.002249094500001547,
"stdev_": 13.60820737071315
},
"throughput": {
"unit": "samples/s",
"value": 242.02108663204302
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 989.474816,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.013386791000016274,
0.01347382500000549,
0.013345773999986932
],
"count": 3,
"total": 0.040206390000008696,
"mean": 0.013402130000002899,
"p50": 0.013386791000016274,
"p90": 0.013456418200007647,
"p95": 0.013465121600006569,
"p99": 0.013472084320005706,
"stdev": 5.338993876428082e-05,
"stdev_": 0.39836905599534755
},
"throughput": {
"unit": "samples/s",
"value": 447.69003136058984
},
"energy": null,
"efficiency": null
}
}
}