IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
13fbefc verified
raw
history blame
11.9 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": "4",
"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.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 903.991296,
"max_global_vram": 875.343872,
"max_process_vram": 44285.56288,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.403197265625,
"mean": 7.403197265625,
"stdev": 0.0,
"p50": 7.403197265625,
"p90": 7.403197265625,
"p95": 7.403197265625,
"p99": 7.403197265625,
"values": [
7.403197265625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.545344,
"max_global_vram": 938.27072,
"max_process_vram": 220495.372288,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0051790513992311,
"mean": 0.007029224135658958,
"stdev": 0.0006709441975046374,
"p50": 0.006806540012359619,
"p90": 0.007488584804534912,
"p95": 0.007553368854522705,
"p99": 0.00913493835449221,
"values": [
0.00757677698135376,
0.007527017116546631,
0.007641097068786621,
0.007556296825408935,
0.007514217853546143,
0.007394857883453369,
0.007414697170257568,
0.007254538059234619,
0.006836140155792236,
0.007063339233398438,
0.008029415130615234,
0.006761899948120117,
0.006713900089263916,
0.006736939907073975,
0.006673258781433105,
0.006688139915466309,
0.006678380012512207,
0.006756619930267334,
0.0066711797714233394,
0.006709420204162598,
0.006694378852844238,
0.006681099891662597,
0.007808456897735596,
0.006763819217681885,
0.006688459873199463,
0.006703979969024658,
0.006755980014801025,
0.006799179077148438,
0.006818540096282959,
0.006775498867034912,
0.006765260219573975,
0.006818378925323486,
0.006812939167022705,
0.00676830005645752,
0.006744460105895996,
0.009935489654541016,
0.007035819053649903,
0.00661598014831543,
0.006673419952392578,
0.006648300170898437,
0.0065806198120117185,
0.006645259857177735,
0.0066564598083496095,
0.006608139991760254,
0.006590539932250976,
0.0067513399124145505,
0.006921739101409912,
0.006767179012298584,
0.006808939933776855,
0.006880138874053955,
0.007144299030303955,
0.007022698879241943,
0.007167818069458008,
0.007017738819122314,
0.006824618816375733,
0.006824940204620361,
0.006829739093780518,
0.0067311801910400395,
0.006977579116821289,
0.007483336925506592,
0.007482058048248291,
0.00746157693862915,
0.007510057926177979,
0.007477897167205811,
0.007434217929840088,
0.0074503769874572755,
0.007511017799377441,
0.006862379074096679,
0.006806540012359619,
0.006661739826202393,
0.006590859889984131,
0.006645579814910888,
0.006794219017028809,
0.00658574104309082,
0.006635340213775634,
0.006597420215606689,
0.006621419906616211,
0.006616459846496582,
0.006642059803009033,
0.006600780010223389,
0.006615180015563965,
0.0066174201965332035,
0.0066302199363708495,
0.00662637996673584,
0.006606699943542481,
0.006629419803619385,
0.013045560836791993,
0.006680459976196289,
0.006609580039978027,
0.006622220039367676,
0.00660014009475708,
0.006606540203094482,
0.006589261054992676,
0.006632780075073242,
0.006628300189971924,
0.0065946998596191405,
0.006578381061553955,
0.006631499767303467,
0.006627659797668457,
0.006620299816131592,
0.006604619979858398,
0.006667819976806641,
0.006644780158996582,
0.006586699962615967,
0.006616300106048584,
0.006659500122070313,
0.0066326198577880855,
0.006628459930419922,
0.006590859889984131,
0.006631340026855469,
0.00734237813949585,
0.007502377986907959,
0.007494697093963623,
0.007058699131011963,
0.006975978851318359,
0.006991818904876709,
0.006940938949584961,
0.007218058109283447,
0.007636456966400146,
0.0074582180976867675,
0.007222057819366455,
0.0069986991882324216,
0.007144457817077636,
0.007437417984008789,
0.007432777881622315,
0.007489896774291992,
0.007472938060760498,
0.007456616878509521,
0.007370058059692383,
0.00744397783279419,
0.007422536849975586,
0.00743405818939209,
0.007362217903137207,
0.007409097194671631,
0.007382537841796875,
0.007430858135223388,
0.007408777236938477,
0.007423977851867675,
0.007393097877502442,
0.00745069694519043,
0.007395658016204834,
0.0074012579917907715,
0.007392137050628662
]
},
"throughput": {
"unit": "samples/s",
"value": 142.26321151534236
},
"energy": null,
"efficiency": null
}
}
}