IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c33b6ca
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.057984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3987.791872, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06797337341308594 | |
], | |
"count": 1, | |
"total": 0.06797337341308594, | |
"mean": 0.06797337341308594, | |
"p50": 0.06797337341308594, | |
"p90": 0.06797337341308594, | |
"p95": 0.06797337341308594, | |
"p99": 0.06797337341308594, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.798784, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 241133.830144, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007433290004730224, | |
0.007256490230560303, | |
0.007258410930633545, | |
0.00729601001739502, | |
0.007266089916229248, | |
0.00728016996383667, | |
0.007254570007324219, | |
0.007278090000152588, | |
0.0072356901168823245, | |
0.007261769771575928, | |
0.007274890899658203, | |
0.006860488891601562, | |
0.006592969894409179, | |
0.006554089069366455, | |
0.006596808910369873, | |
0.006538729190826416, | |
0.006395689010620117, | |
0.006379048824310302, | |
0.0063992090225219725, | |
0.006391048908233643, | |
0.0064113688468933104, | |
0.006412008762359619, | |
0.006372007846832275, | |
0.006404009819030762, | |
0.006390569210052491, | |
0.006416489124298095, | |
0.006376809120178223, | |
0.006381128787994385, | |
0.0063654489517211916, | |
0.006381608963012695, | |
0.006396489143371582, | |
0.006426888942718506, | |
0.006332808971405029, | |
0.006364008903503418, | |
0.006364008903503418, | |
0.006401288986206055, | |
0.006401449203491211, | |
0.006378889083862305, | |
0.0063851289749145505, | |
0.00637856912612915, | |
0.006384969234466553, | |
0.006371688842773437, | |
0.006385929107666015, | |
0.006403529167175293, | |
0.006362568855285644, | |
0.0063796892166137695, | |
0.0063796892166137695, | |
0.00650848913192749, | |
0.006380649089813233, | |
0.006364968776702881, | |
0.006369608879089356, | |
0.00637424898147583, | |
0.006375369071960449, | |
0.0063916888236999515, | |
0.006375049114227295, | |
0.006399368762969971, | |
0.006399368762969971, | |
0.006392488956451416, | |
0.006403529167175293, | |
0.006403048992156982, | |
0.006385448932647705, | |
0.006393768787384033, | |
0.006376008987426757, | |
0.006386088848114014, | |
0.006373448848724365, | |
0.006409769058227539, | |
0.006409928798675537, | |
0.00636992883682251, | |
0.006394089221954346, | |
0.006385289192199707, | |
0.0063777689933776855, | |
0.0063870491981506345, | |
0.006580169200897217, | |
0.006412649154663086, | |
0.00637856912612915, | |
0.0064187288284301754, | |
0.006794250011444092, | |
0.007270890235900879, | |
0.007262889862060547, | |
0.007284170150756836, | |
0.007275210857391357, | |
0.007135529994964599, | |
0.006669929027557373, | |
0.006792009830474854, | |
0.006750409126281738, | |
0.006894249916076661, | |
0.006924489974975586, | |
0.0070460901260375975, | |
0.007140329837799072, | |
0.006868329048156738, | |
0.007248970985412597, | |
0.007284170150756836, | |
0.007224170207977295, | |
0.007259850025177002, | |
0.007228010177612305, | |
0.007268650054931641, | |
0.0072668900489807125, | |
0.0072411298751831055, | |
0.007272331237792968, | |
0.007259369850158692, | |
0.007218570232391358, | |
0.007234089851379395, | |
0.007244170188903809, | |
0.007233130931854248, | |
0.007232490062713623, | |
0.007241769790649414, | |
0.007083690166473389, | |
0.006892809867858887, | |
0.006807528972625733, | |
0.006584650039672852, | |
0.006366408824920654, | |
0.006382729053497314, | |
0.006366727828979492, | |
0.0063972887992858884, | |
0.00656960916519165, | |
0.006373609066009521, | |
0.006376489162445069, | |
0.006386088848114014, | |
0.0063868889808654785, | |
0.0063636889457702635, | |
0.006411688804626465, | |
0.006360969066619873, | |
0.0063636889457702635, | |
0.006391209125518799, | |
0.006348808765411377, | |
0.006385929107666015, | |
0.0063587288856506346, | |
0.006369608879089356, | |
0.006649448871612549, | |
0.006549768924713135, | |
0.006848169803619385, | |
0.006678248882293701, | |
0.006508648872375488, | |
0.006944809913635254, | |
0.00669329023361206, | |
0.006537128925323486, | |
0.006518888950347901, | |
0.00640864896774292, | |
0.0063814492225646976, | |
0.006386728763580323, | |
0.006404648780822754, | |
0.006412008762359619, | |
0.006438249111175537, | |
0.006435849189758301, | |
0.00641680908203125, | |
0.0064150490760803225, | |
0.006405288219451904, | |
0.006407848834991455, | |
0.006385768890380859, | |
0.006400649070739746, | |
0.00640080976486206 | |
], | |
"count": 151, | |
"total": 1.002812767505646, | |
"mean": 0.006641144155666528, | |
"p50": 0.006409769058227539, | |
"p90": 0.007259850025177002, | |
"p95": 0.007273611068725585, | |
"p99": 0.007290090084075928, | |
"stdev": 0.0003569261338219906, | |
"stdev_": 5.374467493187072 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.57646341658676 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |