IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
181b278 verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"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": {},
"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,
"memory": true,
"latency": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.691904,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.20510617065429687
],
"count": 1,
"total": 0.20510617065429687,
"mean": 0.20510617065429687,
"p50": 0.20510617065429687,
"p90": 0.20510617065429687,
"p95": 0.20510617065429687,
"p99": 0.20510617065429687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1053.192192,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005899263858795166,
0.005831679821014404,
0.005606400012969971,
0.005636096000671387,
0.00566374397277832,
0.00561356782913208,
0.005616640090942383,
0.005612544059753418,
0.006150144100189209,
0.0059361281394958495,
0.005950463771820068,
0.00586956787109375,
0.005912576198577881,
0.005855231761932373,
0.005913599967956543,
0.0059023361206054685,
0.0060293121337890625,
0.005831679821014404,
0.005839871883392334,
0.005775360107421875,
0.006085631847381592,
0.005892096042633056,
0.005864448070526123,
0.005864448070526123,
0.005858304023742676,
0.005899263858795166,
0.005852159976959229,
0.005916672229766846,
0.005944320201873779,
0.006017024040222168,
0.006096896171569824,
0.006008831977844238,
0.0059351038932800295,
0.005959680080413818,
0.00587775993347168,
0.005654528141021729,
0.005837823867797852,
0.00586137580871582,
0.005913599967956543,
0.005891071796417236,
0.005892096042633056,
0.005864448070526123,
0.0058716158866882326,
0.005858304023742676,
0.006030335903167725,
0.00587059211730957,
0.005788671970367432,
0.005746687889099121,
0.005895167827606201,
0.005792768001556397,
0.005833727836608887,
0.00591871976852417,
0.005840896129608154,
0.0057712640762329105,
0.005793791770935058,
0.005947391986846923,
0.00587775993347168,
0.00582860803604126,
0.005807104110717773,
0.005857279777526855,
0.005823520183563233,
0.005880832195281982,
0.005928959846496582,
0.0059658241271972655,
0.005934080123901367,
0.005984255790710449,
0.005912576198577881,
0.005934080123901367,
0.005937151908874512,
0.005857279777526855,
0.005894144058227539,
0.005895167827606201,
0.005912576198577881,
0.0058419198989868165,
0.005858304023742676,
0.005929984092712402,
0.005843967914581299,
0.005716991901397705,
0.005728256225585937,
0.005690368175506591,
0.005607423782348633,
0.005754879951477051,
0.00581324815750122,
0.005670911788940429,
0.005525504112243652,
0.005557248115539551,
0.005588992118835449,
0.005585919857025146,
0.005805056095123291,
0.005608448028564453,
0.00571289587020874,
0.005608448028564453,
0.0058419198989868165,
0.005797887802124023,
0.005946368217468262,
0.00577023983001709,
0.005571584224700928,
0.005615615844726562,
0.00557260799407959,
0.005314559936523438,
0.0053012480735778805,
0.005284863948822022,
0.005288959980010987,
0.005292031764984131,
0.005259263992309571,
0.005261312007904053,
0.0052674560546875,
0.005245952129364013,
0.005256192207336426,
0.005258240222930908,
0.005239808082580567,
0.005216256141662597,
0.005235712051391602,
0.005255167961120606,
0.0052336640357971195,
0.005239808082580567,
0.005273600101470947,
0.00522649621963501,
0.005234687805175781,
0.005223423957824707,
0.0052111358642578124,
0.0052295680046081545,
0.005234687805175781,
0.0052111358642578124,
0.005237760066986084,
0.005221375942230225,
0.005245952129364013,
0.0052111358642578124,
0.0052295680046081545,
0.005241856098175048,
0.005214208126068115,
0.00521727991104126,
0.0052674560546875,
0.005219327926635742,
0.005245952129364013,
0.005219327926635742,
0.005242879867553711,
0.005227519989013672,
0.005246975898742676,
0.005238783836364746,
0.005254144191741943,
0.00521727991104126,
0.005238783836364746,
0.005243904113769531,
0.005241856098175048,
0.005239808082580567,
0.005249023914337158,
0.005221375942230225,
0.0052408318519592285,
0.00521727991104126,
0.0052408318519592285,
0.005238783836364746,
0.0052336640357971195,
0.005221375942230225,
0.005231616020202637,
0.005227519989013672,
0.005246975898742676,
0.005210112094879151,
0.005256192207336426,
0.005255167961120606,
0.00522649621963501,
0.0052408638000488285,
0.005206016063690186,
0.005234687805175781,
0.00522649621963501,
0.005252096176147461,
0.005221375942230225,
0.005227519989013672,
0.005248000144958496,
0.005202943801879883,
0.005244927883148193,
0.005234687805175781,
0.005222400188446045,
0.005215231895446777,
0.005234687805175781,
0.0051998720169067385,
0.0052336640357971195,
0.005227519989013672,
0.005224448204040527,
0.005210112094879151
],
"count": 180,
"total": 1.001473086833954,
"mean": 0.005563739371299743,
"p50": 0.005608448028564453,
"p90": 0.005934080123901367,
"p95": 0.00595998728275299,
"p99": 0.006087997355461121,
"stdev": 0.000310494426701045,
"stdev_": 5.5806788560714065
},
"throughput": {
"unit": "samples/s",
"value": 179.73523439261862
},
"energy": {
"unit": "kWh",
"cpu": 6.409416551050882e-08,
"ram": 3.502384829798452e-08,
"gpu": 1.280826850486534e-07,
"total": 2.2720069885714672e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4401394.912208231
}
}
}
}