IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8f89038
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "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": 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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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 | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.399232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5034.995712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08823426818847656 | |
], | |
"count": 1, | |
"total": 0.08823426818847656, | |
"mean": 0.08823426818847656, | |
"p50": 0.08823426818847656, | |
"p90": 0.08823426818847656, | |
"p95": 0.08823426818847656, | |
"p99": 0.08823426818847656, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1229.266944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 240368.51712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0073913359642028805, | |
0.006959016799926758, | |
0.007017096996307373, | |
0.007023976802825928, | |
0.0070186958312988285, | |
0.006996457099914551, | |
0.006969417095184326, | |
0.006996296882629395, | |
0.007003016948699951, | |
0.006975337028503418, | |
0.007223495960235596, | |
0.006973896980285645, | |
0.006992136955261231, | |
0.00696317720413208, | |
0.00697357702255249, | |
0.006967977046966552, | |
0.007017736911773682, | |
0.006987657070159912, | |
0.00699709701538086, | |
0.006963497161865235, | |
0.007229735851287842, | |
0.007316775798797607, | |
0.007073575973510742, | |
0.006982057094573974, | |
0.007027017116546631, | |
0.006984776973724365, | |
0.007049097061157227, | |
0.0070402960777282714, | |
0.0070142168998718266, | |
0.007015817165374756, | |
0.00698013687133789, | |
0.006954697132110596, | |
0.007028296947479248, | |
0.007011177062988282, | |
0.007062857151031494, | |
0.007006377220153809, | |
0.007049256801605224, | |
0.006950216770172119, | |
0.007016936779022217, | |
0.007023336887359619, | |
0.006968937873840332, | |
0.007002857208251953, | |
0.007018537044525147, | |
0.007001576900482177, | |
0.007003336906433105, | |
0.006985897064208984, | |
0.007011335849761963, | |
0.00700141716003418, | |
0.0069623770713806155, | |
0.007082696914672852, | |
0.007189256191253662, | |
0.007008936882019043, | |
0.007025897026062012, | |
0.007030537128448486, | |
0.007044137001037598, | |
0.0070217370986938475, | |
0.0070450959205627444, | |
0.006983497142791748, | |
0.00703901720046997, | |
0.006984776973724365, | |
0.007036937236785889, | |
0.006999337196350098, | |
0.007040777206420898, | |
0.007035497188568115, | |
0.006973257064819336, | |
0.0070002970695495605, | |
0.007024937152862549, | |
0.00700797700881958, | |
0.007731814861297607, | |
0.007927974224090577, | |
0.007959174156188966, | |
0.007507015228271485, | |
0.007504934787750244, | |
0.007508454799652099, | |
0.007500455856323242, | |
0.007535336017608643, | |
0.007558536052703857, | |
0.0075399761199951175, | |
0.007557096004486084, | |
0.007422215938568115, | |
0.007960453987121582, | |
0.007581894874572754, | |
0.007338535785675049, | |
0.007331655979156494, | |
0.007399655818939209, | |
0.007451655864715576, | |
0.007441895008087158, | |
0.007452136039733887, | |
0.007446375846862793, | |
0.007398855209350586, | |
0.007314055919647217, | |
0.007001896858215332, | |
0.007013257026672363, | |
0.006996137142181396, | |
0.007047175884246826, | |
0.0069201369285583495, | |
0.007051177024841308, | |
0.007025257110595703, | |
0.007633735179901123, | |
0.00790765380859375, | |
0.00791581392288208, | |
0.007781414031982422, | |
0.007420774936676026, | |
0.007353096008300781, | |
0.007391975879669189, | |
0.007439655780792236, | |
0.007467814922332764, | |
0.007491974830627441, | |
0.007387976169586182, | |
0.007309735774993897, | |
0.007421895027160645, | |
0.00795453405380249, | |
0.007721573829650879, | |
0.007495814800262451, | |
0.007544136047363282, | |
0.0074922962188720705, | |
0.007526535034179688, | |
0.007502854824066162, | |
0.00748605489730835, | |
0.007390535831451416, | |
0.007319174766540528, | |
0.007027976989746094, | |
0.007083817005157471, | |
0.0070279760360717775, | |
0.007049097061157227, | |
0.007023016929626465, | |
0.007029897212982178, | |
0.00702077579498291, | |
0.00699709701538086, | |
0.006968297004699707, | |
0.007021256923675537, | |
0.007041576862335205, | |
0.007076937198638916, | |
0.006998696804046631, | |
0.007008616924285889, | |
0.006979176044464111, | |
0.007056295871734619, | |
0.007101256847381592, | |
0.007033096790313721 | |
], | |
"count": 139, | |
"total": 1.0000855083465572, | |
"mean": 0.007194859772277393, | |
"p50": 0.007036937236785889, | |
"p90": 0.0075408081054687505, | |
"p95": 0.007736774778366089, | |
"p99": 0.007957410917282104, | |
"stdev": 0.00026941847342994976, | |
"stdev_": 3.7445965864136723 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.98811535606475 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |