IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
d395bd9 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.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": "b263af468a9e9a9a3d1449039849727352955646",
"transformers_version": "4.56.2",
"transformers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"accelerate_version": "1.10.1",
"accelerate_commit": "b263af468a9e9a9a3d1449039849727352955646",
"diffusers_version": "0.35.1",
"diffusers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": "b263af468a9e9a9a3d1449039849727352955646",
"peft_version": "0.17.1",
"peft_commit": "b263af468a9e9a9a3d1449039849727352955646"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 994.115584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01791246100000876,
0.01470488200001796,
0.01383109500000046,
0.01382634499998403,
0.014046217000014849
],
"count": 5,
"total": 0.07432100000002606,
"mean": 0.014864200000005212,
"p50": 0.014046217000014849,
"p90": 0.01662942940001244,
"p95": 0.0172709452000106,
"p99": 0.01778415784000913,
"stdev": 0.0015576150024726647,
"stdev_": 10.478969621453684
},
"throughput": {
"unit": "samples/s",
"value": 672.7573633291057
},
"energy": {
"unit": "kWh",
"cpu": 7.067446936292978e-06,
"ram": 2.1822203833333257e-06,
"gpu": 0.0,
"total": 9.249667319626304e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1081119.9640425565
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 994.115584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01791246100000876,
0.01470488200001796
],
"count": 2,
"total": 0.03261734300002672,
"mean": 0.01630867150001336,
"p50": 0.01630867150001336,
"p90": 0.01759170310000968,
"p95": 0.01775208205000922,
"p99": 0.017880385210008853,
"stdev": 0.0016037894999954005,
"stdev_": 9.83396777594108
},
"throughput": {
"unit": "samples/s",
"value": 245.26829177942074
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 994.115584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01383109500000046,
0.01382634499998403,
0.014046217000014849
],
"count": 3,
"total": 0.04170365699999934,
"mean": 0.013901218999999779,
"p50": 0.01383109500000046,
"p90": 0.014003192600011972,
"p95": 0.01402470480001341,
"p99": 0.014041914560014562,
"stdev": 0.00010254740572475591,
"stdev_": 0.737686426814494
},
"throughput": {
"unit": "samples/s",
"value": 431.61682439504733
},
"energy": null,
"efficiency": null
}
}
}