IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2ab2b9c verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "5ae03a669d2c4893dc609854294ec3bac19528a3",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.330624,
"max_global_vram": 875.331584,
"max_process_vram": 45510.885376,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.25769580078125,
"mean": 7.25769580078125,
"stdev": 0.0,
"p50": 7.25769580078125,
"p90": 7.25769580078125,
"p95": 7.25769580078125,
"p99": 7.25769580078125,
"values": [
7.25769580078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.056704,
"max_global_vram": 938.262528,
"max_process_vram": 256038.805504,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0054420580863945,
"mean": 0.007734169677587657,
"stdev": 0.00032141300608129215,
"p50": 0.007741222858428955,
"p90": 0.008080068969726562,
"p95": 0.008309394311904906,
"p99": 0.008506296863555909,
"values": [
0.008105701446533203,
0.00821065902709961,
0.008503457069396973,
0.00850745677947998,
0.00848537826538086,
0.0084010591506958,
0.008390177726745605,
0.008200739860534668,
0.008137539863586426,
0.008174019813537598,
0.008077220916748047,
0.00749322509765625,
0.009540410041809081,
0.00848489761352539,
0.007780103206634521,
0.008175620079040527,
0.007734823226928711,
0.007814183235168456,
0.007757062911987305,
0.007702823162078857,
0.007811943054199219,
0.007833541870117188,
0.007820103168487549,
0.007738502979278564,
0.0076981840133666995,
0.007793382167816162,
0.0077668228149414065,
0.007713223934173584,
0.0077332229614257815,
0.007830821990966796,
0.007746663093566895,
0.007942182064056396,
0.007809543132781983,
0.007757543087005615,
0.007762823104858398,
0.007759462833404541,
0.007770823001861572,
0.0077492232322692875,
0.007695783138275147,
0.007758022785186768,
0.007714503765106201,
0.007664422988891601,
0.007731142997741699,
0.007695464134216309,
0.007700102806091309,
0.007687304019927978,
0.00765066385269165,
0.007712583065032959,
0.007692903995513916,
0.007714023113250732,
0.00768522310256958,
0.007695144176483155,
0.007659783840179443,
0.00775242280960083,
0.007727622985839844,
0.007715463161468506,
0.007697703838348388,
0.007728262901306153,
0.007729863166809082,
0.007742342948913575,
0.007755143165588379,
0.007732744216918945,
0.007753704071044922,
0.007738983154296875,
0.007714023113250732,
0.007679944038391113,
0.007767142772674561,
0.007713862895965576,
0.0077388229370117185,
0.00771146297454834,
0.007689544200897217,
0.007764583110809326,
0.007789863109588623,
0.007768902778625488,
0.0077527427673339845,
0.007833702087402344,
0.007710982799530029,
0.007719143867492676,
0.0078020219802856445,
0.007776583194732666,
0.007783143043518066,
0.007754982948303223,
0.007827302932739259,
0.007740102767944336,
0.0078018631935119626,
0.007823462009429932,
0.007751623153686524,
0.007774662971496582,
0.007798502922058106,
0.007759142875671387,
0.007795941829681396,
0.007778182983398437,
0.007738342761993408,
0.007786182880401611,
0.007854503154754638,
0.0077639431953430175,
0.007766343116760254,
0.00785194206237793,
0.007356266021728516,
0.007381065845489502,
0.00733418607711792,
0.007503785133361816,
0.007537223815917969,
0.007222187042236328,
0.007131467819213868,
0.007191946983337402,
0.007687623977661133,
0.007515944957733154,
0.007730023860931396,
0.007752102851867676,
0.007770503044128418,
0.007642504215240479,
0.007365865230560303,
0.007302186965942383,
0.0073983449935913085,
0.007482824802398681,
0.007281386852264404,
0.007095468044281006,
0.007331625938415527,
0.0073204259872436525,
0.007178028106689453,
0.0070402688980102535,
0.007022027969360352,
0.006899469852447509,
0.007076268196105957,
0.007502664089202881,
0.007774982929229736,
0.007793222904205322,
0.007738502979278564,
0.0077522630691528325
]
},
"throughput": {
"unit": "samples/s",
"value": 129.29636168932709
},
"energy": null,
"efficiency": null
}
}
}