IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
39e946b verified
raw
history blame
13.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": "0",
"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": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"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": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.36896,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08432230377197265
],
"count": 1,
"total": 0.08432230377197265,
"mean": 0.08432230377197265,
"p50": 0.08432230377197265,
"p90": 0.08432230377197265,
"p95": 0.08432230377197265,
"p99": 0.08432230377197265,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.300096,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"values": [
0.0062740478515625,
0.005787648200988769,
0.005734399795532226,
0.005768191814422607,
0.0056780800819396975,
0.005561344146728516,
0.00562278413772583,
0.005550079822540284,
0.005649407863616943,
0.005527552127838135,
0.0056258559226989744,
0.005638144016265869,
0.005576704025268555,
0.005545983791351319,
0.005506048202514649,
0.005801983833312988,
0.00572211217880249,
0.005807199954986572,
0.005889023780822754,
0.005799071788787842,
0.005787615776062012,
0.005619711875915527,
0.0056852478981018065,
0.0058009600639343266,
0.005772287845611572,
0.005697535991668701,
0.005726208209991455,
0.005747712135314941,
0.005707839965820313,
0.005773407936096191,
0.0057292799949646,
0.005774335861206055,
0.005758975982666016,
0.005953536033630371,
0.005879807949066162,
0.005671967983245849,
0.00586137580871582,
0.005617663860321045,
0.005682176113128662,
0.005616640090942383,
0.0056483840942382815,
0.005480447769165039,
0.005473279953002929,
0.005665791988372803,
0.005641215801239013,
0.0057149438858032225,
0.005832704067230224,
0.005961728096008301,
0.005776383876800537,
0.005797887802124023,
0.005769216060638428,
0.005687295913696289,
0.0057415680885314945,
0.005754879951477051,
0.005850111961364746,
0.00568832015991211,
0.005767168045043946,
0.005792768001556397,
0.00579369592666626,
0.005681215763092041,
0.005682240009307862,
0.0060405759811401364,
0.005718016147613526,
0.005767168045043946,
0.005764095783233642,
0.00576204776763916,
0.005730432033538818,
0.00568832015991211,
0.005682015895843506,
0.005758975982666016,
0.005808127880096436,
0.005866528034210205,
0.005806079864501953,
0.00601907205581665,
0.005976064205169678,
0.00591974401473999,
0.005953536033630371,
0.006262784004211426,
0.0062259202003479,
0.0057784318923950195,
0.00582860803604126,
0.005643263816833496,
0.005691391944885254,
0.005794816017150879,
0.005692416191101074,
0.005640192031860352,
0.005591040134429932,
0.006001599788665771,
0.005496831893920898,
0.005549056053161621,
0.005676032066345215,
0.005635072231292724,
0.005426080226898194,
0.006129600048065185,
0.006441952228546143,
0.006559743881225586,
0.006667263984680176,
0.006667263984680176,
0.006650879859924317,
0.006082560062408447,
0.005628928184509278,
0.005583871841430664,
0.0064767999649047855,
0.006602752208709717,
0.006430655956268311,
0.006395904064178467,
0.006421504020690918,
0.006412288188934326,
0.005940224170684814,
0.005437312126159668,
0.005650432109832764,
0.005638016223907471,
0.0055931520462036135,
0.005483520030975342,
0.005511168003082275,
0.005517312049865723,
0.005526591777801513,
0.00551526403427124,
0.005525536060333252,
0.00552345609664917,
0.005530623912811279,
0.00551526403427124,
0.005459871768951416,
0.005468160152435303,
0.005485568046569824,
0.005447679996490478,
0.005478400230407715,
0.0055285758972167965,
0.0055808000564575196,
0.005535744190216065,
0.005545983791351319,
0.005835775852203369,
0.0055623679161071774,
0.005532671928405761,
0.005500927925109863,
0.005489568233489991,
0.005517312049865723,
0.005526527881622314,
0.005490528106689453,
0.005476352214813233,
0.005516287803649903,
0.005624832153320313,
0.00553984022140503,
0.00546611213684082,
0.0054906878471374515,
0.00552243185043335,
0.005639167785644531,
0.005512191772460938,
0.005475327968597412,
0.005480447769165039,
0.005467135906219483,
0.005492735862731934,
0.005477375984191894,
0.005449728012084961,
0.005464000225067139,
0.005477375984191894,
0.005441664218902588,
0.005478432178497314,
0.005537792205810547,
0.005465087890625,
0.0053975038528442385,
0.00537497615814209,
0.0056104640960693355,
0.005445759773254394,
0.005891071796417236,
0.005463039875030518,
0.005478400230407715,
0.0055079998970031735,
0.005519360065460205,
0.005442560195922852,
0.005473279953002929,
0.0055203838348388675,
0.005602303981781006,
0.005471231937408447,
0.005472256183624268
],
"count": 175,
"total": 0.9995374393463132,
"mean": 0.005711642510550362,
"p50": 0.0056483840942382815,
"p90": 0.006012083148956298,
"p95": 0.0064150529384613035,
"p99": 0.0066551397323608395,
"stdev": 0.00027197311830522587,
"stdev_": 4.761732160282193
},
"throughput": {
"unit": "samples/s",
"value": 175.08098557513574
},
"energy": {
"unit": "kWh",
"cpu": 6.244013850511558e-08,
"ram": 3.4115802551335455e-08,
"gpu": 1.176229011157927e-07,
"total": 2.1417884217224374e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4668995.265161602
}
}
}
}