IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
680dfeb
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-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.3.1", | |
"optimum_benchmark_commit": "91971089040d6dac4da0f6b0a30eec8415a34544", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 899.936256, | |
"max_global_vram": 875.339776, | |
"max_process_vram": 43855.163392, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.93037939453125, | |
"mean": 6.93037939453125, | |
"stdev": 0.0, | |
"p50": 6.93037939453125, | |
"p90": 6.93037939453125, | |
"p95": 6.93037939453125, | |
"p99": 6.93037939453125, | |
"values": [ | |
6.93037939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1019.334656, | |
"max_global_vram": 938.876928, | |
"max_process_vram": 228615.7824, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0041777553558349, | |
"mean": 0.0077244442719679625, | |
"stdev": 0.012518002955544656, | |
"p50": 0.006557871103286744, | |
"p90": 0.006778592014312744, | |
"p95": 0.006961945462226867, | |
"p99": 0.009609626836776726, | |
"values": [ | |
0.006759871959686279, | |
0.006667871952056884, | |
0.006788671970367432, | |
0.0070073938369750975, | |
0.007002913951873779, | |
0.008765802383422852, | |
0.0068859529495239255, | |
0.006911872863769531, | |
0.006881153106689453, | |
0.006815392971038819, | |
0.006814271926879883, | |
0.006775553226470947, | |
0.006727871894836426, | |
0.006777472019195556, | |
0.006710912227630615, | |
0.006711071968078614, | |
0.00664467191696167, | |
0.009954287528991699, | |
0.006618590831756592, | |
0.006462271213531494, | |
0.006519550800323486, | |
0.006519550800323486, | |
0.0065237112045288086, | |
0.006542911052703857, | |
0.006527710914611817, | |
0.006542272090911865, | |
0.006533310890197754, | |
0.006570590972900391, | |
0.006590432167053223, | |
0.006621790885925293, | |
0.0065723519325256346, | |
0.0065573110580444335, | |
0.006505630970001221, | |
0.006569790840148926, | |
0.006572350978851318, | |
0.006539711952209473, | |
0.006536351203918457, | |
0.006525150775909424, | |
0.00654547119140625, | |
0.0065883522033691405, | |
0.006558431148529053, | |
0.006561790943145752, | |
0.006492190837860108, | |
0.006536511898040771, | |
0.00654771089553833, | |
0.006556190967559814, | |
0.006477951049804687, | |
0.006587552070617676, | |
0.006561151027679443, | |
0.006543070793151856, | |
0.006564511775970459, | |
0.006473950862884522, | |
0.006455870151519776, | |
0.006502912044525146, | |
0.0064675498008728025, | |
0.1498370361328125, | |
0.00701235294342041, | |
0.006439711093902588, | |
0.006402911186218262, | |
0.006434909820556641, | |
0.0063963508605957035, | |
0.006435070991516113, | |
0.006411069869995117, | |
0.006461950778961181, | |
0.006454751014709472, | |
0.0065013108253479, | |
0.006539230823516846, | |
0.0064673910140991215, | |
0.0064318709373474125, | |
0.006454111099243164, | |
0.0064120302200317385, | |
0.006451391220092774, | |
0.006511550903320312, | |
0.006608672142028808, | |
0.0065529909133911135, | |
0.0066457920074462894, | |
0.006635072231292724, | |
0.006560990810394287, | |
0.006582271099090576, | |
0.006442430973052978, | |
0.0064128308296203616, | |
0.0065555510520935055, | |
0.006424830913543701, | |
0.006472190856933594, | |
0.006423710823059082, | |
0.007016353130340576, | |
0.006706592082977295, | |
0.006649951934814453, | |
0.006540511131286621, | |
0.0065864319801330565, | |
0.006568671226501465, | |
0.006668672084808349, | |
0.006741471767425537, | |
0.006734912872314453, | |
0.006696352005004883, | |
0.006715392112731934, | |
0.006697311878204346, | |
0.006727392196655273, | |
0.006656032085418701, | |
0.006690432071685791, | |
0.00671395206451416, | |
0.006691232204437256, | |
0.006708831787109375, | |
0.0067478718757629395, | |
0.006653952121734619, | |
0.006685472011566162, | |
0.006640031814575196, | |
0.00661539077758789, | |
0.006678271770477295, | |
0.006616191864013672, | |
0.006602272033691407, | |
0.006573630809783936, | |
0.006631552219390869, | |
0.006404029846191406, | |
0.00642595100402832, | |
0.006416191101074218, | |
0.006418910026550293, | |
0.006526431083679199, | |
0.006417631149291992, | |
0.00644947099685669, | |
0.006418110847473145, | |
0.006420030117034912, | |
0.006406751155853272, | |
0.006397630214691162, | |
0.006427230834960937, | |
0.00642931079864502, | |
0.006399388790130615, | |
0.006432671070098877, | |
0.006429151058197021, | |
0.0064558711051940915 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.4591513371394 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |