IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ab68df5 verified
raw
history blame
10.1 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",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.0",
"optimum_benchmark_commit": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1001.500672,
"max_global_vram": 930.562048,
"max_process_vram": 236889.645056,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.006110556125641,
"mean": 0.007739311970197236,
"stdev": 0.0002672115651695585,
"p50": 0.007756392955780029,
"p90": 0.007922631835937501,
"p95": 0.008133086061477661,
"p99": 0.008298235654830932,
"values": [
0.009126458168029785,
0.008025190353393555,
0.007867912769317626,
0.007892713069915772,
0.00788183307647705,
0.007871272087097168,
0.007851592063903809,
0.007838152885437011,
0.007829032897949218,
0.0077227940559387205,
0.007691274166107178,
0.007707434177398682,
0.0077063140869140625,
0.007734633922576904,
0.0076779937744140625,
0.007695273876190185,
0.007756234169006348,
0.007755434036254883,
0.007781993865966797,
0.007712553977966308,
0.007716713905334472,
0.007735273838043213,
0.007773993968963623,
0.00773591423034668,
0.00775687313079834,
0.007921031951904297,
0.007937030792236328,
0.007821352958679199,
0.007853353023529052,
0.0078058338165283205,
0.007782793998718261,
0.007750312805175782,
0.007792393207550049,
0.007867592811584473,
0.007799912929534912,
0.007814952850341797,
0.0078005528450012206,
0.007805353164672852,
0.007817512989044189,
0.007785353183746338,
0.00781687307357788,
0.007788712978363037,
0.007799273014068604,
0.00784743309020996,
0.007830632209777833,
0.007840713024139405,
0.007800872802734375,
0.007909832000732421,
0.007892073154449463,
0.007880552768707276,
0.00787607192993164,
0.00788487195968628,
0.007853831768035889,
0.007852073192596436,
0.007851431846618653,
0.008108389854431153,
0.008240867614746093,
0.008233508110046387,
0.008148710250854492,
0.00811398983001709,
0.008321667671203613,
0.008171428680419921,
0.008195428848266602,
0.007965510845184326,
0.00788647222518921,
0.007875752925872804,
0.007995269775390624,
0.007858313083648682,
0.0077435941696166995,
0.0077863140106201175,
0.0077816729545593264,
0.007749194145202636,
0.007781033039093018,
0.007733193874359131,
0.007756392955780029,
0.007780872821807862,
0.007723594188690185,
0.007722474098205566,
0.007744393825531006,
0.007694314002990723,
0.0076976737976074214,
0.007747273921966552,
0.007721834182739258,
0.007725354194641113,
0.007753832817077637,
0.0077655138969421385,
0.007725994110107422,
0.0077559127807617185,
0.007700714111328125,
0.007712073802947998,
0.007673355102539062,
0.007753832817077637,
0.007700715065002441,
0.0077203941345214844,
0.007779913902282715,
0.007722953796386719,
0.007794473171234131,
0.007710154056549072,
0.007540235996246338,
0.0077136740684509274,
0.007233839035034179,
0.0070602412223815915,
0.007246319770812988,
0.007633355140686035,
0.007285038948059082,
0.007239919185638427,
0.007280398845672607,
0.007586315155029297,
0.007245679855346679,
0.007552556037902832,
0.007920231819152832,
0.007189199924468994,
0.006964241981506348,
0.007221839904785156,
0.007239599227905274,
0.007286959171295166,
0.007038321018218994,
0.007293999195098877,
0.007399117946624756,
0.007499756813049316,
0.0072893590927124025,
0.007756392955780029,
0.007707112789154052,
0.007617034912109375,
0.007650475025177002,
0.007306159019470215,
0.007813512802124023,
0.007605035781860351,
0.0077621531486511235,
0.007732714176177978
]
},
"throughput": {
"unit": "samples/s",
"value": 129.21045227932774
},
"energy": null,
"efficiency": null
}
}
}