IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e6f8b85 verified
raw
history blame
6.97 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": "error",
"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-1024-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "ccbe7aacd086723c172c9fa023acf7472f558e93",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 947.298304,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.440667879999978,
"mean": 4.440667879999978,
"stdev": 0.0,
"p50": 4.440667879999978,
"p90": 4.440667879999978,
"p95": 4.440667879999978,
"p99": 4.440667879999978,
"values": [
4.440667879999978
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.7886461681789826e-05,
"ram": 2.001423148504955e-06,
"gpu": 0,
"total": 4.988788483029478e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 954.638336,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 27,
"total": 0.9995117160001428,
"mean": 0.037018952444449735,
"stdev": 0.0009317119502085342,
"p50": 0.03723186000001988,
"p90": 0.03814767199997959,
"p95": 0.03819648330000973,
"p99": 0.03861467193998692,
"values": [
0.03875545699997929,
0.03739144900004021,
0.03615581000002521,
0.034753039999998236,
0.03744052100000772,
0.037009515000022475,
0.03773569200001248,
0.037520319000009295,
0.035731888999976036,
0.03578755299997738,
0.036445332000027975,
0.037274910999997246,
0.036733190000006744,
0.036633213000015985,
0.036162182999987635,
0.03588884200001985,
0.0357951970000272,
0.03787568300003841,
0.03723186000001988,
0.03814234199995781,
0.03719521300001816,
0.03746556800001599,
0.037480345000005855,
0.036625918999959595,
0.0379110299999752,
0.03821397600000864,
0.03815566700001227
]
},
"throughput": {
"unit": "samples/s",
"value": 27.013190108515087
},
"energy": {
"unit": "kWh",
"cpu": 1.2325601859225169e-06,
"ram": 5.151141774984324e-08,
"gpu": 0.0,
"total": 1.28407160367236e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 778772.7702567879
}
}
}
}