IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
22a66a5 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_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.14",
"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.0",
"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": 866.676736,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 155,
"total": 1.0034770255088807,
"mean": 0.006474045325863747,
"stdev": 0.00030140477391188376,
"p50": 0.006486015796661377,
"p90": 0.006806937694549561,
"p95": 0.006845439910888672,
"p99": 0.007203225669860841,
"values": [
0.007113728046417236,
0.006542335987091064,
0.006731776237487793,
0.006767615795135498,
0.0067276802062988285,
0.006681600093841553,
0.006542335987091064,
0.006456319808959961,
0.006512639999389648,
0.0064737281799316405,
0.006529024124145508,
0.006479872226715088,
0.006405119895935059,
0.006492159843444824,
0.006433792114257812,
0.006463488101959228,
0.006415359973907471,
0.00637337589263916,
0.006550528049468994,
0.00662937593460083,
0.00658022403717041,
0.006562816143035889,
0.006569983959197998,
0.0066416640281677245,
0.006575104236602783,
0.006635519981384277,
0.00658841609954834,
0.006569983959197998,
0.006589439868927002,
0.006780928134918213,
0.006804480075836182,
0.006860799789428711,
0.0081725435256958,
0.00689356803894043,
0.006808576107025147,
0.0068351998329162595,
0.006759424209594727,
0.006823935985565186,
0.006897664070129395,
0.006713344097137451,
0.006791168212890625,
0.00669593620300293,
0.0067051520347595215,
0.006686719894409179,
0.006714367866516113,
0.006717440128326416,
0.0066938881874084475,
0.00669593620300293,
0.006776832103729248,
0.006756351947784424,
0.006592512130737305,
0.006619135856628418,
0.006564864158630371,
0.00653926420211792,
0.006535168170928955,
0.006495232105255127,
0.006585343837738037,
0.0065372161865234375,
0.006456319808959961,
0.007308288097381592,
0.006761472225189209,
0.006636544227600098,
0.006675456047058105,
0.0067758078575134275,
0.006656000137329102,
0.0068392958641052244,
0.006859776020050049,
0.006766592025756836,
0.006732800006866455,
0.006738944053649902,
0.006731776237487793,
0.006808576107025147,
0.006762495994567871,
0.006737919807434082,
0.006642687797546387,
0.006699007987976074,
0.006833151817321777,
0.006831103801727295,
0.0068351998329162595,
0.006904831886291504,
0.006755328178405762,
0.006510591983795166,
0.006551551818847656,
0.006509568214416504,
0.006415359973907471,
0.006486015796661377,
0.006436863899230957,
0.0063907837867736815,
0.006299647808074951,
0.006187007904052734,
0.006299647808074951,
0.00638976001739502,
0.006351871967315674,
0.006144000053405762,
0.006145023822784424,
0.006260735988616943,
0.006411263942718506,
0.006370304107666015,
0.006376448154449463,
0.006479872226715088,
0.006568960189819336,
0.006567935943603515,
0.0062638077735900875,
0.006098944187164307,
0.006448128223419189,
0.006120448112487793,
0.006288383960723877,
0.006107135772705078,
0.006196224212646485,
0.006141983985900879,
0.006142975807189942,
0.006096896171569824,
0.006169600009918213,
0.006207488059997559,
0.006201344013214111,
0.006141952037811279,
0.006088704109191895,
0.006148096084594727,
0.006346752166748047,
0.006339583873748779,
0.006285312175750732,
0.00632422399520874,
0.006486015796661377,
0.006295551776885986,
0.006172671794891358,
0.006105088233947754,
0.006123519897460937,
0.006102015972137451,
0.0061224961280822755,
0.0060928001403808595,
0.006151167869567871,
0.006107135772705078,
0.0061224961280822755,
0.006113279819488526,
0.0061265921592712404,
0.006136832237243653,
0.006088704109191895,
0.006139904022216797,
0.006105088233947754,
0.006154240131378174,
0.006111231803894043,
0.006131711959838867,
0.006100992202758789,
0.006138879776000977,
0.006137856006622314,
0.006180863857269287,
0.006140927791595459,
0.006106112003326416,
0.006165503978729248,
0.006136832237243653,
0.006171648025512695,
0.006107135772705078,
0.006141952037811279,
0.006087679862976075,
0.006123519897460937
]
},
"throughput": {
"unit": "samples/s",
"value": 154.4629284575766
},
"energy": {
"unit": "kWh",
"cpu": 7.369980329147613e-08,
"ram": 4.028518514533965e-08,
"gpu": 1.4090418449686638e-07,
"total": 2.548891729336822e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3923273.744782337
}
}
}
}