IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6622e3c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"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": 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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"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.1", | |
"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": 909.320192, | |
"max_global_vram": 841.875456, | |
"max_process_vram": 47750.213632, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.02659375, | |
"mean": 9.02659375, | |
"stdev": 0.0, | |
"p50": 9.02659375, | |
"p90": 9.02659375, | |
"p95": 9.02659375, | |
"p99": 9.02659375, | |
"values": [ | |
9.02659375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1024.487424, | |
"max_global_vram": 898.158592, | |
"max_process_vram": 223464.177664, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9943272762298586, | |
"mean": 0.008018768356692406, | |
"stdev": 0.0005262511639397808, | |
"p50": 0.007945296049118042, | |
"p90": 0.008189504718780518, | |
"p95": 0.008352865076065063, | |
"p99": 0.00883282435417175, | |
"values": [ | |
0.008948818206787109, | |
0.008127376556396485, | |
0.008070096015930176, | |
0.007942895889282226, | |
0.007928175926208496, | |
0.007901936054229737, | |
0.00785201597213745, | |
0.007826574802398682, | |
0.008071696281433106, | |
0.007816815853118896, | |
0.008083375930786132, | |
0.007836656093597412, | |
0.00783265495300293, | |
0.007818574905395509, | |
0.007854095935821533, | |
0.007867216110229492, | |
0.007824175834655762, | |
0.007820975780487061, | |
0.007833455085754394, | |
0.007815695762634278, | |
0.007810895919799805, | |
0.007787856101989746, | |
0.007824814796447754, | |
0.007832015991210937, | |
0.007877615928649903, | |
0.007869775772094727, | |
0.007824495792388916, | |
0.007821936130523682, | |
0.007834095001220703, | |
0.007941296100616455, | |
0.007874414920806885, | |
0.007817135810852052, | |
0.00785265588760376, | |
0.007842895984649658, | |
0.007818895816802979, | |
0.007794895172119141, | |
0.007920495986938477, | |
0.007882256031036377, | |
0.008008336067199707, | |
0.008065297126770019, | |
0.008009296417236328, | |
0.007936336040496827, | |
0.00794209623336792, | |
0.007962416172027588, | |
0.007951856136322022, | |
0.00799121618270874, | |
0.008051217079162598, | |
0.008098735809326171, | |
0.008097616195678711, | |
0.00801249599456787, | |
0.007994895935058593, | |
0.007996655941009522, | |
0.007952816009521484, | |
0.007918575763702392, | |
0.007967535972595214, | |
0.008119855880737305, | |
0.008220017433166504, | |
0.008175056457519531, | |
0.008197297096252441, | |
0.008099696159362794, | |
0.008103696823120118, | |
0.008164976119995117, | |
0.008200337409973144, | |
0.008154095649719239, | |
0.013488826751708984, | |
0.007148015022277832, | |
0.008407856941223145, | |
0.008315056800842284, | |
0.008444497108459473, | |
0.00835953712463379, | |
0.008261136054992676, | |
0.008195696830749511, | |
0.0081387357711792, | |
0.00805937671661377, | |
0.008042256355285644, | |
0.00808737564086914, | |
0.008067215919494629, | |
0.007979695796966552, | |
0.007983856201171875, | |
0.00801153564453125, | |
0.008001296043395997, | |
0.007972496032714844, | |
0.008383377075195313, | |
0.008158097267150879, | |
0.008079855918884278, | |
0.008090895652770996, | |
0.008013296127319335, | |
0.007972015857696533, | |
0.007986415863037109, | |
0.007960015773773194, | |
0.007957456111907958, | |
0.007945136070251465, | |
0.00793009614944458, | |
0.007893295764923095, | |
0.00795297622680664, | |
0.00793617582321167, | |
0.007966415882110596, | |
0.007958255767822265, | |
0.007946256160736085, | |
0.007911856174468995, | |
0.007923535823822022, | |
0.007905456066131591, | |
0.008383056640625, | |
0.00794545602798462, | |
0.00794929599761963, | |
0.007914735794067382, | |
0.00797985601425171, | |
0.007892974853515625, | |
0.00782065486907959, | |
0.007785615921020508, | |
0.007826096057891845, | |
0.007841616153717042, | |
0.007856814861297608, | |
0.007850415229797363, | |
0.007876495838165283, | |
0.007838096141815186, | |
0.0078995361328125, | |
0.007893136024475098, | |
0.007908336162567139, | |
0.007879855155944825, | |
0.007927375793457031, | |
0.00785361623764038, | |
0.007835855960845947, | |
0.007838894844055175 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.70743080705248 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |