IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b0a5c7a verified
raw
history blame
11.9 kB
{
"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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.909504,
"max_global_vram": 68702.69952,
"max_process_vram": 4448.120832,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.08712289428710937
],
"count": 1,
"total": 0.08712289428710937,
"mean": 0.08712289428710937,
"p50": 0.08712289428710937,
"p90": 0.08712289428710937,
"p95": 0.08712289428710937,
"p99": 0.08712289428710937,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1228.337152,
"max_global_vram": 68702.69952,
"max_process_vram": 224138.223616,
"max_reserved": 557.842432,
"max_allocated": 501.534208
},
"latency": {
"unit": "s",
"values": [
0.007035347938537597,
0.007183988094329834,
0.007193428039550781,
0.007188628196716309,
0.007144467830657959,
0.007119507789611817,
0.007134228229522705,
0.007158867835998535,
0.007154387950897217,
0.007147188186645508,
0.007175347805023193,
0.007126547813415527,
0.0071630277633666995,
0.007161588191986084,
0.007138388156890869,
0.007148628234863281,
0.007152627944946289,
0.007132788181304931,
0.007154706954956055,
0.007142067909240723,
0.007119187831878662,
0.007140148162841797,
0.007155667781829834,
0.007137907981872559,
0.007143668174743652,
0.007144787788391113,
0.007143187999725342,
0.00715582799911499,
0.007173266887664795,
0.007142228126525879,
0.007121747970581055,
0.00713294792175293,
0.00715582799911499,
0.007150228023529053,
0.007114707946777344,
0.00712638807296753,
0.007138227939605713,
0.0071582279205322265,
0.007152147769927978,
0.007158708095550537,
0.007144467830657959,
0.007154548168182373,
0.007170388221740723,
0.007138068199157715,
0.007168787956237793,
0.007343347072601318,
0.007208467960357666,
0.0071747078895568845,
0.00716398811340332,
0.007160788059234619,
0.007165748119354248,
0.007161588191986084,
0.007163827896118164,
0.007151827812194824,
0.007144948005676269,
0.007205748081207276,
0.007161427974700927,
0.007145267963409424,
0.0071737470626831055,
0.007160788059234619,
0.007168787956237793,
0.0071531081199646,
0.007150547981262207,
0.007172468185424804,
0.007116467952728272,
0.007137107849121094,
0.00805742645263672,
0.008148466110229492,
0.0081195068359375,
0.008095026969909668,
0.008152146339416504,
0.007991186141967773,
0.007535987854003906,
0.007447826862335205,
0.007454707145690918,
0.007469908237457275,
0.007442866802215576,
0.00741182804107666,
0.007617426872253418,
0.007567827224731445,
0.007605906963348389,
0.007754547119140625,
0.007691506862640381,
0.007684786796569824,
0.007316947937011719,
0.007226868152618408,
0.007389587879180908,
0.007285427093505859,
0.007264307975769043,
0.007242867946624756,
0.007191348075866699,
0.007222547054290772,
0.007210708141326904,
0.007160468101501465,
0.007260468006134033,
0.007148148059844971,
0.007205108165740967,
0.007199987888336181,
0.007250708103179931,
0.0072044677734375,
0.007209907054901123,
0.007218547821044922,
0.007171988010406494,
0.007203988075256348,
0.007215827941894531,
0.00720302677154541,
0.007206068038940429,
0.007223827838897705,
0.007174548149108887,
0.007148628234863281,
0.007181908130645752,
0.007181587219238281,
0.0071742281913757325,
0.0072223877906799315,
0.007193908214569091,
0.007190547943115235,
0.007207507133483886,
0.007192947864532471,
0.007203827857971192,
0.0071723079681396485,
0.0072102279663085935,
0.007174868106842041,
0.00719806718826294,
0.007204627990722657,
0.007221588134765625,
0.007192468166351319,
0.007213908195495606,
0.007211826801300049,
0.007199667930603028,
0.0071363081932067874,
0.0071675081253051755,
0.0072011079788208004,
0.007201747894287109,
0.007208628177642822,
0.007212947845458984,
0.007212626934051514,
0.007217428207397461,
0.007215826988220215
],
"count": 138,
"total": 1.0007095131874089,
"mean": 0.0072515182115029594,
"p50": 0.007175107955932618,
"p90": 0.007459267473220825,
"p95": 0.007700962901115418,
"p99": 0.008137751178741454,
"stdev": 0.0002157748484555447,
"stdev_": 2.975581694234247
},
"throughput": {
"unit": "samples/s",
"value": 275.8043132026386
},
"energy": null,
"efficiency": null
}
}
}