
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d410096
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": "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.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 874.266624, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.261056 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 189, | |
"total": 0.9996657261848447, | |
"mean": 0.005289236646480661, | |
"stdev": 0.000390815099432191, | |
"p50": 0.005287936210632324, | |
"p90": 0.0053377024650573725, | |
"p95": 0.005424947357177734, | |
"p99": 0.0076616088294982915, | |
"values": [ | |
0.008062975883483887, | |
0.00774451208114624, | |
0.007650303840637207, | |
0.007425024032592774, | |
0.006475776195526123, | |
0.005611519813537597, | |
0.005496831893920898, | |
0.00550707197189331, | |
0.005909503936767578, | |
0.005181439876556396, | |
0.005122047901153564, | |
0.00506982421875, | |
0.005081088066101074, | |
0.005085184097290039, | |
0.005134335994720459, | |
0.005066815853118896, | |
0.005064703941345215, | |
0.005075967788696289, | |
0.005091328144073487, | |
0.005091328144073487, | |
0.005105663776397705, | |
0.005090303897857666, | |
0.005075967788696289, | |
0.005087232112884522, | |
0.005138432025909424, | |
0.005112832069396973, | |
0.0050800638198852536, | |
0.005089280128479004, | |
0.005081088066101074, | |
0.005091328144073487, | |
0.0051066880226135255, | |
0.0050800638198852536, | |
0.005089280128479004, | |
0.00506879997253418, | |
0.0050800638198852536, | |
0.005085184097290039, | |
0.0051138558387756345, | |
0.0050769920349121095, | |
0.005089280128479004, | |
0.005097472190856934, | |
0.005105663776397705, | |
0.005064703941345215, | |
0.0050954241752624516, | |
0.0051036162376403805, | |
0.005074944019317627, | |
0.005085184097290039, | |
0.005088255882263183, | |
0.005100543975830078, | |
0.00506879997253418, | |
0.0050800638198852536, | |
0.005071872234344482, | |
0.005064703941345215, | |
0.005074944019317627, | |
0.005125120162963868, | |
0.00506060791015625, | |
0.005014527797698975, | |
0.005008384227752686, | |
0.005104640007019043, | |
0.005231616020202637, | |
0.005268479824066162, | |
0.005234687805175781, | |
0.00511078405380249, | |
0.005099520206451416, | |
0.005087232112884522, | |
0.0050800638198852536, | |
0.005121024131774903, | |
0.005104640007019043, | |
0.005061632156372071, | |
0.005070847988128662, | |
0.005078015804290771, | |
0.005208064079284668, | |
0.005086207866668701, | |
0.005087232112884522, | |
0.005066751956939697, | |
0.005062655925750732, | |
0.005051392078399658, | |
0.005086207866668701, | |
0.005057536125183106, | |
0.005066751956939697, | |
0.005064703941345215, | |
0.005114880084991455, | |
0.0050954241752624516, | |
0.00532480001449585, | |
0.005380095958709717, | |
0.005302271842956543, | |
0.005295104026794434, | |
0.005404672145843506, | |
0.005340159893035889, | |
0.005319680213928223, | |
0.005438464164733887, | |
0.005336063861846924, | |
0.005326848030090332, | |
0.005390336036682129, | |
0.0052971520423889164, | |
0.005312511920928955, | |
0.0053350400924682614, | |
0.005303296089172363, | |
0.005299200057983398, | |
0.005337088108062744, | |
0.005292031764984131, | |
0.0053043198585510255, | |
0.005305344104766845, | |
0.005282815933227539, | |
0.0052930560111999515, | |
0.0053309440612792965, | |
0.005284863948822022, | |
0.005321728229522705, | |
0.0053043198585510255, | |
0.005286911964416504, | |
0.005291007995605469, | |
0.005325823783874512, | |
0.005299200057983398, | |
0.005315584182739258, | |
0.005306367874145508, | |
0.005265408039093018, | |
0.005341184139251709, | |
0.0053043198585510255, | |
0.0052705278396606445, | |
0.005288959980010987, | |
0.0053647360801696775, | |
0.005322751998901368, | |
0.005312511920928955, | |
0.005327871799468994, | |
0.005298175811767578, | |
0.005282815933227539, | |
0.005319680213928223, | |
0.005298175811767578, | |
0.005274623870849609, | |
0.005287936210632324, | |
0.0052930560111999515, | |
0.0052971520423889164, | |
0.005277696132659912, | |
0.005305344104766845, | |
0.005291007995605469, | |
0.005294079780578613, | |
0.005303296089172363, | |
0.0052971520423889164, | |
0.005292031764984131, | |
0.0053043198585510255, | |
0.0052715520858764645, | |
0.00530841588973999, | |
0.0053043198585510255, | |
0.005273600101470947, | |
0.005295104026794434, | |
0.005305344104766845, | |
0.005283840179443359, | |
0.005291007995605469, | |
0.005307392120361328, | |
0.005313536167144775, | |
0.005326848030090332, | |
0.00531763219833374, | |
0.005286911964416504, | |
0.005306367874145508, | |
0.00531660795211792, | |
0.005262335777282715, | |
0.005294079780578613, | |
0.0053012480735778805, | |
0.00526643180847168, | |
0.005320703983306885, | |
0.005327871799468994, | |
0.0052971520423889164, | |
0.005320703983306885, | |
0.005340159893035889, | |
0.005287936210632324, | |
0.005299200057983398, | |
0.005327871799468994, | |
0.005302271842956543, | |
0.0053340158462524415, | |
0.0053606400489807126, | |
0.005361663818359375, | |
0.0053043198585510255, | |
0.005310463905334473, | |
0.005287936210632324, | |
0.005284863948822022, | |
0.0053002238273620605, | |
0.005291007995605469, | |
0.005277696132659912, | |
0.005278719902038574, | |
0.005314559936523438, | |
0.005261312007904053, | |
0.005275648117065429, | |
0.005314559936523438, | |
0.005299200057983398, | |
0.005282815933227539, | |
0.005306367874145508, | |
0.0053002238273620605, | |
0.005296127796173096, | |
0.005307392120361328, | |
0.005281792163848877 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.06319887679396 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.332669896308823e-08, | |
"ram": 3.46110496122975e-08, | |
"gpu": 1.3002832743294032e-07, | |
"total": 2.2796607600832605e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4386617.594643673 | |
} | |
} | |
} | |
} |