IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e689160 verified
raw
history blame
10.9 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": {},
"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": 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": "2a33a472f309c43b5bd16946ef9cec843d02f70a",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1015.353344,
"max_global_vram": 938.901504,
"max_process_vram": 228172.26752,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0015666913986205,
"mean": 0.006767342509450139,
"stdev": 0.0004623637648779849,
"p50": 0.006515748500823974,
"p90": 0.007351458978652955,
"p95": 0.007488370037078858,
"p99": 0.007827749691009522,
"values": [
0.007886705875396728,
0.007716145992279053,
0.007566386222839355,
0.007761267185211182,
0.007690066814422607,
0.007638865947723388,
0.007345907211303711,
0.007348146915435791,
0.007299827098846435,
0.00730014705657959,
0.007359187126159668,
0.007270866870880127,
0.007513906002044678,
0.007193747043609619,
0.00716350793838501,
0.0071412668228149415,
0.007104466915130616,
0.007278546810150146,
0.007092947006225586,
0.00706574821472168,
0.007176307201385498,
0.007172946929931641,
0.007154547214508057,
0.007107347965240479,
0.007136147022247314,
0.00706702709197998,
0.007164147853851319,
0.007098066806793213,
0.007040787220001221,
0.00717982816696167,
0.010218701362609862,
0.006891987800598145,
0.006510387897491455,
0.0064449491500854494,
0.006442708015441894,
0.006459188938140869,
0.006433268070220947,
0.0064235091209411625,
0.006456947803497314,
0.006469268798828125,
0.006443027973175049,
0.006428149223327637,
0.006457427978515625,
0.006440948963165283,
0.006441748142242432,
0.006443189144134521,
0.006475508213043213,
0.006543188095092773,
0.006519989013671875,
0.0064780678749084475,
0.006506548881530762,
0.006472308158874512,
0.006527187824249267,
0.006479029178619385,
0.006703988075256347,
0.006492467880249023,
0.006480628967285156,
0.006476468086242676,
0.006488469123840332,
0.006458067893981933,
0.00649102783203125,
0.0064590291976928714,
0.006488627910614013,
0.006564949035644531,
0.00650734806060791,
0.006500627994537354,
0.00650830888748169,
0.006519028186798096,
0.006586068153381348,
0.006523348808288574,
0.006491347789764405,
0.006469748973846436,
0.006534547805786133,
0.006734707832336426,
0.006692307949066162,
0.006541428089141846,
0.006489268779754639,
0.006489428043365478,
0.0064833488464355465,
0.006505427837371826,
0.0064878277778625485,
0.006465748786926269,
0.006489587783813477,
0.006483829021453858,
0.007003346920013428,
0.006621267795562744,
0.006677749156951904,
0.006680947780609131,
0.006499988079071045,
0.00648446798324585,
0.0064755091667175295,
0.006464948177337646,
0.006502068996429443,
0.006626388072967529,
0.006650867938995361,
0.006493587970733642,
0.00650830888748169,
0.00648878812789917,
0.006479989051818848,
0.006483667850494384,
0.006510387897491455,
0.006462228775024414,
0.006636948108673096,
0.006438868999481201,
0.006483667850494384,
0.006477108001708984,
0.00649246883392334,
0.0064566278457641605,
0.00648910903930664,
0.0064945478439331055,
0.006497108936309814,
0.0064891080856323245,
0.006487028121948242,
0.00696478796005249,
0.007411986827850342,
0.007369586944580078,
0.007440946102142334,
0.007363827228546143,
0.007364147186279297,
0.0073639869689941405,
0.006677748203277588,
0.006932308197021484,
0.0068990268707275395,
0.00686270809173584,
0.00687310791015625,
0.006943986892700195,
0.006978707790374756,
0.00676942777633667,
0.00688942813873291,
0.006931827068328857,
0.006869907855987549,
0.006770708084106445,
0.006688787937164307,
0.006468468189239502,
0.006465589046478272,
0.006458868026733398,
0.0067527880668640135,
0.006593908786773682,
0.006466547966003418,
0.00646910810470581,
0.006461588859558105,
0.006499028205871582,
0.006469429016113281,
0.006472628116607666,
0.006512468814849854,
0.0064655871391296384,
0.006473429203033447,
0.00656414794921875
]
},
"throughput": {
"unit": "samples/s",
"value": 147.7684923740105
},
"energy": null,
"efficiency": null
}
}
}