IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
bb0a3aa verified
raw
history blame
11.1 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.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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.587904,
"max_global_vram": 1231.552512,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0059274244308472,
"mean": 0.006796806921830048,
"stdev": 0.00046711873956685685,
"p50": 0.0067066879272460935,
"p90": 0.00689469428062439,
"p95": 0.0071596033573150634,
"p99": 0.009348465013504028,
"values": [
0.009962495803833007,
0.009354240417480468,
0.009341952323913574,
0.009155584335327148,
0.007359488010406494,
0.007200767993927002,
0.0072325119972229,
0.007163904190063477,
0.007072768211364746,
0.00667852783203125,
0.006730751991271973,
0.006702079772949219,
0.006622208118438721,
0.006604800224304199,
0.006627327919006347,
0.006654975891113281,
0.006713344097137451,
0.006755328178405762,
0.006762495994567871,
0.006763519763946534,
0.006802432060241699,
0.006721536159515381,
0.006688767910003662,
0.006716415882110595,
0.006792191982269287,
0.006731776237487793,
0.006770688056945801,
0.006782976150512696,
0.006761472225189209,
0.0067041277885437015,
0.006716415882110595,
0.0067041277885437015,
0.006758399963378906,
0.006718463897705078,
0.006625279903411865,
0.006619135856628418,
0.00662937593460083,
0.0066447358131408694,
0.006660096168518067,
0.006899712085723877,
0.006708223819732666,
0.006719488143920899,
0.006748159885406494,
0.006726655960083008,
0.006774784088134766,
0.006781951904296875,
0.006774784088134766,
0.006688767910003662,
0.006670335769653321,
0.006656000137329102,
0.0066979842185974124,
0.0067358717918396,
0.0066979842185974124,
0.006747136116027832,
0.006723584175109864,
0.006606847763061524,
0.006633471965789795,
0.00667852783203125,
0.006710271835327148,
0.006779903888702392,
0.006817791938781738,
0.0067010560035705566,
0.00659660816192627,
0.006692863941192627,
0.006687744140625,
0.0066826238632202144,
0.006658048152923584,
0.0066713600158691405,
0.00667852783203125,
0.006756351947784424,
0.006782976150512696,
0.006719488143920899,
0.00678604793548584,
0.006782976150512696,
0.006763519763946534,
0.006672383785247803,
0.006772736072540283,
0.006681600093841553,
0.006650879859924317,
0.006797311782836914,
0.006604800224304199,
0.006516736030578613,
0.006471680164337158,
0.0064174079895019534,
0.006529024124145508,
0.006504447937011719,
0.006384640216827392,
0.006371327877044678,
0.006362112045288086,
0.0064102401733398436,
0.006862847805023193,
0.006870016098022461,
0.006890495777130127,
0.006909952163696289,
0.006999040126800537,
0.007018496036529541,
0.007151616096496582,
0.007030784130096435,
0.006795263767242431,
0.006729728221893311,
0.006792191982269287,
0.00678604793548584,
0.0067010560035705566,
0.006724607944488525,
0.006759424209594727,
0.0067051520347595215,
0.006708223819732666,
0.006708223819732666,
0.0067051520347595215,
0.006656000137329102,
0.0067051520347595215,
0.006668288230895996,
0.006685696125030518,
0.006681600093841553,
0.006715392112731934,
0.00669593620300293,
0.006744063854217529,
0.0066344962120056155,
0.0066344962120056155,
0.006624256134033203,
0.0067041277885437015,
0.0066938881874084475,
0.006686719894409179,
0.006690815925598144,
0.006673408031463623,
0.006718463897705078,
0.006718463897705078,
0.00667852783203125,
0.006759424209594727,
0.00669593620300293,
0.006688767910003662,
0.006714367866516113,
0.006677504062652588,
0.006643712043762207,
0.006892543792724609,
0.0067123198509216305,
0.006654975891113281,
0.006672383785247803,
0.006726655960083008,
0.006635519981384277,
0.0067041277885437015,
0.0067123198509216305,
0.006650879859924317,
0.00667852783203125,
0.006710271835327148,
0.006657023906707763,
0.006690815925598144,
0.0066979842185974124
]
},
"throughput": {
"unit": "samples/s",
"value": 147.1279104292621
},
"energy": {
"unit": "kWh",
"cpu": 7.811371585604741e-08,
"ram": 4.270364973691405e-08,
"gpu": 1.5042592443421047e-07,
"total": 2.712432900271719e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3686727.1441067704
}
}
}
}