
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a71d9b7
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.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.596928, | |
"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.1769130859375, | |
"mean": 7.1769130859375, | |
"stdev": 0.0, | |
"p50": 7.1769130859375, | |
"p90": 7.1769130859375, | |
"p95": 7.1769130859375, | |
"p99": 7.1769130859375, | |
"values": [ | |
7.1769130859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.224413169754877e-07, | |
"ram": 4.88961666618574e-07, | |
"gpu": 1.6144457359998018e-06, | |
"total": 3.025848719593864e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.340992, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0022237439155584, | |
"mean": 0.005388299698470741, | |
"stdev": 0.00034447931502343477, | |
"p50": 0.005506048202514649, | |
"p90": 0.005710335969924927, | |
"p95": 0.005843967914581299, | |
"p99": 0.006243430352210999, | |
"values": [ | |
0.0060282878875732426, | |
0.006045695781707764, | |
0.005837823867797852, | |
0.005846015930175781, | |
0.0056780800819396975, | |
0.005768191814422607, | |
0.005699584007263184, | |
0.005792768001556397, | |
0.005626880168914795, | |
0.005673984050750733, | |
0.0057292799949646, | |
0.0055797758102417, | |
0.005686272144317627, | |
0.005661695957183838, | |
0.005656576156616211, | |
0.005596159934997558, | |
0.005480447769165039, | |
0.005516287803649903, | |
0.0057077760696411135, | |
0.005504000186920166, | |
0.005730303764343261, | |
0.005643263816833496, | |
0.005610496044158936, | |
0.005672959804534912, | |
0.005635072231292724, | |
0.005635072231292724, | |
0.005501952171325684, | |
0.005634047985076904, | |
0.005596159934997558, | |
0.005629951953887939, | |
0.00567299222946167, | |
0.005636096000671387, | |
0.005687295913696289, | |
0.005616640090942383, | |
0.005675007820129394, | |
0.00553984022140503, | |
0.005600255966186523, | |
0.005763072013854981, | |
0.005617663860321045, | |
0.00566476821899414, | |
0.005519360065460205, | |
0.005462016105651855, | |
0.005493760108947754, | |
0.005517312049865723, | |
0.005493760108947754, | |
0.0055808000564575196, | |
0.005452799797058106, | |
0.005612544059753418, | |
0.005525504112243652, | |
0.00551526403427124, | |
0.0056555519104003905, | |
0.005604351997375488, | |
0.00571289587020874, | |
0.005768191814422607, | |
0.005646336078643799, | |
0.00568012809753418, | |
0.005587967872619629, | |
0.005560319900512695, | |
0.005525504112243652, | |
0.005657599925994873, | |
0.005649407863616943, | |
0.005597184181213379, | |
0.005582848072052002, | |
0.005598207950592041, | |
0.005582848072052002, | |
0.005590015888214111, | |
0.005441535949707031, | |
0.005598207950592041, | |
0.005552127838134766, | |
0.005502975940704345, | |
0.005752831935882568, | |
0.005536767959594726, | |
0.005561344146728516, | |
0.005553152084350586, | |
0.0055797758102417, | |
0.005575679779052735, | |
0.005578752040863037, | |
0.005571584224700928, | |
0.0055316481590271, | |
0.00557260799407959, | |
0.005654528141021729, | |
0.005675007820129394, | |
0.005855231761932373, | |
0.00562278413772583, | |
0.005612544059753418, | |
0.005700607776641845, | |
0.005578752040863037, | |
0.005594111919403076, | |
0.005599232196807862, | |
0.00557260799407959, | |
0.0055848960876464845, | |
0.0054989118576049805, | |
0.005591040134429932, | |
0.005406720161437988, | |
0.005485568046569824, | |
0.00541593599319458, | |
0.0052715520858764645, | |
0.005404672145843506, | |
0.0055511040687561035, | |
0.005405695915222168, | |
0.005215231895446777, | |
0.005260287761688232, | |
0.005214208126068115, | |
0.005262335777282715, | |
0.005265408039093018, | |
0.005429247856140137, | |
0.005434368133544922, | |
0.005494783878326416, | |
0.005508096218109131, | |
0.00556441593170166, | |
0.005618688106536865, | |
0.006189055919647217, | |
0.00637337589263916, | |
0.006325247764587402, | |
0.0061931519508361815, | |
0.006228991985321045, | |
0.00618393611907959, | |
0.00537395191192627, | |
0.0050462718009948735, | |
0.005059584140777588, | |
0.005057536125183106, | |
0.005112832069396973, | |
0.0050432000160217285, | |
0.0050503678321838375, | |
0.005051392078399658, | |
0.005004288196563721, | |
0.005108736038208008, | |
0.004960256099700928, | |
0.0050165758132934574, | |
0.004965375900268554, | |
0.004955135822296143, | |
0.004958208084106445, | |
0.004994048118591309, | |
0.004966400146484375, | |
0.0049725441932678225, | |
0.004984896183013916, | |
0.004980735778808594, | |
0.004971519947052002, | |
0.004951039791107178, | |
0.004977663993835449, | |
0.005087232112884522, | |
0.004965375900268554, | |
0.00495411205291748, | |
0.004964352130889893, | |
0.00495411205291748, | |
0.004978687763214112, | |
0.004967423915863037, | |
0.004960256099700928, | |
0.004974592208862305, | |
0.0049827837944030765, | |
0.004944896221160889, | |
0.00495411205291748, | |
0.004965375900268554, | |
0.0049827837944030765, | |
0.004963327884674072, | |
0.004996096134185791, | |
0.004963327884674072, | |
0.005000192165374756, | |
0.0049725441932678225, | |
0.004958208084106445, | |
0.004996096134185791, | |
0.00501145601272583, | |
0.00497049617767334, | |
0.004980735778808594, | |
0.004969471931457519, | |
0.005000192165374756, | |
0.004973567962646484, | |
0.004965375900268554, | |
0.0049827837944030765, | |
0.004994048118591309, | |
0.004974592208862305, | |
0.004973567962646484, | |
0.0049827837944030765, | |
0.005004288196563721, | |
0.004956160068511963, | |
0.004983808040618896, | |
0.004960256099700928, | |
0.004983808040618896, | |
0.00495411205291748, | |
0.004958208084106445, | |
0.004958208084106445, | |
0.004984831809997559, | |
0.004967423915863037, | |
0.004952064037322998, | |
0.004971519947052002, | |
0.004959231853485108 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.5873013677786 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.114575597974989e-08, | |
"ram": 3.342808744280909e-08, | |
"gpu": 1.2309001828866196e-07, | |
"total": 2.176638617112209e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4594239.90798583 | |
} | |
} | |
} | |
} |