IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a34ed22 verified
raw
history blame
13.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 793.616384,
"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.82335693359375,
"mean": 7.82335693359375,
"stdev": 0.0,
"p50": 7.82335693359375,
"p90": 7.82335693359375,
"p95": 7.82335693359375,
"p99": 7.82335693359375,
"values": [
7.82335693359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.154620180558325e-07,
"ram": 4.861637905530939e-07,
"gpu": 1.6461124279997484e-06,
"total": 3.0477382366086748e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1049.071616,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 174,
"total": 1.003320576667786,
"mean": 0.005766210210734401,
"stdev": 0.0002074473629998292,
"p50": 0.005801983833312988,
"p90": 0.005986099243164063,
"p95": 0.006087065696716309,
"p99": 0.006338990058898927,
"values": [
0.006182911872863769,
0.006326272010803223,
0.00637337589263916,
0.006576128005981445,
0.00621670389175415,
0.006105088233947754,
0.006057983875274659,
0.005987328052520752,
0.006025216102600098,
0.005934080123901367,
0.006078464031219482,
0.005964799880981446,
0.005981184005737304,
0.0059054079055786135,
0.005983232021331787,
0.006176767826080322,
0.0060590081214904785,
0.005886975765228271,
0.005766143798828125,
0.005668863773345947,
0.00568832015991211,
0.005794816017150879,
0.005758975982666016,
0.0058726401329040525,
0.005946368217468262,
0.005895167827606201,
0.005903359889984131,
0.00597811222076416,
0.005897215843200684,
0.006008831977844238,
0.005863423824310303,
0.005849088191986084,
0.006103040218353272,
0.005899263858795166,
0.0058757119178771975,
0.005876736164093017,
0.005880832195281982,
0.0059351038932800295,
0.005849088191986084,
0.005851136207580566,
0.005856256008148194,
0.005822463989257813,
0.005858304023742676,
0.0058419198989868165,
0.005925888061523437,
0.005832704067230224,
0.005774335861206055,
0.005684224128723145,
0.005769216060638428,
0.00580515193939209,
0.005773312091827393,
0.0058122239112854005,
0.005801983833312988,
0.005834752082824707,
0.005904384136199951,
0.005836800098419189,
0.005843967914581299,
0.005890048027038574,
0.005886975765228271,
0.005873663902282715,
0.005895167827606201,
0.005868544101715088,
0.006187007904052734,
0.005957632064819336,
0.005849088191986084,
0.005801983833312988,
0.005796864032745362,
0.005898240089416504,
0.005989376068115234,
0.005879807949066162,
0.005855231761932373,
0.0058429441452026365,
0.005896192073822021,
0.005793791770935058,
0.005740543842315674,
0.00573747205734253,
0.0058122239112854005,
0.005754879951477051,
0.005745664119720459,
0.005910528182983398,
0.005860352039337159,
0.005733376026153565,
0.005775360107421875,
0.005817344188690185,
0.005851136207580566,
0.005823488235473633,
0.005846015930175781,
0.005808127880096436,
0.005764095783233642,
0.005745664119720459,
0.00587059211730957,
0.005908480167388916,
0.0059351038932800295,
0.005814271926879883,
0.005857279777526855,
0.005873663902282715,
0.005889023780822754,
0.005855231761932373,
0.005863423824310303,
0.005858304023742676,
0.005945343971252442,
0.005753856182098388,
0.005751808166503906,
0.005992447853088379,
0.005790719985961914,
0.005739520072937012,
0.005740543842315674,
0.005697535991668701,
0.005603328227996827,
0.0056852798461914066,
0.005819392204284668,
0.005641215801239013,
0.00553984022140503,
0.005529600143432617,
0.005495808124542236,
0.005455872058868408,
0.005660672187805176,
0.005816319942474365,
0.005996543884277344,
0.005772287845611572,
0.0057712640762329105,
0.005798912048339844,
0.005908480167388916,
0.0058122239112854005,
0.005700607776641845,
0.00557260799407959,
0.005600255966186523,
0.005534719944000244,
0.005615615844726562,
0.005557248115539551,
0.005760000228881836,
0.0055797758102417,
0.0054988799095153805,
0.005481503963470459,
0.005464064121246338,
0.005438464164733887,
0.0055214080810546875,
0.005454847812652588,
0.0054282240867614745,
0.005499904155731201,
0.005511168003082275,
0.005458943843841553,
0.00547430419921875,
0.005447679996490478,
0.005505023956298828,
0.005439487934112549,
0.005464064121246338,
0.005434368133544922,
0.005465087890625,
0.005469183921813964,
0.005504000186920166,
0.005504000186920166,
0.005499904155731201,
0.005443583965301513,
0.005505023956298828,
0.005713920116424561,
0.005485568046569824,
0.005692512035369873,
0.005505023956298828,
0.005484543800354004,
0.005559296131134033,
0.005511168003082275,
0.005537792205810547,
0.005512191772460938,
0.005504000186920166,
0.005552127838134766,
0.005538815975189209,
0.005486591815948487,
0.00551526403427124,
0.005501952171325684,
0.005508096218109131,
0.005512191772460938,
0.0055244798660278325,
0.005547008037567139
]
},
"throughput": {
"unit": "samples/s",
"value": 173.42413187406797
},
"energy": {
"unit": "kWh",
"cpu": 6.351592853535395e-08,
"ram": 3.472495685508095e-08,
"gpu": 1.273693829411772e-07,
"total": 2.2561026833161214e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4432422.368870883
}
}
}
}