IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f7e2eac verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1070.53056,
"max_global_vram": 68702.69952,
"max_process_vram": 51894.607872,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.9565888671875,
"mean": 8.9565888671875,
"stdev": 0.0,
"p50": 8.9565888671875,
"p90": 8.9565888671875,
"p95": 8.9565888671875,
"p99": 8.9565888671875,
"values": [
8.9565888671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1200.422912,
"max_global_vram": 68702.69952,
"max_process_vram": 237359.157248,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 123,
"total": 1.0007595858573914,
"mean": 0.008136256795588548,
"stdev": 0.0065467951226959534,
"p50": 0.007490889072418213,
"p90": 0.007590345096588134,
"p95": 0.007728825139999389,
"p99": 0.017627665023803713,
"values": [
0.0072654480934143065,
0.007257449150085449,
0.007151847839355469,
0.006833608150482178,
0.0069625692367553714,
0.0070384078025817875,
0.007267048835754394,
0.007031047821044922,
0.007857449054718017,
0.007061288833618164,
0.007153768062591553,
0.006985127925872803,
0.007025128841400147,
0.007009448051452637,
0.007001607894897461,
0.006979369163513184,
0.018099380493164063,
0.006965127944946289,
0.006949927806854248,
0.006918249130249024,
0.007015207767486572,
0.007273448944091797,
0.007056488037109375,
0.007327528953552246,
0.007397128105163574,
0.007351688861846924,
0.0074579291343688965,
0.007636168956756592,
0.008872010231018067,
0.007734889030456543,
0.007238887786865235,
0.00711984920501709,
0.007194888114929199,
0.00710400915145874,
0.007380328178405762,
0.007185448169708252,
0.006964168071746826,
0.007479049205780029,
0.00725584888458252,
0.007152488231658935,
0.0070787291526794435,
0.007212967872619629,
0.007295528888702393,
0.007367368221282959,
0.0076742501258850095,
0.007475207805633545,
0.0075337691307067875,
0.007581288814544678,
0.007563209056854248,
0.007591369152069091,
0.007579689025878906,
0.007592488765716552,
0.007596488952636719,
0.007575368881225586,
0.007566248893737793,
0.0075862488746643066,
0.007554728984832764,
0.007581608772277832,
0.007548648834228516,
0.007473928928375244,
0.007210728168487549,
0.007407208919525146,
0.00736224889755249,
0.007097608089447022,
0.0071001691818237305,
0.007262887954711914,
0.007006248950958252,
0.00712064790725708,
0.007486888885498047,
0.00706000804901123,
0.006990568161010742,
0.007367528915405273,
0.07911161804199218,
0.007764809131622315,
0.007592168807983399,
0.007574089050292969,
0.007564009189605713,
0.007560009002685547,
0.007541449069976807,
0.007539689064025879,
0.007547208786010742,
0.007579208850860596,
0.007538888931274414,
0.0075692892074584964,
0.007532008171081543,
0.0075532889366149904,
0.00753040885925293,
0.007556649208068847,
0.007572009086608887,
0.007536969184875488,
0.007553769111633301,
0.007566888809204101,
0.00753088903427124,
0.007526089191436767,
0.007552649021148682,
0.0075416088104248045,
0.007540809154510498,
0.007535688877105713,
0.00752656888961792,
0.007552329063415527,
0.007538888931274414,
0.00755344820022583,
0.007530088901519775,
0.007544329166412353,
0.007490889072418213,
0.007467528820037842,
0.007470889091491699,
0.0074516887664794924,
0.015955219268798827,
0.007390408039093017,
0.007461769104003906,
0.007456489086151123,
0.007472649097442627,
0.007558888912200927,
0.007524649143218994,
0.007495048999786377,
0.007536647796630859,
0.007530888080596924,
0.007520967960357666,
0.007545769214630127,
0.007490569114685058,
0.007548169136047363,
0.00752000904083252
]
},
"throughput": {
"unit": "samples/s",
"value": 122.90664185306895
},
"energy": null,
"efficiency": null
}
}
}