IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c748080
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": 1082014.482432, | |
"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", | |
"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": 1105.747968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3672.653824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06532022857666016 | |
], | |
"count": 1, | |
"total": 0.06532022857666016, | |
"mean": 0.06532022857666016, | |
"p50": 0.06532022857666016, | |
"p90": 0.06532022857666016, | |
"p95": 0.06532022857666016, | |
"p99": 0.06532022857666016, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.647232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 259758.411776, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007536647796630859, | |
0.007260488033294678, | |
0.007290728092193603, | |
0.007583528995513916, | |
0.007299528121948242, | |
0.0072876877784729, | |
0.007324488162994385, | |
0.007079846858978271, | |
0.007107526779174805, | |
0.007049767971038818, | |
0.007081128120422363, | |
0.007084167957305908, | |
0.007064486980438232, | |
0.007080647945404053, | |
0.007096807956695556, | |
0.007085927963256836, | |
0.007079207897186279, | |
0.0071395268440246585, | |
0.007132328033447265, | |
0.007119847774505615, | |
0.007140327930450439, | |
0.007128967761993408, | |
0.007119527816772461, | |
0.007121926784515381, | |
0.007109766960144043, | |
0.007096168041229248, | |
0.007128168106079102, | |
0.007136328220367432, | |
0.00712448787689209, | |
0.007105607032775879, | |
0.007095847129821777, | |
0.0071283278465270996, | |
0.007110568046569824, | |
0.007118567943572998, | |
0.0070972881317138675, | |
0.007117608070373535, | |
0.007130247116088867, | |
0.007099368095397949, | |
0.007117767810821533, | |
0.007099527835845948, | |
0.007106247901916504, | |
0.00708640718460083, | |
0.007091847896575928, | |
0.007124328136444092, | |
0.007132008075714112, | |
0.007118247985839844, | |
0.00709824800491333, | |
0.007131846904754638, | |
0.0071657681465148925, | |
0.00713264799118042, | |
0.0073038477897644045, | |
0.0071686477661132815, | |
0.0071491279602050786, | |
0.007127528190612793, | |
0.007082727909088135, | |
0.007097287178039551, | |
0.007072167873382568, | |
0.007088808059692383, | |
0.007076648235321045, | |
0.007088967800140381, | |
0.0070686469078063965, | |
0.007235527992248535, | |
0.007297287940979004, | |
0.007333127975463867, | |
0.0076603288650512694, | |
0.008019688606262208, | |
0.008029767990112305, | |
0.008045289039611816, | |
0.008038728713989259, | |
0.008084649085998536, | |
0.00806032943725586, | |
0.008145769119262696, | |
0.008072649002075195, | |
0.008065129280090332, | |
0.008083368301391601, | |
0.008040488243103027, | |
0.008049128532409668, | |
0.00802800941467285, | |
0.008131209373474122, | |
0.008041129112243653, | |
0.008047369003295899, | |
0.008012807846069336, | |
0.00808304786682129, | |
0.007810248851776123, | |
0.007810089111328125, | |
0.007835207939147949, | |
0.007823849201202392, | |
0.007793288230895996, | |
0.007817769050598144, | |
0.0078046488761901855, | |
0.007813127994537353, | |
0.007823849201202392, | |
0.007813127994537353, | |
0.0077851290702819825, | |
0.007802248001098633, | |
0.007831528186798095, | |
0.007813289165496826, | |
0.007815847873687744, | |
0.007823208808898925, | |
0.007816648960113526, | |
0.00782752799987793, | |
0.007806728839874268, | |
0.007838247776031494, | |
0.007843529224395752, | |
0.007838569164276122, | |
0.007825607776641846, | |
0.0077764887809753415, | |
0.007786727905273437, | |
0.007825288772583008, | |
0.00781632900238037, | |
0.007795527935028076, | |
0.007796009063720703, | |
0.007791207790374756, | |
0.007778569221496582, | |
0.007779528141021728, | |
0.007775689125061035, | |
0.007794727802276611, | |
0.00784528923034668, | |
0.007805288791656494, | |
0.007847367763519287, | |
0.007838088989257813, | |
0.007821928024291993, | |
0.0078110480308532714, | |
0.0078016090393066406, | |
0.007802728176116943, | |
0.007808488845825195, | |
0.007823847770690917, | |
0.007861767768859863, | |
0.007822089195251465, | |
0.007817768096923828, | |
0.007829129219055176, | |
0.007828968048095703, | |
0.007814087867736817 | |
], | |
"count": 133, | |
"total": 1.000936450958252, | |
"mean": 0.007525837977129715, | |
"p50": 0.0077764887809753415, | |
"p90": 0.008036936569213868, | |
"p95": 0.008062249374389648, | |
"p99": 0.008116310081481934, | |
"stdev": 0.0003792318141840524, | |
"stdev_": 5.0390642920629 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.87556854650632 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |