IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
13d221d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "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": "warn", | |
"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.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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1043.222528, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45035.741184, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0729091796875, | |
"mean": 8.0729091796875, | |
"stdev": 0.0, | |
"p50": 8.0729091796875, | |
"p90": 8.0729091796875, | |
"p95": 8.0729091796875, | |
"p99": 8.0729091796875, | |
"values": [ | |
8.0729091796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.43776, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 223237.554176, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9989608378410337, | |
"mean": 0.007625655250694916, | |
"stdev": 0.0008916607432454515, | |
"p50": 0.007461455821990967, | |
"p90": 0.00813569736480713, | |
"p95": 0.008169937610626222, | |
"p99": 0.008236065006256102, | |
"values": [ | |
0.007855375766754151, | |
0.007469615936279297, | |
0.007461455821990967, | |
0.007479856014251709, | |
0.007587535858154297, | |
0.007342256069183349, | |
0.007579855918884278, | |
0.007347695827484131, | |
0.007503695964813232, | |
0.007271055221557617, | |
0.007309135913848877, | |
0.007440815925598145, | |
0.007324335098266602, | |
0.00731057596206665, | |
0.007490896224975586, | |
0.00730865478515625, | |
0.007382095813751221, | |
0.007451056003570556, | |
0.00746065616607666, | |
0.0075256161689758305, | |
0.007354094982147217, | |
0.007297935962677002, | |
0.0073292961120605465, | |
0.0073195347785949706, | |
0.00731601619720459, | |
0.007516496181488037, | |
0.007662896156311035, | |
0.007316495895385742, | |
0.007648975849151612, | |
0.007351215839385986, | |
0.007592976093292236, | |
0.007844816207885743, | |
0.007572496891021728, | |
0.007382734775543213, | |
0.007252655982971192, | |
0.007268974781036377, | |
0.007459856033325195, | |
0.007729775905609131, | |
0.008048176765441895, | |
0.00813569736480713, | |
0.008072016716003418, | |
0.007829136848449707, | |
0.008003697395324708, | |
0.008212657928466796, | |
0.008044016838073731, | |
0.008037937164306641, | |
0.007961136817932129, | |
0.007897777080535889, | |
0.00771233606338501, | |
0.008039216995239257, | |
0.008043856620788574, | |
0.007882576942443847, | |
0.007633776187896729, | |
0.008006417274475097, | |
0.007980337142944336, | |
0.008115057945251464, | |
0.007688015937805176, | |
0.007709936141967773, | |
0.0077118568420410155, | |
0.00738321590423584, | |
0.007428814888000488, | |
0.0073360161781311035, | |
0.007250255107879639, | |
0.007390416145324707, | |
0.007383056163787842, | |
0.007447535991668701, | |
0.0072291350364685055, | |
0.007379856109619141, | |
0.007337934970855713, | |
0.007275856018066406, | |
0.007275374889373779, | |
0.007373456001281738, | |
0.007315216064453125, | |
0.007402094841003418, | |
0.007284815788269043, | |
0.007305294990539551, | |
0.0072811350822448734, | |
0.007208014965057373, | |
0.007444975852966308, | |
0.00728929615020752, | |
0.007247214794158936, | |
0.007278096199035644, | |
0.015313952445983887, | |
0.0024748849868774414, | |
0.005917932987213135, | |
0.0073884959220886235, | |
0.007214254856109619, | |
0.0072272148132324215, | |
0.007244655132293701, | |
0.00725345516204834, | |
0.007213615894317627, | |
0.007261135101318359, | |
0.00724289608001709, | |
0.007210255146026611, | |
0.007216014862060547, | |
0.007230256080627441, | |
0.007236814975738525, | |
0.007245456218719483, | |
0.007303854942321777, | |
0.007229294776916504, | |
0.007467374801635742, | |
0.007442895889282227, | |
0.007767696857452392, | |
0.007643856048583984, | |
0.00739569616317749, | |
0.007280335903167724, | |
0.007873136043548584, | |
0.008160178184509276, | |
0.0081024169921875, | |
0.008111697196960449, | |
0.008177778244018555, | |
0.008181937217712402, | |
0.008210097312927246, | |
0.008246096611022949, | |
0.008148977279663086, | |
0.008173137664794923, | |
0.008128017425537109, | |
0.008158416748046874, | |
0.008096656799316405, | |
0.008088176727294921, | |
0.008053776741027831, | |
0.00810145664215088, | |
0.008109297752380371, | |
0.008125296592712402, | |
0.008107216835021972, | |
0.008085617065429688, | |
0.008097138404846192, | |
0.008103536605834962, | |
0.008140176773071288, | |
0.00816673755645752, | |
0.00815937614440918 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.13627185137582 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |