IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4ed7de0 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": "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": 1069.34272,
"max_global_vram": 68702.69952,
"max_process_vram": 48107.1104,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2121484375,
"mean": 8.2121484375,
"stdev": 0.0,
"p50": 8.2121484375,
"p90": 8.2121484375,
"p95": 8.2121484375,
"p99": 8.2121484375,
"values": [
8.2121484375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1198.997504,
"max_global_vram": 68702.69952,
"max_process_vram": 248649.732096,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.0013956079483028,
"mean": 0.007052081746114812,
"stdev": 0.0003631341979516649,
"p50": 0.006855982780456543,
"p90": 0.007691229057312012,
"p95": 0.007713141131401062,
"p99": 0.007795569357872009,
"values": [
0.007226861953735351,
0.007011982917785644,
0.007453261852264404,
0.007654541015625,
0.007671501159667969,
0.007683021068572998,
0.0076465411186218265,
0.007698861122131348,
0.008606538772583008,
0.0077721400260925295,
0.007706861019134522,
0.007706380844116211,
0.007617421150207519,
0.006948143005371094,
0.006760623931884766,
0.00679582405090332,
0.006792782783508301,
0.0067782230377197265,
0.006791343212127685,
0.006837742805480957,
0.006814544200897217,
0.006779502868652343,
0.006803983211517334,
0.0067812628746032715,
0.006817583084106445,
0.006809904098510742,
0.006819343090057373,
0.006831023216247558,
0.006774862766265869,
0.006784623146057129,
0.006770864009857178,
0.006781424045562744,
0.006811502933502197,
0.006819502830505371,
0.006862543106079102,
0.0068113431930541994,
0.006838222980499267,
0.006833103179931641,
0.006817583084106445,
0.006834383964538574,
0.006846542835235596,
0.006835503101348877,
0.0068191828727722165,
0.006822863101959229,
0.0068735828399658205,
0.0068307027816772465,
0.006852622985839844,
0.006813262939453125,
0.00682718276977539,
0.006806064128875733,
0.00684414291381836,
0.006855982780456543,
0.0068631830215454106,
0.006844462871551514,
0.006881583213806153,
0.006838703155517578,
0.0068780632019042965,
0.006843183040618896,
0.006847183227539063,
0.006859982967376709,
0.006853743076324463,
0.0068235030174255374,
0.006873743057250976,
0.006861103057861328,
0.00721902322769165,
0.007207022190093994,
0.007314702033996582,
0.007271821975708008,
0.007371661186218262,
0.0070694231986999515,
0.006879182815551757,
0.006882223129272461,
0.006855342864990234,
0.006855342864990234,
0.006860463142395019,
0.006855982780456543,
0.006823022842407226,
0.006847503185272216,
0.006895503044128418,
0.006789743900299072,
0.006855982780456543,
0.006859823226928711,
0.006853423118591309,
0.0068492631912231445,
0.006855183124542237,
0.006843983173370361,
0.006857263088226318,
0.006834702968597412,
0.006845263004302979,
0.006815662860870361,
0.00687086296081543,
0.006850223064422608,
0.006833743095397949,
0.006830863952636719,
0.006872303009033203,
0.0068196640014648435,
0.006831023216247558,
0.0068731031417846675,
0.00685886287689209,
0.006809263229370117,
0.006836782932281494,
0.006867662906646728,
0.006847023010253906,
0.006863983154296875,
0.006866063117980957,
0.006885103225708008,
0.006848622798919677,
0.006834543228149414,
0.006807182788848877,
0.0068025441169738765,
0.006832942962646484,
0.006893103122711182,
0.006849903106689453,
0.006822382926940918,
0.006801103115081787,
0.006796782970428467,
0.006859023094177246,
0.007081742763519287,
0.007764620780944824,
0.007670540809631348,
0.007778860092163086,
0.007472301959991455,
0.007134861946105957,
0.007388301849365234,
0.0077462210655212405,
0.0077132611274719235,
0.007663500785827637,
0.007670860767364502,
0.007680621147155762,
0.007680621147155762,
0.0076993408203125,
0.00761854076385498,
0.007236621856689453,
0.0077108612060546875,
0.0077084598541259765,
0.007692141056060791,
0.007748940944671631,
0.007807180881500244,
0.007480461120605469,
0.007239342212677002,
0.0072537422180175785,
0.006866703033447266
]
},
"throughput": {
"unit": "samples/s",
"value": 141.802099862346
},
"energy": null,
"efficiency": null
}
}
}