IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2e1e81a verified
raw
history blame
11.7 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": "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": "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.551616,
"max_global_vram": 68702.69952,
"max_process_vram": 54007.177216,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.9774951171875,
"mean": 8.9774951171875,
"stdev": 0.0,
"p50": 8.9774951171875,
"p90": 8.9774951171875,
"p95": 8.9774951171875,
"p99": 8.9774951171875,
"values": [
8.9774951171875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.427584,
"max_global_vram": 68702.69952,
"max_process_vram": 250853.101568,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0027510604858403,
"mean": 0.007266312032506086,
"stdev": 0.0002713109205983199,
"p50": 0.007187501192092895,
"p90": 0.007638218975067139,
"p95": 0.007833163189888002,
"p99": 0.00804992709159851,
"values": [
0.007587019920349121,
0.007628139019012451,
0.007269900798797607,
0.00702846097946167,
0.007029100894927979,
0.007004780769348145,
0.007058860778808594,
0.007072940826416015,
0.008521097183227539,
0.0070307011604309085,
0.007032620906829834,
0.006972940921783447,
0.007053421020507812,
0.007046541213989258,
0.007101100921630859,
0.006983022212982178,
0.007081740856170654,
0.007052781105041504,
0.007065421104431153,
0.0069980621337890625,
0.0071511797904968265,
0.007294701099395752,
0.007109100818634033,
0.007564458847045898,
0.0073366198539733885,
0.007009902000427246,
0.007670700073242187,
0.007867979049682618,
0.007247499942779541,
0.007122381210327149,
0.007061581134796143,
0.00705086088180542,
0.007156459808349609,
0.007105421066284179,
0.007059821128845215,
0.007507979869842529,
0.007056140899658203,
0.007065421104431153,
0.00710382080078125,
0.007134060859680175,
0.007084940910339356,
0.007047821044921875,
0.007207180023193359,
0.0074521398544311526,
0.007151340961456299,
0.007108780860900879,
0.007269899845123291,
0.00708958101272583,
0.007399020195007325,
0.00718558120727539,
0.007099020957946778,
0.007094221115112305,
0.007423180103302002,
0.0070969400405883785,
0.007077260971069336,
0.007061581134796143,
0.007072300910949707,
0.0071894211769104,
0.007117741107940674,
0.007006540775299073,
0.007015181064605713,
0.007214860916137695,
0.007326700210571289,
0.007302060127258301,
0.007032940864562989,
0.007076780796051025,
0.0070740609169006345,
0.007021261215209961,
0.007053421020507812,
0.007302700996398926,
0.007207019805908203,
0.0076278200149536134,
0.007264140129089355,
0.007078701019287109,
0.0073004598617553715,
0.007889578819274903,
0.007384300231933594,
0.007015981197357178,
0.007054221153259277,
0.007075020790100098,
0.007064140796661377,
0.007827019214630127,
0.007592939853668213,
0.00733213996887207,
0.007107340812683106,
0.007050220966339111,
0.00725678014755249,
0.007784779071807861,
0.007284620761871338,
0.007002861022949219,
0.007099660873413086,
0.0074124598503112794,
0.007313260078430176,
0.007138861179351807,
0.007211820125579834,
0.006931181907653809,
0.0070006208419799805,
0.0071390199661254886,
0.0074239811897277835,
0.007343020915985108,
0.007344460010528565,
0.007661738872528076,
0.007904139041900635,
0.007820619106292724,
0.00796061897277832,
0.008102377891540528,
0.007323500156402588,
0.007405900001525879,
0.0073530998229980465,
0.0073665399551391605,
0.0073463811874389644,
0.007278059959411621,
0.007040941238403321,
0.007035501003265381,
0.007245581150054931,
0.007217100143432617,
0.007022861003875732,
0.007050061225891113,
0.007296781063079834,
0.007043981075286866,
0.007057900905609131,
0.00717165994644165,
0.007447659969329834,
0.0073433399200439455,
0.007400940895080566,
0.007209420204162598,
0.00724350118637085,
0.007375339984893799,
0.007461579799652099,
0.007428619861602783,
0.007309420108795166,
0.007488140106201172,
0.007773738861083984,
0.00742878007888794,
0.0075019001960754395,
0.007415178775787353,
0.007826539039611816,
0.007883977890014649
]
},
"throughput": {
"unit": "samples/s",
"value": 137.62139521761068
},
"energy": null,
"efficiency": null
}
}
}