IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0841df9 verified
raw
history blame
10.2 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": "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",
"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.2.1",
"optimum_benchmark_commit": "d8c451da5aac8852b6a6e83b9b56a2aa6f007535",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1002.377216,
"max_global_vram": 1910.923264,
"max_process_vram": 228171.137024,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.003251673221588,
"mean": 0.007543245663320212,
"stdev": 0.0003242987937486437,
"p50": 0.0074259271621704105,
"p90": 0.008143110847473144,
"p95": 0.008234023857116699,
"p99": 0.008523918457031252,
"values": [
0.007883206844329834,
0.00797168779373169,
0.007494407176971436,
0.008430567741394043,
0.008818729400634766,
0.008567848205566407,
0.008424488067626953,
0.008198408126831055,
0.007790727138519287,
0.0076472067832946775,
0.007573448181152344,
0.007427046775817871,
0.0073336071968078615,
0.007312966823577881,
0.007280326843261718,
0.007294246196746826,
0.007294405937194824,
0.0072577672004699705,
0.00724912691116333,
0.00726160717010498,
0.007245286941528321,
0.007303687095642089,
0.007285767078399659,
0.007251367092132568,
0.0073793668746948244,
0.00732176685333252,
0.007304327011108398,
0.007375047206878662,
0.007278886795043946,
0.007280006885528565,
0.007324646949768066,
0.007455367088317871,
0.007557446956634521,
0.007539846897125244,
0.007462407112121582,
0.007488486766815186,
0.007434247016906738,
0.007305767059326172,
0.007342086791992187,
0.007312966823577881,
0.007329287052154541,
0.007509928226470947,
0.0075635271072387695,
0.007527367115020752,
0.007443367004394531,
0.007369926929473877,
0.007352167129516601,
0.007299366950988769,
0.007521926879882812,
0.007278407096862793,
0.007307046890258789,
0.007297447204589844,
0.0073408069610595705,
0.007293607234954834,
0.007303047180175781,
0.007320967197418213,
0.007260966777801514,
0.0073976068496704106,
0.007408007144927979,
0.0074283270835876465,
0.007332807064056397,
0.007300646781921387,
0.007905127048492432,
0.008163687705993652,
0.008108807563781737,
0.007797286987304687,
0.007653447151184082,
0.007641928195953369,
0.007594246864318848,
0.007609766960144043,
0.0076252870559692385,
0.007659687995910645,
0.007719847202301025,
0.007648326873779297,
0.007705927848815918,
0.007678566932678222,
0.007690247058868408,
0.00767136812210083,
0.007729446887969971,
0.007678407192230225,
0.008016488075256348,
0.007645287036895752,
0.007614566802978516,
0.007542247772216797,
0.008151686668395997,
0.008176808357238769,
0.008158087730407715,
0.007719206809997559,
0.007339527130126953,
0.007327207088470459,
0.0074259271621704105,
0.007287207126617431,
0.0074406471252441405,
0.007302406787872314,
0.00735328722000122,
0.007301287174224853,
0.0073268871307373045,
0.007306887149810791,
0.007303047180175781,
0.007304007053375244,
0.007356166839599609,
0.00732608699798584,
0.007488807201385498,
0.007292006969451904,
0.007242247104644776,
0.007353607177734375,
0.007283206939697266,
0.008276647567749023,
0.008188008308410644,
0.007839366912841797,
0.008280167579650879,
0.008246888160705566,
0.00822544765472412,
0.007692807197570801,
0.007598086833953858,
0.007584647178649902,
0.007655367851257324,
0.007653767108917236,
0.007605766773223877,
0.007628167152404785,
0.007520167827606201,
0.00728592586517334,
0.0072907271385192875,
0.007388967037200928,
0.007243846893310547,
0.007314887046813965,
0.007301446914672852,
0.007318727016448975,
0.007299366950988769,
0.007322086811065674,
0.007315367221832275,
0.00725024700164795,
0.007311366081237793
]
},
"throughput": {
"unit": "samples/s",
"value": 132.56892916302596
},
"energy": null,
"efficiency": null
}
}
}