
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3b82486
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.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.515008, | |
"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.1128154296875, | |
"mean": 7.1128154296875, | |
"stdev": 0.0, | |
"p50": 7.1128154296875, | |
"p90": 7.1128154296875, | |
"p95": 7.1128154296875, | |
"p99": 7.1128154296875, | |
"values": [ | |
7.1128154296875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.307136138280234e-07, | |
"ram": 4.940247581925897e-07, | |
"gpu": 0.0, | |
"total": 1.4247383720206131e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.263168, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 1.0007625904083253, | |
"mean": 0.00526717152846487, | |
"stdev": 0.00015589730175198324, | |
"p50": 0.005231103897094727, | |
"p90": 0.005509324789047241, | |
"p95": 0.005544499111175537, | |
"p99": 0.005665423531532287, | |
"values": [ | |
0.005662720203399658, | |
0.005696512222290039, | |
0.005501952171325684, | |
0.005500927925109863, | |
0.005420032024383545, | |
0.005393407821655274, | |
0.005390336036682129, | |
0.005355519771575928, | |
0.0053309440612792965, | |
0.00536678409576416, | |
0.0052971520423889164, | |
0.0052899842262268066, | |
0.005299200057983398, | |
0.005306367874145508, | |
0.005274623870849609, | |
0.005258240222930908, | |
0.005149695873260498, | |
0.005121024131774903, | |
0.005141503810882568, | |
0.005252096176147461, | |
0.005262335777282715, | |
0.005275648117065429, | |
0.00535859203338623, | |
0.005307392120361328, | |
0.005292096138000488, | |
0.0053340158462524415, | |
0.005262335777282715, | |
0.005161983966827393, | |
0.005489664077758789, | |
0.005543935775756836, | |
0.005533696174621582, | |
0.005552127838134766, | |
0.005530623912811279, | |
0.005687295913696289, | |
0.005596159934997558, | |
0.005511168003082275, | |
0.005530623912811279, | |
0.005504000186920166, | |
0.005497856140136719, | |
0.005560319900512695, | |
0.005509119987487793, | |
0.005489664077758789, | |
0.0053637118339538575, | |
0.00537497615814209, | |
0.005389311790466309, | |
0.005409791946411133, | |
0.005475327968597412, | |
0.00542310380935669, | |
0.005527552127838135, | |
0.005470208168029785, | |
0.005586944103240967, | |
0.005486591815948487, | |
0.005544960021972656, | |
0.0055316481590271, | |
0.005512191772460938, | |
0.00556441593170166, | |
0.0053340158462524415, | |
0.005272575855255127, | |
0.005303296089172363, | |
0.0052899842262268066, | |
0.005244927883148193, | |
0.005354496002197265, | |
0.005313536167144775, | |
0.005251071929931641, | |
0.005315584182739258, | |
0.005313536167144775, | |
0.005284863948822022, | |
0.005254144191741943, | |
0.005165056228637695, | |
0.005198847770690918, | |
0.005248000144958496, | |
0.005230591773986816, | |
0.005356544017791748, | |
0.005281792163848877, | |
0.005183487892150879, | |
0.0051773438453674315, | |
0.005231616020202637, | |
0.005234687805175781, | |
0.005202943801879883, | |
0.005202943801879883, | |
0.005312511920928955, | |
0.00520908784866333, | |
0.005222400188446045, | |
0.005386240005493164, | |
0.005395455837249756, | |
0.005298175811767578, | |
0.00536575984954834, | |
0.005307392120361328, | |
0.005299200057983398, | |
0.005361663818359375, | |
0.005242879867553711, | |
0.005268479824066162, | |
0.005355519771575928, | |
0.0052008957862854, | |
0.005221375942230225, | |
0.005371903896331787, | |
0.005179391860961914, | |
0.00510975980758667, | |
0.005092351913452148, | |
0.0050063362121582035, | |
0.00501043176651001, | |
0.005131264209747314, | |
0.005234687805175781, | |
0.005156864166259765, | |
0.004927487850189209, | |
0.004935679912567138, | |
0.0049387521743774416, | |
0.0049428482055664065, | |
0.004974656105041504, | |
0.004985856056213379, | |
0.0053340158462524415, | |
0.005485568046569824, | |
0.005337088108062744, | |
0.0054568958282470706, | |
0.005478400230407715, | |
0.0055848960876464845, | |
0.00542310380935669, | |
0.005372928142547607, | |
0.005186560153961181, | |
0.005210112094879151, | |
0.0051404800415039064, | |
0.005145599842071533, | |
0.005194752216339111, | |
0.005175295829772949, | |
0.005101568222045898, | |
0.005215231895446777, | |
0.005183487892150879, | |
0.005192704200744629, | |
0.005137407779693603, | |
0.00515174388885498, | |
0.005139455795288086, | |
0.0051476478576660155, | |
0.005104640007019043, | |
0.005513216018676758, | |
0.005182464122772217, | |
0.00521830415725708, | |
0.005183551788330078, | |
0.00516812801361084, | |
0.005116928100585938, | |
0.005141503810882568, | |
0.00510975980758667, | |
0.005414912223815918, | |
0.005279744148254394, | |
0.005146624088287354, | |
0.005192704200744629, | |
0.00511897611618042, | |
0.005175295829772949, | |
0.005134335994720459, | |
0.005124095916748047, | |
0.0051435518264770505, | |
0.0052111358642578124, | |
0.005116928100585938, | |
0.005121024131774903, | |
0.00515174388885498, | |
0.005133344173431397, | |
0.005179391860961914, | |
0.005156864166259765, | |
0.005155839920043945, | |
0.005216256141662597, | |
0.0051660799980163576, | |
0.005167103767395019, | |
0.005185535907745361, | |
0.0051363840103149415, | |
0.005146624088287354, | |
0.005144576072692871, | |
0.00510975980758667, | |
0.005129216194152832, | |
0.00522547197341919, | |
0.005121024131774903, | |
0.0051138558387756345, | |
0.0051435518264770505, | |
0.005130239963531494, | |
0.005157887935638428, | |
0.005165056228637695, | |
0.005128191947937012, | |
0.005191679954528809, | |
0.005104640007019043, | |
0.0052367358207702636, | |
0.005197824001312256, | |
0.00511897611618042, | |
0.005295104026794434, | |
0.005183487892150879, | |
0.0051138558387756345, | |
0.005129216194152832, | |
0.005216256141662597, | |
0.005132287979125977, | |
0.0051066880226135255, | |
0.005214208126068115, | |
0.005148672103881836, | |
0.005144576072692871 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.85521823160607 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.9216613570849106e-08, | |
"ram": 3.237523097771202e-08, | |
"gpu": 1.3153343856000002e-07, | |
"total": 2.2312528310856114e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4481787.030443574 | |
} | |
} | |
} | |
} |