IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d0ef194 verified
raw
history blame
11 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.77632,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.0007982678413394,
"mean": 0.006808151481913871,
"stdev": 0.00024164502230494396,
"p50": 0.006740992069244385,
"p90": 0.007104716682434082,
"p95": 0.007201484632492065,
"p99": 0.007364177837371826,
"values": [
0.007608320236206055,
0.007214079856872559,
0.0073768959045410155,
0.0072837119102478025,
0.007349247932434082,
0.0072325119972229,
0.007304192066192627,
0.007112703800201416,
0.006780928134918213,
0.006987775802612305,
0.00709939193725586,
0.007077888011932373,
0.007172095775604248,
0.00704204797744751,
0.006975488185882568,
0.007018496036529541,
0.007017471790313721,
0.007076863765716553,
0.007117824077606201,
0.007122943878173828,
0.0070860800743103025,
0.006754303932189941,
0.006688767910003662,
0.006723584175109864,
0.006819839954376221,
0.0067686400413513184,
0.006813695907592773,
0.0067686400413513184,
0.006696959972381592,
0.006719488143920899,
0.006740992069244385,
0.006710271835327148,
0.006760447978973389,
0.006738944053649902,
0.006700032234191895,
0.006619135856628418,
0.006627327919006347,
0.007293951988220215,
0.007017471790313721,
0.007010303974151612,
0.007066624164581299,
0.006862847805023193,
0.007018496036529541,
0.007095295906066895,
0.007071743965148926,
0.006740992069244385,
0.0067338237762451176,
0.00667852783203125,
0.0066754879951477055,
0.006662144184112549,
0.0067870721817016606,
0.006716415882110595,
0.00667852783203125,
0.0067051520347595215,
0.006677504062652588,
0.006593535900115967,
0.006725632190704346,
0.006646783828735352,
0.006626304149627686,
0.007129087924957276,
0.00698367977142334,
0.007008255958557129,
0.006947840213775635,
0.007021567821502686,
0.006958079814910889,
0.006982656002044678,
0.006938623905181885,
0.007029759883880615,
0.007027711868286133,
0.0068321280479431154,
0.006737919807434082,
0.006870016098022461,
0.007137279987335205,
0.007054336071014404,
0.007049215793609619,
0.007081984043121338,
0.007094272136688232,
0.007137279987335205,
0.006967296123504638,
0.006971392154693603,
0.006845439910888672,
0.006856704235076904,
0.007006207942962647,
0.0069253120422363285,
0.006668288230895996,
0.006670335769653321,
0.0066744318008422855,
0.006783999919891357,
0.006851583957672119,
0.007000063896179199,
0.006953983783721924,
0.0070553598403930665,
0.007093247890472412,
0.007019519805908203,
0.00693555212020874,
0.006815743923187256,
0.006774784088134766,
0.006807551860809326,
0.006779903888702392,
0.00657919979095459,
0.006626304149627686,
0.0066375679969787596,
0.006647808074951172,
0.006659071922302246,
0.006646783828735352,
0.006614016056060791,
0.0066416640281677245,
0.0066304001808166506,
0.006646783828735352,
0.006626336097717285,
0.00676966381072998,
0.006618112087249756,
0.006639616012573242,
0.006628352165222168,
0.00662937593460083,
0.006614016056060791,
0.006675456047058105,
0.006615039825439453,
0.006621183872222901,
0.006623231887817383,
0.006670335769653321,
0.006652927875518798,
0.0066641921997070315,
0.006619135856628418,
0.006621183872222901,
0.006707200050354004,
0.006700032234191895,
0.006558720111846924,
0.006296576023101807,
0.006298624038696289,
0.0062740478515625,
0.006260735988616943,
0.006266880035400391,
0.006559743881225586,
0.006560768127441406,
0.006550528049468994,
0.006526976108551025,
0.00652185583114624,
0.006557695865631104,
0.006525951862335205,
0.0065443840026855465,
0.006512639999389648,
0.0065771517753601075,
0.006518784046173095,
0.006524928092956543,
0.006545407772064209,
0.006519807815551758
]
},
"throughput": {
"unit": "samples/s",
"value": 146.88274822564398
},
"energy": {
"unit": "kWh",
"cpu": 7.674349678887261e-08,
"ram": 4.1782038376456304e-08,
"gpu": 1.4127072233548423e-07,
"total": 2.597962575008131e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3849170.1521022497
}
}
}
}