IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f62101f verified
raw
history blame
11.9 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1094.688768,
"max_global_vram": 68702.69952,
"max_process_vram": 4376.338432,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.08075909423828125
],
"count": 1,
"total": 0.08075909423828125,
"mean": 0.08075909423828125,
"p50": 0.08075909423828125,
"p90": 0.08075909423828125,
"p95": 0.08075909423828125,
"p99": 0.08075909423828125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1224.568832,
"max_global_vram": 68702.69952,
"max_process_vram": 248350.117888,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007990118026733398,
0.007624195098876953,
0.007472994804382324,
0.007645956039428711,
0.007648515224456787,
0.007675875186920166,
0.007679396152496338,
0.007706436157226562,
0.007546434879302979,
0.007649796009063721,
0.007624996185302734,
0.007643875122070313,
0.0076131558418273924,
0.007603875160217285,
0.007650276184082031,
0.007335554122924805,
0.007665316104888916,
0.007620515823364257,
0.007653954982757568,
0.007637475967407227,
0.007664996147155762,
0.0077165160179138185,
0.0076621160507202146,
0.00770771598815918,
0.007663875102996826,
0.007666756153106689,
0.007674436092376709,
0.007699555873870849,
0.007668035984039307,
0.007660194873809815,
0.007594275951385498,
0.007621955871582031,
0.007645795822143555,
0.007666755199432373,
0.007638435840606689,
0.007628036022186279,
0.00766147518157959,
0.007692676067352295,
0.007678756237030029,
0.0077782759666442875,
0.007636516094207763,
0.007619555950164795,
0.007674115180969238,
0.007618916034698486,
0.007644996166229248,
0.007589795112609863,
0.007640835762023926,
0.007848835945129395,
0.0076878762245178225,
0.0076885161399841305,
0.0076885161399841305,
0.007675236225128174,
0.007676355838775635,
0.007687234878540039,
0.007722755908966064,
0.007746595859527588,
0.007665794849395752,
0.007692036151885987,
0.007536516189575195,
0.007188353061676025,
0.0071133131980896,
0.007006593227386474,
0.0073365139961242675,
0.007160513877868652,
0.007351553916931152,
0.007284354209899902,
0.007069793224334717,
0.007137952804565429,
0.006994432926177978,
0.006753790855407715,
0.007014752864837647,
0.006775712013244629,
0.006797791957855225,
0.006665471076965332,
0.006711231231689453,
0.00661043119430542,
0.006769950866699219,
0.006772672176361084,
0.006812352180480957,
0.006795392036437988,
0.006997312068939209,
0.006565791130065918,
0.0069233918190002445,
0.006934432983398437,
0.006572030067443848,
0.00662083101272583,
0.0065622711181640625,
0.0064840297698974605,
0.006634110927581787,
0.007432354927062988,
0.006862112045288086,
0.006996033191680909,
0.0069656319618225096,
0.006867712020874024,
0.00692115306854248,
0.007016353130340576,
0.006959712028503418,
0.006792031764984131,
0.006937312126159668,
0.007010592937469483,
0.006910912036895752,
0.006847231864929199,
0.006584831237792969,
0.006586750984191894,
0.006585309982299805,
0.007035552024841308,
0.007113473892211914,
0.007048031806945801,
0.00667955207824707,
0.006793150901794434,
0.006570590972900391,
0.0065646710395812985,
0.006630431175231934,
0.00659650993347168,
0.00667523193359375,
0.0071613130569458,
0.007088673114776611,
0.006984033107757568,
0.007190752983093262,
0.007088353157043457,
0.00663011121749878,
0.006605471134185791,
0.006565471172332763,
0.0065691499710083005,
0.0065910711288452144,
0.006820191860198974,
0.006603071212768555,
0.006594271183013916,
0.006585149765014648,
0.0065977911949157714,
0.007230274200439453,
0.006934591770172119,
0.006899550914764404,
0.007018912792205811,
0.006793312072753906,
0.006874911785125733,
0.006910272121429443,
0.006572990894317627,
0.006570271015167236
],
"count": 139,
"total": 0.999700667858124,
"mean": 0.007192091135669956,
"p50": 0.007113473892211914,
"p90": 0.0076873631477355955,
"p95": 0.007706564140319824,
"p99": 0.007822023153305055,
"stdev": 0.0004397441168409489,
"stdev_": 6.114273422648808
},
"throughput": {
"unit": "samples/s",
"value": 139.04161962581253
},
"energy": null,
"efficiency": null
}
}
}