
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2be30b2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.639872, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.1995653076171875 | |
], | |
"count": 1, | |
"total": 0.1995653076171875, | |
"mean": 0.1995653076171875, | |
"p50": 0.1995653076171875, | |
"p90": 0.1995653076171875, | |
"p95": 0.1995653076171875, | |
"p99": 0.1995653076171875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.142784, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006115327835083008, | |
0.005958655834197998, | |
0.00586240005493164, | |
0.005938111782073974, | |
0.005893119812011719, | |
0.005896192073822021, | |
0.005847008228302002, | |
0.005843967914581299, | |
0.005856256008148194, | |
0.005839871883392334, | |
0.005888000011444092, | |
0.005848063945770264, | |
0.005871647834777832, | |
0.005830656051635743, | |
0.005846015930175781, | |
0.005831679821014404, | |
0.005831679821014404, | |
0.00582038402557373, | |
0.0058204798698425295, | |
0.005811168193817139, | |
0.005876736164093017, | |
0.005823488235473633, | |
0.005835775852203369, | |
0.0058419198989868165, | |
0.005833727836608887, | |
0.005841951847076416, | |
0.005844992160797119, | |
0.0058418879508972165, | |
0.006011903762817383, | |
0.005929984092712402, | |
0.0058726401329040525, | |
0.00587059211730957, | |
0.005866496086120605, | |
0.005882880210876465, | |
0.0058429441452026365, | |
0.0058757119178771975, | |
0.005857279777526855, | |
0.005865471839904785, | |
0.005836800098419189, | |
0.005903359889984131, | |
0.005817344188690185, | |
0.005847040176391601, | |
0.0058429441452026365, | |
0.005953536033630371, | |
0.005844992160797119, | |
0.005867519855499268, | |
0.005881855964660645, | |
0.005854207992553711, | |
0.0058419198989868165, | |
0.005857279777526855, | |
0.005853184223175049, | |
0.005859327793121338, | |
0.00587775993347168, | |
0.005843967914581299, | |
0.005851136207580566, | |
0.005819392204284668, | |
0.005865471839904785, | |
0.005859327793121338, | |
0.005848063945770264, | |
0.005854207992553711, | |
0.005823488235473633, | |
0.005834752082824707, | |
0.005835775852203369, | |
0.005824512004852295, | |
0.005705728054046631, | |
0.00573747205734253, | |
0.00568012809753418, | |
0.005751808166503906, | |
0.005681151866912842, | |
0.0057487359046936035, | |
0.005727231979370117, | |
0.005708799839019775, | |
0.00572211217880249, | |
0.0057292799949646, | |
0.005708799839019775, | |
0.005687295913696289, | |
0.005690368175506591, | |
0.00589625597000122, | |
0.005834752082824707, | |
0.005835743904113769, | |
0.005760000228881836, | |
0.005725183963775635, | |
0.005708799839019775, | |
0.0057292799949646, | |
0.005728256225585937, | |
0.005752831935882568, | |
0.005715968132019043, | |
0.005706751823425293, | |
0.005691391944885254, | |
0.005705728054046631, | |
0.0057487359046936035, | |
0.005696512222290039, | |
0.005723135948181152, | |
0.005687295913696289, | |
0.005706783771514893, | |
0.005727231979370117, | |
0.00572108793258667, | |
0.0057497601509094234, | |
0.005708799839019775, | |
0.005981184005737304, | |
0.00588595199584961, | |
0.005945343971252442, | |
0.006012928009033203, | |
0.005958655834197998, | |
0.00588595199584961, | |
0.00602623987197876, | |
0.00586240005493164, | |
0.005949440002441406, | |
0.005947391986846923, | |
0.005899263858795166, | |
0.005829631805419922, | |
0.005835775852203369, | |
0.00586137580871582, | |
0.005845983982086181, | |
0.005852159976959229, | |
0.0058388481140136715, | |
0.005865471839904785, | |
0.005855231761932373, | |
0.005854207992553711, | |
0.005847040176391601, | |
0.005920703887939453, | |
0.005847040176391601, | |
0.005894144058227539, | |
0.005863423824310303, | |
0.005864448070526123, | |
0.005815296173095703, | |
0.005876800060272217, | |
0.005816287994384765, | |
0.005804031848907471, | |
0.005832736015319824, | |
0.005825535774230957, | |
0.005840896129608154, | |
0.005824448108673096, | |
0.005840896129608154, | |
0.0058419198989868165, | |
0.0058787841796875, | |
0.005949440002441406, | |
0.005863423824310303, | |
0.005868544101715088, | |
0.005920767784118652, | |
0.00586240005493164, | |
0.005897215843200684, | |
0.005810175895690918, | |
0.0058726401329040525, | |
0.005831679821014404, | |
0.005844992160797119, | |
0.0058388481140136715, | |
0.005814271926879883, | |
0.005826560020446778, | |
0.005840896129608154, | |
0.00582041597366333, | |
0.005826560020446778, | |
0.005843967914581299, | |
0.005954527854919433, | |
0.005866496086120605, | |
0.0057825279235839844, | |
0.005709824085235596, | |
0.005690368175506591, | |
0.005702655792236328, | |
0.005753856182098388, | |
0.00568828821182251, | |
0.005732351779937744, | |
0.005987328052520752, | |
0.005915647983551026, | |
0.005851136207580566, | |
0.005846015930175781, | |
0.005824512004852295, | |
0.005925888061523437, | |
0.0058091521263122555, | |
0.005889984130859375, | |
0.0058122239112854005 | |
], | |
"count": 171, | |
"total": 0.9975088944435115, | |
"mean": 0.0058333853476228775, | |
"p50": 0.0058429441452026365, | |
"p90": 0.005920767784118652, | |
"p95": 0.005954031944274902, | |
"p99": 0.00601692156791687, | |
"stdev": 7.703287796548971e-05, | |
"stdev_": 1.3205518472541995 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 171.42704285899836 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.758481356928815e-08, | |
"ram": 3.69201871468406e-08, | |
"gpu": 1.3655313954545446e-07, | |
"total": 2.410581402615832e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4148376.8144683037 | |
} | |
} | |
} | |
} |