IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d42108f 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": 868.02432,
"max_global_vram": 1231.552512,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0026263365745542,
"mean": 0.005570146314303081,
"stdev": 0.00029194039931326044,
"p50": 0.005570560216903686,
"p90": 0.0058259453773498535,
"p95": 0.005905510306358337,
"p99": 0.0066030692625045784,
"values": [
0.006542335987091064,
0.005836800098419189,
0.005948416233062744,
0.005810175895690918,
0.005945343971252442,
0.005843967914581299,
0.005807104110717773,
0.00657919979095459,
0.0059054079055786135,
0.005786623954772949,
0.005796864032745362,
0.005760000228881836,
0.005773312091827393,
0.005776383876800537,
0.005694464206695556,
0.005636096000671387,
0.005706751823425293,
0.005753856182098388,
0.005825535774230957,
0.005907455921173096,
0.00587775993347168,
0.005780479907989502,
0.00572211217880249,
0.00566374397277832,
0.005693535804748535,
0.0057118721008300784,
0.005803008079528809,
0.0057794561386108395,
0.005792768001556397,
0.0057712640762329105,
0.005686272144317627,
0.005684224128723145,
0.005696512222290039,
0.005755904197692871,
0.005716991901397705,
0.0056514558792114256,
0.00561356782913208,
0.005574656009674072,
0.005616640090942383,
0.005590015888214111,
0.005606400012969971,
0.005746687889099121,
0.005705728054046631,
0.005758975982666016,
0.005829631805419922,
0.0058419198989868165,
0.005833727836608887,
0.005713920116424561,
0.005733376026153565,
0.005697535991668701,
0.005742591857910156,
0.0057825279235839844,
0.005767168045043946,
0.00571289587020874,
0.00582041597366333,
0.0056483840942382815,
0.0055848960876464845,
0.00567193603515625,
0.005669888019561768,
0.005750783920288086,
0.005783552169799804,
0.005756927967071533,
0.005681151866912842,
0.005643263816833496,
0.005700607776641845,
0.0056514558792114256,
0.005705728054046631,
0.0055797758102417,
0.0056514558792114256,
0.0057242240905761715,
0.005747712135314941,
0.005856256008148194,
0.005787648200988769,
0.005742591857910156,
0.005693439960479736,
0.005848063945770264,
0.005725183963775635,
0.005649407863616943,
0.005723135948181152,
0.0056442880630493165,
0.005608448028564453,
0.005496831893920898,
0.00542310380935669,
0.005459968090057373,
0.005591040134429932,
0.005626880168914795,
0.005452799797058106,
0.0052930560111999515,
0.005314559936523438,
0.005296127796173096,
0.00535756778717041,
0.005372928142547607,
0.0055797758102417,
0.005571584224700928,
0.0054917120933532714,
0.005462016105651855,
0.005541888236999512,
0.005757952213287353,
0.005445631980895996,
0.0054568958282470706,
0.005362688064575195,
0.005368832111358642,
0.005402624130249023,
0.00535859203338623,
0.005341184139251709,
0.0053637118339538575,
0.00531660795211792,
0.00536678409576416,
0.005547008037567139,
0.0053647360801696775,
0.005338111877441406,
0.005336063861846924,
0.005315584182739258,
0.0052971520423889164,
0.00530944013595581,
0.005266560077667236,
0.005320703983306885,
0.005311488151550293,
0.005392384052276611,
0.005326848030090332,
0.0053678078651428224,
0.0053534722328186036,
0.005345280170440674,
0.005342207908630371,
0.005323775768280029,
0.0053350400924682614,
0.0054579200744628905,
0.005341184139251709,
0.0053309440612792965,
0.005368832111358642,
0.0052715520858764645,
0.0052111358642578124,
0.00526643180847168,
0.00520908784866333,
0.005254144191741943,
0.005962751865386963,
0.00758681583404541,
0.006198272228240966,
0.005569536209106446,
0.006692863941192627,
0.005548031806945801,
0.005349376201629639,
0.005389311790466309,
0.005405695915222168,
0.00535756778717041,
0.005391359806060791,
0.005398528099060058,
0.005320703983306885,
0.0053350400924682614,
0.005320703983306885,
0.005299200057983398,
0.005348351955413819,
0.00536678409576416,
0.00531660795211792,
0.005318655967712403,
0.005356544017791748,
0.0052930560111999515,
0.005285888195037842,
0.005331967830657959,
0.005287936210632324,
0.005339136123657226,
0.005341184139251709,
0.00531660795211792,
0.005407743930816651,
0.00532480001449585,
0.005264383792877197,
0.005288959980010987,
0.005287936210632324,
0.00530944013595581,
0.005331967830657959,
0.0053678078651428224,
0.005303296089172363,
0.00538316822052002,
0.005326848030090332,
0.005283840179443359,
0.0052971520423889164,
0.0053043198585510255,
0.00531763219833374,
0.005325823783874512,
0.005352447986602784
]
},
"throughput": {
"unit": "samples/s",
"value": 179.52849774021004
},
"energy": {
"unit": "kWh",
"cpu": 6.284176217044963e-08,
"ram": 3.435300554955907e-08,
"gpu": 1.2134489425396855e-07,
"total": 2.1853966197397726e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4575828.437581621
}
}
}
}