IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e16f94d verified
raw
history blame
11.6 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": 904.425472,
"max_global_vram": 875.327488,
"max_process_vram": 41035.948032,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2431494140625,
"mean": 7.2431494140625,
"stdev": 0.0,
"p50": 7.2431494140625,
"p90": 7.2431494140625,
"p95": 7.2431494140625,
"p99": 7.2431494140625,
"values": [
7.2431494140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.696896,
"max_global_vram": 938.934272,
"max_process_vram": 232976.453632,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9990684895515441,
"mean": 0.00740050733001144,
"stdev": 0.0007650674420029589,
"p50": 0.007303331851959229,
"p90": 0.007750753974914551,
"p95": 0.007783026742935181,
"p99": 0.009626427688598626,
"values": [
0.007412452220916748,
0.007399652004241943,
0.007455331802368164,
0.007733409881591797,
0.007444611072540283,
0.007360611915588379,
0.007210852146148682,
0.007181891918182373,
0.0072159719467163085,
0.007200613021850586,
0.008296928405761718,
0.006998692989349365,
0.007059173107147217,
0.006964932918548584,
0.0070078129768371585,
0.006927174091339111,
0.006954853057861328,
0.006991813182830811,
0.014674504280090333,
0.007350212097167969,
0.007103171825408936,
0.007024773120880127,
0.007110533237457276,
0.007149413108825684,
0.00709069299697876,
0.007055811882019043,
0.008183009147644043,
0.007082532882690429,
0.0069582128524780275,
0.007025893211364746,
0.006891654014587402,
0.010311321258544922,
0.007415651798248291,
0.006882213115692139,
0.00701133394241333,
0.006876452922821045,
0.006870213985443115,
0.006822534084320068,
0.00681421422958374,
0.006849573135375976,
0.00717421293258667,
0.007797729969024658,
0.007112933158874512,
0.007326691150665283,
0.007117093086242676,
0.006897093772888184,
0.007232292175292969,
0.007727489948272705,
0.007638690948486328,
0.007720290184020996,
0.007654850959777832,
0.007648611068725586,
0.007652130126953125,
0.007648291110992432,
0.007669250965118408,
0.007688930034637451,
0.007657091140747071,
0.007734049797058105,
0.007684930801391602,
0.007710370063781738,
0.007685091018676758,
0.007706689834594727,
0.007694049835205078,
0.007753410816192627,
0.007695010185241699,
0.007754209995269775,
0.007721890926361084,
0.007751009941101074,
0.007703811168670654,
0.007698530197143554,
0.0077364501953125,
0.007744931221008301,
0.0077198100090026854,
0.007699810981750489,
0.007668931007385254,
0.007670851230621338,
0.007669410228729248,
0.0076846108436584475,
0.0077503700256347655,
0.0077338900566101074,
0.007768930912017823,
0.007709569931030273,
0.007756450176239014,
0.0077361311912536625,
0.007745570182800293,
0.007738530158996582,
0.007347012042999267,
0.0068570938110351564,
0.006882052898406982,
0.006890853881835937,
0.006958693027496338,
0.006879973888397217,
0.006851014137268067,
0.0069062128067016604,
0.006923333168029785,
0.006865893840789795,
0.006927493095397949,
0.006964773178100586,
0.006938374042510987,
0.006947972774505615,
0.006910213947296143,
0.0069655728340148925,
0.0071823720932006835,
0.007777410984039307,
0.007772610187530517,
0.007621891021728515,
0.0073642911911010744,
0.0073700518608093265,
0.007180131912231445,
0.007200132846832275,
0.007303331851959229,
0.007207491874694824,
0.0069372539520263675,
0.007553250789642334,
0.007796130180358887,
0.007845089912414551,
0.007704929828643799,
0.007328452110290528,
0.0073511719703674315,
0.007388290882110596,
0.007377091884613037,
0.007219011783599853,
0.007160293102264404,
0.007235171794891357,
0.007244771957397461,
0.0070383729934692385,
0.006931812763214112,
0.006989253044128418,
0.006878213882446289,
0.006926692962646484,
0.006917253971099853,
0.00695693302154541,
0.006880932807922363,
0.006964134216308594,
0.006886053085327149
]
},
"throughput": {
"unit": "samples/s",
"value": 135.125871160843
},
"energy": null,
"efficiency": null
}
}
}