IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
0765810 verified
raw
history blame
7.68 kB
{
"config": {
"name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM",
"backend": {
"name": "pytorch",
"version": "2.5.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "llama",
"model": "hf-internal-testing/tiny-random-LlamaForCausalLM",
"processor": "hf-internal-testing/tiny-random-LlamaForCausalLM",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"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",
"evaluation_strategy": "no",
"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": 16766.779392,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": "f12f642abaf558e58516daaa40124ad343ac2723",
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 523.026432,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01909628799998586,
0.0123986529999911,
0.012429721000017935,
0.01155504100000826,
0.011968631000002006
],
"count": 5,
"total": 0.06744833400000516,
"mean": 0.013489666800001032,
"p50": 0.0123986529999911,
"p90": 0.016429661199998693,
"p95": 0.017762974599992275,
"p99": 0.018829625319987144,
"stdev": 0.002821500465415861,
"stdev_": 20.91601302869575
},
"throughput": {
"unit": "samples/s",
"value": 741.3081544756343
},
"energy": {
"unit": "kWh",
"cpu": 8.57111153888926e-06,
"ram": 3.579594120329122e-07,
"gpu": 0,
"total": 8.929070950922172e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1119937.3434217393
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 523.026432,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.01909628799998586,
0.0123986529999911
],
"count": 2,
"total": 0.03149494099997696,
"mean": 0.01574747049998848,
"p50": 0.01574747049998848,
"p90": 0.018426524499986385,
"p95": 0.018761406249986123,
"p99": 0.019029311649985912,
"stdev": 0.0033488174999973808,
"stdev_": 21.26574868008059
},
"throughput": {
"unit": "samples/s",
"value": 254.00904862802733
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 523.026432,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.012429721000017935,
0.01155504100000826,
0.011968631000002006
],
"count": 3,
"total": 0.0359533930000282,
"mean": 0.011984464333342734,
"p50": 0.011968631000002006,
"p90": 0.012337503000014748,
"p95": 0.012383612000016342,
"p99": 0.012420499200017617,
"stdev": 0.00035726208534514307,
"stdev_": 2.981043419280591
},
"throughput": {
"unit": "samples/s",
"value": 500.64815857535007
},
"energy": null,
"efficiency": null
}
}
}