IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7e60f1b 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.293824,
"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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.81056,
"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.15736083984375,
"mean": 7.15736083984375,
"stdev": 0.0,
"p50": 7.15736083984375,
"p90": 7.15736083984375,
"p95": 7.15736083984375,
"p99": 7.15736083984375,
"values": [
7.15736083984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.608930640750462e-07,
"ram": 4.5648506582144437e-07,
"gpu": 1.758890296000258e-06,
"total": 3.0762684258967485e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 919.63392,
"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.9973950414657591,
"mean": 0.007443246578102682,
"stdev": 0.0002885161609050155,
"p50": 0.007565311908721924,
"p90": 0.007759667396545411,
"p95": 0.007815167903900147,
"p99": 0.007972813029289243,
"values": [
0.00800153636932373,
0.007889952182769775,
0.007914495944976807,
0.007841792106628418,
0.007756800174713135,
0.00780083179473877,
0.0077127361297607425,
0.007732223987579345,
0.007701344013214111,
0.007703551769256592,
0.007673855781555176,
0.007776256084442139,
0.007780352115631104,
0.007678976058959961,
0.007679935932159424,
0.007652383804321289,
0.007669760227203369,
0.00760319995880127,
0.007575551986694336,
0.008252415657043457,
0.007882751941680909,
0.0076912641525268555,
0.007665664196014404,
0.007651264190673828,
0.007786496162414551,
0.007614528179168701,
0.0076912641525268555,
0.007671807765960693,
0.007676928043365478,
0.007549856185913086,
0.00758681583404541,
0.007510015964508057,
0.007554048061370849,
0.007579648017883301,
0.007709695816040039,
0.007582592010498047,
0.007751679897308349,
0.007887872219085693,
0.007742464065551758,
0.007698304176330566,
0.007679999828338623,
0.007600128173828125,
0.007621632099151611,
0.007705599784851074,
0.007599103927612305,
0.007642111778259277,
0.0076871681213378906,
0.007740416049957275,
0.007565311908721924,
0.007572576045989991,
0.007766016006469726,
0.007647232055664062,
0.007584767818450928,
0.0076605439186096195,
0.007600128173828125,
0.007639039993286132,
0.007656447887420655,
0.007638016223907471,
0.0076871681213378906,
0.0077608962059021,
0.007787519931793213,
0.007741439819335938,
0.007628799915313721,
0.007667712211608887,
0.007624703884124756,
0.007679999828338623,
0.0077528319358825684,
0.007565311908721924,
0.007592959880828858,
0.007362559795379638,
0.007535583972930908,
0.007521279811859131,
0.007292928218841553,
0.0072202239036560055,
0.0072427520751953125,
0.007262207984924316,
0.007572480201721191,
0.00733081579208374,
0.0072540159225463864,
0.007511040210723877,
0.007614463806152344,
0.007321599960327148,
0.007261184215545655,
0.007171072006225586,
0.007301184177398681,
0.00725705623626709,
0.0071495680809020995,
0.007184383869171143,
0.007129151821136475,
0.007134208202362061,
0.00718236780166626,
0.007078911781311035,
0.007194623947143554,
0.007066624164581299,
0.007135231971740722,
0.007136256217956543,
0.007103487968444824,
0.0070563840866088865,
0.007024640083312988,
0.007066624164581299,
0.007132160186767578,
0.0071823358535766605,
0.007128064155578613,
0.00704307222366333,
0.007075679779052734,
0.007121920108795166,
0.007127999782562256,
0.0070594558715820314,
0.007120895862579346,
0.007106560230255127,
0.00713318395614624,
0.007066688060760498,
0.007070720195770264,
0.0070984640121459965,
0.0072120318412780765,
0.007116799831390381,
0.0070594558715820314,
0.007044095993041993,
0.007073791980743408,
0.006999040126800537,
0.007028736114501953,
0.007114751815795899,
0.007174015998840332,
0.007209983825683594,
0.007111680030822754,
0.00704307222366333,
0.00708403205871582,
0.007162879943847656,
0.007106560230255127,
0.007163904190063477,
0.007202816009521484,
0.007181312084197998,
0.007107583999633789,
0.007077888011932373
]
},
"throughput": {
"unit": "samples/s",
"value": 134.34997611686063
},
"energy": {
"unit": "kWh",
"cpu": 8.281191583743093e-08,
"ram": 4.5269125863679544e-08,
"gpu": 1.629430207972028e-07,
"total": 2.9102406249831323e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3436141.985701942
}
}
}
}