IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2a63f3f verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "6",
"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": false,
"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": true,
"device_isolation_action": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1043.12832,
"max_global_vram": 68702.69952,
"max_process_vram": 49223.2704,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.5642001953125,
"mean": 9.5642001953125,
"stdev": 0.0,
"p50": 9.5642001953125,
"p90": 9.5642001953125,
"p95": 9.5642001953125,
"p99": 9.5642001953125,
"values": [
9.5642001953125
]
},
"throughput": null,
"energy": null,
"efficiency": null,
"measures": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.429568,
"max_global_vram": 68702.69952,
"max_process_vram": 262623.055872,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9992212505340577,
"mean": 0.007867883862472896,
"stdev": 0.000336344425963911,
"p50": 0.0077649707794189456,
"p90": 0.00834231586456299,
"p95": 0.008464364051818848,
"p99": 0.009077817611694333,
"values": [
0.008021450996398926,
0.00783873176574707,
0.007826731204986573,
0.007792331218719482,
0.0077937707901000975,
0.007834250926971436,
0.00784225082397461,
0.008057451248168946,
0.008282410621643066,
0.008785133361816405,
0.007789131164550781,
0.009359373092651366,
0.008380331993103028,
0.00831697177886963,
0.008304171562194824,
0.008252330780029297,
0.008185452461242675,
0.008090731620788574,
0.008172170639038086,
0.00805377197265625,
0.008112010955810546,
0.008198572158813476,
0.008402892112731934,
0.008116170883178711,
0.008492812156677246,
0.00849537181854248,
0.008232651710510254,
0.008159212112426758,
0.008169450759887696,
0.008189931869506836,
0.008445772171020507,
0.008472332000732422,
0.008402252197265625,
0.00840481185913086,
0.008199851989746093,
0.008060811042785644,
0.007925930976867676,
0.007908491134643555,
0.007904170989990234,
0.007848650932312011,
0.007838090896606446,
0.0078073711395263675,
0.007794890880584717,
0.008085931777954102,
0.00784225082397461,
0.007817931175231933,
0.007995370864868165,
0.008426251411437989,
0.008088010787963867,
0.009180652618408202,
0.008138412475585938,
0.007860170841217042,
0.0076281709671020504,
0.007673130989074707,
0.007737930774688721,
0.007615690231323242,
0.007648011207580566,
0.00757857084274292,
0.007595691204071045,
0.007635371208190918,
0.007580329895019531,
0.0075705709457397465,
0.00758833122253418,
0.007642570972442627,
0.007622251033782959,
0.007820971012115478,
0.007607690811157227,
0.00754049015045166,
0.007562571048736573,
0.007561611175537109,
0.007560330867767334,
0.007538410186767578,
0.007549931049346923,
0.007564011096954345,
0.007568809986114502,
0.007781451225280762,
0.007582890033721924,
0.007578250885009766,
0.007636011123657227,
0.0075681710243225096,
0.007574729919433594,
0.007579050064086914,
0.007761771202087402,
0.007641770839691162,
0.00760145092010498,
0.007572650909423828,
0.007596810817718506,
0.007735850811004638,
0.007647689819335938,
0.007600010871887207,
0.0075889711380004886,
0.0075803308486938475,
0.007591371059417725,
0.007576169967651367,
0.007578890800476074,
0.007560650825500489,
0.007615211009979248,
0.007621610164642334,
0.007602409839630127,
0.0075920109748840335,
0.007596971035003662,
0.0076606512069702145,
0.00758289098739624,
0.007638410091400146,
0.007646570205688477,
0.007610570907592773,
0.007569450855255127,
0.008630091667175294,
0.00806257152557373,
0.007749131202697754,
0.007742411136627198,
0.007789131164550781,
0.007747850894927979,
0.007758891105651856,
0.0077987308502197265,
0.007735371112823486,
0.007761291027069092,
0.007790410995483398,
0.007785130977630615,
0.007743531227111816,
0.00774337100982666,
0.0077649707794189456,
0.007760490894317627,
0.007758571147918701,
0.007853930950164794,
0.007790571212768555,
0.007795210838317871
]
},
"throughput": {
"unit": "samples/s",
"value": 127.0989782614429
},
"energy": null,
"efficiency": null,
"measures": null
}
}
}