IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8da53eb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "d8da484bc148044dec1ba23c2d50d43cabd271ad", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.118016, | |
"max_global_vram": 1878.851584, | |
"max_process_vram": 190045.274112, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9963219509124754, | |
"mean": 0.007970575607299805, | |
"stdev": 0.00037595634460811254, | |
"p50": 0.007879689216613769, | |
"p90": 0.008438281631469726, | |
"p95": 0.008470985031127929, | |
"p99": 0.008882243385314945, | |
"values": [ | |
0.007697928905487061, | |
0.00790592908859253, | |
0.007944649219512939, | |
0.00844993019104004, | |
0.00816896915435791, | |
0.007992330074310303, | |
0.007853609085083008, | |
0.007838088989257813, | |
0.0077662491798400875, | |
0.00791200876235962, | |
0.007820488929748536, | |
0.007750729084014893, | |
0.007681128978729248, | |
0.007716488838195801, | |
0.007855848789215088, | |
0.007775049209594726, | |
0.007759688854217529, | |
0.00770416784286499, | |
0.0076777682304382325, | |
0.007675368785858155, | |
0.0076976089477539065, | |
0.0077803292274475095, | |
0.007731049060821533, | |
0.007621609210968018, | |
0.007673929214477539, | |
0.009008810997009278, | |
0.009004969596862793, | |
0.008033129692077636, | |
0.007814088821411132, | |
0.008029768943786621, | |
0.008085768699645996, | |
0.007861929893493652, | |
0.00766352891921997, | |
0.007879689216613769, | |
0.008074408531188964, | |
0.00787424898147583, | |
0.007751208782196045, | |
0.00802241039276123, | |
0.00798016881942749, | |
0.007714889049530029, | |
0.007758089065551758, | |
0.007930569171905518, | |
0.00792641019821167, | |
0.007846728801727295, | |
0.008159049034118652, | |
0.008306730270385742, | |
0.008165449142456054, | |
0.008095210075378417, | |
0.007963368892669678, | |
0.008099529266357422, | |
0.007828330039978027, | |
0.007679048061370849, | |
0.007681928157806397, | |
0.007474888801574707, | |
0.007461288928985596, | |
0.0075361690521240235, | |
0.007480648040771485, | |
0.0074934492111206055, | |
0.007531208992004395, | |
0.007546089172363281, | |
0.0075052881240844724, | |
0.007480488777160644, | |
0.007478088855743408, | |
0.007499207973480224, | |
0.007467528820037842, | |
0.007497768878936767, | |
0.007584168910980225, | |
0.007492807865142823, | |
0.007508648872375488, | |
0.0074952092170715336, | |
0.007506248950958252, | |
0.007552968025207519, | |
0.007528968811035156, | |
0.0075099291801452635, | |
0.007598248958587647, | |
0.0075288090705871585, | |
0.007489927768707275, | |
0.00750464916229248, | |
0.007571208953857422, | |
0.00756960916519165, | |
0.007589608192443848, | |
0.00756912899017334, | |
0.007551208972930908, | |
0.007762088775634766, | |
0.008395529747009278, | |
0.008355369567871094, | |
0.008218889236450195, | |
0.008469449996948241, | |
0.008407690048217774, | |
0.008413769721984864, | |
0.008435688972473144, | |
0.008443050384521485, | |
0.008111689567565918, | |
0.007867528915405273, | |
0.008390089988708497, | |
0.008056968688964843, | |
0.008251370429992676, | |
0.008270408630371094, | |
0.00842257022857666, | |
0.008410889625549317, | |
0.008380009651184081, | |
0.008388969421386719, | |
0.008387049674987794, | |
0.008472649574279786, | |
0.008308810234069824, | |
0.008420169830322266, | |
0.00841344928741455, | |
0.008393930435180665, | |
0.008322250366210938, | |
0.008355528831481933, | |
0.00843216896057129, | |
0.0084544095993042, | |
0.008398249626159668, | |
0.008384329795837402, | |
0.008397929191589356, | |
0.008416488647460937, | |
0.008348489761352539, | |
0.008462089538574219, | |
0.008480809211730956, | |
0.008440010070800781, | |
0.008471368789672851, | |
0.008421449661254883, | |
0.008493610382080078, | |
0.00847408962249756, | |
0.008426730155944823 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.46145338413902 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |