
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1cb57a3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 713.900032, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.21896044921875, | |
"mean": 7.21896044921875, | |
"stdev": 0.0, | |
"p50": 7.21896044921875, | |
"p90": 7.21896044921875, | |
"p95": 7.21896044921875, | |
"p99": 7.21896044921875, | |
"values": [ | |
7.21896044921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.813353419303895e-07, | |
"ram": 5.221587012259004e-07, | |
"gpu": 1.970834910000087e-06, | |
"total": 3.4743289531563765e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.09056, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 189, | |
"total": 1.0006344947814942, | |
"mean": 0.0052943624062512925, | |
"stdev": 0.0002896235727055214, | |
"p50": 0.0052633600234985355, | |
"p90": 0.005559910488128663, | |
"p95": 0.005750988578796386, | |
"p99": 0.006292602844238281, | |
"values": [ | |
0.005734399795532226, | |
0.005961728096008301, | |
0.005586944103240967, | |
0.005606400012969971, | |
0.00576204776763916, | |
0.005670911788940429, | |
0.005787648200988769, | |
0.005641215801239013, | |
0.005669888019561768, | |
0.005610496044158936, | |
0.005549056053161621, | |
0.0053944320678710935, | |
0.0053647360801696775, | |
0.005408768177032471, | |
0.005440512180328369, | |
0.005341184139251709, | |
0.005310463905334473, | |
0.0053637118339538575, | |
0.005183487892150879, | |
0.005287936210632324, | |
0.005320703983306885, | |
0.005269504070281982, | |
0.005402624130249023, | |
0.005410816192626953, | |
0.005338111877441406, | |
0.005403647899627686, | |
0.005356544017791748, | |
0.005237760066986084, | |
0.005248000144958496, | |
0.0052674560546875, | |
0.005321728229522705, | |
0.0053975038528442385, | |
0.005344255924224854, | |
0.00536575984954834, | |
0.00536678409576416, | |
0.005332992076873779, | |
0.005486591815948487, | |
0.00537497615814209, | |
0.005327871799468994, | |
0.0053043198585510255, | |
0.0053340158462524415, | |
0.005322751998901368, | |
0.0053002238273620605, | |
0.0052674560546875, | |
0.005148672103881836, | |
0.005175295829772949, | |
0.005172224044799805, | |
0.005238783836364746, | |
0.005251071929931641, | |
0.005329919815063477, | |
0.0052633600234985355, | |
0.0054906878471374515, | |
0.00552345609664917, | |
0.005549056053161621, | |
0.0062863359451293946, | |
0.006190080165863037, | |
0.005519360065460205, | |
0.005620736122131348, | |
0.005536767959594726, | |
0.00563097620010376, | |
0.005553152084350586, | |
0.005421055793762207, | |
0.005479423999786377, | |
0.00552243185043335, | |
0.0054579200744628905, | |
0.0053647360801696775, | |
0.0052715520858764645, | |
0.0054579200744628905, | |
0.005476352214813233, | |
0.005530623912811279, | |
0.005193727970123291, | |
0.005255167961120606, | |
0.005257215976715088, | |
0.0052633600234985355, | |
0.005388288021087646, | |
0.005370880126953125, | |
0.005221375942230225, | |
0.005249023914337158, | |
0.005505023956298828, | |
0.005458943843841553, | |
0.005433343887329102, | |
0.005391359806060791, | |
0.005443583965301513, | |
0.005449728012084961, | |
0.005284863948822022, | |
0.0054271998405456545, | |
0.005389311790466309, | |
0.005422080039978027, | |
0.005505023956298828, | |
0.005387263774871826, | |
0.005368832111358642, | |
0.005380095958709717, | |
0.005329919815063477, | |
0.0052899842262268066, | |
0.005355519771575928, | |
0.0053043198585510255, | |
0.005134335994720459, | |
0.005269504070281982, | |
0.005271615982055664, | |
0.005155839920043945, | |
0.0051404800415039064, | |
0.005115903854370117, | |
0.0049725441932678225, | |
0.00516812801361084, | |
0.005212160110473632, | |
0.00515174388885498, | |
0.0050032639503479, | |
0.004955135822296143, | |
0.004937727928161621, | |
0.0049530878067016604, | |
0.0049428482055664065, | |
0.004951039791107178, | |
0.005142528057098389, | |
0.0053340158462524415, | |
0.005313536167144775, | |
0.005552127838134766, | |
0.005409791946411133, | |
0.005451776027679443, | |
0.006088704109191895, | |
0.006338560104370118, | |
0.006270976066589356, | |
0.006865920066833496, | |
0.006178815841674804, | |
0.005417984008789062, | |
0.005190656185150146, | |
0.005116928100585938, | |
0.00522649621963501, | |
0.005127168178558349, | |
0.005104640007019043, | |
0.005081088066101074, | |
0.005202943801879883, | |
0.005112832069396973, | |
0.005091328144073487, | |
0.005124095916748047, | |
0.005108736038208008, | |
0.004941823959350586, | |
0.004933631896972656, | |
0.004928512096405029, | |
0.004903935909271241, | |
0.0049387521743774416, | |
0.004915200233459473, | |
0.004905983924865722, | |
0.004921343803405762, | |
0.0050769920349121095, | |
0.004956160068511963, | |
0.004932608127593994, | |
0.005189631938934326, | |
0.005114880084991455, | |
0.00510975980758667, | |
0.005004288196563721, | |
0.005047296047210693, | |
0.005092351913452148, | |
0.005088255882263183, | |
0.005097472190856934, | |
0.005242879867553711, | |
0.005107711791992187, | |
0.005107711791992187, | |
0.0051066880226135255, | |
0.0051404800415039064, | |
0.005097536087036133, | |
0.005115903854370117, | |
0.005125120162963868, | |
0.00510975980758667, | |
0.0050769920349121095, | |
0.005124095916748047, | |
0.005107711791992187, | |
0.005096447944641113, | |
0.005121024131774903, | |
0.0050769920349121095, | |
0.005100543975830078, | |
0.0051036162376403805, | |
0.005144576072692871, | |
0.005078015804290771, | |
0.005115903854370117, | |
0.005117951869964599, | |
0.005007359981536865, | |
0.004941823959350586, | |
0.0049387521743774416, | |
0.004929535865783692, | |
0.0049500160217285155, | |
0.0049428482055664065, | |
0.005132287979125977, | |
0.005107711791992187, | |
0.005148672103881836, | |
0.005135359764099121, | |
0.005057536125183106, | |
0.004956160068511963, | |
0.004946944236755371, | |
0.0051701760292053225 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 188.88015652635622 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.962764797498234e-08, | |
"ram": 3.256423149656323e-08, | |
"gpu": 1.4941664661306742e-07, | |
"total": 2.41608526084613e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4138926.784602763 | |
} | |
} | |
} | |
} |