
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3f5934f
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 870.551552, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0042737293243404, | |
"mean": 0.005548473642675917, | |
"stdev": 0.0002098553018176555, | |
"p50": 0.005448736190795898, | |
"p90": 0.005864448070526123, | |
"p95": 0.005916672229766846, | |
"p99": 0.0060741632461547845, | |
"values": [ | |
0.006377471923828125, | |
0.005797887802124023, | |
0.006056960105895996, | |
0.006142975807189942, | |
0.005952511787414551, | |
0.005882880210876465, | |
0.005909503936767578, | |
0.005874688148498535, | |
0.005938176155090332, | |
0.005850111961364746, | |
0.0059699201583862304, | |
0.005811200141906738, | |
0.005855231761932373, | |
0.005988351821899414, | |
0.005636096000671387, | |
0.005628928184509278, | |
0.005705728054046631, | |
0.0057292799949646, | |
0.005873663902282715, | |
0.005792768001556397, | |
0.005916672229766846, | |
0.005807104110717773, | |
0.005798912048339844, | |
0.0056555838584899905, | |
0.005938176155090332, | |
0.005788671970367432, | |
0.005864448070526123, | |
0.005785600185394287, | |
0.00582860803604126, | |
0.005757952213287353, | |
0.005756927967071533, | |
0.005764095783233642, | |
0.005760000228881836, | |
0.005808127880096436, | |
0.005645311832427978, | |
0.0056217598915100095, | |
0.005604351997375488, | |
0.0055920639038085935, | |
0.005690368175506591, | |
0.005683199882507324, | |
0.00576204776763916, | |
0.00587059211730957, | |
0.00582041597366333, | |
0.005777408123016357, | |
0.005616640090942383, | |
0.005587967872619629, | |
0.005537792205810547, | |
0.005508096218109131, | |
0.005478400230407715, | |
0.005441535949707031, | |
0.005603328227996827, | |
0.005412864208221436, | |
0.0055552000999450684, | |
0.005477375984191894, | |
0.0053647360801696775, | |
0.005448703765869141, | |
0.0055244798660278325, | |
0.0054579200744628905, | |
0.00556441593170166, | |
0.005437439918518067, | |
0.005422080039978027, | |
0.005557248115539551, | |
0.005483520030975342, | |
0.005581823825836182, | |
0.00568832015991211, | |
0.005907455921173096, | |
0.005853184223175049, | |
0.005808127880096436, | |
0.0059770879745483394, | |
0.005864448070526123, | |
0.005865471839904785, | |
0.005786623954772949, | |
0.005785600185394287, | |
0.0055316481590271, | |
0.005476352214813233, | |
0.005483520030975342, | |
0.005545983791351319, | |
0.005436416149139404, | |
0.005388288021087646, | |
0.005287936210632324, | |
0.005269504070281982, | |
0.005361663818359375, | |
0.005425151824951172, | |
0.005465087890625, | |
0.005129216194152832, | |
0.005173247814178467, | |
0.00521830415725708, | |
0.005194752216339111, | |
0.005228544235229492, | |
0.0053678078651428224, | |
0.005441535949707031, | |
0.005594111919403076, | |
0.00568832015991211, | |
0.005682176113128662, | |
0.005757952213287353, | |
0.005836800098419189, | |
0.005560319900512695, | |
0.00552243185043335, | |
0.005421055793762207, | |
0.005447679996490478, | |
0.005419007778167725, | |
0.0053637118339538575, | |
0.005478400230407715, | |
0.005371903896331787, | |
0.005395455837249756, | |
0.005448736190795898, | |
0.005380095958709717, | |
0.005530623912811279, | |
0.00541593599319458, | |
0.005371903896331787, | |
0.005554175853729248, | |
0.005413887977600097, | |
0.0053944320678710935, | |
0.0054241280555725096, | |
0.0053944320678710935, | |
0.005386240005493164, | |
0.0053821439743042, | |
0.005368832111358642, | |
0.005392384052276611, | |
0.005388288021087646, | |
0.005429247856140137, | |
0.0053821439743042, | |
0.005413887977600097, | |
0.005352447986602784, | |
0.005356544017791748, | |
0.005389311790466309, | |
0.005411839962005615, | |
0.0053944320678710935, | |
0.00541593599319458, | |
0.005569536209106446, | |
0.005410816192626953, | |
0.00541593599319458, | |
0.005400576114654541, | |
0.005611519813537597, | |
0.005355519771575928, | |
0.005361663818359375, | |
0.005401599884033203, | |
0.005379072189331055, | |
0.005399551868438721, | |
0.005413887977600097, | |
0.005431295871734619, | |
0.005385216236114502, | |
0.005377024173736572, | |
0.005393407821655274, | |
0.005390336036682129, | |
0.005362688064575195, | |
0.005347328186035156, | |
0.005350399971008301, | |
0.0053944320678710935, | |
0.005343232154846191, | |
0.005407743930816651, | |
0.005393407821655274, | |
0.005571584224700928, | |
0.00542310380935669, | |
0.005571584224700928, | |
0.005362688064575195, | |
0.005392384052276611, | |
0.005420032024383545, | |
0.005402624130249023, | |
0.0054241280555725096, | |
0.005478400230407715, | |
0.005378047943115235, | |
0.005426176071166992, | |
0.005396480083465576, | |
0.005508096218109131, | |
0.005409791946411133, | |
0.005401599884033203, | |
0.005437439918518067, | |
0.0054282240867614745, | |
0.0053975038528442385, | |
0.005441535949707031, | |
0.0054271998405456545, | |
0.005583871841430664, | |
0.005391359806060791, | |
0.005344255924224854, | |
0.005518335819244385, | |
0.005426176071166992, | |
0.005384191989898681, | |
0.005409791946411133, | |
0.005389311790466309, | |
0.005404672145843506 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.22974684578662 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.366254964324878e-08, | |
"ram": 3.480578946478522e-08, | |
"gpu": 1.358244814193539e-07, | |
"total": 2.3429282052738794e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4268163.223051488 | |
} | |
} | |
} | |
} |