
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0574aa9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": 757.600256, | |
"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.3838837890625, | |
"mean": 7.3838837890625, | |
"stdev": 0.0, | |
"p50": 7.3838837890625, | |
"p90": 7.3838837890625, | |
"p95": 7.3838837890625, | |
"p99": 7.3838837890625, | |
"values": [ | |
7.3838837890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.552741763884617e-07, | |
"ram": 5.079115478438705e-07, | |
"gpu": 1.7194458199996931e-06, | |
"total": 3.182631544232025e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 924.721152, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 196, | |
"total": 1.0031544618606563, | |
"mean": 0.005118135009493146, | |
"stdev": 0.00021432680853993073, | |
"p50": 0.005080064058303833, | |
"p90": 0.005274111986160278, | |
"p95": 0.005716992139816284, | |
"p99": 0.00600483832359314, | |
"values": [ | |
0.0060026879310607914, | |
0.006045695781707764, | |
0.005921792030334472, | |
0.00582041597366333, | |
0.005817344188690185, | |
0.005795839786529541, | |
0.005798912048339844, | |
0.005720064163208007, | |
0.005795839786529541, | |
0.0061859841346740725, | |
0.005593088150024414, | |
0.005167103767395019, | |
0.005119999885559082, | |
0.00516096019744873, | |
0.0051660799980163576, | |
0.005062655925750732, | |
0.005130239963531494, | |
0.005165056228637695, | |
0.005102591991424561, | |
0.00515174388885498, | |
0.0052295680046081545, | |
0.0054271998405456545, | |
0.005282815933227539, | |
0.0051476478576660155, | |
0.005039103984832764, | |
0.004980735778808594, | |
0.00499507188796997, | |
0.004981760025024414, | |
0.004984831809997559, | |
0.0049827837944030765, | |
0.004974592208862305, | |
0.0050032639503479, | |
0.005022719860076904, | |
0.005007359981536865, | |
0.004968448162078858, | |
0.004967423915863037, | |
0.0050135040283203125, | |
0.0049500160217285155, | |
0.005001215934753418, | |
0.0049459199905395506, | |
0.004964352130889893, | |
0.004968448162078858, | |
0.004952064037322998, | |
0.005000192165374756, | |
0.0049797120094299315, | |
0.004929535865783692, | |
0.00496127986907959, | |
0.004963327884674072, | |
0.00499507188796997, | |
0.005053440093994141, | |
0.004963327884674072, | |
0.0049500160217285155, | |
0.004984831809997559, | |
0.004964352130889893, | |
0.004973567962646484, | |
0.004978687763214112, | |
0.004978687763214112, | |
0.004931583881378174, | |
0.004964352130889893, | |
0.004932608127593994, | |
0.0050135040283203125, | |
0.004924416065216064, | |
0.004936704158782959, | |
0.004933631896972656, | |
0.0049797120094299315, | |
0.005008384227752686, | |
0.00497049617767334, | |
0.00495411205291748, | |
0.00501043176651001, | |
0.004955135822296143, | |
0.004978687763214112, | |
0.0049500160217285155, | |
0.004964352130889893, | |
0.004983808040618896, | |
0.004951039791107178, | |
0.00496127986907959, | |
0.004960256099700928, | |
0.004976640224456787, | |
0.0049530878067016604, | |
0.004944896221160889, | |
0.004986879825592041, | |
0.004978687763214112, | |
0.00499507188796997, | |
0.004944896221160889, | |
0.00496127986907959, | |
0.0049797120094299315, | |
0.004933631896972656, | |
0.004975615978240967, | |
0.004984831809997559, | |
0.0051476478576660155, | |
0.0052674560546875, | |
0.005285888195037842, | |
0.005715968132019043, | |
0.005148672103881836, | |
0.005213183879852295, | |
0.0051435518264770505, | |
0.005167103767395019, | |
0.0050165758132934574, | |
0.005024767875671386, | |
0.005163008213043213, | |
0.00505241584777832, | |
0.0051435518264770505, | |
0.005066751956939697, | |
0.005230591773986816, | |
0.005029888153076172, | |
0.004965375900268554, | |
0.0052070398330688475, | |
0.005203968048095703, | |
0.005186560153961181, | |
0.0050954241752624516, | |
0.005142528057098389, | |
0.005031936168670655, | |
0.004943871974945068, | |
0.005121024131774903, | |
0.005074944019317627, | |
0.005104640007019043, | |
0.005018623828887939, | |
0.005017600059509277, | |
0.0050462718009948735, | |
0.004937727928161621, | |
0.005126143932342529, | |
0.005082111835479736, | |
0.005190656185150146, | |
0.005088255882263183, | |
0.00511078405380249, | |
0.005141503810882568, | |
0.0050462718009948735, | |
0.005114880084991455, | |
0.005121024131774903, | |
0.005089280128479004, | |
0.0051036162376403805, | |
0.00506982421875, | |
0.005139455795288086, | |
0.0050360321998596195, | |
0.005295104026794434, | |
0.0052674560546875, | |
0.005224448204040527, | |
0.005238783836364746, | |
0.005243904113769531, | |
0.0052971520423889164, | |
0.005213183879852295, | |
0.0052674560546875, | |
0.005280767917633057, | |
0.005284863948822022, | |
0.0052930560111999515, | |
0.005146624088287354, | |
0.005165056228637695, | |
0.005092351913452148, | |
0.005190656185150146, | |
0.005082111835479736, | |
0.005073919773101807, | |
0.005127168178558349, | |
0.004994048118591309, | |
0.005112832069396973, | |
0.005075967788696289, | |
0.005074944019317627, | |
0.0051333122253417966, | |
0.005040128231048584, | |
0.005158912181854248, | |
0.005070847988128662, | |
0.005135359764099121, | |
0.0050421757698059086, | |
0.005098495960235596, | |
0.005097472190856934, | |
0.004951039791107178, | |
0.005114880084991455, | |
0.005059584140777588, | |
0.0051138877868652345, | |
0.005102591991424561, | |
0.005082111835479736, | |
0.005152768135070801, | |
0.004937727928161621, | |
0.005087232112884522, | |
0.0050954241752624516, | |
0.005125120162963868, | |
0.005030911922454834, | |
0.004941823959350586, | |
0.005111807823181152, | |
0.005085184097290039, | |
0.005081088066101074, | |
0.005091328144073487, | |
0.0051701760292053225, | |
0.005188608169555664, | |
0.005079040050506592, | |
0.005155839920043945, | |
0.005056511878967285, | |
0.005098495960235596, | |
0.00511897611618042, | |
0.005108736038208008, | |
0.005148672103881836, | |
0.005063680171966553, | |
0.005082111835479736, | |
0.005086207866668701, | |
0.005141503810882568, | |
0.005153791904449463, | |
0.005073919773101807 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 195.38366966584397 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.897459620461816e-08, | |
"ram": 3.212354203181951e-08, | |
"gpu": 1.2346957072277338e-07, | |
"total": 2.1456770895921104e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4660533.520400772 | |
} | |
} | |
} | |
} |