IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
797b014 verified
raw
history blame
7.18 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.7712,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "99a90c9b7ca414e68efe537586f446369de53efc",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 941.727744,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.3033374210000375,
"mean": 4.3033374210000375,
"stdev": 0.0,
"p50": 4.3033374210000375,
"p90": 4.3033374210000375,
"p95": 4.3033374210000375,
"p99": 4.3033374210000375,
"values": [
4.3033374210000375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.786615473888832e-05,
"ram": 2.0016695482518363e-06,
"gpu": 0,
"total": 4.986782428714016e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.32992,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 32,
"total": 1.0022139179999385,
"mean": 0.03131918493749808,
"stdev": 0.0011120859022971867,
"p50": 0.031011398000003965,
"p90": 0.033177657100014815,
"p95": 0.03357992884999703,
"p99": 0.034859658069988204,
"values": [
0.03150107999999818,
0.0333409670000151,
0.033624970000005305,
0.03354307699999026,
0.03147912899999028,
0.03106912199996259,
0.03096780199996374,
0.030589622999968924,
0.03098881099998607,
0.030521364999970046,
0.030226462000030097,
0.03063110099998312,
0.031034567000006064,
0.03146954200002483,
0.03086422799998445,
0.030841173999988314,
0.030765643000052023,
0.030568232000007356,
0.030294439999977385,
0.030526495000003706,
0.031286749000003056,
0.031102513999996972,
0.03159789199997931,
0.031181542000012996,
0.03065279200001214,
0.030617194999990716,
0.030718795000041155,
0.03170786800001224,
0.03143298399999139,
0.031033985000021858,
0.035414372999980515,
0.030619398999988334
]
},
"throughput": {
"unit": "samples/s",
"value": 31.929311123378316
},
"energy": {
"unit": "kWh",
"cpu": 1.184169689393898e-06,
"ram": 4.95165526829883e-08,
"gpu": 0.0,
"total": 1.2336862420768862e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 810578.869969823
}
}
}
}