IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a881e7c verified
raw
history blame
10.3 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": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_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,
"latency": true,
"memory": 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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "43734676b09236e2ae4d7c19f90e8e23d1f2f201",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.765824,
"max_global_vram": 938.921984,
"max_process_vram": 217768.882176,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.003243739128113,
"mean": 0.007543186008482051,
"stdev": 0.00032726669757353333,
"p50": 0.007441372871398926,
"p90": 0.00776722583770752,
"p95": 0.007856472969055174,
"p99": 0.008768304977416997,
"values": [
0.007783289909362793,
0.0075661721229553225,
0.007711929798126221,
0.007781370162963867,
0.007728889942169189,
0.007654490947723388,
0.007647611141204834,
0.007600251197814941,
0.007587611198425293,
0.00767897081375122,
0.007604411125183105,
0.007616092205047607,
0.0075261731147766115,
0.007532092094421386,
0.007498493194580078,
0.007535292148590088,
0.007568090915679932,
0.007501533031463623,
0.007508731842041015,
0.007555450916290283,
0.007613051891326905,
0.007659609794616699,
0.007786970138549804,
0.007742809772491455,
0.0077500100135803225,
0.007883928775787353,
0.010287266731262207,
0.007314494132995605,
0.007411932945251465,
0.007425532817840576,
0.007376093864440918,
0.00736201286315918,
0.0074320931434631345,
0.00734377384185791,
0.007447453022003174,
0.007357852935791016,
0.007452093124389649,
0.007410812854766846,
0.007331453800201416,
0.007430333137512207,
0.007390013217926025,
0.007411452770233154,
0.007382973194122315,
0.007765369892120361,
0.007445373058319092,
0.007442012786865234,
0.0074364118576049805,
0.0074416928291320805,
0.007466972827911377,
0.0073946528434753415,
0.007428732872009278,
0.007385852813720703,
0.007435933113098144,
0.007394813060760498,
0.007446332931518555,
0.007414493083953857,
0.007453052997589111,
0.007418973922729492,
0.0073951339721679684,
0.007403933048248291,
0.00734393310546875,
0.007441372871398926,
0.007394332885742188,
0.007420732975006104,
0.007396093845367432,
0.007416092872619629,
0.007410973072052002,
0.0074252128601074215,
0.007413372993469238,
0.007437692165374756,
0.00745145320892334,
0.007421692848205566,
0.007415613174438476,
0.007474652767181397,
0.007433372974395752,
0.007432733058929443,
0.0074013729095458985,
0.0073650541305542,
0.007445853233337402,
0.007468731880187989,
0.0074245729446411135,
0.00745801305770874,
0.007388253211975098,
0.00745417308807373,
0.007428731918334961,
0.007445053100585937,
0.008214165687561035,
0.007441533088684082,
0.007416893005371094,
0.007406813144683838,
0.00898103904724121,
0.008316245079040527,
0.008248724937438966,
0.008240406036376952,
0.00781528902053833,
0.007766329765319825,
0.007767449855804443,
0.007787449836730957,
0.00776600980758667,
0.00783816909790039,
0.007720729827880859,
0.007684731006622315,
0.007501691818237305,
0.007413533210754395,
0.007356573104858399,
0.007436573028564453,
0.007434813022613526,
0.0074583330154418944,
0.007360892772674561,
0.007367293834686279,
0.0074106531143188475,
0.0073959331512451175,
0.007435772895812988,
0.007418172836303711,
0.007430492877960205,
0.007455132007598877,
0.007455772876739502,
0.007463932037353516,
0.007423293113708496,
0.007418492794036865,
0.007452252864837646,
0.0073468141555786135,
0.007426332950592041,
0.0073946528434753415,
0.007460892200469971,
0.007375292778015137,
0.007486971855163574,
0.00743401288986206,
0.007352094173431397,
0.0073444128036499025,
0.0073565740585327145,
0.00763801097869873,
0.007356253147125244
]
},
"throughput": {
"unit": "samples/s",
"value": 132.569977576522
},
"energy": null,
"efficiency": null
}
}
}