IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
952d43e verified
raw
history blame
12.6 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.2.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": 870.305792,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 182,
"total": 0.9999504952430723,
"mean": 0.005494233490346552,
"stdev": 0.0001847667528848801,
"p50": 0.0054154241085052485,
"p90": 0.0057506815433502195,
"p95": 0.00578841598033905,
"p99": 0.0059926508569717405,
"values": [
0.0060415358543396,
0.005441535949707031,
0.005526527881622314,
0.005452799797058106,
0.005451776027679443,
0.005505023956298828,
0.005446656227111817,
0.005504000186920166,
0.005470208168029785,
0.00550707197189331,
0.005442560195922852,
0.005405695915222168,
0.005402624130249023,
0.005467135906219483,
0.005399551868438721,
0.005262335777282715,
0.005396480083465576,
0.005361663818359375,
0.0054241280555725096,
0.005635072231292724,
0.005758975982666016,
0.005836800098419189,
0.00572211217880249,
0.005743616104125977,
0.005687295913696289,
0.005669888019561768,
0.005815296173095703,
0.005693439960479736,
0.005756927967071533,
0.0057794561386108395,
0.005742591857910156,
0.005656576156616211,
0.005701632022857666,
0.005740543842315674,
0.00570470380783081,
0.005636096000671387,
0.0055552000999450684,
0.005690368175506591,
0.0057497601509094234,
0.005616703987121582,
0.005693439960479736,
0.005710847854614258,
0.005775360107421875,
0.005788671970367432,
0.005981184005737304,
0.00572211217880249,
0.005805056095123291,
0.00573747205734253,
0.005736447811126709,
0.005732351779937744,
0.00572108793258667,
0.005735424041748047,
0.00566476821899414,
0.005764095783233642,
0.0056780800819396975,
0.005643263816833496,
0.005697535991668701,
0.005750783920288086,
0.005830656051635743,
0.005673984050750733,
0.005647359848022461,
0.005650432109832764,
0.005692416191101074,
0.005699584007263184,
0.005783552169799804,
0.005788671970367432,
0.005700607776641845,
0.005702655792236328,
0.005495808124542236,
0.005488639831542969,
0.005482495784759522,
0.005810175895690918,
0.005444608211517334,
0.005448703765869141,
0.0054282240867614745,
0.005403647899627686,
0.005386240005493164,
0.005384191989898681,
0.0053340158462524415,
0.005274623870849609,
0.005197824001312256,
0.005202943801879883,
0.005268511772155762,
0.0053944320678710935,
0.005222400188446045,
0.005111807823181152,
0.005098495960235596,
0.005063680171966553,
0.006206463813781738,
0.005499904155731201,
0.0055848960876464845,
0.005586944103240967,
0.0055920639038085935,
0.005615615844726562,
0.005620736122131348,
0.005758975982666016,
0.005750783920288086,
0.005672959804534912,
0.005472256183624268,
0.005391359806060791,
0.005454847812652588,
0.005414912223815918,
0.005472256183624268,
0.005444608211517334,
0.005278719902038574,
0.00536678409576416,
0.005415999889373779,
0.005338111877441406,
0.005500927925109863,
0.005436416149139404,
0.005399551868438721,
0.00535756778717041,
0.0053944320678710935,
0.005359615802764893,
0.005380095958709717,
0.005370880126953125,
0.005359615802764893,
0.005393407821655274,
0.0053534722328186036,
0.005343232154846191,
0.0055214080810546875,
0.005370880126953125,
0.0053678078651428224,
0.0053821439743042,
0.005338111877441406,
0.005328896045684814,
0.005369855880737305,
0.005341184139251709,
0.005351424217224121,
0.005368832111358642,
0.005341184139251709,
0.005369855880737305,
0.005390336036682129,
0.005346303939819336,
0.00535756778717041,
0.0053975038528442385,
0.005356544017791748,
0.0053309440612792965,
0.005388288021087646,
0.005497856140136719,
0.0053606400489807126,
0.005380095958709717,
0.005338111877441406,
0.005348351955413819,
0.005390336036682129,
0.005445631980895996,
0.00541593599319458,
0.0053647360801696775,
0.005348351955413819,
0.005384191989898681,
0.00537497615814209,
0.005340159893035889,
0.005422080039978027,
0.005352447986602784,
0.005377024173736572,
0.0054098558425903324,
0.005370880126953125,
0.005354496002197265,
0.0053821439743042,
0.005338111877441406,
0.00535859203338623,
0.005408768177032471,
0.005375999927520752,
0.005336063861846924,
0.005386240005493164,
0.005344255924224854,
0.005339136123657226,
0.005380095958709717,
0.005338111877441406,
0.005338111877441406,
0.0053678078651428224,
0.005338111877441406,
0.005349376201629639,
0.005386240005493164,
0.005381120204925537,
0.005381120204925537,
0.005413887977600097,
0.00537395191192627,
0.005408768177032471,
0.005359615802764893,
0.005352447986602784,
0.005377024173736572
]
},
"throughput": {
"unit": "samples/s",
"value": 182.0090103118141
},
"energy": {
"unit": "kWh",
"cpu": 6.276128363567265e-08,
"ram": 3.431058368855029e-08,
"gpu": 1.297502507724859e-07,
"total": 2.2682211809670882e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4408741.1245037215
}
}
}
}