IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3ef48ba verified
raw
history blame
11.3 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 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.3.1",
"optimum_benchmark_commit": "d0c0a5c5918412583a4f2490ab7e3d1b48375998",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.37568,
"max_global_vram": 875.33568,
"max_process_vram": 42044.944384,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1668193359375,
"mean": 7.1668193359375,
"stdev": 0.0,
"p50": 7.1668193359375,
"p90": 7.1668193359375,
"p95": 7.1668193359375,
"p99": 7.1668193359375,
"values": [
7.1668193359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.212352,
"max_global_vram": 938.872832,
"max_process_vram": 224183.709696,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.0022099490165708,
"mean": 0.007369190801592434,
"stdev": 0.00042044931931730603,
"p50": 0.0075511205196380615,
"p90": 0.007620239973068237,
"p95": 0.007639960885047913,
"p99": 0.008041168904304506,
"values": [
0.007475200176239013,
0.006980639934539795,
0.006713920116424561,
0.0067899198532104495,
0.006788960933685303,
0.006952640056610108,
0.006746880054473877,
0.0068731198310852054,
0.006859361171722412,
0.006730239868164062,
0.006896800041198731,
0.006754720211029052,
0.0068652801513671875,
0.006703680992126465,
0.006653439998626709,
0.006910880088806152,
0.010158559799194337,
0.0077996811866760255,
0.007515359878540039,
0.007557119846343994,
0.007513919830322266,
0.007547040939331054,
0.00752623987197876,
0.007582399845123291,
0.007520959854125976,
0.0075867209434509275,
0.007538400173187256,
0.007622079849243164,
0.007590879917144775,
0.007610720157623291,
0.007553441047668457,
0.007559040069580078,
0.007525440216064453,
0.007551199913024902,
0.007532161235809326,
0.0075623998641967775,
0.007532159805297852,
0.007558080196380615,
0.007498880863189697,
0.0075747199058532715,
0.007547679901123047,
0.007610400199890136,
0.007523040771484375,
0.007566400051116943,
0.007529119968414307,
0.007593920230865478,
0.007524480819702148,
0.007617119789123535,
0.0075771198272705075,
0.007576159954071045,
0.007551041126251221,
0.007610720157623291,
0.0069576001167297365,
0.006711359977722168,
0.006840960025787353,
0.007103840827941895,
0.006673600196838379,
0.0070339198112487795,
0.006833759784698487,
0.007082560062408447,
0.007277760982513428,
0.007142399787902832,
0.007019519805908203,
0.007261760234832763,
0.007323841094970703,
0.007497280120849609,
0.007577439785003662,
0.007590240001678467,
0.007547680854797363,
0.007569439888000488,
0.007570079803466797,
0.0076028800010681154,
0.007571681022644043,
0.007577760219573975,
0.007524320125579834,
0.007596320152282715,
0.007541600227355957,
0.0076272010803222655,
0.007594719886779785,
0.0076528000831604,
0.007602079868316651,
0.00765760087966919,
0.007594240188598633,
0.007620319843292236,
0.007606560230255127,
0.007638560771942139,
0.007571519851684571,
0.007618879795074463,
0.007572319984436035,
0.007589601039886475,
0.0075814399719238285,
0.007622719764709473,
0.007569439888000488,
0.0075849609375,
0.007577280044555664,
0.007582560062408448,
0.007570240020751953,
0.007644161224365235,
0.00757696008682251,
0.007631999969482422,
0.007650400161743164,
0.007633601188659668,
0.007557919979095459,
0.007564000129699707,
0.007584959983825684,
0.007574560165405274,
0.0081712007522583,
0.007617119789123535,
0.0075911998748779295,
0.007604959964752197,
0.0075652809143066406,
0.007592959880828858,
0.007618559837341309,
0.007551839828491211,
0.007010560989379883,
0.007155839920043945,
0.007309599876403809,
0.007284319877624511,
0.006975360870361328,
0.007170559883117676,
0.007128640174865723,
0.007123519897460937,
0.007051040172576904,
0.006866081237792969,
0.006697440147399902,
0.0067422399520874025,
0.006687520027160644,
0.006753119945526123,
0.006738399982452393,
0.006733920097351074,
0.006675360202789307,
0.006755680084228516,
0.006740641117095947,
0.006944159984588623,
0.007608960151672364,
0.007620160102844238
]
},
"throughput": {
"unit": "samples/s",
"value": 135.70010967607277
},
"energy": null,
"efficiency": null
}
}
}