IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0c4d062
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.2.0", | |
"optimum_benchmark_commit": "b92e3e6e00670fa1351d9aef1be896254e5f33e0", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.95008, | |
"max_global_vram": 1910.915072, | |
"max_process_vram": 219451.703296, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.0050626211166385, | |
"mean": 0.007077905782511537, | |
"stdev": 0.0001764250218062641, | |
"p50": 0.007021856069564819, | |
"p90": 0.007330832862854004, | |
"p95": 0.007382672214508056, | |
"p99": 0.00787452033996582, | |
"values": [ | |
0.00742993688583374, | |
0.007091375827789306, | |
0.0070760159492492675, | |
0.007213935852050781, | |
0.007259696006774902, | |
0.007355377197265625, | |
0.007369136810302735, | |
0.007295697212219238, | |
0.00729345703125, | |
0.0072416157722473146, | |
0.00722817611694336, | |
0.007185777187347412, | |
0.007196335792541504, | |
0.007163217067718506, | |
0.00710641622543335, | |
0.007054255962371826, | |
0.006985775947570801, | |
0.007029615879058838, | |
0.007000495910644531, | |
0.006989615917205811, | |
0.00699889612197876, | |
0.0070428957939147946, | |
0.007080976963043213, | |
0.006993135929107666, | |
0.007034255981445313, | |
0.0070563359260559086, | |
0.007012656211853027, | |
0.007044335842132568, | |
0.006969136238098144, | |
0.006929296016693115, | |
0.00692577600479126, | |
0.006977136135101318, | |
0.0069121761322021484, | |
0.006992335796356201, | |
0.006975535869598389, | |
0.00695249605178833, | |
0.007055056095123291, | |
0.007020656108856201, | |
0.00702513599395752, | |
0.007002895832061768, | |
0.006982736110687256, | |
0.007045775890350342, | |
0.007032337188720703, | |
0.007021935939788818, | |
0.007072175979614258, | |
0.007005775928497314, | |
0.007008975982666016, | |
0.0070192160606384274, | |
0.007007855892181397, | |
0.007033455848693848, | |
0.007000016212463379, | |
0.0070259361267089844, | |
0.0070326561927795414, | |
0.007025617122650147, | |
0.0070259361267089844, | |
0.006997935771942139, | |
0.006966095924377441, | |
0.007034255981445313, | |
0.00704145622253418, | |
0.007085616111755371, | |
0.007054895877838135, | |
0.007016496181488037, | |
0.007039377212524414, | |
0.00702177619934082, | |
0.006986576080322266, | |
0.00700161600112915, | |
0.007063055992126465, | |
0.007017136096954346, | |
0.007041776180267334, | |
0.007004176139831543, | |
0.007045616149902343, | |
0.007038576126098633, | |
0.0069836959838867185, | |
0.007019697189331054, | |
0.007028656005859375, | |
0.007166096210479736, | |
0.006970096111297608, | |
0.006993135929107666, | |
0.007040175914764404, | |
0.007010416030883789, | |
0.006970416069030762, | |
0.0070326561927795414, | |
0.007008656024932862, | |
0.007030096054077149, | |
0.0070232172012329105, | |
0.007066415786743164, | |
0.0070355358123779296, | |
0.007036176204681397, | |
0.007038735866546631, | |
0.006992496013641357, | |
0.006995696067810059, | |
0.007031216144561768, | |
0.00703217601776123, | |
0.0069928159713745115, | |
0.007035216808319092, | |
0.007015855789184571, | |
0.006976016044616699, | |
0.006975215911865234, | |
0.007012015819549561, | |
0.006996175765991211, | |
0.006971856117248535, | |
0.007017936229705811, | |
0.007022736072540284, | |
0.007022895812988281, | |
0.0069641761779785155, | |
0.006972655773162841, | |
0.007014895915985107, | |
0.00696721601486206, | |
0.00695361614227295, | |
0.006975855827331543, | |
0.006973135948181153, | |
0.006982416152954102, | |
0.007010735988616943, | |
0.006995376110076904, | |
0.0069715361595153805, | |
0.00770593786239624, | |
0.007865458011627198, | |
0.007958258152008056, | |
0.007880817890167237, | |
0.007334736824035645, | |
0.007334736824035645, | |
0.007344655990600586, | |
0.007476657867431641, | |
0.007383056163787842, | |
0.007475217819213867, | |
0.007344175815582275, | |
0.007375377178192139, | |
0.007114576816558838, | |
0.007007535934448242, | |
0.006979536056518554, | |
0.006961935997009277, | |
0.007025455951690674, | |
0.006977136135101318, | |
0.006996175765991211, | |
0.006952816009521484, | |
0.006961455821990967, | |
0.006964974880218506, | |
0.0069670557975769045, | |
0.0069665760993957515, | |
0.00700817584991455, | |
0.007008975982666016, | |
0.007001455783843994 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.2847289477705 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |