IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1e036be
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": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61", | |
"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": 898.301952, | |
"max_global_vram": 875.3152, | |
"max_process_vram": 41726.357504, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.6714072265625, | |
"mean": 6.6714072265625, | |
"stdev": 0.0, | |
"p50": 6.6714072265625, | |
"p90": 6.6714072265625, | |
"p95": 6.6714072265625, | |
"p99": 6.6714072265625, | |
"values": [ | |
6.6714072265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.606144, | |
"max_global_vram": 938.860544, | |
"max_process_vram": 213751.701504, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9992419404983521, | |
"mean": 0.006844122880125699, | |
"stdev": 0.0006339445392857658, | |
"p50": 0.006658715486526489, | |
"p90": 0.007656554937362671, | |
"p95": 0.00881995463371277, | |
"p99": 0.008844018316268921, | |
"values": [ | |
0.006743196010589599, | |
0.006596476078033447, | |
0.006724475860595703, | |
0.006832635879516601, | |
0.00676991605758667, | |
0.007747194766998291, | |
0.006747675895690918, | |
0.006880795001983643, | |
0.006752796173095703, | |
0.006699195861816406, | |
0.006651035785675049, | |
0.006624956130981446, | |
0.006621595859527588, | |
0.006565596103668213, | |
0.00648991584777832, | |
0.006452315807342529, | |
0.006513916015625, | |
0.006455516815185547, | |
0.006464315891265869, | |
0.006320635795593262, | |
0.006358716011047363, | |
0.00785423517227173, | |
0.006814556121826172, | |
0.006792475223541259, | |
0.006778235912322998, | |
0.006750716209411621, | |
0.006729115962982177, | |
0.006530876159667969, | |
0.006527515888214111, | |
0.006577755928039551, | |
0.006540316104888916, | |
0.006566555976867676, | |
0.006550234794616699, | |
0.006563836097717285, | |
0.006563516139984131, | |
0.006547676086425781, | |
0.006547515869140625, | |
0.006567676067352295, | |
0.006582555770874024, | |
0.0065431962013244626, | |
0.006550876140594483, | |
0.006545755863189697, | |
0.006550715923309326, | |
0.006560956001281738, | |
0.006523196220397949, | |
0.006557275772094726, | |
0.006533915996551514, | |
0.006559035778045654, | |
0.006542076110839843, | |
0.006551996231079101, | |
0.00649967622756958, | |
0.006557115077972412, | |
0.006458076000213623, | |
0.0064439959526062015, | |
0.0064604759216308595, | |
0.0064390358924865726, | |
0.006465596199035644, | |
0.006533115863800049, | |
0.006512475967407227, | |
0.006499516010284424, | |
0.006477436065673828, | |
0.0065387158393859866, | |
0.006920156002044678, | |
0.006801276206970215, | |
0.006767995834350586, | |
0.006832795143127441, | |
0.006831515789031983, | |
0.007788314819335938, | |
0.008806235313415527, | |
0.008841114044189453, | |
0.008814555168151855, | |
0.008821914672851563, | |
0.008802074432373047, | |
0.008846394538879395, | |
0.008769594192504882, | |
0.008840314865112305, | |
0.008832633972167969, | |
0.008846394538879395, | |
0.008821754455566407, | |
0.008835675239562989, | |
0.007565915107727051, | |
0.006755516052246093, | |
0.0067473559379577636, | |
0.006778076171875, | |
0.006785274982452393, | |
0.006789276123046875, | |
0.006786076068878174, | |
0.006783996105194092, | |
0.006760315895080566, | |
0.006798874855041504, | |
0.006790075778961182, | |
0.006789115905761719, | |
0.006780796051025391, | |
0.0068017559051513675, | |
0.006767674922943116, | |
0.006803996086120605, | |
0.006782395839691162, | |
0.006789755821228027, | |
0.006814394950866699, | |
0.006831356048583984, | |
0.006842395782470703, | |
0.006814236164093017, | |
0.006765275955200195, | |
0.006788634777069092, | |
0.006813436031341553, | |
0.006801276206970215, | |
0.006780156135559082, | |
0.0068036761283874515, | |
0.0067604751586914065, | |
0.006771515846252441, | |
0.006787516117095947, | |
0.006787355899810791, | |
0.006734235763549805, | |
0.006964155197143555, | |
0.006763035774230957, | |
0.006748795986175537, | |
0.006773275852203369, | |
0.00666623592376709, | |
0.006561756134033203, | |
0.006654874801635742, | |
0.006630236148834228, | |
0.006543035984039307, | |
0.006663836002349853, | |
0.00657503604888916, | |
0.006559035778045654, | |
0.006662556171417236, | |
0.006584956169128418, | |
0.006536796092987061, | |
0.006461276054382324, | |
0.0064745559692382815, | |
0.006590075969696045, | |
0.006477915763854981, | |
0.006472156047821045, | |
0.006507515907287598, | |
0.006475515842437744, | |
0.006459675788879395, | |
0.00645951509475708, | |
0.006442555904388428, | |
0.006433755874633789, | |
0.006451516151428222, | |
0.006448155879974366, | |
0.006443356037139893, | |
0.006505115985870362, | |
0.006458395957946777, | |
0.006468475818634033, | |
0.006449436187744141 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.11076065040405 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |