
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1c174cc
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 716.201984, | |
"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.2221376953125, | |
"mean": 7.2221376953125, | |
"stdev": 0.0, | |
"p50": 7.2221376953125, | |
"p90": 7.2221376953125, | |
"p95": 7.2221376953125, | |
"p99": 7.2221376953125, | |
"values": [ | |
7.2221376953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.315498972226364e-07, | |
"ram": 4.937588877857377e-07, | |
"gpu": 1.731945829999866e-06, | |
"total": 3.1572546150082404e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 883.388416, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.0034924159049987, | |
"mean": 0.005453763129918472, | |
"stdev": 0.00022821633218373172, | |
"p50": 0.005480448007583618, | |
"p90": 0.005687705755233765, | |
"p95": 0.005803110480308532, | |
"p99": 0.00603994125366211, | |
"values": [ | |
0.0058726401329040525, | |
0.006037504196166992, | |
0.005807104110717773, | |
0.0057712640762329105, | |
0.005709824085235596, | |
0.00568832015991211, | |
0.005665791988372803, | |
0.005647359848022461, | |
0.005713920116424561, | |
0.005653503894805908, | |
0.005627903938293457, | |
0.005559296131134033, | |
0.0056145920753479005, | |
0.005617663860321045, | |
0.005553152084350586, | |
0.005497856140136719, | |
0.005459968090057373, | |
0.005416959762573242, | |
0.005544960021972656, | |
0.005612544059753418, | |
0.00566476821899414, | |
0.0055920639038085935, | |
0.005600255966186523, | |
0.005642240047454834, | |
0.005560319900512695, | |
0.005561344146728516, | |
0.005482495784759522, | |
0.005499904155731201, | |
0.005670911788940429, | |
0.005599232196807862, | |
0.005626880168914795, | |
0.005607423782348633, | |
0.0056852478981018065, | |
0.0057118721008300784, | |
0.005761023998260498, | |
0.005629951953887939, | |
0.005601280212402344, | |
0.005686272144317627, | |
0.005620736122131348, | |
0.005569536209106446, | |
0.005516287803649903, | |
0.005437439918518067, | |
0.005478400230407715, | |
0.005565440177917481, | |
0.0055214080810546875, | |
0.005538815975189209, | |
0.005588992118835449, | |
0.005537792205810547, | |
0.005638144016265869, | |
0.005583871841430664, | |
0.005617663860321045, | |
0.005607423782348633, | |
0.005602303981781006, | |
0.005656576156616211, | |
0.005591040134429932, | |
0.00568012809753418, | |
0.005560319900512695, | |
0.005567488193511963, | |
0.005616640090942383, | |
0.005571584224700928, | |
0.005601280212402344, | |
0.00556441593170166, | |
0.00553984022140503, | |
0.005609471797943116, | |
0.0056514558792114256, | |
0.0055203838348388675, | |
0.005484543800354004, | |
0.00551423978805542, | |
0.005542912006378174, | |
0.0055623679161071774, | |
0.005566463947296142, | |
0.005924863815307617, | |
0.006021120071411133, | |
0.006051839828491211, | |
0.005893119812011719, | |
0.006543360233306885, | |
0.0058419198989868165, | |
0.005593088150024414, | |
0.005506048202514649, | |
0.005629951953887939, | |
0.005938176155090332, | |
0.005696512222290039, | |
0.0056217598915100095, | |
0.005619711875915527, | |
0.0056780800819396975, | |
0.005590015888214111, | |
0.005617663860321045, | |
0.005723135948181152, | |
0.005619711875915527, | |
0.0055285758972167965, | |
0.005780479907989502, | |
0.0056442880630493165, | |
0.005445631980895996, | |
0.005432320117950439, | |
0.005459968090057373, | |
0.0052336640357971195, | |
0.005278719902038574, | |
0.005483520030975342, | |
0.005425151824951172, | |
0.005314623832702637, | |
0.005406720161437988, | |
0.005280767917633057, | |
0.0052367358207702636, | |
0.005262335777282715, | |
0.005348351955413819, | |
0.0052930560111999515, | |
0.005401599884033203, | |
0.005313536167144775, | |
0.005390336036682129, | |
0.005607423782348633, | |
0.005439487934112549, | |
0.005501952171325684, | |
0.005239808082580567, | |
0.00522547197341919, | |
0.005299200057983398, | |
0.005249023914337158, | |
0.005458943843841553, | |
0.005329919815063477, | |
0.0052705278396606445, | |
0.005477375984191894, | |
0.005320703983306885, | |
0.005231616020202637, | |
0.00522649621963501, | |
0.005256192207336426, | |
0.005223423957824707, | |
0.005201920032501221, | |
0.0052111358642578124, | |
0.005208064079284668, | |
0.005203968048095703, | |
0.00517632007598877, | |
0.0052070398330688475, | |
0.005169151782989502, | |
0.005180416107177735, | |
0.00521830415725708, | |
0.005188608169555664, | |
0.005182464122772217, | |
0.005171199798583984, | |
0.005216256141662597, | |
0.005223423957824707, | |
0.005204991817474365, | |
0.005250048160552978, | |
0.005190656185150146, | |
0.0052070398330688475, | |
0.005232639789581299, | |
0.005265408039093018, | |
0.0052336640357971195, | |
0.005239808082580567, | |
0.00522547197341919, | |
0.005221375942230225, | |
0.005195775985717774, | |
0.005223423957824707, | |
0.005201920032501221, | |
0.0051998720169067385, | |
0.0052408318519592285, | |
0.005192704200744629, | |
0.005186560153961181, | |
0.005224448204040527, | |
0.005230591773986816, | |
0.005198847770690918, | |
0.005193727970123291, | |
0.005234687805175781, | |
0.005234687805175781, | |
0.005173247814178467, | |
0.0054876160621643065, | |
0.005222400188446045, | |
0.0051998720169067385, | |
0.005242879867553711, | |
0.005222400188446045, | |
0.005215231895446777, | |
0.005259263992309571, | |
0.005202943801879883, | |
0.005204991817474365, | |
0.005221375942230225, | |
0.0052408318519592285, | |
0.005194752216339111, | |
0.0052367358207702636, | |
0.005221375942230225, | |
0.005188608169555664, | |
0.0052070398330688475, | |
0.005254144191741943, | |
0.005191679954528809, | |
0.005368832111358642, | |
0.005241856098175048, | |
0.005197824001312256 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.35963190519954 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.085928706552381e-08, | |
"ram": 3.327140919921491e-08, | |
"gpu": 1.2875936226666816e-07, | |
"total": 2.228900585314069e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4486516.835200581 | |
} | |
} | |
} | |
} |