IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e8677a8 verified
raw
history blame
13.7 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_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.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.33888,
"max_global_vram": 1218.9696,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.138998046875,
"mean": 7.138998046875,
"stdev": 0.0,
"p50": 7.138998046875,
"p90": 7.138998046875,
"p95": 7.138998046875,
"p99": 7.138998046875,
"values": [
7.138998046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.233786000145807e-07,
"ram": 4.90291460932042e-07,
"gpu": 0.0,
"total": 1.4136700609466228e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.095232,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 183,
"total": 1.0039808969497679,
"mean": 0.005486234409561574,
"stdev": 0.00015838416982143043,
"p50": 0.005481472015380859,
"p90": 0.00567193603515625,
"p95": 0.005708316612243652,
"p99": 0.005837619199752809,
"values": [
0.005798912048339844,
0.005757952213287353,
0.005679103851318359,
0.005504000186920166,
0.00576204776763916,
0.005791744232177734,
0.005790719985961914,
0.005775360107421875,
0.0056217598915100095,
0.005686272144317627,
0.005631999969482422,
0.005588992118835449,
0.005631999969482422,
0.005623807907104492,
0.005665791988372803,
0.005525504112243652,
0.005438464164733887,
0.005677055835723877,
0.005577727794647217,
0.00562278413772583,
0.00563097620010376,
0.005654528141021729,
0.006024191856384278,
0.005696512222290039,
0.005696512222290039,
0.005609471797943116,
0.00561356782913208,
0.005581823825836182,
0.005598207950592041,
0.005670911788940429,
0.00567193603515625,
0.00567193603515625,
0.005615615844726562,
0.005601280212402344,
0.0056217598915100095,
0.005612544059753418,
0.00566374397277832,
0.005588992118835449,
0.005642240047454834,
0.0055848960876464845,
0.00547430419921875,
0.005465087890625,
0.005451776027679443,
0.0054876160621643065,
0.005626880168914795,
0.005534719944000244,
0.005533696174621582,
0.0055848960876464845,
0.005581823825836182,
0.005652480125427246,
0.005631999969482422,
0.005723135948181152,
0.005649407863616943,
0.005608448028564453,
0.005701632022857666,
0.0056442880630493165,
0.00566374397277832,
0.005509119987487793,
0.00561356782913208,
0.005708831787109375,
0.005635072231292724,
0.005609471797943116,
0.005598207950592041,
0.005604351997375488,
0.005604351997375488,
0.005565440177917481,
0.0056780800819396975,
0.0055920639038085935,
0.005567488193511963,
0.005703680038452149,
0.005559296131134033,
0.005537792205810547,
0.005509119987487793,
0.005506048202514649,
0.0055808000564575196,
0.0055214080810546875,
0.005590015888214111,
0.00532480001449585,
0.005302271842956543,
0.005413887977600097,
0.005439487934112549,
0.005407743930816651,
0.005659647941589355,
0.005413887977600097,
0.005602303981781006,
0.00563097620010376,
0.005575679779052735,
0.0056555519104003905,
0.0056258559226989744,
0.005481472015380859,
0.005496831893920898,
0.005576704025268555,
0.00551423978805542,
0.005513216018676758,
0.005458943843841553,
0.005322751998901368,
0.005356544017791748,
0.005513216018676758,
0.00546611213684082,
0.005264383792877197,
0.005212160110473632,
0.005284863948822022,
0.00526643180847168,
0.005257215976715088,
0.005292031764984131,
0.005496831893920898,
0.00540880012512207,
0.005549056053161621,
0.00553984022140503,
0.005629951953887939,
0.005636096000671387,
0.005463039875030518,
0.005516287803649903,
0.005405695915222168,
0.005302271842956543,
0.006013951778411865,
0.0054579200744628905,
0.005416959762573242,
0.0053534722328186036,
0.005343232154846191,
0.005421055793762207,
0.005340159893035889,
0.00537497615814209,
0.005395455837249756,
0.005342207908630371,
0.005322751998901368,
0.0053678078651428224,
0.005341184139251709,
0.005345312118530274,
0.005350399971008301,
0.005303296089172363,
0.005322751998901368,
0.005362688064575195,
0.005311488151550293,
0.0053647360801696775,
0.00535859203338623,
0.00542310380935669,
0.00531763219833374,
0.005468160152435303,
0.005441535949707031,
0.005369855880737305,
0.0053534722328186036,
0.005320703983306885,
0.005319680213928223,
0.005311488151550293,
0.005281792163848877,
0.00532480001449585,
0.005321728229522705,
0.005323775768280029,
0.005332992076873779,
0.005339136123657226,
0.00530841588973999,
0.005345280170440674,
0.005312511920928955,
0.0053821439743042,
0.005313536167144775,
0.00531763219833374,
0.00530944013595581,
0.005332992076873779,
0.005310463905334473,
0.005322751998901368,
0.0052930560111999515,
0.005347328186035156,
0.005288959980010987,
0.005288959980010987,
0.0053340158462524415,
0.005328896045684814,
0.005320703983306885,
0.0053678078651428224,
0.005338111877441406,
0.00530944013595581,
0.005323775768280029,
0.005325823783874512,
0.0052930560111999515,
0.005337088108062744,
0.0052971520423889164,
0.005294079780578613,
0.005339136123657226,
0.005320703983306885,
0.005291007995605469,
0.0053534722328186036,
0.005299200057983398,
0.005282815933227539
]
},
"throughput": {
"unit": "samples/s",
"value": 182.27438445888677
},
"energy": {
"unit": "kWh",
"cpu": 6.13235440723948e-08,
"ram": 3.336855889357917e-08,
"gpu": 1.2546258605154423e-07,
"total": 2.2015468901751816e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4542260.737042162
}
}
}
}