IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d70a9b0
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": "6", | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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.637312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 40968.798208, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3822490234375, | |
"mean": 8.3822490234375, | |
"stdev": 0.0, | |
"p50": 8.3822490234375, | |
"p90": 8.3822490234375, | |
"p95": 8.3822490234375, | |
"p99": 8.3822490234375, | |
"values": [ | |
8.3822490234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1164.439552, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 217519.259648, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9999788870811465, | |
"mean": 0.0070421048385996225, | |
"stdev": 0.0010636631114221173, | |
"p50": 0.006809530019760132, | |
"p90": 0.007500139188766479, | |
"p95": 0.00754193115234375, | |
"p99": 0.007726344094276428, | |
"values": [ | |
0.006733288764953613, | |
0.006781129837036133, | |
0.006809609889984131, | |
0.00690241003036499, | |
0.006925449848175049, | |
0.007026731014251709, | |
0.006977930068969727, | |
0.006950729846954345, | |
0.007170889854431152, | |
0.006984650135040283, | |
0.007010731220245361, | |
0.006923530101776123, | |
0.006906410217285156, | |
0.00688224983215332, | |
0.006863210201263428, | |
0.006830249786376953, | |
0.0068211288452148435, | |
0.0068380899429321285, | |
0.006801609992980957, | |
0.006755849838256836, | |
0.006800970077514648, | |
0.00675777006149292, | |
0.006776969909667968, | |
0.006789769172668457, | |
0.006756649971008301, | |
0.0068094501495361325, | |
0.007776330947875976, | |
0.006951051235198975, | |
0.006671528816223144, | |
0.006710889816284179, | |
0.006702569961547852, | |
0.0067144098281860356, | |
0.019152027130126953, | |
0.006977930068969727, | |
0.006701449871063233, | |
0.006752009868621826, | |
0.0067262501716613765, | |
0.006719529151916504, | |
0.006728169918060303, | |
0.006684169769287109, | |
0.006740650177001953, | |
0.006736169815063477, | |
0.00735552978515625, | |
0.007533930778503418, | |
0.007561291217803955, | |
0.00754193115234375, | |
0.007126410007476807, | |
0.0070592107772827145, | |
0.006928329944610596, | |
0.0070753698348999024, | |
0.007120810031890869, | |
0.007062891006469727, | |
0.0069683299064636234, | |
0.007032969951629639, | |
0.007086090087890625, | |
0.007130730152130127, | |
0.00702833080291748, | |
0.007059529781341552, | |
0.007147369861602783, | |
0.007104491233825684, | |
0.007108009815216064, | |
0.00704272985458374, | |
0.006727049827575684, | |
0.006775050163269043, | |
0.006716488838195801, | |
0.006741129875183106, | |
0.006760009765625, | |
0.006749770164489746, | |
0.006736969947814942, | |
0.006701448917388916, | |
0.006729450225830078, | |
0.006708330154418946, | |
0.00672560977935791, | |
0.006746088981628418, | |
0.0070513710975646975, | |
0.006900809764862061, | |
0.0066596889495849606, | |
0.00670753002166748, | |
0.00673376989364624, | |
0.0067217698097229005, | |
0.006721609115600586, | |
0.006691530227661133, | |
0.0067048101425170896, | |
0.006722568988800049, | |
0.006695528984069824, | |
0.006722089767456055, | |
0.006726409912109375, | |
0.0066995291709899905, | |
0.006970730781555176, | |
0.006901130199432373, | |
0.006776009082794189, | |
0.006701290130615234, | |
0.006699049949645996, | |
0.006712170124053955, | |
0.00676400899887085, | |
0.00675777006149292, | |
0.006751369953155517, | |
0.006812650203704834, | |
0.006769289970397949, | |
0.006796969890594483, | |
0.006720489025115967, | |
0.006710569858551025, | |
0.006798250198364258, | |
0.006751530170440674, | |
0.006777770042419433, | |
0.006810569763183593, | |
0.006704648971557617, | |
0.006915050029754639, | |
0.006678730010986328, | |
0.006726890087127685, | |
0.006720008850097656, | |
0.006721289157867432, | |
0.006745450019836426, | |
0.006738249778747559, | |
0.006838729858398437, | |
0.006674569129943847, | |
0.006783209800720215, | |
0.006570730209350586, | |
0.006630088806152344, | |
0.006883530139923095, | |
0.007497450828552246, | |
0.0074996910095214845, | |
0.007478731155395508, | |
0.007646090984344482, | |
0.007444170951843262, | |
0.007493290901184082, | |
0.007520330905914307, | |
0.007500171184539795, | |
0.0074632101058959965, | |
0.007654411792755127, | |
0.007482890129089355, | |
0.007487211227416992, | |
0.00754193115234375, | |
0.00749985122680664, | |
0.007561610221862793, | |
0.007493131160736084, | |
0.0075094509124755855, | |
0.007451850891113282, | |
0.007505451202392578, | |
0.007501930236816406, | |
0.007565290927886963, | |
0.007484651088714599 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.00299809777582 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |