IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7010132 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.2",
"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.935232,
"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.38179150390625,
"mean": 7.38179150390625,
"stdev": 0.0,
"p50": 7.38179150390625,
"p90": 7.38179150390625,
"p95": 7.38179150390625,
"p99": 7.38179150390625,
"values": [
7.38179150390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.87220921527406e-07,
"ram": 4.7072693875465605e-07,
"gpu": 1.6816680119997873e-06,
"total": 3.0396158722818494e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1083.301888,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9959785604476926,
"mean": 0.0077207640344782395,
"stdev": 0.000291425923220931,
"p50": 0.007756800174713135,
"p90": 0.008065228652954101,
"p95": 0.008267712020874023,
"p99": 0.00847433681488037,
"values": [
0.008345600128173827,
0.008345600128173827,
0.008363007545471191,
0.00829030418395996,
0.008128512382507324,
0.008292351722717285,
0.007993343830108643,
0.007927807807922363,
0.007798783779144287,
0.007803904056549072,
0.007806975841522217,
0.007780384063720703,
0.00764521598815918,
0.007658495903015137,
0.007686240196228027,
0.007758848190307617,
0.00781004810333252,
0.007861248016357422,
0.00778547191619873,
0.007773183822631836,
0.007762944221496582,
0.007822336196899414,
0.007880703926086426,
0.007792640209197998,
0.007748608112335205,
0.007839744091033935,
0.00783462381362915,
0.007803904056549072,
0.0077844481468200685,
0.007790592193603516,
0.007775231838226319,
0.007724031925201416,
0.007672832012176513,
0.007718912124633789,
0.007790592193603516,
0.00780185604095459,
0.007806975841522217,
0.007804927825927735,
0.007812096118927002,
0.007881728172302246,
0.00786636781692505,
0.008046591758728027,
0.007872511863708496,
0.007922688007354736,
0.008517631530761719,
0.008228863716125488,
0.008057855606079101,
0.0080250883102417,
0.007988224029541016,
0.0077916159629821775,
0.0076912641525268555,
0.007756800174713135,
0.00793497610092163,
0.007797760009765625,
0.007838719844818116,
0.007701504230499268,
0.007681024074554443,
0.007751679897308349,
0.007798687934875488,
0.007733248233795166,
0.007717887878417969,
0.0077547521591186525,
0.007925759792327881,
0.007819263935089112,
0.007756800174713135,
0.007809023857116699,
0.008233823776245118,
0.008541184425354004,
0.00807423973083496,
0.007971839904785156,
0.007717887878417969,
0.007738399982452393,
0.007675903797149658,
0.0076277761459350585,
0.00751420783996582,
0.007829567909240723,
0.007782400131225586,
0.007715839862823487,
0.007619584083557129,
0.007613440036773681,
0.0076308479309082035,
0.007858176231384278,
0.007883776187896728,
0.008062975883483887,
0.008046591758728027,
0.008138655662536621,
0.007966720104217529,
0.0080250883102417,
0.007649280071258545,
0.00759603214263916,
0.007512063980102539,
0.008126463890075684,
0.007656447887420655,
0.007528448104858398,
0.0075345921516418455,
0.0075642881393432615,
0.007375872135162354,
0.007385087966918945,
0.007327744007110596,
0.007350272178649903,
0.0073400321006774905,
0.007355391979217529,
0.007288832187652588,
0.0072674560546875,
0.007333888053894043,
0.0073134078979492185,
0.007324672222137451,
0.007308288097381592,
0.007310336112976074,
0.0073768959045410155,
0.007375872135162354,
0.007370751857757568,
0.007375872135162354,
0.007264256000518799,
0.007261343955993652,
0.007332863807678222,
0.007352320194244385,
0.007358463764190673,
0.007355391979217529,
0.007327744007110596,
0.007324672222137451,
0.007343071937561035,
0.0072848000526428225,
0.00733900785446167,
0.007327744007110596,
0.0073359360694885255,
0.007358463764190673,
0.007354368209838867,
0.007349247932434082
]
},
"throughput": {
"unit": "samples/s",
"value": 129.5208603105015
},
"energy": {
"unit": "kWh",
"cpu": 9.058171127545017e-08,
"ram": 4.9524418244121375e-08,
"gpu": 1.6991319784732803e-07,
"total": 3.100193273668996e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3225605.3469096357
}
}
}
}