
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c94fe87
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", | |
"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.40.2", | |
"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": 877.48608, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9998910732269287, | |
"mean": 0.006801980089979107, | |
"stdev": 0.00010805362276693335, | |
"p50": 0.006785024166107178, | |
"p90": 0.006838886260986328, | |
"p95": 0.006889369678497314, | |
"p99": 0.007097917585372924, | |
"values": [ | |
0.007919616222381591, | |
0.006853631973266602, | |
0.006916096210479736, | |
0.006783999919891357, | |
0.00682700777053833, | |
0.00679423999786377, | |
0.006796288013458252, | |
0.0068915200233459475, | |
0.006797311782836914, | |
0.006782976150512696, | |
0.006778880119323731, | |
0.006797311782836914, | |
0.006778880119323731, | |
0.00676966381072998, | |
0.006810624122619629, | |
0.006795263767242431, | |
0.006774784088134766, | |
0.006847487926483154, | |
0.006790143966674805, | |
0.006767615795135498, | |
0.006790143966674805, | |
0.006778880119323731, | |
0.00676966381072998, | |
0.006780928134918213, | |
0.006811647891998291, | |
0.006774784088134766, | |
0.0067717118263244626, | |
0.006793216228485107, | |
0.00676966381072998, | |
0.006747136116027832, | |
0.006802432060241699, | |
0.006781951904296875, | |
0.006841343879699707, | |
0.00683622407913208, | |
0.006825984001159668, | |
0.0068055038452148435, | |
0.006773759841918945, | |
0.00678604793548584, | |
0.006807551860809326, | |
0.006740992069244385, | |
0.006808576107025147, | |
0.006792191982269287, | |
0.006806528091430664, | |
0.006773759841918945, | |
0.0067983360290527345, | |
0.006767615795135498, | |
0.006747136116027832, | |
0.0068055038452148435, | |
0.006762495994567871, | |
0.00675328016281128, | |
0.006883327960968018, | |
0.006790143966674805, | |
0.006789120197296142, | |
0.006750207901000976, | |
0.006792191982269287, | |
0.007062528133392334, | |
0.006970367908477783, | |
0.007128064155578613, | |
0.006903808116912841, | |
0.0070594558715820314, | |
0.006884352207183838, | |
0.006851583957672119, | |
0.00679423999786377, | |
0.006770688056945801, | |
0.006765567779541016, | |
0.00678604793548584, | |
0.006772736072540283, | |
0.006748159885406494, | |
0.006802432060241699, | |
0.006785024166107178, | |
0.006755328178405762, | |
0.006779903888702392, | |
0.006796288013458252, | |
0.006746111869812011, | |
0.006774784088134766, | |
0.00675328016281128, | |
0.0068249602317810056, | |
0.006779903888702392, | |
0.006812672138214112, | |
0.006774784088134766, | |
0.006767615795135498, | |
0.006803455829620361, | |
0.006807551860809326, | |
0.006789216041564941, | |
0.006772736072540283, | |
0.006796288013458252, | |
0.00676966381072998, | |
0.00673689603805542, | |
0.006790143966674805, | |
0.006749184131622315, | |
0.006761472225189209, | |
0.006816768169403077, | |
0.0067870721817016606, | |
0.00675328016281128, | |
0.006767615795135498, | |
0.006724607944488525, | |
0.006762495994567871, | |
0.006785024166107178, | |
0.006863872051239014, | |
0.0068351998329162595, | |
0.006746111869812011, | |
0.006790175914764405, | |
0.0067758078575134275, | |
0.006749184131622315, | |
0.006791168212890625, | |
0.006816768169403077, | |
0.006749184131622315, | |
0.0068055038452148435, | |
0.006837247848510742, | |
0.006789120197296142, | |
0.006746111869812011, | |
0.006804480075836182, | |
0.006804480075836182, | |
0.006755328178405762, | |
0.006783999919891357, | |
0.0068055038452148435, | |
0.006780928134918213, | |
0.006819839954376221, | |
0.006814720153808594, | |
0.006783999919891357, | |
0.006806528091430664, | |
0.006791168212890625, | |
0.006765567779541016, | |
0.006748159885406494, | |
0.006770688056945801, | |
0.006759424209594727, | |
0.006722559928894043, | |
0.006776832103729248, | |
0.006746111869812011, | |
0.006724607944488525, | |
0.00676966381072998, | |
0.006731776237487793, | |
0.0067348480224609375, | |
0.006770688056945801, | |
0.006767615795135498, | |
0.006791168212890625, | |
0.0067686400413513184, | |
0.006793216228485107, | |
0.0067870721817016606, | |
0.006750207901000976, | |
0.006809599876403808, | |
0.006815743923187256, | |
0.006766592025756836, | |
0.006774784088134766, | |
0.006785024166107178, | |
0.006749184131622315, | |
0.0067573761940002445 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.01601397999264 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.638268576048718e-08, | |
"ram": 4.169049610447054e-08, | |
"gpu": 1.45085586153847e-07, | |
"total": 2.6315876801880473e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3799987.3898503063 | |
} | |
} | |
} | |
} |