IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ecda162 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": true,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.25088,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 154,
"total": 1.0019759035110474,
"mean": 0.006506337035786022,
"stdev": 0.0001858937782374304,
"p50": 0.006563839912414551,
"p90": 0.0066879489421844485,
"p95": 0.006766796827316284,
"p99": 0.006948116612434387,
"values": [
0.007165952205657959,
0.006722559928894043,
0.006866943836212158,
0.006759424209594727,
0.006823935985565186,
0.006762495994567871,
0.006774784088134766,
0.006672383785247803,
0.00662937593460083,
0.006670335769653321,
0.00658841609954834,
0.006599679946899414,
0.006619135856628418,
0.006596704006195068,
0.006597631931304931,
0.0065146880149841305,
0.006534143924713135,
0.0065771517753601075,
0.006576128005981445,
0.006653952121734619,
0.0068618240356445315,
0.0066119680404663084,
0.006628352165222168,
0.00658022403717041,
0.00657203197479248,
0.006586368083953857,
0.006628352165222168,
0.006590464115142822,
0.0066119680404663084,
0.006623231887817383,
0.00662937593460083,
0.00659660816192627,
0.006623231887817383,
0.006593535900115967,
0.006622208118438721,
0.006599679946899414,
0.006563839912414551,
0.006525951862335205,
0.006493184089660644,
0.006683648109436035,
0.006567935943603515,
0.006482944011688232,
0.006880256175994873,
0.006660096168518067,
0.006633471965789795,
0.006659071922302246,
0.0067041277885437015,
0.0066304001808166506,
0.0066447358131408694,
0.006590464115142822,
0.006564864158630371,
0.00657919979095459,
0.0066416640281677245,
0.006595583915710449,
0.006606847763061524,
0.0066344962120056155,
0.006606847763061524,
0.006593535900115967,
0.006583295822143555,
0.006576128005981445,
0.006625279903411865,
0.006586368083953857,
0.0066744318008422855,
0.006546432018280029,
0.006510591983795166,
0.006561791896820069,
0.006584320068359375,
0.006557695865631104,
0.00658022403717041,
0.006560768127441406,
0.006563839912414551,
0.006574079990386963,
0.006758399963378906,
0.006636544227600098,
0.006689792156219483,
0.006657023906707763,
0.006648831844329834,
0.00658739185333252,
0.006608895778656006,
0.006562816143035889,
0.00657203197479248,
0.006554624080657959,
0.006497280120849609,
0.006524928092956543,
0.0063201279640197755,
0.006456319808959961,
0.00657203197479248,
0.00638156795501709,
0.006284287929534912,
0.006243328094482422,
0.006280191898345947,
0.006425600051879882,
0.0066007041931152345,
0.006716415882110595,
0.006626304149627686,
0.006716415882110595,
0.006822912216186523,
0.007024640083312988,
0.006612991809844971,
0.006495232105255127,
0.0064849920272827145,
0.006408192157745361,
0.006475776195526123,
0.006486015796661377,
0.006479872226715088,
0.006429696083068847,
0.006400000095367431,
0.006470655918121338,
0.006425600051879882,
0.006449151992797852,
0.0064737281799316405,
0.006269951820373535,
0.00628223991394043,
0.006260735988616943,
0.00626585578918457,
0.006213632106781006,
0.006250495910644531,
0.006221824169158936,
0.006227968215942382,
0.006240255832672119,
0.0062044157981872555,
0.006253568172454834,
0.0062197761535644535,
0.006211584091186524,
0.00621670389175415,
0.006246399879455566,
0.006230016231536865,
0.006210559844970703,
0.00621670389175415,
0.006203392028808594,
0.006235136032104492,
0.006194176197052002,
0.006212607860565185,
0.0062269439697265625,
0.006276095867156982,
0.006298624038696289,
0.006403071880340576,
0.006426623821258545,
0.0063907837867736815,
0.006475776195526123,
0.00643993616104126,
0.006409215927124024,
0.006351871967315674,
0.006337535858154297,
0.0063498239517211915,
0.006352896213531494,
0.006258687973022461,
0.006210559844970703,
0.006221824169158936,
0.00632422399520874,
0.006262784004211426,
0.006209536075592041,
0.006258687973022461,
0.006247424125671387
]
},
"throughput": {
"unit": "samples/s",
"value": 153.6963109196189
},
"energy": {
"unit": "kWh",
"cpu": 7.54311248417535e-08,
"ram": 4.1234562607772375e-08,
"gpu": 1.4321667508280268e-07,
"total": 2.5988236253232856e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3847894.833092427
}
}
}
}