IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
398aee6 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 718.102528,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.19811083984375,
"mean": 7.19811083984375,
"stdev": 0.0,
"p50": 7.19811083984375,
"p90": 7.19811083984375,
"p95": 7.19811083984375,
"p99": 7.19811083984375,
"values": [
7.19811083984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.31346913178762e-07,
"ram": 4.946093749890679e-07,
"gpu": 1.7066680320001332e-06,
"total": 3.132624320167963e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.106688,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9990931520462034,
"mean": 0.007455919045120923,
"stdev": 0.00027920220406299945,
"p50": 0.007560192108154297,
"p90": 0.007752396869659423,
"p95": 0.007787519931793213,
"p99": 0.007952076711654663,
"values": [
0.007945216178894043,
0.007860223770141601,
0.007955455780029297,
0.00809267234802246,
0.007886847972869874,
0.00759500789642334,
0.007412735939025879,
0.007816192150115966,
0.007705599784851074,
0.007734272003173828,
0.007716864109039307,
0.007619584083557129,
0.007525375843048096,
0.0076277761459350585,
0.007646175861358642,
0.007711743831634522,
0.007686143875122071,
0.007677951812744141,
0.007759871959686279,
0.0076605439186096195,
0.007701504230499268,
0.007787519931793213,
0.00769536018371582,
0.007724031925201416,
0.007774208068847656,
0.007763967990875244,
0.007379968166351319,
0.00739737606048584,
0.007377920150756836,
0.007368703842163086,
0.00765235185623169,
0.007621632099151611,
0.007608320236206055,
0.007613440036773681,
0.00757862377166748,
0.007688191890716553,
0.007646207809448242,
0.007667712211608887,
0.007746560096740723,
0.00775270414352417,
0.007749631881713868,
0.007683072090148926,
0.007655424118041992,
0.007623680114746094,
0.007685120105743408,
0.007755775928497314,
0.007708672046661377,
0.007701504230499268,
0.007592959880828858,
0.007556096076965332,
0.0075642881393432615,
0.007708672046661377,
0.007746560096740723,
0.0076308479309082035,
0.007656447887420655,
0.007632895946502686,
0.007634943962097168,
0.0077199358940124516,
0.007682047843933106,
0.007721983909606934,
0.007751679897308349,
0.007787519931793213,
0.007772160053253174,
0.007741439819335938,
0.007650335788726806,
0.0076605439186096195,
0.0076574721336364745,
0.0076277761459350585,
0.0077281279563903805,
0.007646207809448242,
0.007333888053894043,
0.007087103843688965,
0.007263232231140137,
0.007251967906951904,
0.007329792022705078,
0.007308256149291992,
0.007407616138458252,
0.0073994240760803225,
0.007398399829864502,
0.0074997758865356446,
0.0074332160949707035,
0.007650303840637207,
0.007673855781555176,
0.007404543876647949,
0.007337920188903809,
0.007409664154052734,
0.00744755220413208,
0.00759500789642334,
0.007407616138458252,
0.007238656044006348,
0.007217152118682861,
0.007208960056304932,
0.007147520065307617,
0.0071157760620117185,
0.0071311678886413574,
0.007116799831390381,
0.007154687881469727,
0.007106560230255127,
0.007107647895812988,
0.007211008071899414,
0.0071792640686035155,
0.007096320152282715,
0.007169023990631103,
0.00713318395614624,
0.007153664112091064,
0.007094272136688232,
0.007112703800201416,
0.007163904190063477,
0.007147520065307617,
0.00709222412109375,
0.006975488185882568,
0.00683622407913208,
0.006815743923187256,
0.006855679988861084,
0.0069877438545227055,
0.007332863807678222,
0.007120895862579346,
0.007113728046417236,
0.007126016139984131,
0.007117824077606201,
0.00765337610244751,
0.007144447803497315,
0.00713318395614624,
0.007160831928253173,
0.007127039909362793,
0.007114751815795899,
0.007168000221252442,
0.007139328002929687,
0.007139328002929687,
0.007116799831390381,
0.007124927997589112,
0.0071188478469848635,
0.007171072006225586,
0.007145472049713135
]
},
"throughput": {
"unit": "samples/s",
"value": 134.12162792384257
},
"energy": {
"unit": "kWh",
"cpu": 8.51475280061138e-08,
"ram": 4.655407128059945e-08,
"gpu": 1.635572851223048e-07,
"total": 2.9525888440901806e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3386858.288791452
}
}
}
}