IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
60ea19b 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.5.1",
"_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": "b45f503b478e0ee490e8b3b397f429658092331f",
"transformers_version": "4.45.1",
"transformers_commit": "b45f503b478e0ee490e8b3b397f429658092331f",
"accelerate_version": "1.10.0",
"accelerate_commit": "b45f503b478e0ee490e8b3b397f429658092331f",
"diffusers_version": "0.34.0",
"diffusers_commit": "b45f503b478e0ee490e8b3b397f429658092331f",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "b45f503b478e0ee490e8b3b397f429658092331f",
"peft_version": "0.17.0",
"peft_commit": "b45f503b478e0ee490e8b3b397f429658092331f"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 822.72256,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.019744507000012845,
0.01498868699999889,
0.014261267999984284,
0.014226473999997324,
0.014217317000003504
],
"count": 5,
"total": 0.07743825299999685,
"mean": 0.01548765059999937,
"p50": 0.014261267999984284,
"p90": 0.017842179000007265,
"p95": 0.018793343000010055,
"p99": 0.019554274200012288,
"stdev": 0.002148400299653305,
"stdev_": 13.87169916948793
},
"throughput": {
"unit": "samples/s",
"value": 645.6757230822606
},
"energy": {
"unit": "kWh",
"cpu": 6.991856392160313e-06,
"ram": 2.154397980555542e-06,
"gpu": 0.0,
"total": 9.146254372715856e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1093343.7440610605
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 822.72256,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.019744507000012845,
0.01498868699999889
],
"count": 2,
"total": 0.034733194000011736,
"mean": 0.017366597000005868,
"p50": 0.017366597000005868,
"p90": 0.01926892500001145,
"p95": 0.019506716000012147,
"p99": 0.019696948800012704,
"stdev": 0.0023779100000069775,
"stdev_": 13.69243496584952
},
"throughput": {
"unit": "samples/s",
"value": 230.3272195467338
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 822.72256,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.014261267999984284,
0.014226473999997324,
0.014217317000003504
],
"count": 3,
"total": 0.04270505899998511,
"mean": 0.014235019666661705,
"p50": 0.014226473999997324,
"p90": 0.014254309199986891,
"p95": 0.014257788599985588,
"p99": 0.014260572119984544,
"stdev": 1.893310881113898e-05,
"stdev_": 0.1330037418598034
},
"throughput": {
"unit": "samples/s",
"value": 421.495729581038
},
"energy": null,
"efficiency": null
}
}
}