
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b16805c
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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"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.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 714.084352, | |
"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.246107421875, | |
"mean": 7.246107421875, | |
"stdev": 0.0, | |
"p50": 7.246107421875, | |
"p90": 7.246107421875, | |
"p95": 7.246107421875, | |
"p99": 7.246107421875, | |
"values": [ | |
7.246107421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.351832999123467e-07, | |
"ram": 4.968093042898166e-07, | |
"gpu": 1.6438902039998815e-06, | |
"total": 3.075882808202045e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.065984, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 1.000263964176178, | |
"mean": 0.005264547179874622, | |
"stdev": 0.0002494328858941985, | |
"p50": 0.005245952129364013, | |
"p90": 0.0054448130130767824, | |
"p95": 0.005563391923904419, | |
"p99": 0.005973647418022149, | |
"values": [ | |
0.005588992118835449, | |
0.005773312091827393, | |
0.005615615844726562, | |
0.005509119987487793, | |
0.00551423978805542, | |
0.005463039875030518, | |
0.005446656227111817, | |
0.005450751781463623, | |
0.005356544017791748, | |
0.005345280170440674, | |
0.0053821439743042, | |
0.005319680213928223, | |
0.005349376201629639, | |
0.005389311790466309, | |
0.005355519771575928, | |
0.0053340158462524415, | |
0.005241856098175048, | |
0.005208064079284668, | |
0.005237760066986084, | |
0.00531660795211792, | |
0.0053350400924682614, | |
0.005391359806060791, | |
0.005402624130249023, | |
0.005404672145843506, | |
0.005392384052276611, | |
0.0053975038528442385, | |
0.005245952129364013, | |
0.005281792163848877, | |
0.005345280170440674, | |
0.005375999927520752, | |
0.005378047943115235, | |
0.005409791946411133, | |
0.005381120204925537, | |
0.005447679996490478, | |
0.005381120204925537, | |
0.005360703945159912, | |
0.005348351955413819, | |
0.0053340158462524415, | |
0.005354496002197265, | |
0.005391359806060791, | |
0.005348351955413819, | |
0.005314559936523438, | |
0.005216256141662597, | |
0.0051773438453674315, | |
0.005190656185150146, | |
0.005245952129364013, | |
0.005315584182739258, | |
0.005181439876556396, | |
0.005164031982421875, | |
0.005319680213928223, | |
0.005282815933227539, | |
0.005291007995605469, | |
0.005407743930816651, | |
0.005433343887329102, | |
0.005386240005493164, | |
0.005439487934112549, | |
0.005387263774871826, | |
0.00536575984954834, | |
0.005350399971008301, | |
0.005258240222930908, | |
0.007362559795379638, | |
0.006360064029693604, | |
0.005925888061523437, | |
0.00557260799407959, | |
0.00586956787109375, | |
0.005611519813537597, | |
0.005628928184509278, | |
0.005501952171325684, | |
0.005246975898742676, | |
0.005313536167144775, | |
0.005292031764984131, | |
0.005287936210632324, | |
0.005416959762573242, | |
0.005344255924224854, | |
0.005221375942230225, | |
0.005276671886444092, | |
0.005274623870849609, | |
0.005268479824066162, | |
0.005284863948822022, | |
0.005260287761688232, | |
0.005318655967712403, | |
0.005299200057983398, | |
0.005320703983306885, | |
0.005432320117950439, | |
0.005444608211517334, | |
0.0054271998405456545, | |
0.005377024173736572, | |
0.005410816192626953, | |
0.005378047943115235, | |
0.005336063861846924, | |
0.00536678409576416, | |
0.0053350400924682614, | |
0.005314559936523438, | |
0.005231679916381836, | |
0.005287936210632324, | |
0.005322751998901368, | |
0.00521727991104126, | |
0.005187583923339844, | |
0.005144576072692871, | |
0.004998144149780274, | |
0.0050841598510742185, | |
0.00521830415725708, | |
0.005203968048095703, | |
0.005064703941345215, | |
0.0049827837944030765, | |
0.004975615978240967, | |
0.0050032639503479, | |
0.005031936168670655, | |
0.005210112094879151, | |
0.00526643180847168, | |
0.0053760638236999515, | |
0.005286911964416504, | |
0.005292031764984131, | |
0.005359615802764893, | |
0.005479487895965576, | |
0.005552127838134766, | |
0.005281792163848877, | |
0.005207071781158448, | |
0.0052367358207702636, | |
0.005235712051391602, | |
0.005204991817474365, | |
0.0052367358207702636, | |
0.0052111358642578124, | |
0.005249023914337158, | |
0.005180416107177735, | |
0.005187583923339844, | |
0.0052111358642578124, | |
0.005191679954528809, | |
0.005235712051391602, | |
0.0052367358207702636, | |
0.005180416107177735, | |
0.005183487892150879, | |
0.005183487892150879, | |
0.005215231895446777, | |
0.005158912181854248, | |
0.005201920032501221, | |
0.005208064079284668, | |
0.005155839920043945, | |
0.00516096019744873, | |
0.005203968048095703, | |
0.005161983966827393, | |
0.005183487892150879, | |
0.005187583923339844, | |
0.005190656185150146, | |
0.005198847770690918, | |
0.005215231895446777, | |
0.005195775985717774, | |
0.005167103767395019, | |
0.005187583923339844, | |
0.005203968048095703, | |
0.005181439876556396, | |
0.005190656185150146, | |
0.00516812801361084, | |
0.005216256141662597, | |
0.005246975898742676, | |
0.005173247814178467, | |
0.005232639789581299, | |
0.005193727970123291, | |
0.0051701760292053225, | |
0.0052008957862854, | |
0.005163008213043213, | |
0.004988927841186524, | |
0.004921343803405762, | |
0.004952064037322998, | |
0.00491212797164917, | |
0.0049090561866760255, | |
0.004924416065216064, | |
0.004922368049621582, | |
0.004935679912567138, | |
0.004923391819000244, | |
0.004897791862487793, | |
0.0049162240028381345, | |
0.0049827837944030765, | |
0.004967423915863037, | |
0.004964352130889893, | |
0.004966400146484375, | |
0.0050022401809692385, | |
0.004964352130889893, | |
0.004980735778808594, | |
0.004969471931457519, | |
0.00499507188796997, | |
0.0049725441932678225, | |
0.004997119903564453, | |
0.004975615978240967, | |
0.004987904071807861, | |
0.004965375900268554, | |
0.004957183837890625, | |
0.004969471931457519, | |
0.004977663993835449, | |
0.004983808040618896 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.94986004167896 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8366171505911855e-08, | |
"ram": 3.189279718570226e-08, | |
"gpu": 1.2416950272906262e-07, | |
"total": 2.1442847142067675e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4663559.803297524 | |
} | |
} | |
} | |
} |