IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e4c9612 verified
raw
history blame
13.8 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.285632,
"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.4.0",
"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.89184,
"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.194900390625,
"mean": 7.194900390625,
"stdev": 0.0,
"p50": 7.194900390625,
"p90": 7.194900390625,
"p95": 7.194900390625,
"p99": 7.194900390625,
"values": [
7.194900390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.388789534568787e-07,
"ram": 4.987036599942485e-07,
"gpu": 1.8750015000003513e-06,
"total": 3.3125841134514784e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.64,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 186,
"total": 1.001992190361023,
"mean": 0.00538705478688722,
"stdev": 0.00021601446825687966,
"p50": 0.0053662719726562495,
"p90": 0.005669375896453857,
"p95": 0.0057500159740447995,
"p99": 0.006058291339874269,
"values": [
0.006244351863861084,
0.006199295997619629,
0.005860352039337159,
0.005766143798828125,
0.00563097620010376,
0.005543935775756836,
0.005747712135314941,
0.005534719944000244,
0.0054906878471374515,
0.005568511962890625,
0.005421055793762207,
0.005448703765869141,
0.00542310380935669,
0.005440512180328369,
0.005530623912811279,
0.005447679996490478,
0.005320703983306885,
0.005319680213928223,
0.005318655967712403,
0.005493760108947754,
0.005697535991668701,
0.005675007820129394,
0.005912576198577881,
0.0054988799095153805,
0.005431295871734619,
0.005559296131134033,
0.005405695915222168,
0.005389311790466309,
0.005390336036682129,
0.005426176071166992,
0.005496831893920898,
0.0054579200744628905,
0.00546611213684082,
0.005509119987487793,
0.0054271998405456545,
0.0054241280555725096,
0.005471231937408447,
0.005422080039978027,
0.005601280212402344,
0.005463039875030518,
0.005445631980895996,
0.005554175853729248,
0.005368832111358642,
0.005239808082580567,
0.005550079822540284,
0.005750783920288086,
0.006033408164978027,
0.00566374397277832,
0.00552345609664917,
0.005658624172210694,
0.005603328227996827,
0.005697535991668701,
0.005422080039978027,
0.005472256183624268,
0.005588992118835449,
0.005434368133544922,
0.005505023956298828,
0.0054271998405456545,
0.005435391902923584,
0.005402624130249023,
0.005339136123657226,
0.005361663818359375,
0.0055101442337036136,
0.005420032024383545,
0.00535859203338623,
0.005425151824951172,
0.0053944320678710935,
0.005631999969482422,
0.005633024215698243,
0.0054917120933532714,
0.005653503894805908,
0.0053606400489807126,
0.005380095958709717,
0.005545983791351319,
0.0053637118339538575,
0.005310463905334473,
0.005429247856140137,
0.005326848030090332,
0.005345280170440674,
0.005411839962005615,
0.005322751998901368,
0.005336063861846924,
0.005402624130249023,
0.005379072189331055,
0.005897215843200684,
0.005736447811126709,
0.0057149438858032225,
0.005754879951477051,
0.005730303764343261,
0.005767168045043946,
0.005448703765869141,
0.005467135906219483,
0.005449728012084961,
0.0053975038528442385,
0.005361663818359375,
0.005306367874145508,
0.005448703765869141,
0.005361663818359375,
0.0052367358207702636,
0.005227519989013672,
0.005087232112884522,
0.005152768135070801,
0.005255167961120606,
0.005323775768280029,
0.005220352172851562,
0.005028863906860351,
0.00502784013748169,
0.005250048160552978,
0.005530623912811279,
0.005435391902923584,
0.00542310380935669,
0.005475327968597412,
0.005464064121246338,
0.005443583965301513,
0.005481472015380859,
0.005517312049865723,
0.005596159934997558,
0.005695487976074219,
0.005595136165618897,
0.005328896045684814,
0.005278719902038574,
0.005745664119720459,
0.0053043198585510255,
0.005265408039093018,
0.005341184139251709,
0.005262335777282715,
0.005268479824066162,
0.0052971520423889164,
0.005244927883148193,
0.005250048160552978,
0.005284863948822022,
0.005241856098175048,
0.005237760066986084,
0.005269504070281982,
0.005231616020202637,
0.005219327926635742,
0.005215231895446777,
0.005230591773986816,
0.005214208126068115,
0.005195775985717774,
0.0052336640357971195,
0.005228544235229492,
0.005273600101470947,
0.005268479824066162,
0.005241856098175048,
0.005201920032501221,
0.005253119945526123,
0.005032959938049316,
0.0050124797821044925,
0.005032959938049316,
0.0050462718009948735,
0.005025792121887207,
0.005000192165374756,
0.005000192165374756,
0.0050124797821044925,
0.00501964807510376,
0.005026815891265869,
0.0050063362121582035,
0.005022719860076904,
0.0051476478576660155,
0.0052633600234985355,
0.005243904113769531,
0.005194752216339111,
0.005212160110473632,
0.005215231895446777,
0.00520908784866333,
0.005230591773986816,
0.005188608169555664,
0.005228544235229492,
0.0051998720169067385,
0.005208064079284668,
0.005215231895446777,
0.005239808082580567,
0.005202943801879883,
0.005257215976715088,
0.0052111358642578124,
0.00522649621963501,
0.005228544235229492,
0.005224448204040527,
0.005210112094879151,
0.0053637118339538575,
0.005243904113769531,
0.005223423957824707,
0.005193727970123291,
0.00521727991104126,
0.00522649621963501
]
},
"throughput": {
"unit": "samples/s",
"value": 185.63018932610967
},
"energy": {
"unit": "kWh",
"cpu": 6.148867828103408e-08,
"ram": 3.359836033582323e-08,
"gpu": 1.385680440725384e-07,
"total": 2.336550826893957e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4279812.741455867
}
}
}
}