IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
75f7ad6 verified
raw
history blame
7.89 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.6.0.dev0",
"optimum_benchmark_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"transformers_version": "4.55.2",
"transformers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"accelerate_version": "1.10.0",
"accelerate_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"diffusers_version": "0.35.0",
"diffusers_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914",
"peft_version": "0.17.0",
"peft_commit": "53ea6cdb2b8761f51c37c7d00ce8ece44e923914"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 994.226176,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01993438499999911,
0.01501974100000325,
0.014685385000007045,
0.014177766999978303,
0.014056070000009413
],
"count": 5,
"total": 0.07787334799999712,
"mean": 0.015574669599999424,
"p50": 0.014685385000007045,
"p90": 0.017968527400000767,
"p95": 0.01895145619999994,
"p99": 0.019737799239999278,
"stdev": 0.0022074135470684843,
"stdev_": 14.173100320976092
},
"throughput": {
"unit": "samples/s",
"value": 642.0681951417043
},
"energy": {
"unit": "kWh",
"cpu": 7.0892836532411926e-06,
"ram": 2.171637783333264e-06,
"gpu": 0.0,
"total": 9.260921436574456e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1079806.158435453
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 994.226176,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01993438499999911,
0.01501974100000325
],
"count": 2,
"total": 0.03495412600000236,
"mean": 0.01747706300000118,
"p50": 0.01747706300000118,
"p90": 0.019442920599999525,
"p95": 0.019688652799999318,
"p99": 0.01988523855999915,
"stdev": 0.00245732199999793,
"stdev_": 14.060268593171314
},
"throughput": {
"unit": "samples/s",
"value": 228.87140705504865
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 994.226176,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.014685385000007045,
0.014177766999978303,
0.014056070000009413
],
"count": 3,
"total": 0.04291922199999476,
"mean": 0.014306407333331586,
"p50": 0.014177766999978303,
"p90": 0.014583861400001296,
"p95": 0.01463462320000417,
"p99": 0.01467523264000647,
"stdev": 0.00027254430077749194,
"stdev_": 1.9050506142272934
},
"throughput": {
"unit": "samples/s",
"value": 419.3925043655777
},
"energy": null,
"efficiency": null
}
}
}