IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
29ea4e9 verified
raw
history blame
11.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": {},
"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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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": "16c37a2d0a7e1a726b6a2a50e2fbcf32df3b575c",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 899.833856,
"max_global_vram": 875.327488,
"max_process_vram": 40119.463936,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.72523046875,
"mean": 6.72523046875,
"stdev": 0.0,
"p50": 6.72523046875,
"p90": 6.72523046875,
"p95": 6.72523046875,
"p99": 6.72523046875,
"values": [
6.72523046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1019.215872,
"max_global_vram": 938.876928,
"max_process_vram": 221185.08544,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0020475411415102,
"mean": 0.00663607643140073,
"stdev": 0.0003679689989181728,
"p50": 0.0065700898170471195,
"p90": 0.006753290176391601,
"p95": 0.006851929903030395,
"p99": 0.008604892492294312,
"values": [
0.006774569988250732,
0.006744329929351807,
0.006753290176391601,
0.006924489974975586,
0.006848649978637695,
0.007966891765594482,
0.0066742501258850095,
0.00667232894897461,
0.006648330211639404,
0.00660161018371582,
0.0064982490539550785,
0.006507369995117187,
0.006478408813476563,
0.006404969215393066,
0.006314888954162597,
0.006341609001159668,
0.00630656909942627,
0.006357608795166015,
0.006328169822692871,
0.006372169017791748,
0.00924289321899414,
0.006979050159454346,
0.00977281379699707,
0.007016809940338134,
0.0065672101974487305,
0.006591049194335938,
0.006633130073547364,
0.006562409877777099,
0.006600968837738037,
0.006634890079498291,
0.006541130065917969,
0.0066310491561889645,
0.006548970222473144,
0.0065513701438903804,
0.0066787290573120115,
0.0066361699104309085,
0.006573929786682129,
0.006565608978271484,
0.0065347299575805665,
0.006580648899078369,
0.0065726499557495115,
0.0065808091163635256,
0.006502409934997558,
0.006589610099792481,
0.006535368919372559,
0.0065886502265930175,
0.00659152889251709,
0.0065988898277282715,
0.0065700898170471195,
0.00659424877166748,
0.0065848097801208495,
0.006607529163360596,
0.006655210018157959,
0.006616650104522705,
0.006604329109191894,
0.006591849803924561,
0.006533289909362793,
0.006579208850860596,
0.0065598502159118655,
0.006555849075317382,
0.006562250137329102,
0.006564009189605713,
0.006531529903411866,
0.006581289768218994,
0.006547049045562744,
0.006613130092620849,
0.006570088863372803,
0.006576650142669678,
0.00654433012008667,
0.006588809013366699,
0.006537930011749267,
0.006581288814544678,
0.006558889865875244,
0.006586888790130615,
0.00655088996887207,
0.006597609996795655,
0.006580169200897217,
0.006592010021209717,
0.0065790491104125975,
0.006582570075988769,
0.006597609996795655,
0.006584488868713379,
0.006546090126037598,
0.006549929141998291,
0.0065292901992797855,
0.006572169780731201,
0.006534568786621094,
0.006536970138549805,
0.006564009189605713,
0.006568970203399659,
0.006626248836517334,
0.006539850234985351,
0.006522890090942383,
0.006562249183654785,
0.0065280098915100095,
0.006555048942565918,
0.006539209842681885,
0.006578729152679443,
0.006535049915313721,
0.006551050186157227,
0.006522889137268066,
0.0065867300033569335,
0.006553608894348145,
0.006567850112915039,
0.006538729190826416,
0.0065886502265930175,
0.006515048980712891,
0.006541289806365967,
0.006692009925842285,
0.006840650081634521,
0.00678016996383667,
0.006784329891204834,
0.006771688938140869,
0.006908650875091553,
0.0068552098274230954,
0.006778569221496582,
0.006628650188446045,
0.006711050033569336,
0.006631529808044433,
0.006698409080505371,
0.006717289924621582,
0.006547530174255371,
0.0065342488288879395,
0.006563690185546875,
0.006513288974761963,
0.006550089836120605,
0.0065409688949584965,
0.006558249950408936,
0.0065243301391601565,
0.006547529220581055,
0.006495049953460693,
0.006529288768768311,
0.006532169818878174,
0.006536328792572021,
0.00654049015045166,
0.006590888977050781,
0.006540329933166504,
0.006584009170532226,
0.006513130187988281,
0.006540170192718506,
0.006544168949127197,
0.006542409896850586,
0.006703369140625,
0.006626249790191651,
0.00654817008972168,
0.006628969192504883,
0.006545289993286133,
0.0065948891639709475,
0.0065364899635314945,
0.0066315288543701174,
0.006527208805084229
]
},
"throughput": {
"unit": "samples/s",
"value": 150.69145305020575
},
"energy": null,
"efficiency": null
}
}
}