IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9976b37
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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]", | |
"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.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.2", | |
"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": 1386.336256, | |
"max_global_vram": 11.075584, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.758986328125, | |
"mean": 7.758986328125, | |
"stdev": 0.0, | |
"p50": 7.758986328125, | |
"p90": 7.758986328125, | |
"p95": 7.758986328125, | |
"p99": 7.758986328125, | |
"values": [ | |
7.758986328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1485.512704, | |
"max_global_vram": 11.132928, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 1.0049709520339962, | |
"mean": 0.006930834151958598, | |
"stdev": 0.0009621411686999815, | |
"p50": 0.006714701175689697, | |
"p90": 0.007309739398956299, | |
"p95": 0.007323051357269288, | |
"p99": 0.008729786472320563, | |
"values": [ | |
0.007172140121459961, | |
0.007036941051483154, | |
0.006994221210479736, | |
0.006790221214294434, | |
0.006836461067199707, | |
0.006846701145172119, | |
0.006795180797576904, | |
0.006755341053009034, | |
0.006771181106567383, | |
0.006918540954589844, | |
0.0068614201545715335, | |
0.006675981998443604, | |
0.006639181137084961, | |
0.006616141796112061, | |
0.0066183810234069825, | |
0.006563022136688233, | |
0.006775660991668701, | |
0.006545741081237793, | |
0.006540142059326172, | |
0.006528781890869141, | |
0.006542541980743408, | |
0.0065143809318542484, | |
0.006633262157440186, | |
0.006575181007385254, | |
0.006544782161712647, | |
0.006516942024230957, | |
0.006534061908721924, | |
0.006522700786590576, | |
0.006503662109375, | |
0.006520462036132812, | |
0.006541741847991943, | |
0.006549901008605957, | |
0.006500462055206299, | |
0.006486701965332031, | |
0.006523982048034668, | |
0.00979789161682129, | |
0.006893741130828857, | |
0.006652141094207763, | |
0.006686061859130859, | |
0.006603661060333252, | |
0.006649901866912842, | |
0.00654478120803833, | |
0.006613262176513672, | |
0.00662014102935791, | |
0.0065801420211792, | |
0.006605900764465332, | |
0.006550702095031738, | |
0.006592621803283691, | |
0.006698060989379883, | |
0.0065387020111083985, | |
0.006633261203765869, | |
0.006564142227172852, | |
0.0065971012115478515, | |
0.006924460887908936, | |
0.006939980030059814, | |
0.0065479822158813475, | |
0.007123660087585449, | |
0.006624621868133545, | |
0.006620780944824219, | |
0.006658061981201172, | |
0.007248458862304688, | |
0.007306379795074463, | |
0.007345899105072022, | |
0.007273580074310303, | |
0.007278860092163086, | |
0.0072652587890625, | |
0.0072674999237060545, | |
0.007281899929046631, | |
0.0072665390968322755, | |
0.007268300056457519, | |
0.007310698986053467, | |
0.007296299934387207, | |
0.007283979892730713, | |
0.007271819114685059, | |
0.00727646017074585, | |
0.00729341983795166, | |
0.00727725887298584, | |
0.007308300018310547, | |
0.0072860589027404785, | |
0.007280139923095703, | |
0.0072601399421691895, | |
0.007304298877716065, | |
0.0072958202362060545, | |
0.007314538955688477, | |
0.00734142017364502, | |
0.00729773998260498, | |
0.007295659065246582, | |
0.007290380001068115, | |
0.0072793388366699215, | |
0.007319980144500733, | |
0.007340619087219238, | |
0.007285580158233642, | |
0.007312620162963867, | |
0.007306058883666992, | |
0.007277900218963623, | |
0.007291978836059571, | |
0.007291659832000732, | |
0.007303659915924072, | |
0.007284618854522705, | |
0.007329579830169678, | |
0.0073166189193725585, | |
0.00737037992477417, | |
0.0072738990783691405, | |
0.006623822212219238, | |
0.00666270112991333, | |
0.006425102233886718, | |
0.0064388618469238285, | |
0.006428142070770263, | |
0.006419022083282471, | |
0.006426382064819336, | |
0.0064267020225524905, | |
0.006447661876678467, | |
0.006471662044525146, | |
0.0064339017868042, | |
0.006516141891479492, | |
0.006828141212463379, | |
0.006821741104125976, | |
0.006897739887237549, | |
0.0067257418632507325, | |
0.00654094123840332, | |
0.006423342227935791, | |
0.006422701835632324, | |
0.006434701919555664, | |
0.006412941932678223, | |
0.00641422176361084, | |
0.006430383205413818, | |
0.006415183067321777, | |
0.006387182235717773, | |
0.006387341976165772, | |
0.006402862071990967, | |
0.006423182010650634, | |
0.006438382148742676, | |
0.006418382167816162, | |
0.006418702125549317, | |
0.006432941913604736, | |
0.006412302017211914, | |
0.006891981124877929, | |
0.007311018943786621, | |
0.007311500072479248, | |
0.017274831771850584, | |
0.007196939945220947, | |
0.007323819160461426, | |
0.007110858917236328, | |
0.006800621032714844, | |
0.006714701175689697 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.28277723503282 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |