
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b69eef9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.343232, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.0017290868759157, | |
"mean": 0.005444179819977801, | |
"stdev": 0.0004066186102812147, | |
"p50": 0.005412351846694946, | |
"p90": 0.005614342308044433, | |
"p95": 0.005664819383621215, | |
"p99": 0.007683952498435974, | |
"values": [ | |
0.008151007652282714, | |
0.007733248233795166, | |
0.007673855781555176, | |
0.0075970559120178225, | |
0.006396927833557129, | |
0.005666816234588623, | |
0.005653503894805908, | |
0.005697535991668701, | |
0.005628928184509278, | |
0.005679103851318359, | |
0.005542912006378174, | |
0.005557248115539551, | |
0.005601280212402344, | |
0.005548031806945801, | |
0.005554175853729248, | |
0.005429247856140137, | |
0.0054876160621643065, | |
0.005595136165618897, | |
0.005585919857025146, | |
0.0055797758102417, | |
0.005610496044158936, | |
0.005543935775756836, | |
0.005569536209106446, | |
0.005513216018676758, | |
0.00552345609664917, | |
0.005623807907104492, | |
0.0055623679161071774, | |
0.005608448028564453, | |
0.005549056053161621, | |
0.005545983791351319, | |
0.005597184181213379, | |
0.005526527881622314, | |
0.0056217598915100095, | |
0.005542912006378174, | |
0.005506048202514649, | |
0.005443583965301513, | |
0.005406720161437988, | |
0.005431295871734619, | |
0.005542912006378174, | |
0.005407743930816651, | |
0.005538815975189209, | |
0.005499904155731201, | |
0.005504000186920166, | |
0.005605375766754151, | |
0.005573631763458252, | |
0.005616672039031982, | |
0.005583871841430664, | |
0.005525504112243652, | |
0.005537792205810547, | |
0.0054876160621643065, | |
0.005629951953887939, | |
0.005586944103240967, | |
0.005518335819244385, | |
0.005590015888214111, | |
0.005478400230407715, | |
0.005432320117950439, | |
0.005545983791351319, | |
0.005455872058868408, | |
0.005512191772460938, | |
0.005615551948547363, | |
0.0054579200744628905, | |
0.005526527881622314, | |
0.005494783878326416, | |
0.005475327968597412, | |
0.005509119987487793, | |
0.005464064121246338, | |
0.005509119987487793, | |
0.005509119987487793, | |
0.005583871841430664, | |
0.005639200210571289, | |
0.005543935775756836, | |
0.005565440177917481, | |
0.005607423782348633, | |
0.0055214080810546875, | |
0.005588992118835449, | |
0.005502975940704345, | |
0.005600255966186523, | |
0.006433792114257812, | |
0.005606400012969971, | |
0.005598207950592041, | |
0.005440512180328369, | |
0.005446656227111817, | |
0.005560319900512695, | |
0.005611519813537597, | |
0.00553984022140503, | |
0.0052408318519592285, | |
0.005231616020202637, | |
0.005235712051391602, | |
0.005387263774871826, | |
0.005380095958709717, | |
0.005445631980895996, | |
0.005477375984191894, | |
0.0054271998405456545, | |
0.005497856140136719, | |
0.0054906878471374515, | |
0.005755904197692871, | |
0.005475327968597412, | |
0.005406720161437988, | |
0.005396480083465576, | |
0.005370912075042725, | |
0.005384191989898681, | |
0.005400576114654541, | |
0.005416959762573242, | |
0.005361663818359375, | |
0.005403647899627686, | |
0.005329919815063477, | |
0.005312511920928955, | |
0.00536678409576416, | |
0.005298175811767578, | |
0.005343232154846191, | |
0.005375999927520752, | |
0.0053012480735778805, | |
0.005262335777282715, | |
0.005257215976715088, | |
0.005190656185150146, | |
0.005194752216339111, | |
0.005256192207336426, | |
0.005194752216339111, | |
0.005193727970123291, | |
0.005232639789581299, | |
0.005141503810882568, | |
0.00515174388885498, | |
0.005165056228637695, | |
0.005161983966827393, | |
0.005148672103881836, | |
0.0051660799980163576, | |
0.005171199798583984, | |
0.005138432025909424, | |
0.005163008213043213, | |
0.0051701760292053225, | |
0.00516096019744873, | |
0.005146624088287354, | |
0.005172224044799805, | |
0.005193727970123291, | |
0.00516812801361084, | |
0.005210112094879151, | |
0.005169151782989502, | |
0.005161983966827393, | |
0.0051968002319335935, | |
0.005184512138366699, | |
0.00520908784866333, | |
0.005128191947937012, | |
0.005167103767395019, | |
0.005178368091583252, | |
0.0051404800415039064, | |
0.0051435518264770505, | |
0.005181439876556396, | |
0.005165056228637695, | |
0.005138432025909424, | |
0.005154816150665284, | |
0.005171199798583984, | |
0.005179391860961914, | |
0.005164031982421875, | |
0.005204991817474365, | |
0.005179391860961914, | |
0.00515993595123291, | |
0.00516812801361084, | |
0.005185535907745361, | |
0.005182464122772217, | |
0.005161983966827393, | |
0.005192704200744629, | |
0.005201920032501221, | |
0.005165056228637695, | |
0.005153791904449463, | |
0.005302271842956543, | |
0.005275648117065429, | |
0.005163008213043213, | |
0.005258240222930908, | |
0.005313536167144775, | |
0.005278719902038574, | |
0.005305344104766845, | |
0.005273600101470947, | |
0.005369855880737305, | |
0.005171199798583984, | |
0.00515174388885498, | |
0.005144576072692871, | |
0.00520908784866333, | |
0.005132287979125977, | |
0.0051660799980163576, | |
0.005153855800628662, | |
0.00516812801361084, | |
0.005141503810882568, | |
0.005616640090942383, | |
0.005206016063690186 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.68239717770334 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.400706710758153e-08, | |
"ram": 3.499089567953519e-08, | |
"gpu": 1.3434995732973128e-07, | |
"total": 2.3334792011684796e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4285446.381948698 | |
} | |
} | |
} | |
} |