IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c88cbaf verified
raw
history blame
9.76 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": "56d026bf244c6516d8cb780280ce7cc6505f270e",
"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.512384,
"max_global_vram": 1910.92736,
"max_process_vram": 243222.843392,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 123,
"total": 1.00306073474884,
"mean": 0.008154965323161303,
"stdev": 0.0002024539919139246,
"p50": 0.008142732620239257,
"p90": 0.008332236480712891,
"p95": 0.008441804599761963,
"p99": 0.008616003246307373,
"values": [
0.009360654830932617,
0.008069131851196289,
0.008058411598205566,
0.008162253379821778,
0.008263532638549804,
0.008287212371826173,
0.00822721290588379,
0.008203212738037109,
0.008144652366638184,
0.008153292655944824,
0.008069931983947754,
0.007988492012023925,
0.007990091800689698,
0.008032333374023438,
0.00805281162261963,
0.00798561191558838,
0.008020173072814942,
0.007990571975708008,
0.008116171836853028,
0.008056492805480956,
0.007987371921539307,
0.00805489158630371,
0.008081612586975097,
0.008226251602172852,
0.008187373161315918,
0.008216172218322755,
0.00825057315826416,
0.00814977264404297,
0.008098092079162598,
0.008079212188720703,
0.008047533035278321,
0.008072491645812988,
0.008090572357177734,
0.008077452659606934,
0.00815585231781006,
0.008035053253173828,
0.008030571937561036,
0.008461453437805177,
0.00864145278930664,
0.00848465347290039,
0.0082921724319458,
0.008263532638549804,
0.008232812881469726,
0.008232332229614258,
0.008188332557678223,
0.0081624116897583,
0.00813265323638916,
0.008270892143249511,
0.008217291831970215,
0.008244173049926758,
0.008128332138061524,
0.008138413429260255,
0.008121452331542968,
0.008080971717834473,
0.008198573112487792,
0.008518572807312011,
0.00852577304840088,
0.008434892654418946,
0.008359533309936523,
0.008360333442687988,
0.008442572593688965,
0.008301133155822754,
0.008336332321166992,
0.008265453338623047,
0.008217132568359375,
0.008222572326660156,
0.008209293365478515,
0.008166892051696777,
0.008237933158874512,
0.008315853118896484,
0.008103692054748535,
0.008070893287658691,
0.00809857177734375,
0.008098092079162598,
0.008086413383483886,
0.008087692260742187,
0.008106093406677246,
0.008131052017211914,
0.008148971557617188,
0.008057292938232421,
0.008170251846313476,
0.00813169288635254,
0.008231532096862794,
0.00842369270324707,
0.008312493324279786,
0.008361772537231445,
0.008199212074279785,
0.008130892753601075,
0.008145771980285644,
0.008164652824401855,
0.008149931907653809,
0.008115853309631348,
0.00812193202972412,
0.008104493141174316,
0.008151851654052734,
0.0080977725982666,
0.008217771530151368,
0.00813217258453369,
0.008172652244567872,
0.008155693054199218,
0.008204812049865723,
0.008135852813720703,
0.008154252052307128,
0.00807761287689209,
0.008025132179260253,
0.008169293403625488,
0.008140972137451172,
0.00811137294769287,
0.008096491813659668,
0.008082411766052245,
0.008083373069763184,
0.008165931701660157,
0.008142732620239257,
0.008125612258911133,
0.008180333137512206,
0.008107372283935547,
0.008097132682800294,
0.007554891109466552,
0.007546411991119385,
0.007872171878814697,
0.007896650791168212,
0.007530570983886719,
0.007399211883544922
]
},
"throughput": {
"unit": "samples/s",
"value": 122.62467838579921
},
"energy": null,
"efficiency": null
}
}
}