IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b065eed 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.0+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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 869.33504,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 181,
"total": 1.0024346547126766,
"mean": 0.005538313009462304,
"stdev": 0.00018665222777840542,
"p50": 0.0054988799095153805,
"p90": 0.005780479907989502,
"p95": 0.0058091521263122555,
"p99": 0.005961932754516601,
"values": [
0.006110208034515381,
0.005788671970367432,
0.005661695957183838,
0.005645311832427978,
0.005645311832427978,
0.0055623679161071774,
0.0056780800819396975,
0.005606400012969971,
0.005709824085235596,
0.005609471797943116,
0.005569536209106446,
0.005530623912811279,
0.0054988799095153805,
0.0055203838348388675,
0.0054568958282470706,
0.005368832111358642,
0.005462016105651855,
0.0057497601509094234,
0.0057190399169921875,
0.005780479907989502,
0.005740543842315674,
0.005760000228881836,
0.005652480125427246,
0.005693439960479736,
0.005829631805419922,
0.005701632022857666,
0.0057292799949646,
0.00570470380783081,
0.0057794561386108395,
0.005689343929290771,
0.005697535991668701,
0.005687295913696289,
0.0057190399169921875,
0.005744639873504639,
0.005803008079528809,
0.00568012809753418,
0.005568511962890625,
0.005636096000671387,
0.005629951953887939,
0.005606400012969971,
0.005657599925994873,
0.005689343929290771,
0.005941247940063477,
0.005715968132019043,
0.005806079864501953,
0.0057794561386108395,
0.005788671970367432,
0.005757952213287353,
0.005694464206695556,
0.005726208209991455,
0.005692416191101074,
0.005757952213287353,
0.0058091521263122555,
0.0057487359046936035,
0.005723135948181152,
0.005609471797943116,
0.0057190399169921875,
0.005725183963775635,
0.005734399795532226,
0.00582041597366333,
0.0057825279235839844,
0.005658624172210694,
0.005682208061218262,
0.005743616104125977,
0.006044672012329101,
0.005730303764343261,
0.005705728054046631,
0.005736447811126709,
0.005755904197692871,
0.005839871883392334,
0.005839871883392334,
0.005794816017150879,
0.005843967914581299,
0.005738495826721191,
0.005758975982666016,
0.005716991901397705,
0.0057077760696411135,
0.005785600185394287,
0.005720064163208007,
0.005605375766754151,
0.0055582718849182125,
0.005436416149139404,
0.005526527881622314,
0.005611519813537597,
0.005568511962890625,
0.005375999927520752,
0.005414912223815918,
0.005389311790466309,
0.005386240005493164,
0.005408768177032471,
0.005443583965301513,
0.00556441593170166,
0.005646336078643799,
0.005566463947296142,
0.005808127880096436,
0.005713920116424561,
0.005836800098419189,
0.005666816234588623,
0.005485568046569824,
0.0054271998405456545,
0.005411839962005615,
0.005409791946411133,
0.0053821439743042,
0.005412864208221436,
0.005384191989898681,
0.005416959762573242,
0.00536678409576416,
0.005411839962005615,
0.00537395191192627,
0.005329919815063477,
0.005441535949707031,
0.005349376201629639,
0.005434368133544922,
0.005492735862731934,
0.005328896045684814,
0.00536575984954834,
0.00535859203338623,
0.005347328186035156,
0.0053309440612792965,
0.005497856140136719,
0.005369855880737305,
0.005331967830657959,
0.005346303939819336,
0.005354496002197265,
0.005328896045684814,
0.005341184139251709,
0.0053534722328186036,
0.005318655967712403,
0.00535756778717041,
0.005328896045684814,
0.005345280170440674,
0.005336063861846924,
0.005351424217224121,
0.005318655967712403,
0.005350399971008301,
0.0053350400924682614,
0.0053678078651428224,
0.005331967830657959,
0.0054917120933532714,
0.005331967830657959,
0.005351424217224121,
0.005318655967712403,
0.005342207908630371,
0.005368832111358642,
0.00537395191192627,
0.005336063861846924,
0.0053944320678710935,
0.005396480083465576,
0.005385216236114502,
0.005345280170440674,
0.005320703983306885,
0.0053678078651428224,
0.005345280170440674,
0.005313536167144775,
0.00557260799407959,
0.005344255924224854,
0.0053043198585510255,
0.005361663818359375,
0.005337088108062744,
0.005328896045684814,
0.005352447986602784,
0.0053637118339538575,
0.0053309440612792965,
0.005368832111358642,
0.0053678078651428224,
0.005339136123657226,
0.0053637118339538575,
0.005377024173736572,
0.005329919815063477,
0.0053647360801696775,
0.005500927925109863,
0.0053504638671875,
0.005554175853729248,
0.005345280170440674,
0.005340159893035889,
0.005336063861846924,
0.0053534722328186036,
0.005331967830657959,
0.00536575984954834,
0.005332992076873779,
0.00536575984954834
]
},
"throughput": {
"unit": "samples/s",
"value": 180.5603977766303
},
"energy": {
"unit": "kWh",
"cpu": 6.189549199177332e-08,
"ram": 3.3676340056025643e-08,
"gpu": 1.445971220103632e-07,
"total": 2.401689540581622e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4163735.4999590334
}
}
}
}