IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4891cce verified
raw
history blame
14.2 kB
{
"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.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 713.879552,
"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.1463486328125,
"mean": 7.1463486328125,
"stdev": 0.0,
"p50": 7.1463486328125,
"p90": 7.1463486328125,
"p95": 7.1463486328125,
"p99": 7.1463486328125,
"values": [
7.1463486328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.348680575688681e-07,
"ram": 4.957386810258413e-07,
"gpu": 0.0,
"total": 1.4306067385947095e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.930816,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 195,
"total": 1.0008059215545653,
"mean": 0.005132338059254182,
"stdev": 0.00016944941618471466,
"p50": 0.00506879997253418,
"p90": 0.00525086727142334,
"p95": 0.005456281661987305,
"p99": 0.005920645322799683,
"values": [
0.005914624214172363,
0.006173696041107178,
0.005609471797943116,
0.005536767959594726,
0.005506048202514649,
0.005475327968597412,
0.005489664077758789,
0.005462016105651855,
0.005453824043273926,
0.006014976024627685,
0.005355519771575928,
0.005071872234344482,
0.0050462718009948735,
0.005037055969238281,
0.005029920101165771,
0.005062655925750732,
0.005038080215454102,
0.005017600059509277,
0.0050421757698059086,
0.00505241584777832,
0.005053440093994141,
0.0050503678321838375,
0.005047296047210693,
0.0050769920349121095,
0.00505241584777832,
0.00502784013748169,
0.005051392078399658,
0.005017600059509277,
0.00506060791015625,
0.005017600059509277,
0.0050462718009948735,
0.005022719860076904,
0.0050124797821044925,
0.005016608238220215,
0.005056511878967285,
0.005047296047210693,
0.005022719860076904,
0.0050032639503479,
0.005058559894561767,
0.005033984184265137,
0.005037055969238281,
0.0050135040283203125,
0.005047296047210693,
0.005028863906860351,
0.00502784013748169,
0.0050206718444824215,
0.005029888153076172,
0.00502784013748169,
0.005005311965942383,
0.004989952087402344,
0.004998144149780274,
0.004985856056213379,
0.00501145601272583,
0.0050206718444824215,
0.005038080215454102,
0.00506879997253418,
0.00501043176651001,
0.005004288196563721,
0.005044223785400391,
0.004984831809997559,
0.005420032024383545,
0.005026815891265869,
0.0050063362121582035,
0.005017600059509277,
0.005035007953643799,
0.005059584140777588,
0.005041152000427246,
0.005051392078399658,
0.005032959938049316,
0.005093376159667969,
0.005055488109588623,
0.005033984184265137,
0.005038080215454102,
0.00505241584777832,
0.0050360321998596195,
0.0050124797821044925,
0.005041152000427246,
0.005017600059509277,
0.005026815891265869,
0.005028863906860351,
0.005025792121887207,
0.004989952087402344,
0.005030911922454834,
0.004986879825592041,
0.00501964807510376,
0.0049827837944030765,
0.0049725441932678225,
0.005005311965942383,
0.005029888153076172,
0.00499507188796997,
0.005001215934753418,
0.005115903854370117,
0.0050135040283203125,
0.004996096134185791,
0.005015552043914795,
0.004989952087402344,
0.005024767875671386,
0.004985856056213379,
0.005004288196563721,
0.00498905611038208,
0.005044384002685547,
0.005124095916748047,
0.005004288196563721,
0.005017600059509277,
0.004999167919158935,
0.0050094079971313476,
0.004994048118591309,
0.0050032639503479,
0.005093376159667969,
0.004986879825592041,
0.00515174388885498,
0.005130239963531494,
0.0051701760292053225,
0.005163008213043213,
0.005150720119476319,
0.0051476478576660155,
0.005152768135070801,
0.0051476478576660155,
0.005180416107177735,
0.005115903854370117,
0.005210112094879151,
0.004978687763214112,
0.004997119903564453,
0.004985856056213379,
0.00497049617767334,
0.00496127986907959,
0.0050032639503479,
0.005370880126953125,
0.005220352172851562,
0.005249023914337158,
0.005185535907745361,
0.005142528057098389,
0.005185535907745361,
0.005355519771575928,
0.005238783836364746,
0.0052009282112121585,
0.0051968002319335935,
0.005204991817474365,
0.005101568222045898,
0.005150720119476319,
0.005155839920043945,
0.005154816150665284,
0.005150720119476319,
0.005173247814178467,
0.005117951869964599,
0.005173247814178467,
0.00532480001449585,
0.0052674560546875,
0.005252096176147461,
0.0051998720169067385,
0.005172224044799805,
0.005206016063690186,
0.0052111358642578124,
0.005629951953887939,
0.005230591773986816,
0.005224448204040527,
0.005239808082580567,
0.005239808082580567,
0.005153791904449463,
0.005195903778076172,
0.005215231895446777,
0.005185535907745361,
0.005183487892150879,
0.005174272060394287,
0.005186560153961181,
0.0051773438453674315,
0.005249023914337158,
0.00522547197341919,
0.005188608169555664,
0.0052111358642578124,
0.00521727991104126,
0.005144576072692871,
0.005175295829772949,
0.005181439876556396,
0.005189631938934326,
0.005156864166259765,
0.005254144191741943,
0.005173247814178467,
0.005150720119476319,
0.0052070398330688475,
0.005188608169555664,
0.005194752216339111,
0.005222400188446045,
0.005183487892150879,
0.005182464122772217,
0.005192704200744629,
0.0052674560546875,
0.00516096019744873,
0.005130271911621093,
0.005208064079284668,
0.005223423957824707,
0.005188608169555664,
0.005194752216339111,
0.005198847770690918,
0.005188608169555664
]
},
"throughput": {
"unit": "samples/s",
"value": 194.84297184923113
},
"energy": {
"unit": "kWh",
"cpu": 6.292428096415786e-08,
"ram": 3.440182247638185e-08,
"gpu": 1.2897717549206132e-07,
"total": 2.2630327893260102e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4418848.921308939
}
}
}
}