
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ffce82b
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": {}, | |
"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, | |
"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": 712.445952, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.57312 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.12839990234375, | |
"mean": 7.12839990234375, | |
"stdev": 0.0, | |
"p50": 7.12839990234375, | |
"p90": 7.12839990234375, | |
"p95": 7.12839990234375, | |
"p99": 7.12839990234375, | |
"values": [ | |
7.12839990234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.087704949908787e-07, | |
"ram": 4.822417315495879e-07, | |
"gpu": 0.0, | |
"total": 1.3910122265404667e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 878.91968, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 188, | |
"total": 1.001767970085144, | |
"mean": 0.005328553032367786, | |
"stdev": 0.00023747656022153252, | |
"p50": 0.005320704221725463, | |
"p90": 0.00564858889579773, | |
"p95": 0.0056858623027801515, | |
"p99": 0.0057180568695068355, | |
"values": [ | |
0.005623807907104492, | |
0.005754879951477051, | |
0.005542912006378174, | |
0.0054876160621643065, | |
0.0054917120933532714, | |
0.005497856140136719, | |
0.005493760108947754, | |
0.005583871841430664, | |
0.005445631980895996, | |
0.00537497615814209, | |
0.005384191989898681, | |
0.005311488151550293, | |
0.005323775768280029, | |
0.0053606400489807126, | |
0.005455872058868408, | |
0.005348351955413819, | |
0.005241856098175048, | |
0.00516096019744873, | |
0.005184512138366699, | |
0.005203968048095703, | |
0.005287936210632324, | |
0.005340159893035889, | |
0.005565440177917481, | |
0.005329919815063477, | |
0.005406720161437988, | |
0.005347328186035156, | |
0.00530841588973999, | |
0.0053975038528442385, | |
0.005285888195037842, | |
0.005321728229522705, | |
0.0053975038528442385, | |
0.005344255924224854, | |
0.005342207908630371, | |
0.005403647899627686, | |
0.005342207908630371, | |
0.005296127796173096, | |
0.005359615802764893, | |
0.0052674560546875, | |
0.005258240222930908, | |
0.00530841588973999, | |
0.005328896045684814, | |
0.0053012480735778805, | |
0.005339136123657226, | |
0.005183487892150879, | |
0.0051066880226135255, | |
0.005534719944000244, | |
0.0055214080810546875, | |
0.00551526403427124, | |
0.0055920639038085935, | |
0.005485568046569824, | |
0.005608448028564453, | |
0.005541888236999512, | |
0.005563392162322998, | |
0.005725183963775635, | |
0.005701632022857666, | |
0.005694464206695556, | |
0.00566374397277832, | |
0.005687295913696289, | |
0.0056145920753479005, | |
0.005570559978485107, | |
0.005533696174621582, | |
0.005548031806945801, | |
0.005673984050750733, | |
0.0056442880630493165, | |
0.005588992118835449, | |
0.005683199882507324, | |
0.00567193603515625, | |
0.005641215801239013, | |
0.005573631763458252, | |
0.00552243185043335, | |
0.005603328227996827, | |
0.005570559978485107, | |
0.005659647941589355, | |
0.005658624172210694, | |
0.005568511962890625, | |
0.005544960021972656, | |
0.005585919857025146, | |
0.0055920639038085935, | |
0.0055808000564575196, | |
0.005537792205810547, | |
0.005595136165618897, | |
0.005575679779052735, | |
0.005615615844726562, | |
0.005716991901397705, | |
0.005689343929290771, | |
0.005660672187805176, | |
0.005708799839019775, | |
0.005695487976074219, | |
0.005669888019561768, | |
0.005573631763458252, | |
0.005709824085235596, | |
0.005610496044158936, | |
0.00557260799407959, | |
0.005481472015380859, | |
0.005662720203399658, | |
0.005601280212402344, | |
0.005463039875030518, | |
0.005504000186920166, | |
0.005313536167144775, | |
0.005319680213928223, | |
0.005512191772460938, | |
0.0054876160621643065, | |
0.0053350720405578615, | |
0.005281792163848877, | |
0.005245952129364013, | |
0.005222400188446045, | |
0.005298175811767578, | |
0.005299200057983398, | |
0.0056442880630493165, | |
0.005479423999786377, | |
0.005342207908630371, | |
0.005359615802764893, | |
0.005465087890625, | |
0.005536767959594726, | |
0.005559296131134033, | |
0.005243904113769531, | |
0.005146624088287354, | |
0.005142528057098389, | |
0.005399551868438721, | |
0.005257215976715088, | |
0.005145599842071533, | |
0.005167103767395019, | |
0.005172224044799805, | |
0.005086207866668701, | |
0.005152768135070801, | |
0.005125120162963868, | |
0.005116928100585938, | |
0.005090303897857666, | |
0.0052070398330688475, | |
0.0051404800415039064, | |
0.00511897611618042, | |
0.005182464122772217, | |
0.00515993595123291, | |
0.004905983924865722, | |
0.005057536125183106, | |
0.005134335994720459, | |
0.005126143932342529, | |
0.005128191947937012, | |
0.005112832069396973, | |
0.005132287979125977, | |
0.005128191947937012, | |
0.005104640007019043, | |
0.00515993595123291, | |
0.005146624088287354, | |
0.005128191947937012, | |
0.0051363840103149415, | |
0.005183487892150879, | |
0.005121024131774903, | |
0.00510975980758667, | |
0.005144576072692871, | |
0.005131264209747314, | |
0.005121024131774903, | |
0.005126143932342529, | |
0.005128191947937012, | |
0.0051333122253417966, | |
0.00510975980758667, | |
0.005117951869964599, | |
0.005129216194152832, | |
0.005142528057098389, | |
0.005108736038208008, | |
0.005148672103881836, | |
0.005128191947937012, | |
0.0051476478576660155, | |
0.005139455795288086, | |
0.005181439876556396, | |
0.00491212797164917, | |
0.004917247772216797, | |
0.004894720077514648, | |
0.004901887893676758, | |
0.004902912139892578, | |
0.004894720077514648, | |
0.004897791862487793, | |
0.004944896221160889, | |
0.004900864124298096, | |
0.004915200233459473, | |
0.0048793601989746095, | |
0.004899839878082276, | |
0.00487014389038086, | |
0.004882431983947754, | |
0.004876287937164306, | |
0.004894720077514648, | |
0.004899839878082276, | |
0.005246975898742676, | |
0.005210112094879151, | |
0.0052674560546875, | |
0.005163008213043213, | |
0.005184512138366699, | |
0.005146624088287354 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 187.66820822193108 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8078541342158955e-08, | |
"ram": 3.161543650503518e-08, | |
"gpu": 1.2217895953170525e-07, | |
"total": 2.1187293737889937e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4719809.959549799 | |
} | |
} | |
} | |
} |