{ "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_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": {}, "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.293824, "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 876.09344, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 186, "total": 1.0032097973823548, "mean": 0.005393601061195456, "stdev": 0.00019146157722325623, "p50": 0.005348352193832397, "p90": 0.0056299521923065185, "p95": 0.005689856171607971, "p99": 0.00579819540977478, "values": [ 0.006144000053405762, 0.005646336078643799, 0.005791744232177734, 0.0057415680885314945, 0.005834752082824707, 0.005439487934112549, 0.005410816192626953, 0.005472256183624268, 0.005401599884033203, 0.005476352214813233, 0.005377024173736572, 0.005349376201629639, 0.005347328186035156, 0.005312511920928955, 0.005368832111358642, 0.005727231979370117, 0.005631999969482422, 0.005502975940704345, 0.005493760108947754, 0.0054876160621643065, 0.005569536209106446, 0.0055511040687561035, 0.005609471797943116, 0.005658624172210694, 0.005607423782348633, 0.005616640090942383, 0.005600255966186523, 0.0055214080810546875, 0.005538815975189209, 0.005601280212402344, 0.005628928184509278, 0.005604351997375488, 0.0055920639038085935, 0.005616640090942383, 0.005591040134429932, 0.005626880168914795, 0.0055623679161071774, 0.00555622386932373, 0.005620736122131348, 0.005582848072052002, 0.005641280174255371, 0.0056217598915100095, 0.005492735862731934, 0.005593088150024414, 0.005583871841430664, 0.00555622386932373, 0.005554175853729248, 0.0055582718849182125, 0.005495808124542236, 0.005337088108062744, 0.005279744148254394, 0.005318655967712403, 0.005404672145843506, 0.00536575984954834, 0.005386240005493164, 0.005379072189331055, 0.0053606400489807126, 0.005398528099060058, 0.005311488151550293, 0.005775360107421875, 0.005702655792236328, 0.005605375766754151, 0.005716991901397705, 0.00563097620010376, 0.0056258559226989744, 0.005694464206695556, 0.005610496044158936, 0.005586944103240967, 0.0055244798660278325, 0.005626880168914795, 0.005608448028564453, 0.005561344146728516, 0.005667840003967285, 0.005623807907104492, 0.005545983791351319, 0.0055511040687561035, 0.005553152084350586, 0.00555622386932373, 0.005501952171325684, 0.0055582718849182125, 0.005561344146728516, 0.0055316481590271, 0.005640192031860352, 0.005368832111358642, 0.005349376201629639, 0.005414912223815918, 0.005370880126953125, 0.005350399971008301, 0.005350399971008301, 0.005283840179443359, 0.005307392120361328, 0.005338111877441406, 0.0052111358642578124, 0.005249023914337158, 0.005332992076873779, 0.005208064079284668, 0.005150720119476319, 0.005192704200744629, 0.005044223785400391, 0.005114880084991455, 0.005189631938934326, 0.005220352172851562, 0.005064703941345215, 0.0050063362121582035, 0.0050124797821044925, 0.0050063362121582035, 0.005040128231048584, 0.005018623828887939, 0.00506879997253418, 0.005346303939819336, 0.005398528099060058, 0.005436416149139404, 0.005447679996490478, 0.005464064121246338, 0.005529600143432617, 0.005673984050750733, 0.005484543800354004, 0.005322751998901368, 0.005285888195037842, 0.0052930560111999515, 0.005314559936523438, 0.005254144191741943, 0.005251071929931641, 0.0053043198585510255, 0.005264383792877197, 0.005261312007904053, 0.005294079780578613, 0.005275648117065429, 0.005283840179443359, 0.0052971520423889164, 0.005249023914337158, 0.005241856098175048, 0.00531660795211792, 0.005279744148254394, 0.005237760066986084, 0.00526643180847168, 0.005258240222930908, 0.005230591773986816, 0.005237760066986084, 0.005244927883148193, 0.00522649621963501, 0.005215231895446777, 0.005253119945526123, 0.0051998720169067385, 0.005231616020202637, 0.005253119945526123, 0.005238783836364746, 0.005212160110473632, 0.005274623870849609, 0.005254144191741943, 0.005221375942230225, 0.0052705278396606445, 0.005259263992309571, 0.005248000144958496, 0.005239808082580567, 0.005246975898742676, 0.005703680038452149, 0.005250048160552978, 0.00522649621963501, 0.005208064079284668, 0.005208064079284668, 0.005227519989013672, 0.005213183879852295, 0.005206016063690186, 0.005242879867553711, 0.0052295680046081545, 0.005221375942230225, 0.005248000144958496, 0.005235712051391602, 0.005232639789581299, 0.005251071929931641, 0.005245952129364013, 0.005231616020202637, 0.005224448204040527, 0.005303296089172363, 0.005284863948822022, 0.005242879867553711, 0.00536678409576416, 0.005676032066345215, 0.005230591773986816, 0.005245952129364013, 0.005215231895446777, 0.005210112094879151, 0.005235712051391602, 0.00521830415725708, 0.005201920032501221 ] }, "throughput": { "unit": "samples/s", "value": 185.4048878762191 }, "energy": { "unit": "kWh", "cpu": 5.807236388877586e-08, "ram": 3.1741110685592545e-08, "gpu": 1.2125962859803905e-07, "total": 2.1107310317240745e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4737695.068533607 } } } }