IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d73f3fe verified
raw
history blame
11 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",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 879.640576,
"max_global_vram": 1231.552512,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9999884152412414,
"mean": 0.006849235720830421,
"stdev": 0.00025403939611722334,
"p50": 0.006793215990066529,
"p90": 0.007088639974594116,
"p95": 0.007171839952468872,
"p99": 0.007893913245201115,
"values": [
0.007703551769256592,
0.006808576107025147,
0.006912000179290771,
0.007015423774719238,
0.00694374418258667,
0.008049663543701171,
0.007096320152282715,
0.007121920108795166,
0.007068672180175781,
0.007066624164581299,
0.0069928960800170895,
0.006994944095611572,
0.007078911781311035,
0.007252992153167725,
0.007258111953735351,
0.0070594558715820314,
0.007023615837097168,
0.006994944095611572,
0.007061503887176514,
0.007023615837097168,
0.00704204797744751,
0.0071905279159545895,
0.007112703800201416,
0.007095295906066895,
0.007013376235961914,
0.00709222412109375,
0.007072768211364746,
0.007064576148986816,
0.008170495986938477,
0.0070256638526916505,
0.0070563840866088865,
0.007067647933959961,
0.007037951946258545,
0.00694374418258667,
0.007018496036529541,
0.007032832145690918,
0.007047167778015137,
0.006912000179290771,
0.00674508810043335,
0.006615039825439453,
0.006608895778656006,
0.006692863941192627,
0.006685696125030518,
0.006726655960083008,
0.006830080032348633,
0.006758399963378906,
0.006867968082427979,
0.006770688056945801,
0.0066826238632202144,
0.006659071922302246,
0.006633471965789795,
0.006716415882110595,
0.00672051191329956,
0.006632448196411133,
0.0067010560035705566,
0.006651904106140137,
0.006603775978088379,
0.006616064071655273,
0.0067041277885437015,
0.0068392958641052244,
0.007188479900360107,
0.007227392196655274,
0.006978623867034912,
0.006890495777130127,
0.006999040126800537,
0.006989823818206787,
0.006998015880584717,
0.006989823818206787,
0.0069928960800170895,
0.006999040126800537,
0.0070553598403930665,
0.007087103843688965,
0.006718463897705078,
0.006781951904296875,
0.0067420158386230465,
0.006847487926483154,
0.007064576148986816,
0.006967296123504638,
0.006904831886291504,
0.006979584217071533,
0.006914048194885254,
0.006842495918273926,
0.0066938881874084475,
0.007090176105499267,
0.006970367908477783,
0.006994944095611572,
0.006899712085723877,
0.006675456047058105,
0.00676966381072998,
0.0066344962120056155,
0.006804480075836182,
0.006897664070129395,
0.006854656219482422,
0.007016448020935059,
0.006969344139099121,
0.007101439952850342,
0.006816768169403077,
0.006652927875518798,
0.006681600093841553,
0.006817791938781738,
0.006718463897705078,
0.006763519763946534,
0.006649856090545654,
0.006658048152923584,
0.00672051191329956,
0.0066078720092773435,
0.006646783828735352,
0.006649856090545654,
0.0066109437942504885,
0.0065669121742248536,
0.006661119937896728,
0.006591487884521485,
0.006659071922302246,
0.006649856090545654,
0.006603775978088379,
0.006660096168518067,
0.006665215969085693,
0.0066109437942504885,
0.006645760059356689,
0.0066416640281677245,
0.00658739185333252,
0.0066109437942504885,
0.006576128005981445,
0.006545407772064209,
0.006615039825439453,
0.006614016056060791,
0.006604800224304199,
0.006597631931304931,
0.006601727962493896,
0.006565887928009034,
0.006559743881225586,
0.006763519763946534,
0.006527999877929688,
0.006689792156219483,
0.006540287971496582,
0.007039999961853028,
0.0067420158386230465,
0.006649856090545654,
0.006598656177520752,
0.006604800224304199,
0.006617087841033936,
0.006558720111846924,
0.00669593620300293,
0.006604800224304199,
0.006653952121734619,
0.006754303932189941
]
},
"throughput": {
"unit": "samples/s",
"value": 146.00169139437315
},
"energy": {
"unit": "kWh",
"cpu": 7.837623880620588e-08,
"ram": 4.267334409776499e-08,
"gpu": 1.4320735140789403e-07,
"total": 2.6425693431186494e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3784195.87211226
}
}
}
}