IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4f5daf1
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": "9a8b29987613b8b04c221447a49b37ee314548ff", | |
"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": 1009.29536, | |
"max_global_vram": 939.184128, | |
"max_process_vram": 216163.209216, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0035717697143558, | |
"mean": 0.007545652403867335, | |
"stdev": 0.0005525704320080531, | |
"p50": 0.00765010404586792, | |
"p90": 0.008203385925292968, | |
"p95": 0.008281241226196289, | |
"p99": 0.00842094093322754, | |
"values": [ | |
0.007876344203948974, | |
0.007955224990844726, | |
0.008041625022888183, | |
0.0075617837905883785, | |
0.007822103977203369, | |
0.007478103160858154, | |
0.007871864795684814, | |
0.007625463008880615, | |
0.007533782958984375, | |
0.007973945140838623, | |
0.007946744918823242, | |
0.007908824920654298, | |
0.007850903987884522, | |
0.007947545051574707, | |
0.00793314504623413, | |
0.008011384963989258, | |
0.007947064876556397, | |
0.007965624809265137, | |
0.00791922378540039, | |
0.007991704940795898, | |
0.008115065574645997, | |
0.0081029052734375, | |
0.007970584869384765, | |
0.007791385173797607, | |
0.008259546279907227, | |
0.008105145454406739, | |
0.007961945056915283, | |
0.0078051438331604005, | |
0.007840664863586425, | |
0.007724664211273193, | |
0.008042104721069336, | |
0.007860343933105468, | |
0.008009784698486328, | |
0.007839865207672119, | |
0.007953304767608643, | |
0.00799378490447998, | |
0.007989785194396973, | |
0.0079982647895813, | |
0.007946744918823242, | |
0.007852505207061768, | |
0.007966905117034913, | |
0.008455705642700196, | |
0.008224505424499512, | |
0.008074106216430664, | |
0.008085624694824219, | |
0.008018264770507813, | |
0.008066425323486328, | |
0.00828098487854004, | |
0.008338425636291504, | |
0.008262266159057617, | |
0.008281625747680665, | |
0.008307226181030273, | |
0.008220826148986816, | |
0.008252985954284668, | |
0.008297945976257324, | |
0.008347065925598144, | |
0.008133625030517578, | |
0.008064024925231934, | |
0.008038585662841796, | |
0.0079579439163208, | |
0.009676510810852051, | |
0.008256345748901368, | |
0.007743383884429932, | |
0.007788504123687744, | |
0.007678264141082763, | |
0.007642263889312744, | |
0.007648503780364991, | |
0.007685304164886475, | |
0.007716983795166016, | |
0.007710264205932617, | |
0.007257143020629883, | |
0.006870261192321777, | |
0.006790101051330566, | |
0.006846420764923096, | |
0.006836501121520996, | |
0.006833460807800293, | |
0.006848501205444336, | |
0.006836661815643311, | |
0.006850901126861572, | |
0.007004501819610595, | |
0.006838100910186768, | |
0.0067867422103881836, | |
0.006774421215057373, | |
0.0067960209846496585, | |
0.006809940814971924, | |
0.00681202220916748, | |
0.0076792240142822266, | |
0.00680194091796875, | |
0.006973462104797363, | |
0.007018742084503174, | |
0.006752181053161621, | |
0.007248181819915772, | |
0.00688306188583374, | |
0.007073622226715088, | |
0.007569464206695556, | |
0.007056501865386963, | |
0.007281142234802246, | |
0.00765010404586792, | |
0.007651224136352539, | |
0.007294743061065674, | |
0.007247063159942627, | |
0.007164661884307861, | |
0.007330102920532227, | |
0.00736546277999878, | |
0.007428983211517334, | |
0.0072403430938720705, | |
0.007084981918334961, | |
0.006946102142333984, | |
0.007000821113586426, | |
0.006896181106567383, | |
0.0068443408012390135, | |
0.006831861019134521, | |
0.006948661804199219, | |
0.00764482307434082, | |
0.007644184112548828, | |
0.007648183822631836, | |
0.0074896240234375, | |
0.007147861957550049, | |
0.0071261019706726075, | |
0.007122902870178222, | |
0.0071237020492553715, | |
0.007009622097015381, | |
0.006916660785675049, | |
0.006927061080932617, | |
0.0069304218292236324, | |
0.006745300769805908, | |
0.006768341064453125, | |
0.006738740921020508, | |
0.006793621063232422, | |
0.00674274206161499, | |
0.006740021228790283, | |
0.006754580974578857, | |
0.006955061912536621 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.52664534182293 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |