IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1b6098b verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "5",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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": 1034.399744,
"max_global_vram": 68702.69952,
"max_process_vram": 44947.423232,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.1447783203125,
"mean": 8.1447783203125,
"stdev": 0.0,
"p50": 8.1447783203125,
"p90": 8.1447783203125,
"p95": 8.1447783203125,
"p99": 8.1447783203125,
"values": [
8.1447783203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1164.197888,
"max_global_vram": 68702.69952,
"max_process_vram": 225674.031104,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.0039466438293458,
"mean": 0.007548471006235681,
"stdev": 0.0015299985621818849,
"p50": 0.0075959739685058595,
"p90": 0.007701221942901611,
"p95": 0.007799845504760742,
"p99": 0.014211061820983901,
"values": [
0.007720452785491943,
0.007671974182128906,
0.007859333038330078,
0.007679014205932617,
0.007774373054504394,
0.007655014038085937,
0.007681253910064697,
0.007644773960113526,
0.007890052795410156,
0.007679654121398926,
0.007702534198760986,
0.007703972816467285,
0.007672294139862061,
0.0076724538803100584,
0.007660614013671875,
0.007695972919464111,
0.007727014064788818,
0.007329734802246093,
0.007442214012145996,
0.007626853942871094,
0.007566693782806396,
0.00751005506515503,
0.007329574108123779,
0.007838054180145264,
0.007270215034484863,
0.007506534099578858,
0.0076724538803100584,
0.007668774127960205,
0.007631653785705566,
0.0076154937744140625,
0.00762973403930664,
0.0076154937744140625,
0.007652453899383545,
0.007616773128509522,
0.0076572542190551755,
0.0076460537910461425,
0.007645733833312988,
0.014887309074401856,
0.007743173122406006,
0.007675494194030762,
0.007645413875579834,
0.0076455740928649905,
0.007639974117279053,
0.0075959739685058595,
0.007656453132629394,
0.007647493839263916,
0.007611653804779053,
0.007625574111938476,
0.00762317419052124,
0.007669573783874512,
0.007641893863677978,
0.0076433329582214354,
0.007661573886871338,
0.007643814086914062,
0.0076081337928771975,
0.007668454170227051,
0.007643972873687744,
0.007654533863067627,
0.007647654056549072,
0.0076284542083740236,
0.007663814067840577,
0.007670053005218506,
0.007670534133911133,
0.00767997407913208,
0.012774036407470704,
0.0076154937744140625,
0.0076388540267944335,
0.007662213802337646,
0.007636134147644043,
0.007420293807983399,
0.007280294895172119,
0.007115015983581543,
0.007062215805053711,
0.006970536231994629,
0.0070658960342407226,
0.007170215129852295,
0.007293894767761231,
0.007220294952392578,
0.007059336185455322,
0.007167816162109375,
0.007138694763183594,
0.007119815826416015,
0.006989416122436524,
0.007128614902496338,
0.007118216037750244,
0.007131976127624512,
0.007019336223602295,
0.007042215824127197,
0.007117414951324463,
0.00675741720199585,
0.0067727770805358885,
0.006748136997222901,
0.006700296878814697,
0.011966038703918457,
0.0066943769454956056,
0.0067110171318054196,
0.006693737030029297,
0.006752457141876221,
0.00672957706451416,
0.006779496192932129,
0.006751817226409912,
0.006746216773986817,
0.006955656051635742,
0.006740616798400879,
0.006810216903686523,
0.006742856979370117,
0.00679069709777832,
0.006767816066741943,
0.006730377197265625,
0.006733256816864014,
0.006739017009735108,
0.006819177150726319,
0.0069974160194396975,
0.00680877685546875,
0.0068414158821105955,
0.006712296962738037,
0.006774217128753662,
0.006783017158508301,
0.00676013708114624,
0.0067679758071899415,
0.006782697200775146,
0.00673181676864624,
0.006772936820983887,
0.006762217044830323,
0.006781257152557373,
0.00677069616317749,
0.007255015850067138,
0.0077034921646118165,
0.007631814002990723,
0.0076810941696166994,
0.007327014923095703,
0.00725949478149414,
0.021094968795776367
]
},
"throughput": {
"unit": "samples/s",
"value": 132.4771598346095
},
"energy": null,
"efficiency": null
}
}
}