IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7f49cc0 verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 787.795968,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4279033203125,
"mean": 7.4279033203125,
"stdev": 0.0,
"p50": 7.4279033203125,
"p90": 7.4279033203125,
"p95": 7.4279033203125,
"p99": 7.4279033203125,
"values": [
7.4279033203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0528718965280368e-06,
"ram": 5.614588617719139e-07,
"gpu": 1.6530568779996035e-06,
"total": 3.2673876362995544e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1076.678656,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9996091837882995,
"mean": 0.0067541161066777,
"stdev": 0.00023668045239177434,
"p50": 0.006675967931747437,
"p90": 0.006936063957214356,
"p95": 0.00739172158241272,
"p99": 0.00762070011138916,
"values": [
0.00742300796508789,
0.007646207809448242,
0.007484416007995606,
0.007591936111450195,
0.007521279811859131,
0.00737171220779419,
0.007402495861053467,
0.007880703926086426,
0.0067870721817016606,
0.006703104019165039,
0.006564864158630371,
0.006626304149627686,
0.006976511955261231,
0.006855711936950683,
0.006732800006866455,
0.006744063854217529,
0.0067758078575134275,
0.006752255916595459,
0.006674367904663086,
0.006716415882110595,
0.006687744140625,
0.0066447358131408694,
0.0067358717918396,
0.0067358717918396,
0.006666240215301514,
0.006657023906707763,
0.006696959972381592,
0.006642687797546387,
0.006662144184112549,
0.006681600093841553,
0.006673376083374024,
0.006776832103729248,
0.006761472225189209,
0.0066641921997070315,
0.006687744140625,
0.006729728221893311,
0.006856704235076904,
0.006681600093841553,
0.006796288013458252,
0.006685696125030518,
0.006643712043762207,
0.006689792156219483,
0.006683648109436035,
0.006627327919006347,
0.006654975891113281,
0.0066744318008422855,
0.006626304149627686,
0.006676479816436768,
0.006691840171813965,
0.006647808074951172,
0.006656000137329102,
0.006680543899536133,
0.006817791938781738,
0.006690815925598144,
0.00669593620300293,
0.006646783828735352,
0.006656000137329102,
0.0066938881874084475,
0.006638591766357422,
0.006654975891113281,
0.006680575847625733,
0.006606847763061524,
0.006652927875518798,
0.006666240215301514,
0.006639616012573242,
0.006662144184112549,
0.006686719894409179,
0.0067051520347595215,
0.006896639823913574,
0.007334911823272705,
0.00693452787399292,
0.006939648151397705,
0.007527423858642578,
0.006852608203887939,
0.006762495994567871,
0.006659071922302246,
0.006675456047058105,
0.0067010560035705566,
0.006631423950195312,
0.006696959972381592,
0.006685696125030518,
0.0066375679969787596,
0.006648831844329834,
0.0066938881874084475,
0.0066304001808166506,
0.006603775978088379,
0.006662144184112549,
0.006604800224304199,
0.006622208118438721,
0.006642687797546387,
0.00659660816192627,
0.006657023906707763,
0.006703104019165039,
0.006664127826690674,
0.006620160102844238,
0.006675456047058105,
0.006724607944488525,
0.006634560108184815,
0.006684671878814697,
0.006669312000274658,
0.006626304149627686,
0.006673408031463623,
0.006749184131622315,
0.006831103801727295,
0.006821887969970703,
0.006856704235076904,
0.0072837438583374025,
0.006908927917480469,
0.006892543792724609,
0.007058432102203369,
0.007368703842163086,
0.006797311782836914,
0.006688767910003662,
0.0066826238632202144,
0.00662937593460083,
0.006657023906707763,
0.006676479816436768,
0.00662937593460083,
0.0066938881874084475,
0.0066979842185974124,
0.006661119937896728,
0.00676966381072998,
0.006710271835327148,
0.0066304001808166506,
0.006627327919006347,
0.00667852783203125,
0.006618112087249756,
0.006626304149627686,
0.006645760059356689,
0.006598656177520752,
0.0066078720092773435,
0.006633471965789795,
0.006598624229431152,
0.006585343837738037,
0.0066416640281677245,
0.006609920024871826,
0.006632448196411133,
0.006635519981384277,
0.006617087841033936,
0.00657919979095459,
0.006661087989807129,
0.006585311889648437,
0.006620160102844238,
0.006597663879394531,
0.006593535900115967,
0.006606847763061524,
0.0066416640281677245,
0.006594560146331787
]
},
"throughput": {
"unit": "samples/s",
"value": 148.05786341329164
},
"energy": {
"unit": "kWh",
"cpu": 7.72454822736266e-08,
"ram": 4.2115855377705744e-08,
"gpu": 1.4028690876623323e-07,
"total": 2.596482464175656e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3851364.3507986674
}
}
}
}