IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1dc3b97 verified
raw
history blame
11.2 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.582656,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 149,
"total": 1.0032077145576481,
"mean": 0.006732937681594951,
"stdev": 0.0004853407952640787,
"p50": 0.006669312000274658,
"p90": 0.006722559928894043,
"p95": 0.006842982482910156,
"p99": 0.009364111251831056,
"values": [
0.009894911766052245,
0.009367551803588867,
0.009360383987426758,
0.009234432220458985,
0.007903232097625732,
0.007751679897308349,
0.006808576107025147,
0.006391808032989502,
0.006413343906402588,
0.006355967998504639,
0.006553599834442139,
0.006642687797546387,
0.006626304149627686,
0.006783999919891357,
0.0065669121742248536,
0.00658022403717041,
0.006599679946899414,
0.006592512130737305,
0.006554624080657959,
0.006650879859924317,
0.006673408031463623,
0.0066713600158691405,
0.006750207901000976,
0.006666240215301514,
0.006688767910003662,
0.006710271835327148,
0.00667955207824707,
0.006654975891113281,
0.006681600093841553,
0.0066119680404663084,
0.006627327919006347,
0.006666240215301514,
0.0066641921997070315,
0.006656000137329102,
0.006677504062652588,
0.006666240215301514,
0.006685696125030518,
0.006696959972381592,
0.006650879859924317,
0.0066641921997070315,
0.006719488143920899,
0.006660096168518067,
0.00667955207824707,
0.006700032234191895,
0.006660096168518067,
0.006626304149627686,
0.006661119937896728,
0.006687744140625,
0.00669593620300293,
0.006684671878814697,
0.006684671878814697,
0.006627327919006347,
0.006708223819732666,
0.0066344962120056155,
0.006672383785247803,
0.006726655960083008,
0.006711296081542969,
0.006639616012573242,
0.006865920066833496,
0.006550528049468994,
0.006560768127441406,
0.006586368083953857,
0.006529024124145508,
0.006493184089660644,
0.0065771517753601075,
0.0065484800338745115,
0.006546432018280029,
0.006700032234191895,
0.006345727920532227,
0.0063508481979370115,
0.006375423908233643,
0.00632422399520874,
0.006450175762176514,
0.00658841609954834,
0.006612991809844971,
0.006563839912414551,
0.00648089599609375,
0.00653926420211792,
0.006598656177520752,
0.006520832061767578,
0.006594560146331787,
0.006639616012573242,
0.0066713600158691405,
0.006690815925598144,
0.006672383785247803,
0.006426623821258545,
0.0064440321922302245,
0.006352896213531494,
0.006532095909118653,
0.006685696125030518,
0.006635519981384277,
0.006707200050354004,
0.0067123198509216305,
0.006595583915710449,
0.006732800006866455,
0.006692863941192627,
0.006661119937896728,
0.006694911956787109,
0.006706175804138184,
0.006660096168518067,
0.006699007987976074,
0.006721536159515381,
0.006658048152923584,
0.0067276802062988285,
0.007020544052124023,
0.006717440128326416,
0.00667852783203125,
0.006722559928894043,
0.006673408031463623,
0.006666240215301514,
0.0066744318008422855,
0.006715392112731934,
0.00667852783203125,
0.006707200050354004,
0.006670335769653321,
0.006670335769653321,
0.006700032234191895,
0.006681600093841553,
0.006648831844329834,
0.006668288230895996,
0.006666240215301514,
0.006665215969085693,
0.006708223819732666,
0.0066713600158691405,
0.006675456047058105,
0.006714367866516113,
0.0067010560035705566,
0.006659071922302246,
0.0066713600158691405,
0.006673408031463623,
0.006665215969085693,
0.006675456047058105,
0.006684671878814697,
0.006665215969085693,
0.006719488143920899,
0.006706175804138184,
0.0066109437942504885,
0.0066344962120056155,
0.006669312000274658,
0.006658048152923584,
0.00667955207824707,
0.00669593620300293,
0.006722559928894043,
0.006715392112731934,
0.006667263984680176,
0.006647808074951172,
0.006677504062652588,
0.00667955207824707,
0.006652927875518798
]
},
"throughput": {
"unit": "samples/s",
"value": 148.52357875427597
},
"energy": {
"unit": "kWh",
"cpu": 7.716316681403619e-08,
"ram": 4.218294586410463e-08,
"gpu": 1.4262276922078345e-07,
"total": 2.619688818989243e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3817247.2728491127
}
}
}
}