IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
041cc0b verified
raw
history blame
22 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"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": 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.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 799.404032,
"max_global_vram": 639.107072,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.056409088134765625
],
"count": 1,
"total": 0.056409088134765625,
"mean": 0.056409088134765625,
"p50": 0.056409088134765625,
"p90": 0.056409088134765625,
"p95": 0.056409088134765625,
"p99": 0.056409088134765625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.612596475972257e-05,
"ram": 5.263504457349161e-05,
"gpu": 0.00012321232079199988,
"total": 0.00027197333012521406
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.6432,
"max_global_vram": 670.564352,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.0030310399532318113,
0.002741247892379761,
0.0027637760639190674,
0.0026071040630340574,
0.0025835518836975096,
0.002574336051940918,
0.0025968639850616456,
0.0026562559604644776,
0.00265830397605896,
0.0029030399322509766,
0.0027381761074066163,
0.0027637760639190674,
0.002712575912475586,
0.0026951680183410643,
0.0027637760639190674,
0.002840575933456421,
0.0027740159034729006,
0.0027351040840148926,
0.0028784639835357667,
0.0027637760639190674,
0.0026839039325714112,
0.002677759885787964,
0.0028149120807647704,
0.0028180480003356934,
0.0026265599727630616,
0.002634752035140991,
0.002648063898086548,
0.0026357440948486326,
0.002623487949371338,
0.0026603519916534426,
0.0026798079013824463,
0.002624511957168579,
0.0030904319286346434,
0.0027688961029052736,
0.0026839039325714112,
0.0027289600372314453,
0.002707456111907959,
0.0026541759967803956,
0.0025876479148864745,
0.0025569279193878173,
0.002519040107727051,
0.0025415680408477784,
0.0025671679973602295,
0.0025323519706726074,
0.0025620479583740234,
0.002762752056121826,
0.0025958399772644043,
0.0026378240585327147,
0.0026019840240478517,
0.0025784320831298826,
0.002593791961669922,
0.0025886719226837157,
0.0025886719226837157,
0.002606080055236816,
0.0025927679538726807,
0.0025835518836975096,
0.0026920959949493406,
0.0026265599727630616,
0.0025415680408477784,
0.0025589759349822997,
0.0026040959358215334,
0.002579456090927124,
0.0025866239070892333,
0.0026654720306396483,
0.0026562559604644776,
0.0026951680183410643,
0.0027842559814453124,
0.002753535985946655,
0.0027944960594177247,
0.0027514879703521727,
0.002717695951461792,
0.0027791359424591063,
0.0027453439235687258,
0.002748415946960449,
0.00278220796585083,
0.0026890239715576174,
0.002648063898086548,
0.002654207944869995,
0.002649087905883789,
0.0025968639850616456,
0.002549760103225708,
0.0025589759349822997,
0.002550784111022949,
0.002825216054916382,
0.002884608030319214,
0.002904063940048218,
0.002879487991333008,
0.0028692479133605956,
0.002777087926864624,
0.002756608009338379,
0.0027904000282287598,
0.0027893760204315186,
0.0028026878833770754,
0.0027914879322052002,
0.0027821760177612303,
0.0026848640441894532,
0.002657279968261719,
0.0026849279403686525,
0.0026839039325714112,
0.002686975955963135,
0.0027453439235687258,
0.002741247892379761,
0.002742271900177002,
0.0027217919826507567,
0.0026951360702514647,
0.0027013120651245117,
0.0026552319526672364,
0.0028682239055633544,
0.0026920959949493406,
0.002708479881286621,
0.0028538880348205568,
0.002924544095993042,
0.002967519998550415,
0.0028395519256591796,
0.0027443199157714845,
0.002693120002746582,
0.002706432104110718,
0.002677759885787964,
0.0026798079013824463,
0.002678783893585205,
0.0026951680183410643,
0.0026951680183410643,
0.002686975955963135,
0.0027279040813446044,
0.0027105278968811036,
0.0026818559169769288,
0.0027258880138397216,
0.0026859519481658937,
0.0026910719871521,
0.0026757121086120605,
0.0026900479793548586,
0.002712608098983765,
0.0026798079013824463,
0.002727936029434204,
0.0026961920261383055,
0.0026818559169769288,
0.0027095038890838623,
0.002687999963760376,
0.002664448022842407,
0.002693120002746582,
0.0027217919826507567,
0.0027043840885162354,
0.0028743679523468017,
0.003039232015609741,
0.0029194240570068358,
0.0028815360069274903,
0.0029521920680999755,
0.0028590400218963625,
0.002932800054550171,
0.0028897280693054197,
0.002942015886306763,
0.00291430401802063,
0.002845695972442627,
0.0027217919826507567,
0.0027607040405273437,
0.002766848087310791,
0.0027791359424591063,
0.0028395519256591796,
0.0028026878833770754,
0.002707456111907959,
0.002661375999450684,
0.002663424015045166,
0.0026859519481658937,
0.002884608030319214,
0.0030013439655303957,
0.002707456111907959,
0.0026675200462341307,
0.0027105278968811036,
0.0026573441028594972,
0.0026849279403686525,
0.0027351040840148926,
0.0027197439670562746,
0.0026357760429382322,
0.0026501119136810303,
0.0026408960819244384,
0.002698240041732788,
0.002769920110702515,
0.00273305606842041,
0.0030003199577331545,
0.002693120002746582,
0.002703360080718994,
0.002662400007247925,
0.002638848066329956,
0.0026921279430389402,
0.002654239892959595,
0.0026603519916534426,
0.002687999963760376,
0.0026808319091796875,
0.0026562559604644776,
0.0026849279403686525,
0.002777087926864624,
0.0026511681079864503,
0.002699264049530029,
0.0026767361164093018,
0.0026562879085540773,
0.002726912021636963,
0.0027187199592590334,
0.0026552319526672364,
0.0033228800296783447,
0.0034140160083770753,
0.002983936071395874,
0.002836479902267456,
0.0026951680183410643,
0.0029532160758972167,
0.002845695972442627,
0.002742271900177002,
0.003135488033294678,
0.0031160318851470945,
0.0034027519226074218,
0.0033566720485687256,
0.002871295928955078,
0.0026808319091796875,
0.0026644799709320066,
0.002614272117614746,
0.0026378240585327147,
0.002648031949996948,
0.0026501119136810303,
0.002623487949371338,
0.0026255359649658204,
0.0026348159313201902,
0.002630624055862427,
0.002628607988357544,
0.00263372802734375,
0.0025968639850616456,
0.0026357760429382322,
0.0026255359649658204,
0.0026009600162506105,
0.0027351040840148926,
0.0026778240203857422,
0.0026019840240478517,
0.0027002880573272704,
0.002547775983810425,
0.0025210878849029543,
0.0025477120876312258,
0.002510848045349121,
0.002561023950576782,
0.0026306560039520265,
0.00260915207862854,
0.002649087905883789,
0.002627583980560303,
0.0025866239070892333,
0.002610176086425781,
0.002615295886993408,
0.002590719938278198,
0.002615295886993408,
0.002603008031845093,
0.002585599899291992,
0.002641887903213501,
0.0025620479583740234,
0.0025118720531463624,
0.002569216012954712,
0.0027586560249328613,
0.00250982403755188,
0.002549760103225708,
0.002528287887573242,
0.0025077760219573975,
0.0025416319370269776,
0.0025118720531463624,
0.002539520025253296,
0.002717695951461792,
0.002520064115524292,
0.002564095973968506,
0.0026839039325714112,
0.0026664960384368895,
0.0025753600597381594,
0.0026071040630340574,
0.002596895933151245,
0.002673664093017578,
0.002615295886993408,
0.0025835840702056884,
0.002615295886993408,
0.002604032039642334,
0.0025917439460754394,
0.0026173439025878906,
0.0026173439025878906,
0.002699264049530029,
0.0026449921131134033,
0.002756608009338379,
0.002599967956542969,
0.0026470398902893066,
0.002628607988357544,
0.002598912000656128,
0.002639872074127197,
0.002615295886993408,
0.002593791961669922,
0.0026378240585327147,
0.0026265599727630616,
0.0026040959358215334,
0.0026511359214782715,
0.002776000022888184,
0.002762752056121826,
0.003072000026702881,
0.0028631041049957274,
0.002699264049530029,
0.0027095038890838623,
0.002638848066329956,
0.002653183937072754,
0.0026050560474395754,
0.0026357760429382322,
0.002648063898086548,
0.002585599899291992,
0.002639872074127197,
0.0026265599727630616,
0.002598912000656128,
0.002686975955963135,
0.002540544033050537,
0.0025231359004974367,
0.0025333759784698486,
0.00250163197517395,
0.0025241599082946775,
0.00252620792388916,
0.0025047039985656738,
0.002530303955078125,
0.0025364480018615723,
0.0025159680843353273,
0.0027043840885162354,
0.002531327962875366,
0.0025077760219573975,
0.0025251839160919188,
0.00253439998626709,
0.002510848045349121,
0.002514944076538086,
0.002506688117980957,
0.0026235520839691163,
0.0026531200408935547,
0.0026050560474395754,
0.0026081280708312986,
0.002519040107727051,
0.002505728006362915,
0.0025415680408477784,
0.002514944076538086,
0.002510848045349121,
0.0025180160999298097,
0.002530303955078125,
0.002513920068740845,
0.0025179200172424318,
0.0024995839595794676,
0.0025210878849029543,
0.0025251839160919188,
0.0025088000297546387,
0.002561023950576782,
0.0025374720096588135,
0.002527231931686401,
0.0026511359214782715,
0.002619391918182373,
0.002584575891494751,
0.0027351040840148926,
0.0025292799472808837,
0.002519040107727051,
0.0025128960609436036,
0.0025282559394836424,
0.0025057599544525146,
0.0025169920921325685,
0.002662400007247925,
0.0025232000350952147,
0.0025262401103973387,
0.002564095973968506,
0.00252620792388916,
0.002519040107727051,
0.0025047039985656738,
0.0025518081188201903,
0.0025139520168304444,
0.0025026559829711913,
0.0025159680843353273,
0.0025160319805145265,
0.0025292799472808837,
0.0025518081188201903,
0.002508768081665039,
0.002543616056442261,
0.0025221118927001955
],
"count": 370,
"total": 0.9899054377079012,
"mean": 0.002675420101913246,
"p50": 0.0026552319526672364,
"p90": 0.002845695972442627,
"p95": 0.0029222400784492493,
"p99": 0.003193579552173615,
"stdev": 0.00014013904563252102,
"stdev_": 5.238020209697341
},
"throughput": {
"unit": "samples/s",
"value": 747.5461511894002
},
"energy": {
"unit": "kWh",
"cpu": 3.174721897095904e-08,
"ram": 1.734691063343614e-08,
"gpu": 4.240719375935806e-08,
"total": 9.15013233637532e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 21857607.37087075
}
}
}
}