IlyasMoutawwakil's picture
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
a76b1fd 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.7.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": "bbf3800225b499abfba83a66b934cb95e93e4329",
"transformers_version": "4.55.2",
"transformers_commit": "bbf3800225b499abfba83a66b934cb95e93e4329",
"accelerate_version": "1.10.0",
"accelerate_commit": "bbf3800225b499abfba83a66b934cb95e93e4329",
"diffusers_version": "0.35.0",
"diffusers_commit": "bbf3800225b499abfba83a66b934cb95e93e4329",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "bbf3800225b499abfba83a66b934cb95e93e4329",
"peft_version": "0.17.0",
"peft_commit": "bbf3800225b499abfba83a66b934cb95e93e4329"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 908.230656,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.024759168000002774,
0.019296216000014965,
0.019038004999998748,
0.018980868999989298,
0.019018408999983194
],
"count": 5,
"total": 0.10109266699998898,
"mean": 0.020218533399997796,
"p50": 0.019038004999998748,
"p90": 0.02257398720000765,
"p95": 0.02366657760000521,
"p99": 0.024540649920003262,
"stdev": 0.0022730504175154835,
"stdev_": 11.242409983682256
},
"throughput": {
"unit": "samples/s",
"value": 494.59571582976884
},
"energy": {
"unit": "kWh",
"cpu": 7.382437769064088e-06,
"ram": 2.2900381833333462e-06,
"gpu": 0.0,
"total": 9.672475952397435e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 1033861.4486316076
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 908.230656,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.024759168000002774,
0.019296216000014965
],
"count": 2,
"total": 0.04405538400001774,
"mean": 0.02202769200000887,
"p50": 0.02202769200000887,
"p90": 0.024212872800003993,
"p95": 0.024486020400003382,
"p99": 0.024704538480002897,
"stdev": 0.0027314759999939042,
"stdev_": 12.400191540687986
},
"throughput": {
"unit": "samples/s",
"value": 181.58961002352808
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 908.230656,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.019038004999998748,
0.018980868999989298,
0.019018408999983194
],
"count": 3,
"total": 0.05703728299997124,
"mean": 0.01901242766665708,
"p50": 0.019018408999983194,
"p90": 0.01903408579999564,
"p95": 0.019036045399997193,
"p99": 0.019037613079998437,
"stdev": 2.3706017316826727e-05,
"stdev_": 0.12468695598721988
},
"throughput": {
"unit": "samples/s",
"value": 315.58305468388244
},
"energy": null,
"efficiency": null
}
}
}