IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
484fb07 verified
raw
history blame
11.3 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": 877.129728,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 153,
"total": 1.0030326366424556,
"mean": 0.006555768866944158,
"stdev": 0.00027054823182730856,
"p50": 0.006441984176635742,
"p90": 0.006734847831726074,
"p95": 0.007145881557464599,
"p99": 0.0077477886772155755,
"values": [
0.007475200176239013,
0.007069695949554444,
0.007302144050598145,
0.007145472049713135,
0.007214079856872559,
0.007169023990631103,
0.007146495819091797,
0.006874112129211426,
0.0077281279563903805,
0.006680575847625733,
0.006406144142150879,
0.0064174079895019534,
0.006398975849151611,
0.006347775936126709,
0.006394879817962646,
0.00637440013885498,
0.006340608119964599,
0.006369279861450195,
0.006367231845855713,
0.006388735771179199,
0.00638156795501709,
0.006339583873748779,
0.0063805441856384275,
0.006355967998504639,
0.006386688232421875,
0.0063498239517211915,
0.0063610877990722655,
0.006359039783477783,
0.0063498239517211915,
0.0063610877990722655,
0.006368256092071533,
0.006326272010803223,
0.0063610877990722655,
0.0063170561790466305,
0.006358016014099121,
0.006333439826965332,
0.0063539199829101565,
0.006370304107666015,
0.00633241605758667,
0.006336512088775635,
0.006345727920532227,
0.0063498239517211915,
0.006450175762176514,
0.00638259220123291,
0.006388735771179199,
0.0063508481979370115,
0.006384640216827392,
0.006369279861450195,
0.006337535858154297,
0.006339583873748779,
0.006341631889343262,
0.0063498239517211915,
0.0063498239517211915,
0.006337535858154297,
0.006342656135559082,
0.006335487842559814,
0.006359039783477783,
0.006325247764587402,
0.006553599834442139,
0.0064440321922302245,
0.006368256092071533,
0.0064266881942749024,
0.006366208076477051,
0.006432767868041992,
0.006429696083068847,
0.006368256092071533,
0.0064204797744750975,
0.0063539199829101565,
0.006510591983795166,
0.006449151992797852,
0.006371327877044678,
0.006432767868041992,
0.0064245758056640625,
0.006352896213531494,
0.00642252779006958,
0.0063836159706115725,
0.0064133119583129885,
0.006388735771179199,
0.00637440013885498,
0.006386688232421875,
0.006386688232421875,
0.006426623821258545,
0.006441984176635742,
0.0063907837867736815,
0.006441984176635742,
0.006436863899230957,
0.00643174409866333,
0.0063907837867736815,
0.006405119895935059,
0.0063907837867736815,
0.00637440013885498,
0.006404096126556396,
0.006423552036285401,
0.006793216228485107,
0.006658048152923584,
0.006617087841033936,
0.0066119680404663084,
0.006658048152923584,
0.006636544227600098,
0.006620160102844238,
0.006667263984680176,
0.006616064071655273,
0.0066375679969787596,
0.006624256134033203,
0.007021567821502686,
0.007773183822631836,
0.007769087791442871,
0.00703385591506958,
0.006739967823028564,
0.006748159885406494,
0.006709248065948486,
0.006714367866516113,
0.006673408031463623,
0.006616064071655273,
0.0066826238632202144,
0.00667852783203125,
0.006608895778656006,
0.006696959972381592,
0.006649856090545654,
0.006628352165222168,
0.0067041277885437015,
0.006639616012573242,
0.006616064071655273,
0.006626304149627686,
0.006615039825439453,
0.006599679946899414,
0.006647808074951172,
0.006606847763061524,
0.006617087841033936,
0.006614016056060791,
0.006660096168518067,
0.006617087841033936,
0.006622208118438721,
0.006661119937896728,
0.006619135856628418,
0.006605823993682861,
0.006621183872222901,
0.006645760059356689,
0.006618112087249756,
0.006583295822143555,
0.00662937593460083,
0.006619135856628418,
0.006597631931304931,
0.006614016056060791,
0.006653952121734619,
0.006616064071655273,
0.006625279903411865,
0.0066109437942504885,
0.006594560146331787,
0.006660096168518067,
0.006603775978088379,
0.006597631931304931,
0.006632448196411133
]
},
"throughput": {
"unit": "samples/s",
"value": 152.53740946271802
},
"energy": {
"unit": "kWh",
"cpu": 7.721392214728296e-08,
"ram": 4.221061401819626e-08,
"gpu": 1.5217364266233698e-07,
"total": 2.715981788278162e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3681909.8136661854
}
}
}
}