IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
223df53 verified
{
"config": {
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"tp_plan": null,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"allow_tf32": false,
"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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.242-239.961.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "b263af468a9e9a9a3d1449039849727352955646",
"transformers_version": "4.56.2",
"transformers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"accelerate_version": "1.10.1",
"accelerate_commit": "b263af468a9e9a9a3d1449039849727352955646",
"diffusers_version": "0.35.1",
"diffusers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": "b263af468a9e9a9a3d1449039849727352955646",
"peft_version": "0.17.1",
"peft_commit": "b263af468a9e9a9a3d1449039849727352955646"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1015.963648,
"max_global_vram": 469.041152,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.389632
},
"latency": {
"unit": "s",
"values": [
0.08524390411376953
],
"count": 1,
"total": 0.08524390411376953,
"mean": 0.08524390411376953,
"p50": 0.08524390411376953,
"p90": 0.08524390411376953,
"p95": 0.08524390411376953,
"p99": 0.08524390411376953,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012235593020347245,
"ram": 5.757779552777783e-05,
"gpu": 0.00017103485905,
"total": 0.0003509685847812503
},
"efficiency": null
},
"first_forward": {
"memory": {
"unit": "MB",
"max_ram": 1182.162944,
"max_global_vram": 544.538624,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.10540447998046874
],
"count": 1,
"total": 0.10540447998046874,
"mean": 0.10540447998046874,
"p50": 0.10540447998046874,
"p90": 0.10540447998046874,
"p95": 0.10540447998046874,
"p99": 0.10540447998046874,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012330592203124968,
"ram": 5.8024979005555605e-05,
"gpu": 0.00017464958416399997,
"total": 0.00035598048520080525
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1183.51872,
"max_global_vram": 544.538624,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.0026746881008148193,
0.002573312044143677,
0.0025282559394836424,
0.002543616056442261,
0.0025384960174560547,
0.002500607967376709,
0.0025876479148864745,
0.0027156479358673097,
0.0026808319091796875,
0.0026603519916534426,
0.0026408960819244384,
0.0026408960819244384,
0.00265830397605896,
0.0026470398902893066,
0.002604032039642334,
0.0026368000507354735,
0.0026306560039520265,
0.0026009600162506105,
0.002604032039642334,
0.002615295886993408,
0.0026378560066223143,
0.002634752035140991,
0.002613248109817505,
0.002597887992858887,
0.0026296319961547853,
0.0026173439025878906,
0.0026265599727630616,
0.0026603519916534426,
0.002910207986831665,
0.0028518400192260743,
0.002769984006881714,
0.0027586560249328613,
0.0027740159034729006,
0.0028856320381164553,
0.0027443199157714845,
0.002717695951461792,
0.002699264049530029,
0.0027135999202728273,
0.0027043840885162354,
0.0034191360473632814,
0.0026521599292755127,
0.0026511359214782715,
0.0026265599727630616,
0.0025825281143188475,
0.0026102080345153807,
0.002544640064239502,
0.0024913918972015382,
0.0024883201122283937,
0.0025067520141601562,
0.0027504639625549315,
0.0026562559604644776,
0.00265830397605896,
0.0026449921131134033,
0.002634752035140991,
0.002716671943664551,
0.0027146239280700685,
0.0027514879703521727,
0.0027105278968811036,
0.002672640085220337,
0.0026890239715576174,
0.0026798079013824463,
0.00275763201713562,
0.002861056089401245,
0.0029409279823303224,
0.002830336093902588,
0.0028098559379577635,
0.002859008073806763,
0.002825216054916382,
0.0027975680828094484,
0.0029419519901275636,
0.002837503910064697,
0.002795520067214966,
0.002756608009338379,
0.0028108799457550048,
0.002736128091812134,
0.002649087905883789,
0.002721760034561157,
0.0026961920261383055,
0.002662400007247925,
0.002662400007247925,
0.002632704019546509,
0.0026735999584197997,
0.002829312086105347,
0.002870271921157837,
0.0029173760414123533,
0.0028334081172943113,
0.0028631041049957274,
0.0028477439880371094,
0.0028579840660095217,
0.0028057599067687986,
0.0028426239490509033,
0.0028221440315246583,
0.0027975680828094484,
0.0028231680393218995,
0.002849792003631592,
0.0028631041049957274,
0.002775039911270142,
0.0027187199592590334,
0.0027187199592590334,
0.0026828479766845704,
0.0027392001152038575,
0.0027351040840148926,
0.002726912021636963,
0.0027985279560089112,
0.0027586560249328613,
0.002747423887252808,
0.002790463924407959,
0.0028569600582122805,
0.002811903953552246,
0.0027607040405273437,
0.002829312086105347,
0.002861056089401245,
0.0026859519481658937,
0.002665503978729248,
0.002634752035140991,
0.002811903953552246,
0.002642944097518921,
0.0026859519481658937,
0.0032020161151885985,
0.002673664093017578,
0.002678783893585205,
0.002766848087310791,
0.002742271900177002,
0.0027648000717163087,
0.00275763201713562,
0.002678783893585205,
0.002687999963760376,
0.00273305606842041,
0.0027217919826507567,
0.0027043840885162354,
0.002726912021636963,
0.002718656063079834,
0.0027299840450286865,
0.0027340800762176514,
0.0027340800762176514,
0.002686975955963135,
0.00268287992477417,
0.002655168056488037,
0.002649087905883789,
0.002737152099609375,
0.0027146239280700685,
0.0028190720081329346,
0.0028037118911743166,
0.002820096015930176,
0.0028334081172943113,
0.002841599941253662,
0.002880511999130249,
0.0030382080078125,
0.0030904319286346434,
0.0028487679958343506,
0.0028528640270233155,
0.0028272640705108644,
0.0028139519691467284,
0.0028435840606689453,
0.0028446719646453857,
0.0027985920906066896,
0.0027146239280700685,
0.002771967887878418,
0.0027381761074066163,
0.0027043840885162354,
0.002662400007247925,
0.00265830397605896,
0.0026449921131134033,
0.0027299840450286865,
0.0027791359424591063,
0.002703360080718994,
0.002708479881286621,
0.002761728048324585,
0.0027791359424591063,
0.002654144048690796,
0.002628607988357544,
0.002663487911224365,
0.002662400007247925,
0.0027054080963134766,
0.002702336072921753,
0.0026910719871521,
0.002738208055496216,
0.0028149759769439697,
0.0027310080528259277,
0.0027392001152038575,
0.0026675200462341307,
0.002654144048690796,
0.002694144010543823,
0.00265830397605896,
0.0026316800117492677,
0.0026419200897216796,
0.0026368000507354735,
0.0026204159259796142,
0.0026449921131134033,
0.0026501119136810303,
0.002654207944869995,
0.0026767361164093018,
0.002694144010543823,
0.0027648000717163087,
0.002826240062713623,
0.002871295928955078,
0.0028682239055633544,
0.002846719980239868,
0.0028559360504150392,
0.002831360101699829,
0.0028651518821716307,
0.0028221440315246583,
0.002753535985946655,
0.002653183937072754,
0.0026419200897216796,
0.0026552319526672364,
0.0026562559604644776,
0.0026265599727630616,
0.0026562559604644776,
0.002639872074127197,
0.002627583980560303,
0.0026501119136810303,
0.002649087905883789,
0.002628607988357544,
0.0026716160774230956,
0.0026408960819244384,
0.0026357760429382322,
0.002678783893585205,
0.0026798079013824463,
0.0026460158824920654,
0.0027432959079742433,
0.0027043840885162354,
0.0026808319091796875,
0.0027310080528259277,
0.0026951680183410643,
0.0027217919826507567,
0.002669568061828613,
0.0026767361164093018,
0.0026972160339355468,
0.0026817920207977295,
0.0026818559169769288,
0.0026798079013824463,
0.0026951680183410643,
0.0027299840450286865,
0.002699264049530029,
0.0026798079013824463,
0.002695103883743286,
0.002673664093017578,
0.0026552319526672364,
0.0027013120651245117,
0.0026859519481658937,
0.002677759885787964,
0.0027105278968811036,
0.0027156479358673097,
0.0026603519916534426,
0.0026900479793548586,
0.0027105600833892823,
0.002811903953552246,
0.002834496021270752,
0.0028774399757385254,
0.0028057599067687986,
0.002831360101699829,
0.0028569600582122805,
0.0027484800815582274,
0.002761728048324585,
0.0027678720951080323,
0.0032040960788726805,
0.002770944118499756,
0.00263372802734375,
0.002795520067214966,
0.002752511978149414,
0.0026757121086120605,
0.0026501119136810303,
0.0026368000507354735,
0.0026552319526672364,
0.0026705920696258544,
0.0026511359214782715,
0.0026449921131134033,
0.0026071040630340574,
0.002643968105316162,
0.002716671943664551,
0.0026859519481658937,
0.002677759885787964,
0.002668544054031372,
0.0026419200897216796,
0.002603008031845093,
0.0026204159259796142,
0.002610176086425781,
0.0026009600162506105,
0.002632704019546509,
0.0025958399772644043,
0.002594815969467163,
0.0026112000942230223,
0.002593791961669922,
0.002615295886993408,
0.0026193599700927734,
0.0026511359214782715,
0.002741247892379761,
0.0028538880348205568,
0.0027054080963134766,
0.0027402560710906984,
0.0026808319091796875,
0.002627583980560303,
0.002821120023727417,
0.0026552319526672364,
0.00263372802734375,
0.0027013120651245117,
0.002706432104110718,
0.0028282880783081056,
0.0027054080963134766,
0.0026501119136810303,
0.0026112000942230223,
0.0026654720306396483,
0.002657279968261719,
0.0026112000942230223,
0.002650144100189209,
0.003189759969711304,
0.0027054080963134766,
0.002497535943984985,
0.002577408075332642,
0.0025466880798339846,
0.0024872961044311525,
0.0025088000297546387,
0.002470911979675293,
0.00250982403755188,
0.00252620792388916,
0.0024841599464416504,
0.0025067520141601562,
0.0024934399127960207,
0.00248524808883667,
0.0028221440315246583,
0.0026255359649658204,
0.002535423994064331,
0.002574336051940918,
0.002579456090927124,
0.0025180160999298097,
0.0025292160511016844,
0.0024832000732421876,
0.0025118720531463624,
0.0025282559394836424,
0.0024391679763793943,
0.0024729599952697753,
0.0024422719478607176,
0.0024340479373931886,
0.002489343881607056,
0.0033976318836212156,
0.0029235520362854003,
0.0025763840675354006,
0.0025558719635009764,
0.002538464069366455,
0.0025671679973602295,
0.0025579519271850585,
0.0025456640720367433,
0.0025518081188201903,
0.0025620479583740234,
0.0025384960174560547,
0.002554879903793335,
0.0025671679973602295,
0.0025661439895629883,
0.0025487039089202882,
0.002543616056442261,
0.0025579519271850585,
0.0025477120876312258,
0.0025435841083526613,
0.0025661439895629883,
0.0025569279193878173,
0.002540544033050537,
0.002549760103225708,
0.0025364480018615723,
0.0025036799907684325,
0.0024739840030670165,
0.0024535040855407715,
0.0024576001167297364,
0.002476991891860962,
0.0025201280117034914,
0.0024821760654449463,
0.002480128049850464
],
"count": 367,
"total": 0.9883317146301269,
"mean": 0.002693001947221054,
"p50": 0.0026798079013824463,
"p90": 0.00284300799369812,
"p95": 0.00286453754901886,
"p99": 0.0031939270591735836,
"stdev": 0.0001297731287469674,
"stdev_": 4.81890215047494
},
"throughput": {
"unit": "samples/s",
"value": 742.6656345584256
},
"energy": {
"unit": "kWh",
"cpu": 3.016258531391661e-08,
"ram": 1.4190908446711862e-08,
"gpu": 4.44118836020408e-08,
"total": 8.876537736266938e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 22531307.35679278
}
}
}
}