
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5e020cb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 866.320384, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9997871036529542, | |
"mean": 0.006492124049694507, | |
"stdev": 0.00035704010405396047, | |
"p50": 0.006455295801162719, | |
"p90": 0.006569369554519653, | |
"p95": 0.0067870721817016606, | |
"p99": 0.008140891985893246, | |
"values": [ | |
0.0095283203125, | |
0.00908902359008789, | |
0.006970367908477783, | |
0.00708403205871582, | |
0.00683622407913208, | |
0.0067870721817016606, | |
0.007300096035003662, | |
0.0067870721817016606, | |
0.006489120006561279, | |
0.006456319808959961, | |
0.006481919765472412, | |
0.006425600051879882, | |
0.0064737281799316405, | |
0.006519807815551758, | |
0.0065136637687683106, | |
0.006478847980499268, | |
0.006479872226715088, | |
0.006195199966430664, | |
0.006177792072296143, | |
0.00616755199432373, | |
0.006300672054290772, | |
0.006250495910644531, | |
0.006348800182342529, | |
0.006243328094482422, | |
0.0062740478515625, | |
0.006269951820373535, | |
0.006119423866271972, | |
0.006363135814666748, | |
0.006302720069885254, | |
0.006428671836853027, | |
0.006449151992797852, | |
0.006409215927124024, | |
0.006487040042877197, | |
0.006437888145446777, | |
0.006140927791595459, | |
0.0063569917678833006, | |
0.006367231845855713, | |
0.006423679828643799, | |
0.0064542717933654785, | |
0.006408192157745361, | |
0.006494207859039307, | |
0.006391808032989502, | |
0.006534143924713135, | |
0.006440959930419922, | |
0.006408192157745361, | |
0.006377471923828125, | |
0.006434815883636475, | |
0.0065177597999572755, | |
0.006510591983795166, | |
0.006309887886047363, | |
0.006146048069000244, | |
0.006316031932830811, | |
0.0065443840026855465, | |
0.006334464073181153, | |
0.006253568172454834, | |
0.0062566399574279785, | |
0.006278143882751465, | |
0.006394879817962646, | |
0.006223872184753418, | |
0.006354944229125976, | |
0.00622489595413208, | |
0.0062044157981872555, | |
0.006246399879455566, | |
0.00638156795501709, | |
0.006498303890228272, | |
0.006453248023986816, | |
0.006436863899230957, | |
0.006512639999389648, | |
0.006391808032989502, | |
0.006543360233306885, | |
0.0065372161865234375, | |
0.00653107213973999, | |
0.006569983959197998, | |
0.006416384220123291, | |
0.006482944011688232, | |
0.0064778242111206055, | |
0.0064778242111206055, | |
0.006624256134033203, | |
0.006478847980499268, | |
0.006614016056060791, | |
0.006615039825439453, | |
0.0065781760215759275, | |
0.006591487884521485, | |
0.006529151916503906, | |
0.006391808032989502, | |
0.006451200008392334, | |
0.006519807815551758, | |
0.006440959930419922, | |
0.0064542717933654785, | |
0.0064767999649047855, | |
0.00646457576751709, | |
0.006459392070770263, | |
0.006408192157745361, | |
0.006472703933715821, | |
0.00638156795501709, | |
0.0064430079460144046, | |
0.006468607902526856, | |
0.006460415840148926, | |
0.0065075201988220215, | |
0.006567935943603515, | |
0.006460415840148926, | |
0.006504447937011719, | |
0.006461440086364746, | |
0.00648089599609375, | |
0.006467584133148193, | |
0.0064143362045288085, | |
0.006529024124145508, | |
0.006509568214416504, | |
0.006431807994842529, | |
0.006409215927124024, | |
0.006379519939422608, | |
0.006447231769561768, | |
0.00643891191482544, | |
0.006487040042877197, | |
0.006586368083953857, | |
0.006419456005096436, | |
0.006460415840148926, | |
0.0065146880149841305, | |
0.006512639999389648, | |
0.0064102401733398436, | |
0.006482944011688232, | |
0.006489088058471679, | |
0.006482944011688232, | |
0.006433792114257812, | |
0.0064174079895019534, | |
0.006470655918121338, | |
0.006429696083068847, | |
0.006482944011688232, | |
0.006437888145446777, | |
0.006471680164337158, | |
0.006509568214416504, | |
0.006419456005096436, | |
0.006503424167633057, | |
0.00652288007736206, | |
0.006378496170043945, | |
0.006379519939422608, | |
0.006369279861450195, | |
0.006368256092071533, | |
0.00643993616104126, | |
0.006385663986206055, | |
0.006556672096252441, | |
0.006512639999389648, | |
0.006403071880340576, | |
0.0064839677810668945, | |
0.006441984176635742, | |
0.0064440321922302245, | |
0.006419456005096436, | |
0.006452223777770996, | |
0.00683628797531128, | |
0.006529024124145508, | |
0.006487040042877197, | |
0.006557695865631104, | |
0.006509568214416504, | |
0.006565887928009034 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.032793018959 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.601237704611233e-08, | |
"ram": 4.1553375149305795e-08, | |
"gpu": 1.4260160980769216e-07, | |
"total": 2.601673620031103e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3843679.6695046052 | |
} | |
} | |
} | |
} |