IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fb349fc verified
raw
history blame
13.9 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.44128,
"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.13670751953125,
"mean": 7.13670751953125,
"stdev": 0.0,
"p50": 7.13670751953125,
"p90": 7.13670751953125,
"p95": 7.13670751953125,
"p99": 7.13670751953125,
"values": [
7.13670751953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.664570291837056e-07,
"ram": 4.864625172127528e-07,
"gpu": 1.7797236459998235e-06,
"total": 3.232643192396282e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.185344,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 187,
"total": 1.0017403841018675,
"mean": 0.005356900449742607,
"stdev": 0.00016743269492596022,
"p50": 0.0053002238273620605,
"p90": 0.005583257579803467,
"p95": 0.005629337549209594,
"p99": 0.0057209243297576895,
"values": [
0.005843967914581299,
0.005679103851318359,
0.005432320117950439,
0.0055214080810546875,
0.005718016147613526,
0.005605375766754151,
0.005574656009674072,
0.005603328227996827,
0.005612544059753418,
0.005604351997375488,
0.005534719944000244,
0.005497856140136719,
0.005511168003082275,
0.005720064163208007,
0.00551423978805542,
0.005509119987487793,
0.005438464164733887,
0.005396480083465576,
0.005471231937408447,
0.0055285758972167965,
0.005532671928405761,
0.005629951953887939,
0.005548031806945801,
0.005532671928405761,
0.0056514558792114256,
0.005569536209106446,
0.005536767959594726,
0.005235712051391602,
0.005303296089172363,
0.00536678409576416,
0.005295104026794434,
0.005445631980895996,
0.005337088108062744,
0.005264383792877197,
0.005279744148254394,
0.005305344104766845,
0.005527552127838135,
0.005585919857025146,
0.005606400012969971,
0.00553984022140503,
0.005566463947296142,
0.0052367358207702636,
0.005228544235229492,
0.005429247856140137,
0.005516287803649903,
0.0054609918594360355,
0.0055285758972167965,
0.005430272102355957,
0.005501952171325684,
0.005535744190216065,
0.005519360065460205,
0.005581823825836182,
0.005627903938293457,
0.005658624172210694,
0.005726208209991455,
0.005550079822540284,
0.005575679779052735,
0.0054906878471374515,
0.005666816234588623,
0.005569536209106446,
0.005527584075927734,
0.005583871841430664,
0.005569536209106446,
0.005527552127838135,
0.005667840003967285,
0.0055552000999450684,
0.005467135906219483,
0.005185535907745361,
0.00522649621963501,
0.005208064079284668,
0.0052930560111999515,
0.0053012480735778805,
0.00538316822052002,
0.0052899842262268066,
0.005230591773986816,
0.005234687805175781,
0.005582848072052002,
0.00546611213684082,
0.005467135906219483,
0.005465087890625,
0.005505023956298828,
0.005532671928405761,
0.005302271842956543,
0.0053309440612792965,
0.0053534722328186036,
0.0052971520423889164,
0.005306367874145508,
0.0053002238273620605,
0.005265408039093018,
0.005246975898742676,
0.005440512180328369,
0.005352447986602784,
0.005439487934112549,
0.005594111919403076,
0.005489664077758789,
0.005386240005493164,
0.00542310380935669,
0.005286911964416504,
0.005254144191741943,
0.0054988799095153805,
0.005451776027679443,
0.0052899842262268066,
0.005189631938934326,
0.005138432025909424,
0.005153791904449463,
0.005189631938934326,
0.0052941122055053715,
0.00520908784866333,
0.005393407821655274,
0.005249023914337158,
0.005272575855255127,
0.005345280170440674,
0.005445631980895996,
0.005536767959594726,
0.0053002238273620605,
0.005206016063690186,
0.005223423957824707,
0.0052408318519592285,
0.005274623870849609,
0.005388288021087646,
0.005298175811767578,
0.005488639831542969,
0.005242879867553711,
0.00521727991104126,
0.005231616020202637,
0.005187583923339844,
0.005182464122772217,
0.005213183879852295,
0.0051701760292053225,
0.005153791904449463,
0.005269536018371582,
0.0051701760292053225,
0.005156864166259765,
0.00516096019744873,
0.0051773438453674315,
0.005156864166259765,
0.005157887935638428,
0.005276671886444092,
0.005336063861846924,
0.005174272060394287,
0.005228544235229492,
0.005157887935638428,
0.005171199798583984,
0.005345280170440674,
0.005259263992309571,
0.005489664077758789,
0.0052336640357971195,
0.005249023914337158,
0.005258240222930908,
0.005285888195037842,
0.005192704200744629,
0.005185535907745361,
0.005194752216339111,
0.005256192207336426,
0.005182464122772217,
0.005175295829772949,
0.0052930560111999515,
0.005188608169555664,
0.0051660799980163576,
0.005202943801879883,
0.005175295829772949,
0.005171199798583984,
0.005173247814178467,
0.005392384052276611,
0.005148672103881836,
0.005185535907745361,
0.005212160110473632,
0.005144576072692871,
0.005158912181854248,
0.005179391860961914,
0.005232639789581299,
0.005149695873260498,
0.00517632007598877,
0.005178368091583252,
0.0051660799980163576,
0.005148672103881836,
0.005230591773986816,
0.005191679954528809,
0.005219327926635742,
0.00517632007598877,
0.0051773438453674315,
0.005156864166259765,
0.005167103767395019,
0.00521830415725708,
0.005164031982421875,
0.005303296089172363,
0.00515993595123291
]
},
"throughput": {
"unit": "samples/s",
"value": 186.67511360007612
},
"energy": {
"unit": "kWh",
"cpu": 6.101091193337726e-08,
"ram": 3.335006894131235e-08,
"gpu": 1.2554425997948634e-07,
"total": 2.1990524085417598e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4547413.222694051
}
}
}
}