IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3781c53 verified
raw
history blame
11.4 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.4.0",
"optimum_benchmark_commit": "2680e6fb8019f9b6eb6fcaa00b283acdac4d3d3d",
"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": 898.011136,
"max_global_vram": 875.339776,
"max_process_vram": 42543.669248,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.7023974609375,
"mean": 6.7023974609375,
"stdev": 0.0,
"p50": 6.7023974609375,
"p90": 6.7023974609375,
"p95": 6.7023974609375,
"p99": 6.7023974609375,
"values": [
6.7023974609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.606144,
"max_global_vram": 938.88512,
"max_process_vram": 221187.035136,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0013243818283082,
"mean": 0.007203772531138908,
"stdev": 0.006009108302492486,
"p50": 0.006592485904693603,
"p90": 0.0067781499862670895,
"p95": 0.006851990032196045,
"p99": 0.012923777465820352,
"values": [
0.006814085960388184,
0.006626245975494385,
0.006514565944671631,
0.006547365188598633,
0.006520646095275879,
0.007595046997070313,
0.006559205055236816,
0.006609126091003418,
0.006575046062469482,
0.006550564765930176,
0.006551365852355957,
0.0065632061958312985,
0.006537604808807373,
0.0065368061065673826,
0.006574406147003174,
0.006573925018310547,
0.006601446151733399,
0.006582726001739502,
0.07713670349121093,
0.007365447044372558,
0.006773766040802002,
0.0066433649063110355,
0.0065275259017944336,
0.006545125961303711,
0.006520164966583252,
0.006689606189727783,
0.006796006202697754,
0.006732326030731201,
0.006661925792694092,
0.006700644969940186,
0.006625606060028076,
0.006628325939178467,
0.006604485988616944,
0.006648324966430664,
0.0065894460678100585,
0.006603685855865479,
0.0065844860076904295,
0.006606564998626709,
0.006569285869598388,
0.0065912060737609865,
0.0065676851272583004,
0.0066696062088012695,
0.006592966079711914,
0.006586085796356201,
0.0065956850051879885,
0.006618246078491211,
0.00661168622970581,
0.006598565101623535,
0.00659872579574585,
0.006589126110076904,
0.006565925121307373,
0.0066176061630249024,
0.006593286037445068,
0.00659920597076416,
0.006570724964141845,
0.006583045959472656,
0.006589126110076904,
0.006592965126037598,
0.006547046184539795,
0.01618977355957031,
0.0065752058029174805,
0.006658246040344238,
0.006579524993896484,
0.006618885993957519,
0.00657904577255249,
0.006668964862823487,
0.006716966152191162,
0.006670566082000733,
0.0065894460678100585,
0.0065982451438903805,
0.006584646224975586,
0.006584005832672119,
0.006576964855194092,
0.006556806087493897,
0.006595046043395996,
0.006620645999908447,
0.006562405109405518,
0.006593445777893067,
0.006575685977935791,
0.00659392499923706,
0.006694086074829101,
0.006642086029052734,
0.006592485904693603,
0.006592645168304444,
0.006795685768127441,
0.006873445987701416,
0.006889925956726074,
0.006834246158599853,
0.006676486015319824,
0.006725605964660645,
0.0068473658561706546,
0.0068323249816894535,
0.006849606037139893,
0.006887045860290528,
0.00669040584564209,
0.006725605964660645,
0.006666726112365723,
0.006633446216583252,
0.0066886448860168455,
0.006555525779724121,
0.006576005935668945,
0.006592804908752441,
0.006592165946960449,
0.006624485969543457,
0.006552324771881103,
0.006573444843292237,
0.0065368061065673826,
0.006564005851745606,
0.006542085170745849,
0.006561766147613526,
0.006535525798797607,
0.006580965042114258,
0.006561126232147217,
0.006559366226196289,
0.006560965061187744,
0.0065489659309387206,
0.006552326202392578,
0.006567844867706299,
0.006551365852355957,
0.006586885929107666,
0.006523204803466797,
0.006568965911865235,
0.006566405773162842,
0.006735684871673584,
0.0065678458213806155,
0.006552966117858887,
0.006556485176086426,
0.006606085777282715,
0.006558886051177978,
0.0065825657844543455,
0.006561604976654053,
0.006604966163635254,
0.00657904577255249,
0.006596644878387451,
0.0066126461029052735,
0.0065894460678100585,
0.006600164890289307,
0.006584166049957275,
0.006608805179595947
]
},
"throughput": {
"unit": "samples/s",
"value": 138.81615440762693
},
"energy": null,
"efficiency": null
}
}
}