IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb84ae4 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",
"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": 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.1",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.42816,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 150,
"total": 1.0023518075942992,
"mean": 0.006682345383961996,
"stdev": 0.00011592083435816756,
"p50": 0.006659072160720826,
"p90": 0.006794547176361084,
"p95": 0.006881279945373535,
"p99": 0.007047454729080199,
"values": [
0.007196671962738037,
0.006783999919891357,
0.006936575889587402,
0.006859776020050049,
0.006865920066833496,
0.006910975933074951,
0.006881279945373535,
0.006797311782836914,
0.00672051191329956,
0.006710271835327148,
0.0067051520347595215,
0.006681600093841553,
0.006703104019165039,
0.0067573761940002445,
0.0066447358131408694,
0.00665503978729248,
0.006843391895294189,
0.006688767910003662,
0.006785024166107178,
0.00679423999786377,
0.006790143966674805,
0.006719488143920899,
0.006723584175109864,
0.006710271835327148,
0.006677504062652588,
0.006763519763946534,
0.006772736072540283,
0.006721536159515381,
0.0067338237762451176,
0.006755328178405762,
0.006687744140625,
0.006669312000274658,
0.006726655960083008,
0.006681600093841553,
0.0067338237762451176,
0.006744063854217529,
0.0065781760215759275,
0.0066078720092773435,
0.006647808074951172,
0.006624256134033203,
0.0067348480224609375,
0.006684671878814697,
0.006650879859924317,
0.006680575847625733,
0.006762495994567871,
0.006708223819732666,
0.006755328178405762,
0.006774784088134766,
0.0066979842185974124,
0.006648831844329834,
0.006645760059356689,
0.006687744140625,
0.006740992069244385,
0.006676479816436768,
0.00667955207824707,
0.0066938881874084475,
0.006620160102844238,
0.006605823993682861,
0.006732800006866455,
0.006677504062652588,
0.006654975891113281,
0.0067358717918396,
0.006642687797546387,
0.006595647811889648,
0.006653952121734619,
0.006688767910003662,
0.006632448196411133,
0.006647808074951172,
0.006657023906707763,
0.00662937593460083,
0.006694911956787109,
0.0067686400413513184,
0.006779903888702392,
0.006711296081542969,
0.0067717118263244626,
0.006719488143920899,
0.006696959972381592,
0.00672051191329956,
0.00667852783203125,
0.00667955207824707,
0.006658048152923584,
0.006634528160095215,
0.006543360233306885,
0.006411263942718506,
0.006549503803253174,
0.006609920024871826,
0.006449151992797852,
0.006329343795776367,
0.006340608119964599,
0.0063498239517211915,
0.0063836159706115725,
0.006666240215301514,
0.006860799789428711,
0.00692633581161499,
0.006980607986450196,
0.007111680030822754,
0.006949888229370117,
0.006881279945373535,
0.006819839954376221,
0.00672051191329956,
0.006660096168518067,
0.006740992069244385,
0.006731808185577393,
0.006623231887817383,
0.006686719894409179,
0.006670335769653321,
0.006623231887817383,
0.00662937593460083,
0.006658048152923584,
0.006608895778656006,
0.006626304149627686,
0.006625279903411865,
0.006601727962493896,
0.0066119680404663084,
0.006619135856628418,
0.006586368083953857,
0.006612991809844971,
0.006601727962493896,
0.006618112087249756,
0.006639616012573242,
0.0066304001808166506,
0.006628352165222168,
0.0066344962120056155,
0.006593535900115967,
0.0066344962120056155,
0.006635519981384277,
0.006604800224304199,
0.006616064071655273,
0.006639616012573242,
0.006618112087249756,
0.0066304001808166506,
0.006635519981384277,
0.006612991809844971,
0.006657023906707763,
0.006642687797546387,
0.006616064071655273,
0.006626304149627686,
0.006642687797546387,
0.006624256134033203,
0.006601727962493896,
0.006653952121734619,
0.0066119680404663084,
0.006643712043762207,
0.00662937593460083,
0.0066109437942504885,
0.0066304001808166506,
0.006643712043762207,
0.006603775978088379,
0.006639616012573242,
0.00659660816192627
]
},
"throughput": {
"unit": "samples/s",
"value": 149.64805656410041
},
"energy": {
"unit": "kWh",
"cpu": 7.494954410652237e-08,
"ram": 4.0971426557306684e-08,
"gpu": 1.4573851321518984e-07,
"total": 2.616594838790189e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3821760.958843597
}
}
}
}