IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
30cf88c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": "156844ab796ad7cf3da92a0bf30b174d1bcc0aa5", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.417664, | |
"max_global_vram": 938.913792, | |
"max_process_vram": 212163.416064, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 1.0021662302017211, | |
"mean": 0.007953700239696201, | |
"stdev": 0.0002075239944970633, | |
"p50": 0.007898160934448242, | |
"p90": 0.008198162078857422, | |
"p95": 0.008288441181182861, | |
"p99": 0.008697681188583373, | |
"values": [ | |
0.00788896083831787, | |
0.008080961227416993, | |
0.008134881019592284, | |
0.008277762413024902, | |
0.008292000770568847, | |
0.008157760620117187, | |
0.008077120780944825, | |
0.008045601844787597, | |
0.007968481063842774, | |
0.007984641075134278, | |
0.007974400997161865, | |
0.007924001216888427, | |
0.00787024211883545, | |
0.007878721237182617, | |
0.007958721160888672, | |
0.007993600845336913, | |
0.007945600986480714, | |
0.007936962127685547, | |
0.007855041027069092, | |
0.007926880836486816, | |
0.007928640842437744, | |
0.008005440711975098, | |
0.008129281997680664, | |
0.008058080673217774, | |
0.007966240882873536, | |
0.008019041061401368, | |
0.007954401969909668, | |
0.007951361179351807, | |
0.00794960117340088, | |
0.00790208101272583, | |
0.007894240856170654, | |
0.007834082126617431, | |
0.007887200832366943, | |
0.008082401275634766, | |
0.008169601440429688, | |
0.008092641830444336, | |
0.008196961402893067, | |
0.008336481094360351, | |
0.00822352123260498, | |
0.008163202285766601, | |
0.008122401237487793, | |
0.008134720802307129, | |
0.008249920845031738, | |
0.008199361801147461, | |
0.008120000839233399, | |
0.008023521423339845, | |
0.008111041069030761, | |
0.008097121238708496, | |
0.008196962356567384, | |
0.008258721351623536, | |
0.008219680786132812, | |
0.008132000923156739, | |
0.00815360164642334, | |
0.00843424129486084, | |
0.008751360893249512, | |
0.00853664207458496, | |
0.008309121131896973, | |
0.00812432098388672, | |
0.008025920867919922, | |
0.008053921699523925, | |
0.008127201080322265, | |
0.008016321182250976, | |
0.007964001178741456, | |
0.007883680820465087, | |
0.007829922199249268, | |
0.007880960941314697, | |
0.007813601016998292, | |
0.007798720836639404, | |
0.007783841133117675, | |
0.007775681972503662, | |
0.007778400897979736, | |
0.007744000911712646, | |
0.007773440837860107, | |
0.0077598409652709964, | |
0.0077720007896423336, | |
0.007750242233276367, | |
0.00771056079864502, | |
0.007775041103363037, | |
0.007801121234893799, | |
0.0078094410896301265, | |
0.008023841857910156, | |
0.008053760528564453, | |
0.008023040771484375, | |
0.007921441078186035, | |
0.007833120822906494, | |
0.007902562141418457, | |
0.008895840644836426, | |
0.007839361190795898, | |
0.007791680812835693, | |
0.007797441005706787, | |
0.007813282012939453, | |
0.007811040878295899, | |
0.007820321083068847, | |
0.007853600978851318, | |
0.0078808012008667, | |
0.007786722183227539, | |
0.007816640853881836, | |
0.007832480907440185, | |
0.007763041019439697, | |
0.007823680877685547, | |
0.008002721786499023, | |
0.007841600894927978, | |
0.007808160781860351, | |
0.00781696081161499, | |
0.00786496114730835, | |
0.007799682140350342, | |
0.00774544095993042, | |
0.007799840927124023, | |
0.007751360893249511, | |
0.007708001136779785, | |
0.007716801166534424, | |
0.007776321887969971, | |
0.0077128009796142575, | |
0.007733760833740234, | |
0.0077483210563659664, | |
0.007800800800323486, | |
0.007798080921173096, | |
0.0078020811080932615, | |
0.007783041000366211, | |
0.00775584077835083, | |
0.0077145609855651855, | |
0.007708641052246093, | |
0.007723200798034668, | |
0.007787201881408691, | |
0.007731040954589844, | |
0.007731841087341308 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.72764497825679 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |