
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a1506f1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 794.959872, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.04254931640625, | |
"mean": 8.04254931640625, | |
"stdev": 0.0, | |
"p50": 8.04254931640625, | |
"p90": 8.04254931640625, | |
"p95": 8.04254931640625, | |
"p99": 8.04254931640625, | |
"values": [ | |
8.04254931640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4241160742854445e-06, | |
"ram": 1.308805091353688e-06, | |
"gpu": 3.638058466037819e-06, | |
"total": 7.370979631676952e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1050.43968, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 0.9997283201217648, | |
"mean": 0.005523360884650637, | |
"stdev": 0.00011528001576574961, | |
"p50": 0.005495808124542236, | |
"p90": 0.005710847854614258, | |
"p95": 0.005756927967071533, | |
"p99": 0.005851135921478272, | |
"values": [ | |
0.00573747205734253, | |
0.005855231761932373, | |
0.0058091521263122555, | |
0.005609471797943116, | |
0.005652480125427246, | |
0.005571584224700928, | |
0.005606400012969971, | |
0.005581823825836182, | |
0.0055848960876464845, | |
0.005600255966186523, | |
0.00557260799407959, | |
0.005570559978485107, | |
0.005559296131134033, | |
0.00552243185043335, | |
0.005607423782348633, | |
0.005563392162322998, | |
0.00556441593170166, | |
0.005547008037567139, | |
0.0054609918594360355, | |
0.005398528099060058, | |
0.005396480083465576, | |
0.005393407821655274, | |
0.005496831893920898, | |
0.0054917120933532714, | |
0.0055511040687561035, | |
0.005571584224700928, | |
0.005553152084350586, | |
0.005563392162322998, | |
0.005536767959594726, | |
0.0055203838348388675, | |
0.005508096218109131, | |
0.005440512180328369, | |
0.005471231937408447, | |
0.005532671928405761, | |
0.0056145920753479005, | |
0.005569536209106446, | |
0.005554175853729248, | |
0.0055316481590271, | |
0.005573631763458252, | |
0.005534719944000244, | |
0.0055214080810546875, | |
0.005469183921813964, | |
0.005495808124542236, | |
0.005557248115539551, | |
0.0055552000999450684, | |
0.005508096218109131, | |
0.005554175853729248, | |
0.005483520030975342, | |
0.005399551868438721, | |
0.0053678078651428224, | |
0.005398528099060058, | |
0.005479423999786377, | |
0.005483520030975342, | |
0.00547430419921875, | |
0.005533696174621582, | |
0.005470208168029785, | |
0.005517312049865723, | |
0.005478400230407715, | |
0.005480447769165039, | |
0.005536767959594726, | |
0.005559296131134033, | |
0.00556441593170166, | |
0.00557260799407959, | |
0.005577727794647217, | |
0.005636096000671387, | |
0.005533696174621582, | |
0.0054906878471374515, | |
0.005480447769165039, | |
0.005455872058868408, | |
0.005548031806945801, | |
0.005552127838134766, | |
0.005557248115539551, | |
0.005543935775756836, | |
0.005489664077758789, | |
0.005553152084350586, | |
0.005595136165618897, | |
0.005538815975189209, | |
0.005426176071166992, | |
0.0053821439743042, | |
0.005471231937408447, | |
0.005504000186920166, | |
0.005454847812652588, | |
0.00550707197189331, | |
0.005590015888214111, | |
0.005452864170074463, | |
0.0054876160621643065, | |
0.005445631980895996, | |
0.005451776027679443, | |
0.005495808124542236, | |
0.005465087890625, | |
0.005449728012084961, | |
0.005469183921813964, | |
0.005509119987487793, | |
0.005444608211517334, | |
0.0055920639038085935, | |
0.005833727836608887, | |
0.005850111961364746, | |
0.005786623954772949, | |
0.005796864032745362, | |
0.005797887802124023, | |
0.005804031848907471, | |
0.005713920116424561, | |
0.005724160194396972, | |
0.005747712135314941, | |
0.005756927967071533, | |
0.005710847854614258, | |
0.0056442880630493165, | |
0.005756927967071533, | |
0.005752831935882568, | |
0.005605375766754151, | |
0.005581823825836182, | |
0.005600255966186523, | |
0.005482495784759522, | |
0.0055285758972167965, | |
0.005662720203399658, | |
0.005654528141021729, | |
0.005447679996490478, | |
0.005408768177032471, | |
0.005406720161437988, | |
0.005416959762573242, | |
0.005439487934112549, | |
0.005610496044158936, | |
0.005586944103240967, | |
0.005606400012969971, | |
0.005568511962890625, | |
0.005733376026153565, | |
0.005700607776641845, | |
0.005739520072937012, | |
0.005911551952362061, | |
0.005649407863616943, | |
0.0056145920753479005, | |
0.0054906878471374515, | |
0.005519360065460205, | |
0.005451776027679443, | |
0.005493760108947754, | |
0.005478400230407715, | |
0.00547430419921875, | |
0.005436416149139404, | |
0.005459968090057373, | |
0.0054271998405456545, | |
0.005445663928985596, | |
0.005447679996490478, | |
0.005414976119995117, | |
0.005410816192626953, | |
0.005405695915222168, | |
0.005413887977600097, | |
0.005416959762573242, | |
0.00537497615814209, | |
0.005429247856140137, | |
0.005384191989898681, | |
0.005399551868438721, | |
0.00538316822052002, | |
0.005416959762573242, | |
0.005412864208221436, | |
0.005419007778167725, | |
0.005452799797058106, | |
0.005431295871734619, | |
0.005444608211517334, | |
0.005408768177032471, | |
0.005391359806060791, | |
0.00541593599319458, | |
0.005401599884033203, | |
0.005407743930816651, | |
0.005412864208221436, | |
0.005401599884033203, | |
0.005417984008789062, | |
0.005417984008789062, | |
0.005422080039978027, | |
0.005392384052276611, | |
0.005412864208221436, | |
0.0053944640159606936, | |
0.005408768177032471, | |
0.0054241280555725096, | |
0.005388288021087646, | |
0.005387263774871826, | |
0.005395455837249756, | |
0.005417984008789062, | |
0.005419007778167725, | |
0.005386240005493164, | |
0.005414912223815918, | |
0.005425151824951172 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.04918742119307 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.409549092397257e-08, | |
"ram": 3.502175098622649e-08, | |
"gpu": 1.3861722801072146e-07, | |
"total": 2.3773446992092052e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4206373.608053716 | |
} | |
} | |
} | |
} |