IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b8def1b verified
raw
history blame
13.7 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.224-212.876.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.26592,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.57312
},
"latency": {
"unit": "s",
"values": [
7.982548828125
],
"count": 1,
"total": 7.982548828125,
"mean": 7.982548828125,
"p50": 7.982548828125,
"p90": 7.982548828125,
"p95": 7.982548828125,
"p99": 7.982548828125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.129423231974619e-07,
"ram": 4.813875690957712e-07,
"gpu": 0.0,
"total": 1.394329892293233e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.254208,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005701632022857666,
0.005706751823425293,
0.005497856140136719,
0.0054568958282470706,
0.005468160152435303,
0.00555622386932373,
0.0055214080810546875,
0.005563392162322998,
0.005728256225585937,
0.0057712640762329105,
0.005720064163208007,
0.005679103851318359,
0.005705728054046631,
0.005610496044158936,
0.005953536033630371,
0.005706751823425293,
0.005765151977539062,
0.0057190399169921875,
0.005639167785644531,
0.005437439918518067,
0.0053309440612792965,
0.005294079780578613,
0.005398528099060058,
0.005452799797058106,
0.005431392192840576,
0.005413887977600097,
0.005441535949707031,
0.005557248115539551,
0.005420032024383545,
0.0053944320678710935,
0.005421055793762207,
0.0054568958282470706,
0.005492735862731934,
0.005536767959594726,
0.005480447769165039,
0.005613632202148437,
0.005829631805419922,
0.005708799839019775,
0.005745664119720459,
0.0057118721008300784,
0.005787648200988769,
0.005670911788940429,
0.005860352039337159,
0.005725183963775635,
0.00577023983001709,
0.005723135948181152,
0.005687295913696289,
0.005818367958068848,
0.005451776027679443,
0.005403647899627686,
0.005341184139251709,
0.005399551868438721,
0.005488639831542969,
0.005400576114654541,
0.005411839962005615,
0.005534719944000244,
0.0054241280555725096,
0.005355519771575928,
0.005385216236114502,
0.00542310380935669,
0.005388288021087646,
0.005404672145843506,
0.005392384052276611,
0.005395455837249756,
0.005390336036682129,
0.005395455837249756,
0.0054271998405456545,
0.00550707197189331,
0.005488639831542969,
0.005495808124542236,
0.0054579200744628905,
0.005452799797058106,
0.00552243185043335,
0.00547430419921875,
0.005492735862731934,
0.005438464164733887,
0.005446656227111817,
0.005511168003082275,
0.0054241280555725096,
0.00530841588973999,
0.0053350400924682614,
0.005445631980895996,
0.005442560195922852,
0.005350399971008301,
0.005319680213928223,
0.005315584182739258,
0.005244927883148193,
0.005180416107177735,
0.005338111877441406,
0.005390336036682129,
0.005216256141662597,
0.005100543975830078,
0.0051773438453674315,
0.0051036162376403805,
0.00522547197341919,
0.005557248115539551,
0.005639200210571289,
0.005703680038452149,
0.0057077760696411135,
0.005806079864501953,
0.005852159976959229,
0.00586240005493164,
0.005915647983551026,
0.005578752040863037,
0.005483520030975342,
0.005530623912811279,
0.0054579200744628905,
0.00551423978805542,
0.005478400230407715,
0.005465087890625,
0.005544960021972656,
0.00547430419921875,
0.005581823825836182,
0.005545983791351319,
0.005477375984191894,
0.005468160152435303,
0.005496831893920898,
0.005441535949707031,
0.0055214080810546875,
0.0054568958282470706,
0.005508096218109131,
0.005485568046569824,
0.005446656227111817,
0.00546611213684082,
0.005463039875030518,
0.005403647899627686,
0.005473279953002929,
0.005422080039978027,
0.005471231937408447,
0.0054609918594360355,
0.005454847812652588,
0.005447679996490478,
0.005537792205810547,
0.005445631980895996,
0.005421055793762207,
0.005426176071166992,
0.005440512180328369,
0.005438464164733887,
0.005403647899627686,
0.005430272102355957,
0.005519360065460205,
0.005444608211517334,
0.00546611213684082,
0.005452799797058106,
0.005452799797058106,
0.005454847812652588,
0.005450751781463623,
0.005430272102355957,
0.005437439918518067,
0.005380095958709717,
0.005388288021087646,
0.005540863990783691,
0.005480447769165039,
0.005450751781463623,
0.005629951953887939,
0.005780479907989502,
0.005595168113708496,
0.005455872058868408,
0.005476352214813233,
0.005518335819244385,
0.005437439918518067,
0.005479423999786377,
0.005445631980895996,
0.005433343887329102,
0.005511168003082275,
0.005454847812652588,
0.005449728012084961,
0.005479423999786377,
0.005416959762573242,
0.005667840003967285,
0.005453824043273926,
0.005411903858184814,
0.0054579200744628905,
0.005431295871734619,
0.005479423999786377,
0.005458943843841553,
0.0054609918594360355,
0.005451776027679443,
0.005485568046569824,
0.005458943843841553,
0.005445631980895996,
0.005478400230407715
],
"count": 182,
"total": 1.00076882982254,
"mean": 0.005498729834189782,
"p50": 0.005459967851638794,
"p90": 0.005718323135375977,
"p95": 0.005780019116401672,
"p99": 0.005872517161369323,
"stdev": 0.00014459674071285518,
"stdev_": 2.6296389361373484
},
"throughput": {
"unit": "samples/s",
"value": 181.8601804697223
},
"energy": {
"unit": "kWh",
"cpu": 6.255014726924622e-08,
"ram": 3.417711656943147e-08,
"gpu": 1.264942532415509e-07,
"total": 2.2322151708022864e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4479854.868294741
}
}
}
}