IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6efb05c
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": 1384.210432, | |
"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.79958740234375, | |
"mean": 7.79958740234375, | |
"stdev": 0.0, | |
"p50": 7.79958740234375, | |
"p90": 7.79958740234375, | |
"p95": 7.79958740234375, | |
"p99": 7.79958740234375, | |
"values": [ | |
7.79958740234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1484.070912, | |
"max_global_vram": 11.14112, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 1.0044554195404058, | |
"mean": 0.0065224377892234104, | |
"stdev": 0.0003558143102639574, | |
"p50": 0.00636486005783081, | |
"p90": 0.0070717532634735104, | |
"p95": 0.007098450016975403, | |
"p99": 0.007325057129859924, | |
"values": [ | |
0.007096938133239746, | |
0.0069058980941772465, | |
0.007101257801055908, | |
0.007315657138824463, | |
0.006985898017883301, | |
0.0070196580886840824, | |
0.006883657932281494, | |
0.0070526180267333986, | |
0.006935018062591553, | |
0.007335657119750976, | |
0.006875018119812012, | |
0.006672938823699951, | |
0.0066460599899291995, | |
0.006621259212493897, | |
0.006820619106292725, | |
0.006646218776702881, | |
0.006772618770599365, | |
0.006727179050445556, | |
0.006886697769165039, | |
0.006878539085388184, | |
0.00696957778930664, | |
0.006915977954864502, | |
0.006851499080657959, | |
0.006756938934326172, | |
0.006566858768463134, | |
0.006538060188293457, | |
0.007039177894592285, | |
0.008282693862915039, | |
0.007239177227020264, | |
0.007051177978515625, | |
0.007080138206481934, | |
0.007087818145751953, | |
0.007075976848602295, | |
0.007059817790985108, | |
0.007079658031463623, | |
0.007095657825469971, | |
0.0070618982315063476, | |
0.007077737808227539, | |
0.006786539077758789, | |
0.0066297388076782225, | |
0.0066866989135742185, | |
0.006879017829895019, | |
0.006540299892425537, | |
0.006563659191131592, | |
0.006485579967498779, | |
0.006430220127105713, | |
0.006364140033721924, | |
0.006446859836578369, | |
0.006434860229492187, | |
0.006216460227966308, | |
0.006219820976257324, | |
0.006415180206298828, | |
0.006192299842834472, | |
0.006427340030670166, | |
0.006223340988159179, | |
0.006230380058288574, | |
0.0064737401008605954, | |
0.006206861019134521, | |
0.0062322998046875, | |
0.006359499931335449, | |
0.006753098964691162, | |
0.006859498977661133, | |
0.006768458843231201, | |
0.0067031788825988765, | |
0.006541099071502686, | |
0.006512619972229004, | |
0.006665099143981934, | |
0.006575499057769775, | |
0.006365580081939697, | |
0.006544939994812012, | |
0.006395979881286621, | |
0.006248459815979004, | |
0.006261741161346436, | |
0.0062670202255249025, | |
0.006244941234588623, | |
0.006283339977264405, | |
0.006276619911193848, | |
0.006286221027374268, | |
0.006261579990386963, | |
0.00624238109588623, | |
0.006237740039825439, | |
0.006226541042327881, | |
0.006215980052947998, | |
0.006263181209564209, | |
0.0062436599731445315, | |
0.006235661029815674, | |
0.0062603001594543455, | |
0.006223821163177491, | |
0.006244140148162842, | |
0.006250220775604248, | |
0.0062587008476257325, | |
0.006270540237426758, | |
0.0062417411804199215, | |
0.0062510199546813965, | |
0.0062519807815551755, | |
0.006223820209503174, | |
0.006219181060791015, | |
0.0062406201362609865, | |
0.006221580982208252, | |
0.0062222199440002445, | |
0.006240460872650146, | |
0.006406060218811035, | |
0.006245739936828613, | |
0.006206380844116211, | |
0.006228940010070801, | |
0.00625822114944458, | |
0.006244140148162842, | |
0.006229741096496582, | |
0.0062322998046875, | |
0.0062558212280273435, | |
0.006209740161895752, | |
0.006218221187591553, | |
0.006227980136871338, | |
0.006242540836334229, | |
0.0062246198654174805, | |
0.00623150110244751, | |
0.0062339000701904295, | |
0.006212460994720459, | |
0.006238379955291748, | |
0.006221100807189941, | |
0.0062369399070739745, | |
0.006222860813140869, | |
0.00623006010055542, | |
0.006205101013183594, | |
0.006185901165008545, | |
0.006238540172576904, | |
0.006207021236419677, | |
0.006212940216064453, | |
0.006207981109619141, | |
0.006228940010070801, | |
0.0062019009590148924, | |
0.006243821144104004, | |
0.006455018997192383, | |
0.006233261108398437, | |
0.00627262020111084, | |
0.006231980800628662, | |
0.006244460105895996, | |
0.006239500999450684, | |
0.0062583799362182614, | |
0.006898859024047852, | |
0.007105257034301758, | |
0.007076457977294922, | |
0.007108617782592774, | |
0.0066810989379882816, | |
0.00666701889038086, | |
0.006845418930053711, | |
0.00646205997467041, | |
0.006590379238128662, | |
0.006552618980407715, | |
0.006513579845428467, | |
0.0062179012298583984, | |
0.0062311792373657224, | |
0.006713899135589599, | |
0.00711149787902832 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.31690884844213 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |