IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ddfdc57 verified
raw
history blame
13.5 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.224-212.876.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.0",
"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": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 802.885632,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.06108984375,
"mean": 8.06108984375,
"stdev": 0.0,
"p50": 8.06108984375,
"p90": 8.06108984375,
"p95": 8.06108984375,
"p99": 8.06108984375,
"values": [
8.06108984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.53033192095447e-06,
"ram": 1.3417388164937313e-06,
"gpu": 3.577502862062154e-06,
"total": 7.449573599510355e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.665216,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"count": 180,
"total": 0.9948149757385256,
"mean": 0.00552674986521403,
"stdev": 0.00021198262352458867,
"p50": 0.005537791967391967,
"p90": 0.0057850879669189455,
"p95": 0.0058347518444061275,
"p99": 0.005977400746345521,
"values": [
0.005667840003967285,
0.005598207950592041,
0.00575494384765625,
0.0056442880630493165,
0.005686272144317627,
0.005637119770050049,
0.005634047985076904,
0.005662720203399658,
0.005618688106536865,
0.005647359848022461,
0.006432767868041992,
0.005868544101715088,
0.005860415935516358,
0.005806079864501953,
0.005856256008148194,
0.005804031848907471,
0.005780479907989502,
0.005746687889099121,
0.00559932804107666,
0.005647359848022461,
0.005626880168914795,
0.005652480125427246,
0.005699584007263184,
0.00570470380783081,
0.0057415680885314945,
0.005773312091827393,
0.005803008079528809,
0.005576704025268555,
0.005538815975189209,
0.005526527881622314,
0.005429247856140137,
0.005441535949707031,
0.005519360065460205,
0.005538815975189209,
0.0055285758972167965,
0.005529600143432617,
0.00553984022140503,
0.005554175853729248,
0.005539807796478271,
0.005496831893920898,
0.005536767959594726,
0.005503007888793945,
0.0055285758972167965,
0.00552345609664917,
0.005519360065460205,
0.005574656009674072,
0.0055848960876464845,
0.005450751781463623,
0.005351424217224121,
0.005376959800720215,
0.005402624130249023,
0.005445631980895996,
0.005449728012084961,
0.005462016105651855,
0.005501952171325684,
0.0055,
0.005497856140136719,
0.005483520030975342,
0.0055203838348388675,
0.005578752040863037,
0.0055920639038085935,
0.00561356782913208,
0.005585919857025146,
0.005603328227996827,
0.005596159934997558,
0.00551526403427124,
0.0058122239112854005,
0.005653503894805908,
0.0057610878944396975,
0.005958655834197998,
0.005833727836608887,
0.005789696216583252,
0.005777408123016357,
0.005819392204284668,
0.005775360107421875,
0.0057292799949646,
0.005673984050750733,
0.005591040134429932,
0.005683199882507324,
0.005734399795532226,
0.005688352108001709,
0.005801983833312988,
0.005901311874389649,
0.005690368175506591,
0.0056483840942382815,
0.005459968090057373,
0.0054906878471374515,
0.005432320117950439,
0.005462016105651855,
0.005421055793762207,
0.005470208168029785,
0.005541888236999512,
0.0055214080810546875,
0.005493760108947754,
0.005635072231292724,
0.00556441593170166,
0.005604351997375488,
0.005552127838134766,
0.005584864139556884,
0.005784575939178467,
0.005854207992553711,
0.00574675178527832,
0.005816256046295166,
0.005731328010559082,
0.005686272144317627,
0.005582784175872803,
0.005698560237884521,
0.005659647941589355,
0.005637119770050049,
0.005574656009674072,
0.005573535919189453,
0.005419007778167725,
0.005463039875030518,
0.005627903938293457,
0.005560319900512695,
0.005408768177032471,
0.005361663818359375,
0.005389311790466309,
0.005583871841430664,
0.005499904155731201,
0.005559296131134033,
0.005634047985076904,
0.005647359848022461,
0.005656576156616211,
0.00568832015991211,
0.005724160194396972,
0.005961696147918701,
0.005571584224700928,
0.005439487934112549,
0.005389311790466309,
0.005438464164733887,
0.005385216236114502,
0.005442527770996094,
0.0060364799499511715,
0.005409791946411133,
0.005189631938934326,
0.0052674560546875,
0.00520908784866333,
0.005201888084411621,
0.005212160110473632,
0.005175295829772949,
0.005146687984466553,
0.005180416107177735,
0.005132287979125977,
0.00515174388885498,
0.0051476478576660155,
0.00517632007598877,
0.005153791904449463,
0.005435391902923584,
0.005341184139251709,
0.0053606400489807126,
0.005319680213928223,
0.005351424217224121,
0.005327871799468994,
0.005329919815063477,
0.005347263813018799,
0.005368832111358642,
0.005327871799468994,
0.005329919815063477,
0.005337088108062744,
0.005339104175567627,
0.00536678409576416,
0.00535756778717041,
0.005354496002197265,
0.005349376201629639,
0.005347328186035156,
0.0053637118339538575,
0.005321728229522705,
0.005165056228637695,
0.00515990400314331,
0.005145599842071533,
0.005129216194152832,
0.005137407779693603,
0.005153791904449463,
0.005145599842071533,
0.005148672103881836,
0.00515993595123291,
0.005156864166259765,
0.0053340158462524415,
0.005442560195922852
]
},
"throughput": {
"unit": "samples/s",
"value": 180.93816879502901
},
"energy": {
"unit": "kWh",
"cpu": 6.167511403018749e-08,
"ram": 3.3702814143848086e-08,
"gpu": 1.2734240511432884e-07,
"total": 2.2272033328836441e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4489935.809790937
}
}
}
}