IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ec3babf verified
raw
history blame
13.7 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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 804.069376,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08382669067382813
],
"count": 1,
"total": 0.08382669067382813,
"mean": 0.08382669067382813,
"p50": 0.08382669067382813,
"p90": 0.08382669067382813,
"p95": 0.08382669067382813,
"p99": 0.08382669067382813,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.975936,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"values": [
0.005909503936767578,
0.005570559978485107,
0.005573631763458252,
0.005594111919403076,
0.00556441593170166,
0.0056003198623657225,
0.005577727794647217,
0.005627903938293457,
0.005597184181213379,
0.00551526403427124,
0.005552127838134766,
0.005530623912811279,
0.005517312049865723,
0.005559296131134033,
0.005571584224700928,
0.005541888236999512,
0.005434368133544922,
0.0053678078651428224,
0.00542310380935669,
0.005443583965301513,
0.005478400230407715,
0.005505023956298828,
0.005500959873199463,
0.005532671928405761,
0.005516287803649903,
0.005485568046569824,
0.005537792205810547,
0.00550707197189331,
0.005537792205810547,
0.0056258559226989744,
0.005609471797943116,
0.005586944103240967,
0.005596159934997558,
0.005596159934997558,
0.005533664226531982,
0.005489664077758789,
0.005476352214813233,
0.00547430419921875,
0.00556441593170166,
0.005639167785644531,
0.005566495895385742,
0.005541888236999512,
0.005528512001037597,
0.00556441593170166,
0.005615615844726562,
0.005452799797058106,
0.005403647899627686,
0.005518367767333984,
0.005444608211517334,
0.005488639831542969,
0.005458943843841553,
0.006448128223419189,
0.0064880638122558594,
0.006535168170928955,
0.005797887802124023,
0.005665791988372803,
0.005646336078643799,
0.005715968132019043,
0.005636096000671387,
0.005611519813537597,
0.005594111919403076,
0.005471231937408447,
0.005497856140136719,
0.005526527881622314,
0.005661695957183838,
0.005609471797943116,
0.00556441593170166,
0.005557248115539551,
0.005577727794647217,
0.005596159934997558,
0.0055552000999450684,
0.005465087890625,
0.00552243185043335,
0.005526527881622314,
0.005526527881622314,
0.005412864208221436,
0.005359615802764893,
0.005547008037567139,
0.005477375984191894,
0.005368832111358642,
0.005407743930816651,
0.005325823783874512,
0.005194752216339111,
0.005292031764984131,
0.005500927925109863,
0.005411839962005615,
0.005235712051391602,
0.00516096019744873,
0.005144576072692871,
0.005190656185150146,
0.005532671928405761,
0.005471231937408447,
0.005553152084350586,
0.005565440177917481,
0.005603328227996827,
0.0055920639038085935,
0.005626880168914795,
0.005760000228881836,
0.0058009281158447265,
0.005468160152435303,
0.005362688064575195,
0.005331967830657959,
0.00535148811340332,
0.005327871799468994,
0.005315584182739258,
0.0053637118339538575,
0.0053309440612792965,
0.005359615802764893,
0.005325823783874512,
0.005294079780578613,
0.005315584182739258,
0.005224448204040527,
0.005170239925384522,
0.005145599842071533,
0.005185535907745361,
0.005178368091583252,
0.005152768135070801,
0.005181439876556396,
0.005173247814178467,
0.0051404800415039064,
0.005142528057098389,
0.005163008213043213,
0.005173247814178467,
0.005163008213043213,
0.00515993595123291,
0.005173247814178467,
0.005142528057098389,
0.005180416107177735,
0.0051660799980163576,
0.005157887935638428,
0.005146624088287354,
0.005161983966827393,
0.005177408218383789,
0.005150720119476319,
0.0051998720169067385,
0.005157887935638428,
0.005152768135070801,
0.005167103767395019,
0.005146624088287354,
0.005202943801879883,
0.005437439918518067,
0.005368832111358642,
0.005307392120361328,
0.005347328186035156,
0.005341119766235351,
0.0053043198585510255,
0.0052336640357971195,
0.005173247814178467,
0.005149695873260498,
0.005130239963531494,
0.005180416107177735,
0.005146624088287354,
0.0051476478576660155,
0.005198847770690918,
0.005171199798583984,
0.005137407779693603,
0.00516096019744873,
0.005178336143493652,
0.005164031982421875,
0.005145599842071533,
0.0052070398330688475,
0.005161983966827393,
0.005144576072692871,
0.005179391860961914,
0.005152768135070801,
0.00515174388885498,
0.005142528057098389,
0.0051701760292053225,
0.005174272060394287,
0.005131264209747314,
0.00516096019744873,
0.00516096019744873,
0.005154816150665284,
0.005185472011566162,
0.005161983966827393,
0.005170207977294922,
0.005157887935638428,
0.00516918420791626,
0.005145599842071533,
0.005188608169555664,
0.005170144081115722,
0.005145599842071533,
0.005146624088287354,
0.005123072147369385,
0.00516812801361084
],
"count": 185,
"total": 0.9972183990478519,
"mean": 0.005390369724582982,
"p50": 0.005368832111358642,
"p90": 0.005609471797943116,
"p95": 0.00565862398147583,
"p99": 0.006454517917633056,
"stdev": 0.00023709002603755085,
"stdev_": 4.398400075532722
},
"throughput": {
"unit": "samples/s",
"value": 185.51603157005405
},
"energy": {
"unit": "kWh",
"cpu": 6.418373655781442e-08,
"ram": 3.5067490466431255e-08,
"gpu": 1.2179289022701905e-07,
"total": 2.2104411725126473e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4523983.77498227
}
}
}
}