IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2abad70 verified
raw
history blame
13.6 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.225-213.878.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.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"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.396992,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.20419993591308594
],
"count": 1,
"total": 0.20419993591308594,
"mean": 0.20419993591308594,
"p50": 0.20419993591308594,
"p90": 0.20419993591308594,
"p95": 0.20419993591308594,
"p99": 0.20419993591308594,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1053.024256,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005819392204284668,
0.005756927967071533,
0.005504000186920166,
0.005582848072052002,
0.005453824043273926,
0.00553984022140503,
0.0054568958282470706,
0.005570559978485107,
0.00552345609664917,
0.005570559978485107,
0.005493760108947754,
0.005549056053161621,
0.005437439918518067,
0.005484543800354004,
0.005508096218109131,
0.005442560195922852,
0.005497856140136719,
0.005448703765869141,
0.0054988799095153805,
0.005408768177032471,
0.005535744190216065,
0.005430272102355957,
0.00553984022140503,
0.005441535949707031,
0.005496831893920898,
0.005445631980895996,
0.005464064121246338,
0.005479423999786377,
0.005451776027679443,
0.005471231937408447,
0.005451776027679443,
0.005496831893920898,
0.005454847812652588,
0.005494783878326416,
0.00542310380935669,
0.00551423978805542,
0.005450751781463623,
0.005497856140136719,
0.005505023956298828,
0.005447679996490478,
0.005529600143432617,
0.005430272102355957,
0.005506048202514649,
0.005432320117950439,
0.005598207950592041,
0.0054241280555725096,
0.005509119987487793,
0.005441535949707031,
0.005492735862731934,
0.005455872058868408,
0.005860352039337159,
0.0055808000564575196,
0.005482495784759522,
0.005496831893920898,
0.0054876160621643065,
0.005483520030975342,
0.005446656227111817,
0.005525504112243652,
0.0054568958282470706,
0.005482495784759522,
0.005616640090942383,
0.005720064163208007,
0.005767168045043946,
0.005437439918518067,
0.0054609918594360355,
0.005448703765869141,
0.005538815975189209,
0.005465087890625,
0.005469183921813964,
0.005429247856140137,
0.005561344146728516,
0.005409791946411133,
0.005459968090057373,
0.005410816192626953,
0.005471231937408447,
0.005435391902923584,
0.005469183921813964,
0.005475327968597412,
0.005430272102355957,
0.005442560195922852,
0.00542310380935669,
0.005481472015380859,
0.0054271998405456545,
0.005402624130249023,
0.005379072189331055,
0.005392384052276611,
0.0053534722328186036,
0.005401599884033203,
0.0053606400489807126,
0.0053534722328186036,
0.0053647360801696775,
0.005311488151550293,
0.005391359806060791,
0.00535756778717041,
0.005414912223815918,
0.005354496002197265,
0.005422080039978027,
0.00535756778717041,
0.00535859203338623,
0.0053821439743042,
0.005404672145843506,
0.005405695915222168,
0.005438464164733887,
0.005401599884033203,
0.005452799797058106,
0.005396480083465576,
0.00542310380935669,
0.0054876160621643065,
0.005434368133544922,
0.00567193603515625,
0.005495808124542236,
0.005459968090057373,
0.005445631980895996,
0.005470208168029785,
0.005459968090057373,
0.005536767959594726,
0.005449728012084961,
0.005465087890625,
0.005540863990783691,
0.005450751781463623,
0.00551526403427124,
0.0054241280555725096,
0.005502975940704345,
0.005436416149139404,
0.005455872058868408,
0.005449728012084961,
0.005525504112243652,
0.005416959762573242,
0.005479423999786377,
0.005408768177032471,
0.005471231937408447,
0.005469183921813964,
0.005438464164733887,
0.005453824043273926,
0.005444608211517334,
0.005431295871734619,
0.005437439918518067,
0.005447679996490478,
0.005407743930816651,
0.005447679996490478,
0.005470208168029785,
0.005459968090057373,
0.005440512180328369,
0.005416959762573242,
0.005399551868438721,
0.0054609918594360355,
0.0054579200744628905,
0.005409791946411133,
0.005506048202514649,
0.00541593599319458,
0.005432320117950439,
0.005414912223815918,
0.005473279953002929,
0.00538316822052002,
0.005469183921813964,
0.005414912223815918,
0.005495808124542236,
0.005405695915222168,
0.005441535949707031,
0.0054609918594360355,
0.005393407821655274,
0.0054579200744628905,
0.005439487934112549,
0.0054609918594360355,
0.006007808208465576,
0.00552243185043335,
0.005586944103240967,
0.006368256092071533,
0.0061634559631347655,
0.005596159934997558,
0.005479423999786377,
0.005502975940704345,
0.005438464164733887,
0.005430272102355957,
0.005469183921813964,
0.005403647899627686,
0.005435391902923584,
0.00542310380935669,
0.005422143936157226,
0.005525504112243652,
0.005636096000671387,
0.00550707197189331,
0.005438464164733887
],
"count": 183,
"total": 1.003067457675934,
"mean": 0.005481242938119857,
"p50": 0.005455872058868408,
"p90": 0.005558886528015137,
"p95": 0.005634150409698486,
"p99": 0.006035824804306031,
"stdev": 0.00012004155112012058,
"stdev_": 2.190042522751172
},
"throughput": {
"unit": "samples/s",
"value": 182.44037188087378
},
"energy": {
"unit": "kWh",
"cpu": 6.117560607101779e-08,
"ram": 3.342796370478382e-08,
"gpu": 1.2558715659794052e-07,
"total": 2.2019072637374212e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4541517.331218771
}
}
}
}