IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a81fec9 verified
raw
history blame
6.12 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.354496,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "dc29eecfd7850e87154a5a92442eb64d237d0070",
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 936.01792,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 32,
"total": 1.0016139769996926,
"mean": 0.03130043678124039,
"stdev": 0.0007969108835272493,
"p50": 0.031128808500000105,
"p90": 0.031932321899967066,
"p95": 0.03236924914999122,
"p99": 0.034052846149991184,
"values": [
0.031167945999982294,
0.03186563999997816,
0.03151957400007177,
0.03119304300003023,
0.030784842000002755,
0.031171132999929796,
0.031208502000026783,
0.03063104399996064,
0.031699038000056134,
0.031008889000077033,
0.031089671000017916,
0.03149909499995829,
0.03080034999993586,
0.03173570799992831,
0.030874788999994962,
0.030979523999917546,
0.031048363999957473,
0.030884486999980254,
0.03084831999990456,
0.03178344700006619,
0.03193973099996583,
0.03129749899994749,
0.03093653500002347,
0.03222068299999137,
0.03255082999999104,
0.03472766499999125,
0.031285045000004175,
0.03083346200003234,
0.030588193999960822,
0.030567765999990115,
0.03037143799997466,
0.030501723000043057
]
},
"throughput": {
"unit": "samples/s",
"value": 31.948435959185723
},
"energy": {
"unit": "kWh",
"cpu": 1.1926699567724158e-06,
"ram": 4.9843797160116826e-08,
"gpu": 0.0,
"total": 1.2425137539325326e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 804820.0648363198
}
}
}
}