IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1768a0e verified
raw
history blame
12.5 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.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.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.720064,
"max_global_vram": 1231.552512,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0027900800704959,
"mean": 0.005571056000391642,
"stdev": 0.00021952444562300109,
"p50": 0.005508096218109131,
"p90": 0.005803417682647706,
"p95": 0.0059229182004928585,
"p99": 0.006385787043571473,
"values": [
0.00616755199432373,
0.005529600143432617,
0.0056483840942382815,
0.0055511040687561035,
0.005559296131134033,
0.0055920639038085935,
0.005541888236999512,
0.00557260799407959,
0.005620736122131348,
0.0055808000564575196,
0.005571584224700928,
0.005527552127838135,
0.005575679779052735,
0.005479423999786377,
0.005463039875030518,
0.005419007778167725,
0.0054241280555725096,
0.006348800182342529,
0.005876736164093017,
0.005924863815307617,
0.005849088191986084,
0.005835775852203369,
0.006131711959838867,
0.006524928092956543,
0.005922815799713135,
0.0058726401329040525,
0.005776383876800537,
0.005856256008148194,
0.005807104110717773,
0.00573747205734253,
0.0055582718849182125,
0.005506048202514649,
0.005566463947296142,
0.005511168003082275,
0.005638144016265869,
0.005673024177551269,
0.0056442880630493165,
0.005751808166503906,
0.005640192031860352,
0.005708799839019775,
0.005578752040863037,
0.00546611213684082,
0.005605375766754151,
0.005554175853729248,
0.0055552000999450684,
0.005708799839019775,
0.005734399795532226,
0.006255616188049316,
0.00572108793258667,
0.005850111961364746,
0.005803008079528809,
0.005799935817718506,
0.005801983833312988,
0.005764095783233642,
0.005552127838134766,
0.00551423978805542,
0.0055214080810546875,
0.005492735862731934,
0.005582848072052002,
0.005763072013854981,
0.00571289587020874,
0.005733376026153565,
0.00581324815750122,
0.005790719985961914,
0.005760000228881836,
0.005767168045043946,
0.00555622386932373,
0.005560319900512695,
0.00561356782913208,
0.005553152084350586,
0.005581823825836182,
0.005518335819244385,
0.0055316481590271,
0.0055552000999450684,
0.005438464164733887,
0.005576704025268555,
0.0054917120933532714,
0.005410816192626953,
0.005399551868438721,
0.005222400188446045,
0.005323808193206787,
0.0054609918594360355,
0.005377024173736572,
0.005306367874145508,
0.006258687973022461,
0.006680575847625733,
0.006326272010803223,
0.005602303981781006,
0.005700607776641845,
0.005641215801239013,
0.00562278413772583,
0.005557248115539551,
0.0055848960876464845,
0.005679103851318359,
0.005715968132019043,
0.0055285758972167965,
0.0054241280555725096,
0.0054241280555725096,
0.005535744190216065,
0.005452799797058106,
0.005411839962005615,
0.005444608211517334,
0.0054241280555725096,
0.005471231937408447,
0.0054271998405456545,
0.005412864208221436,
0.0055101442337036136,
0.005444608211517334,
0.005435391902923584,
0.005600255966186523,
0.005429247856140137,
0.00542310380935669,
0.005412864208221436,
0.005408768177032471,
0.005437439918518067,
0.005387263774871826,
0.005406720161437988,
0.005444608211517334,
0.005426176071166992,
0.005453824043273926,
0.005549056053161621,
0.005442560195922852,
0.005446656227111817,
0.005519360065460205,
0.005746687889099121,
0.00547430419921875,
0.005411839962005615,
0.005393407821655274,
0.005796864032745362,
0.005401599884033203,
0.005425151824951172,
0.005389311790466309,
0.005380095958709717,
0.005438464164733887,
0.005411839962005615,
0.005404672145843506,
0.005430272102355957,
0.005393407821655274,
0.005403647899627686,
0.005462016105651855,
0.005387263774871826,
0.005390336036682129,
0.005442560195922852,
0.005369887828826904,
0.005417984008789062,
0.00542310380935669,
0.005402624130249023,
0.005480447769165039,
0.005440512180328369,
0.005433343887329102,
0.005526527881622314,
0.005421055793762207,
0.005406720161437988,
0.005439487934112549,
0.0054282240867614745,
0.005409791946411133,
0.005462016105651855,
0.005459968090057373,
0.005425151824951172,
0.0054609918594360355,
0.005458943843841553,
0.0057415680885314945,
0.005610496044158936,
0.005454847812652588,
0.005493760108947754,
0.005440512180328369,
0.0054906878471374515,
0.005431295871734619,
0.005411839962005615,
0.005449728012084961,
0.005404672145843506,
0.005426239967346191,
0.005470208168029785,
0.005400576114654541,
0.00541593599319458,
0.005421055793762207,
0.005392384052276611,
0.005390336036682129,
0.00542310380935669,
0.0053975038528442385
]
},
"throughput": {
"unit": "samples/s",
"value": 179.49918290710065
},
"energy": {
"unit": "kWh",
"cpu": 6.104896926797952e-08,
"ram": 3.336820900630077e-08,
"gpu": 1.290722682061832e-07,
"total": 2.2348944648046348e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4474484.212781008
}
}
}
}