IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
69d866f verified
raw
history blame
6.8 kB
{
"config": {
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"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": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"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": 16757.342208,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.5.0-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": "0482e71303c5bdcabeb9c58b677342ae335717ac",
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 950.575104,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.2483797880000225
],
"count": 1,
"total": 1.2483797880000225,
"mean": 1.2483797880000225,
"p50": 1.2483797880000225,
"p90": 1.2483797880000225,
"p95": 1.2483797880000225,
"p99": 1.2483797880000225,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 962.371584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.048517133999951056,
0.04973339600002191,
0.04669759200004364,
0.0404531340000176,
0.04038727099998596,
0.04081837199998972,
0.04079566000001478,
0.040004181999961475,
0.03973107100000561,
0.040198560000021644,
0.040880707999974675,
0.04010274099999833,
0.03962410299999419,
0.03983130700004267,
0.03951631099999986,
0.03997354199998426,
0.04004074700003457,
0.03996223100000407,
0.040003458000001046,
0.03993005099999891,
0.03991215700000339,
0.04050346500002888,
0.03974696099999164,
0.04096876199997723,
0.040978270000039174
],
"count": 25,
"total": 1.0293111860000863,
"mean": 0.04117244744000345,
"p50": 0.04010274099999833,
"p90": 0.044409863200041866,
"p95": 0.04815322559996957,
"p99": 0.049441493120004905,
"stdev": 0.0027052667527523873,
"stdev_": 6.570575520667083
},
"throughput": {
"unit": "samples/s",
"value": 24.288087353981116
},
"energy": {
"unit": "kWh",
"cpu": 1.5577554300000051e-06,
"ram": 6.510023271352082e-08,
"gpu": 0.0,
"total": 1.6228556627135262e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 616197.7451081085
}
}
}
}