IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cc4e434 verified
raw
history blame
11.4 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": "5",
"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.526464,
"max_global_vram": 68702.69952,
"max_process_vram": 52880.564224,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.9385263671875,
"mean": 8.9385263671875,
"stdev": 0.0,
"p50": 8.9385263671875,
"p90": 8.9385263671875,
"p95": 8.9385263671875,
"p99": 8.9385263671875,
"values": [
8.9385263671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1200.427008,
"max_global_vram": 68702.69952,
"max_process_vram": 242748.485632,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0012330417633055,
"mean": 0.007701792628948506,
"stdev": 0.0012138791345015893,
"p50": 0.007671980857849121,
"p90": 0.007741883945465088,
"p95": 0.007820580816268921,
"p99": 0.013987653083801226,
"values": [
0.007831020832061768,
0.007885900020599365,
0.007990859985351562,
0.008937578201293945,
0.007714540958404541,
0.007628621101379395,
0.007649421215057373,
0.007655500888824463,
0.008899818420410157,
0.00766222095489502,
0.007683341026306152,
0.0077108612060546875,
0.007672780990600586,
0.007650701045989991,
0.007656301021575928,
0.007650540828704834,
0.007663021087646485,
0.0076515011787414555,
0.007655981063842773,
0.007695981025695801,
0.0076539011001586915,
0.007656140804290772,
0.007667661190032959,
0.00768894100189209,
0.0077278208732604985,
0.007681741237640381,
0.007698861122131348,
0.007694540977478027,
0.007637102127075196,
0.007664300918579101,
0.007631821155548096,
0.0076899008750915526,
0.007123182773590088,
0.007173101902008056,
0.0069983830451965335,
0.00700094223022461,
0.007172943115234375,
0.0070247831344604494,
0.007113741874694824,
0.007178382873535156,
0.007326382160186768,
0.006993261814117432,
0.007210062026977539,
0.0071463828086853025,
0.006963342189788818,
0.007157742977142334,
0.007095181941986084,
0.006961263179779052,
0.007131021976470947,
0.00715054178237915,
0.007075023174285888,
0.007136941909790039,
0.0072046217918395996,
0.0069966230392456055,
0.006992942810058593,
0.007306541919708252,
0.01605035972595215,
0.007128942012786865,
0.006936943054199219,
0.006908943176269531,
0.007594861030578613,
0.007227662086486816,
0.00706622314453125,
0.007364941120147705,
0.007399181842803955,
0.007336301803588867,
0.007329421997070313,
0.007295822143554688,
0.007592940807342529,
0.007596460819244385,
0.007468780994415283,
0.00745454216003418,
0.00735358190536499,
0.007698861122131348,
0.0077351808547973635,
0.007725100994110107,
0.007730541229248047,
0.007670540809631348,
0.007709580898284912,
0.007706700801849365,
0.007697421073913574,
0.007694701194763184,
0.0076899008750915526,
0.007685581207275391,
0.007704781055450439,
0.007682220935821533,
0.007674060821533203,
0.0076993408203125,
0.007675981044769287,
0.007671181201934814,
0.007680459976196289,
0.0077035012245178225,
0.007685260772705078,
0.007703821182250977,
0.007749101161956787,
0.007671660900115966,
0.007752941131591797,
0.007660941123962402,
0.00770334005355835,
0.007645421981811523,
0.007716780185699463,
0.007694060802459717,
0.007676140785217285,
0.007726861000061035,
0.007740301132202148,
0.0076825408935546876,
0.007672300815582275,
0.007729741096496582,
0.007680301189422607,
0.00773374080657959,
0.007709740161895752,
0.00770750093460083,
0.018034996032714842,
0.007803500175476074,
0.007748940944671631,
0.007807820796966553,
0.007711980819702148,
0.007749741077423096,
0.007741099834442139,
0.007679981231689453,
0.00766926097869873,
0.007693100929260254,
0.007721580028533935,
0.007696461200714111,
0.007692141056060791,
0.007713420867919922,
0.00767262077331543,
0.007480461120605469,
0.007468301773071289,
0.007491021156311035
]
},
"throughput": {
"unit": "samples/s",
"value": 129.83990197831722
},
"energy": null,
"efficiency": null
}
}
}