IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
089b652
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": true, | |
"energy": false, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "0b24af9d7b7751f74b160dfade73ef78e10964d6", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.847104, | |
"max_global_vram": 3097.423872, | |
"max_process_vram": 224252.178432, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9959080824851987, | |
"mean": 0.008096813678741455, | |
"stdev": 0.00035558714977267883, | |
"p50": 0.008307499885559082, | |
"p90": 0.008389163398742676, | |
"p95": 0.008405723190307617, | |
"p99": 0.008563761672973633, | |
"values": [ | |
0.008784618377685547, | |
0.007700459957122803, | |
0.007709421157836914, | |
0.007648621082305908, | |
0.007698861122131348, | |
0.0075878210067749025, | |
0.007505260944366455, | |
0.007494861125946045, | |
0.007476781845092774, | |
0.007473421096801758, | |
0.007453580856323242, | |
0.007416141986846924, | |
0.00749678087234497, | |
0.007409582138061524, | |
0.007482380867004395, | |
0.007416141033172607, | |
0.007426541805267334, | |
0.007459500789642334, | |
0.007426382064819336, | |
0.007426701068878174, | |
0.007417901992797852, | |
0.007495660781860352, | |
0.007872620105743407, | |
0.007932139873504638, | |
0.00794878101348877, | |
0.007902700901031495, | |
0.007895180225372314, | |
0.007774701118469238, | |
0.007754539966583252, | |
0.007497422218322754, | |
0.00745838212966919, | |
0.007452301025390625, | |
0.008156299591064453, | |
0.007790380001068116, | |
0.008057740211486817, | |
0.0082006196975708, | |
0.008325899124145508, | |
0.008333418846130371, | |
0.008337418556213378, | |
0.008352779388427734, | |
0.008363018989562989, | |
0.008345418930053711, | |
0.008342219352722167, | |
0.00835901927947998, | |
0.00832446002960205, | |
0.008363658905029298, | |
0.008385579109191894, | |
0.008368939399719237, | |
0.008378539085388183, | |
0.008345099449157714, | |
0.008390059471130371, | |
0.008313419342041016, | |
0.008358058929443359, | |
0.008361578941345215, | |
0.00839021873474121, | |
0.008300780296325683, | |
0.008415658950805665, | |
0.008336459159851074, | |
0.008266058921813965, | |
0.008293739318847656, | |
0.008330060005187987, | |
0.008393259048461913, | |
0.007939499855041504, | |
0.007575981140136719, | |
0.007746860027313233, | |
0.007942541122436524, | |
0.007696619987487793, | |
0.007824141025543213, | |
0.00787805986404419, | |
0.007769101142883301, | |
0.007687820911407471, | |
0.008096940040588379, | |
0.007825261116027831, | |
0.008015179634094238, | |
0.008361259460449218, | |
0.008350058555603028, | |
0.008290059089660644, | |
0.008375338554382324, | |
0.008452939033508302, | |
0.008396939277648926, | |
0.008319178581237792, | |
0.008332460403442384, | |
0.008392780303955079, | |
0.008296939849853515, | |
0.00834269905090332, | |
0.008325419425964355, | |
0.008333418846130371, | |
0.008595019340515138, | |
0.00831533908843994, | |
0.008262378692626953, | |
0.008346059799194335, | |
0.008302539825439452, | |
0.008293099403381347, | |
0.00827453899383545, | |
0.008373899459838867, | |
0.008350700378417968, | |
0.00842333984375, | |
0.00831037998199463, | |
0.008361259460449218, | |
0.008324778556823731, | |
0.008312458992004395, | |
0.00831037998199463, | |
0.008322380065917968, | |
0.008304299354553223, | |
0.008285738945007325, | |
0.00834269905090332, | |
0.008324459075927734, | |
0.00834973907470703, | |
0.00826509952545166, | |
0.008318058967590332, | |
0.008269739151000977, | |
0.008307499885559082, | |
0.008340459823608398, | |
0.00833661937713623, | |
0.008356939315795899, | |
0.008351498603820801, | |
0.008368297576904297, | |
0.008411178588867188, | |
0.008395018577575684, | |
0.008363658905029298, | |
0.008406699180603027, | |
0.008255660057067871, | |
0.008332619667053223 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.50537380223341 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |