IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
99c09ae
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": "5", | |
"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": 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.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1034.4448, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47675.080704, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3243642578125, | |
"mean": 8.3243642578125, | |
"stdev": 0.0, | |
"p50": 8.3243642578125, | |
"p90": 8.3243642578125, | |
"p95": 8.3243642578125, | |
"p99": 8.3243642578125, | |
"values": [ | |
8.3243642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1164.115968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 244972.453888, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0056106128692628, | |
"mean": 0.007560982051648591, | |
"stdev": 0.00031536236363636106, | |
"p50": 0.007564442157745361, | |
"p90": 0.007628857803344727, | |
"p95": 0.007800408554077148, | |
"p99": 0.008007863502502441, | |
"values": [ | |
0.0078073210716247555, | |
0.00779580020904541, | |
0.008028599739074707, | |
0.007963798999786376, | |
0.007527321815490723, | |
0.007864120960235596, | |
0.007728761196136475, | |
0.007620761871337891, | |
0.007854519844055175, | |
0.0076370820999145505, | |
0.00762860107421875, | |
0.007628921985626221, | |
0.007596442222595215, | |
0.007614840984344482, | |
0.007594682216644287, | |
0.0075729222297668455, | |
0.007581562042236328, | |
0.007618841171264649, | |
0.007617722034454346, | |
0.007623321056365967, | |
0.007615962028503418, | |
0.007625242233276367, | |
0.0076359610557556155, | |
0.007617241859436035, | |
0.007651320934295654, | |
0.010651145935058594, | |
0.007755640983581543, | |
0.007514681816101074, | |
0.007515801906585694, | |
0.007531161785125732, | |
0.007523002147674561, | |
0.0075354819297790525, | |
0.007549402236938477, | |
0.00748860216140747, | |
0.007527641773223877, | |
0.007498521804809571, | |
0.007515642166137695, | |
0.007540441989898681, | |
0.007524763107299805, | |
0.007513243198394776, | |
0.0075569219589233395, | |
0.007535643100738525, | |
0.007539961814880371, | |
0.007526523113250733, | |
0.007534202098846436, | |
0.007511002063751221, | |
0.007526522159576416, | |
0.007524442195892334, | |
0.007541401863098145, | |
0.007538201808929443, | |
0.007502202033996582, | |
0.007526522159576416, | |
0.007539321899414062, | |
0.007528922080993652, | |
0.007550682067871094, | |
0.007591641902923584, | |
0.007547642230987549, | |
0.007577081203460693, | |
0.007604921817779541, | |
0.007558362007141113, | |
0.007609241962432861, | |
0.007522202014923095, | |
0.007582521915435791, | |
0.007591641902923584, | |
0.007578522205352783, | |
0.007590201854705811, | |
0.007591160774230957, | |
0.007566522121429444, | |
0.007585562229156494, | |
0.0075562820434570315, | |
0.007587322235107422, | |
0.007567001819610596, | |
0.007573400974273682, | |
0.007539001941680909, | |
0.007585402011871338, | |
0.0076046018600463864, | |
0.0075634818077087405, | |
0.007519321918487549, | |
0.0076126008033752446, | |
0.007600441932678222, | |
0.0075708417892456055, | |
0.007540602207183838, | |
0.00752796220779419, | |
0.0075684418678283695, | |
0.007552921772003174, | |
0.007603160858154297, | |
0.007574361801147461, | |
0.007591961860656738, | |
0.007562521934509277, | |
0.007614360809326172, | |
0.007567642211914062, | |
0.0075660419464111325, | |
0.007548602104187012, | |
0.007525881767272949, | |
0.007601881980895996, | |
0.007516921997070313, | |
0.007306044101715088, | |
0.007214043140411377, | |
0.0073774027824401855, | |
0.007229084014892578, | |
0.006966204166412354, | |
0.006886846065521241, | |
0.007281882762908936, | |
0.0072017240524291995, | |
0.007218523025512695, | |
0.0069990048408508304, | |
0.007143643856048584, | |
0.007077243804931641, | |
0.007144283771514892, | |
0.007328123092651367, | |
0.007197564125061035, | |
0.007175004005432129, | |
0.007877079963684083, | |
0.007568602085113525, | |
0.007545722007751465, | |
0.007614682197570801, | |
0.00758556079864502, | |
0.0075850820541381835, | |
0.0075727620124816895, | |
0.007566361904144287, | |
0.00758988094329834, | |
0.007552921772003174, | |
0.007526202201843262, | |
0.00756892204284668, | |
0.007592601776123047, | |
0.007573400974273682, | |
0.007547642230987549, | |
0.007552442073822022, | |
0.007531002044677735, | |
0.007564442157745361, | |
0.007537082195281982, | |
0.007565240859985351, | |
0.0075868420600891115 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.25795183338133 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |