IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
09301a4
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_type": "bert", | |
"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": {}, | |
"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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.132288, | |
"max_global_vram": 875.33568, | |
"max_process_vram": 41708.969984, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.03537841796875, | |
"mean": 7.03537841796875, | |
"stdev": 0.0, | |
"p50": 7.03537841796875, | |
"p90": 7.03537841796875, | |
"p95": 7.03537841796875, | |
"p99": 7.03537841796875, | |
"values": [ | |
7.03537841796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1020.461056, | |
"max_global_vram": 938.876928, | |
"max_process_vram": 225659.518976, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0041217913627625, | |
"mean": 0.007121431144416754, | |
"stdev": 0.0011166491282776467, | |
"p50": 0.006852780818939209, | |
"p90": 0.007442700862884522, | |
"p95": 0.007674059867858887, | |
"p99": 0.007980586624145507, | |
"values": [ | |
0.007191020965576172, | |
0.007138061046600342, | |
0.006918220996856689, | |
0.0069515018463134765, | |
0.0069175810813903804, | |
0.006910702228546142, | |
0.006890861034393311, | |
0.006862542152404785, | |
0.00683118200302124, | |
0.006833100795745849, | |
0.007999339103698731, | |
0.006797421932220459, | |
0.006742221832275391, | |
0.006783021926879883, | |
0.006733582019805908, | |
0.006813741207122802, | |
0.006756301879882813, | |
0.006830222129821777, | |
0.006819342136383057, | |
0.006814702033996582, | |
0.00678398084640503, | |
0.006881581783294678, | |
0.00684318208694458, | |
0.006835021018981933, | |
0.00701406192779541, | |
0.007157740116119385, | |
0.007442700862884522, | |
0.007359499931335449, | |
0.007644138813018799, | |
0.007247500896453858, | |
0.0070017409324646, | |
0.00703934097290039, | |
0.006983820915222168, | |
0.006976461887359619, | |
0.00722845983505249, | |
0.007196620941162109, | |
0.0073204607963562015, | |
0.00775101900100708, | |
0.007619338989257813, | |
0.007391180992126465, | |
0.01985578727722168, | |
0.007952457904815673, | |
0.0073419008255004884, | |
0.007256619930267334, | |
0.007158700942993164, | |
0.007532780170440674, | |
0.007236461162567139, | |
0.007319180965423584, | |
0.007202540874481201, | |
0.007200300216674805, | |
0.007272621154785156, | |
0.007375979900360107, | |
0.007323821067810058, | |
0.007418540000915528, | |
0.007282380104064941, | |
0.007212141036987305, | |
0.007292140007019043, | |
0.006812942028045654, | |
0.006819662094116211, | |
0.006819342136383057, | |
0.006852780818939209, | |
0.006817421913146973, | |
0.006777101993560791, | |
0.006791821956634522, | |
0.00678206205368042, | |
0.006949581146240234, | |
0.006774221897125244, | |
0.00680446195602417, | |
0.006983981132507324, | |
0.006775822162628174, | |
0.006782382011413574, | |
0.006816300868988037, | |
0.006791182041168213, | |
0.006800302028656006, | |
0.006797582149505615, | |
0.006821742057800293, | |
0.006799341201782227, | |
0.006812141895294189, | |
0.006821102142333985, | |
0.0067809419631958, | |
0.006790542125701905, | |
0.006759982109069824, | |
0.006792780876159668, | |
0.00679022216796875, | |
0.006796462059020996, | |
0.006783502101898193, | |
0.0067900619506835935, | |
0.006789902210235596, | |
0.006789900779724121, | |
0.006767821788787842, | |
0.006751182079315185, | |
0.0068011021614074706, | |
0.006767501831054687, | |
0.006794541835784912, | |
0.006802540779113769, | |
0.006775181770324707, | |
0.007112781047821045, | |
0.007682378768920898, | |
0.007674059867858887, | |
0.007680939197540283, | |
0.0072111811637878415, | |
0.007096780776977539, | |
0.007605259895324707, | |
0.007649259090423584, | |
0.007691500186920166, | |
0.007257579803466797, | |
0.007050220966339111, | |
0.0073939008712768555, | |
0.007338860034942627, | |
0.007150061130523681, | |
0.007265419960021973, | |
0.007410700798034668, | |
0.0072527799606323246, | |
0.007356780052185059, | |
0.007362541198730469, | |
0.0076438188552856445, | |
0.007125741004943848, | |
0.007120300769805908, | |
0.0070807809829711915, | |
0.007051180839538574, | |
0.006980941772460937, | |
0.0068367810249328614, | |
0.0068182220458984375, | |
0.0068041419982910155, | |
0.006796942234039306, | |
0.006834381103515625, | |
0.006826062202453614, | |
0.00680718183517456, | |
0.006782221794128418, | |
0.006787181854248047, | |
0.006787500858306885, | |
0.00680846118927002, | |
0.006801901817321777, | |
0.00680446195602417, | |
0.006803661823272705, | |
0.0068270211219787595, | |
0.0068206219673156735, | |
0.006822381973266602, | |
0.006791341781616211, | |
0.006765582084655762, | |
0.00673566198348999 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.42121305687357 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |