IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
07980f6
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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.490624, | |
"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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.3424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4593.340416, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09137394714355469 | |
], | |
"count": 1, | |
"total": 0.09137394714355469, | |
"mean": 0.09137394714355469, | |
"p50": 0.09137394714355469, | |
"p90": 0.09137394714355469, | |
"p95": 0.09137394714355469, | |
"p99": 0.09137394714355469, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.22592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 232284.852224, | |
"max_reserved": 589.299712, | |
"max_allocated": 443.303936 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007148468971252441, | |
0.006743509769439698, | |
0.00674222993850708, | |
0.00676462984085083, | |
0.006752628803253174, | |
0.0067443099021911625, | |
0.006722869873046875, | |
0.006773590087890625, | |
0.006692628860473632, | |
0.006723030090332031, | |
0.006711989879608154, | |
0.0067182297706604, | |
0.006685750007629394, | |
0.006716949939727783, | |
0.006713109016418457, | |
0.006690869808197022, | |
0.006728149890899658, | |
0.006743030071258545, | |
0.006702869892120361, | |
0.006740629196166992, | |
0.006702229976654052, | |
0.006704949855804444, | |
0.0067345499992370605, | |
0.006729430198669434, | |
0.006725749969482422, | |
0.006718069076538086, | |
0.006733590126037597, | |
0.006712470054626465, | |
0.006736629962921142, | |
0.006745269775390625, | |
0.006726550102233887, | |
0.006796150207519531, | |
0.006715350151062012, | |
0.006760629177093505, | |
0.006718550205230713, | |
0.006733749866485596, | |
0.0067161498069763185, | |
0.006757909774780273, | |
0.006767989158630371, | |
0.0067271900177001956, | |
0.006734869956970215, | |
0.006722229957580567, | |
0.006731669902801513, | |
0.006949268817901612, | |
0.006767509937286377, | |
0.006761750221252441, | |
0.006739348888397217, | |
0.00671983003616333, | |
0.00673567008972168, | |
0.006731669902801513, | |
0.006724309921264648, | |
0.0067035088539123535, | |
0.00673838996887207, | |
0.006724150180816651, | |
0.006754389762878418, | |
0.006749429225921631, | |
0.006762229919433594, | |
0.006752309799194336, | |
0.006714710235595703, | |
0.0067468700408935545, | |
0.006712948799133301, | |
0.0067278299331665035, | |
0.006704949855804444, | |
0.006687990188598633, | |
0.007387828826904297, | |
0.007661108016967773, | |
0.007649908065795899, | |
0.00766766881942749, | |
0.006962869167327881, | |
0.00711198902130127, | |
0.007590068817138672, | |
0.007672947883605957, | |
0.007617588996887207, | |
0.0074686279296875, | |
0.006986070156097412, | |
0.0070963091850280765, | |
0.007248309135437012, | |
0.007113109111785889, | |
0.006950230121612549, | |
0.0071060690879821775, | |
0.007162229061126709, | |
0.007186229228973389, | |
0.007110549926757813, | |
0.007111508846282959, | |
0.0071750288009643556, | |
0.007181428909301758, | |
0.007213428974151611, | |
0.007071029186248779, | |
0.007086550235748291, | |
0.006972468852996826, | |
0.006759990215301514, | |
0.0067731099128723144, | |
0.006696310043334961, | |
0.006719349861145019, | |
0.00678318977355957, | |
0.006786230087280273, | |
0.00704158878326416, | |
0.006730070114135742, | |
0.006710709095001221, | |
0.00668159008026123, | |
0.006703670024871826, | |
0.0067609500885009765, | |
0.0067235097885131835, | |
0.006711830139160156, | |
0.006737908840179443, | |
0.006702549934387207, | |
0.006711830139160156, | |
0.006704309940338135, | |
0.006716949939727783, | |
0.006711188793182373, | |
0.00671599006652832, | |
0.006690869808197022, | |
0.006708469867706299, | |
0.006712950229644775, | |
0.006717110157012939, | |
0.006744948863983155, | |
0.006787350177764892, | |
0.0068275098800659175, | |
0.006772308826446533, | |
0.006769909858703614, | |
0.006736149787902832, | |
0.00672799015045166, | |
0.006735029220581054, | |
0.006737110137939453, | |
0.006732309818267822, | |
0.0067468700408935545, | |
0.006738709926605225, | |
0.006729108810424805, | |
0.0067327899932861325, | |
0.006739190101623535, | |
0.006731669902801513, | |
0.006737110137939453, | |
0.0067268691062927245, | |
0.0067063899040222166, | |
0.006724150180816651, | |
0.0067161498069763185, | |
0.0067113499641418455, | |
0.006704948902130127, | |
0.006722549915313721, | |
0.006745110034942627, | |
0.006701749801635742, | |
0.006715350151062012, | |
0.006730709075927734, | |
0.006712790012359619, | |
0.006738070011138916, | |
0.006727670192718506, | |
0.006716949939727783 | |
], | |
"count": 147, | |
"total": 1.0039207181930534, | |
"mean": 0.006829392640769077, | |
"p50": 0.006734869956970215, | |
"p90": 0.00712725305557251, | |
"p95": 0.00734597291946411, | |
"p99": 0.0076646508502960205, | |
"stdev": 0.00022670107126756455, | |
"stdev_": 3.319490959038417 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 292.8518105783964 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |