IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e29c961 verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 869.445632,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0030551052093506,
"mean": 0.005511291786864564,
"stdev": 0.0002846461143893422,
"p50": 0.005571072101593018,
"p90": 0.005966028690338135,
"p95": 0.0060651009559631345,
"p99": 0.006314700927734374,
"values": [
0.006667200088500976,
0.006103040218353272,
0.006289408206939697,
0.006011903762817383,
0.006087679862976075,
0.005966847896575928,
0.006078464031219482,
0.005958655834197998,
0.006065152168273926,
0.005981184005737304,
0.006032383918762207,
0.005974016189575195,
0.006049791812896729,
0.006218751907348633,
0.005967872142791748,
0.005928959846496582,
0.006064127922058105,
0.006110208034515381,
0.006245376110076905,
0.00642252779006958,
0.005468160152435303,
0.005481472015380859,
0.005347328186035156,
0.005241856098175048,
0.0053012480735778805,
0.005281792163848877,
0.005241856098175048,
0.00522649621963501,
0.005251071929931641,
0.005228544235229492,
0.005219327926635742,
0.00541593599319458,
0.005586944103240967,
0.0055623679161071774,
0.005612544059753418,
0.005554175853729248,
0.005593088150024414,
0.0056555519104003905,
0.0056514558792114256,
0.005604351997375488,
0.005753856182098388,
0.005657599925994873,
0.005638144016265869,
0.005624832153320313,
0.005595136165618897,
0.005587967872619629,
0.005635072231292724,
0.005595136165618897,
0.005628928184509278,
0.005604351997375488,
0.005582848072052002,
0.005602303981781006,
0.005599232196807862,
0.005604351997375488,
0.005586944103240967,
0.005596159934997558,
0.0056145920753479005,
0.005567488193511963,
0.005985280036926269,
0.005574656009674072,
0.005590015888214111,
0.005627903938293457,
0.005616640090942383,
0.005636096000671387,
0.005585919857025146,
0.005596159934997558,
0.00562278413772583,
0.005588992118835449,
0.005610496044158936,
0.0055797758102417,
0.005624832153320313,
0.005653503894805908,
0.005627903938293457,
0.005607423782348633,
0.005611519813537597,
0.0055797758102417,
0.005782591819763184,
0.00556441593170166,
0.0058419198989868165,
0.005581823825836182,
0.005605375766754151,
0.005578752040863037,
0.005598207950592041,
0.005652480125427246,
0.005561344146728516,
0.005604351997375488,
0.0056217598915100095,
0.005576704025268555,
0.005612544059753418,
0.005576704025268555,
0.00561356782913208,
0.005611519813537597,
0.005777408123016357,
0.005618688106536865,
0.005565440177917481,
0.005607423782348633,
0.005587967872619629,
0.005552127838134766,
0.005718016147613526,
0.005697535991668701,
0.005672959804534912,
0.005657599925994873,
0.00562278413772583,
0.00566476821899414,
0.005634047985076904,
0.005670911788940429,
0.0056258559226989744,
0.005695487976074219,
0.005596159934997558,
0.005634047985076904,
0.00535756778717041,
0.005276671886444092,
0.0052633600234985355,
0.005479423999786377,
0.005272575855255127,
0.005253119945526123,
0.005288959980010987,
0.005251071929931641,
0.005252096176147461,
0.005302271842956543,
0.005238783836364746,
0.0052336640357971195,
0.005241856098175048,
0.0052336640357971195,
0.005194752216339111,
0.005216256141662597,
0.0053012480735778805,
0.005224448204040527,
0.005224448204040527,
0.005252096176147461,
0.005239808082580567,
0.005235712051391602,
0.005534719944000244,
0.005228544235229492,
0.0052336640357971195,
0.005255167961120606,
0.005230591773986816,
0.005227519989013672,
0.005245952129364013,
0.005224448204040527,
0.005214208126068115,
0.005208064079284668,
0.005238783836364746,
0.0052408318519592285,
0.00521830415725708,
0.005243904113769531,
0.005228544235229492,
0.005216256141662597,
0.0052367358207702636,
0.005203968048095703,
0.005213183879852295,
0.00535859203338623,
0.005210112094879151,
0.00521727991104126,
0.005246975898742676,
0.0053534722328186036,
0.005227519989013672,
0.0052408318519592285,
0.0052930560111999515,
0.005203968048095703,
0.0052336640357971195,
0.005246975898742676,
0.005280767917633057,
0.005223423957824707,
0.005261312007904053,
0.005208064079284668,
0.005235712051391602,
0.0052633600234985355,
0.005224448204040527,
0.005230591773986816,
0.005250048160552978,
0.005251071929931641,
0.005254144191741943,
0.00522547197341919,
0.0053647360801696775,
0.005246975898742676,
0.0052295680046081545,
0.005274623870849609,
0.005222400188446045,
0.005249023914337158,
0.005292031764984131,
0.005230591773986816
]
},
"throughput": {
"unit": "samples/s",
"value": 181.4456644054608
},
"energy": {
"unit": "kWh",
"cpu": 6.300994672814724e-08,
"ram": 3.44464819928417e-08,
"gpu": 1.3065022272342485e-07,
"total": 2.281066514444138e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4383914.250933998
}
}
}
}