IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
fab214f verified
raw
history blame
18.8 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "6",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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": 1050.935296,
"max_global_vram": 68702.69952,
"max_process_vram": 4192.620544,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.19524569702148437
],
"count": 1,
"total": 0.19524569702148437,
"mean": 0.19524569702148437,
"p50": 0.19524569702148437,
"p90": 0.19524569702148437,
"p95": 0.19524569702148437,
"p99": 0.19524569702148437,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1174.851584,
"max_global_vram": 68702.69952,
"max_process_vram": 58044.039168,
"max_reserved": 2.097152,
"max_allocated": 0.543744
},
"latency": {
"unit": "s",
"values": [
0.003428807020187378,
0.0033025670051574705,
0.003274566888809204,
0.0032976069450378416,
0.0033094470500946043,
0.0032832069396972656,
0.0032902469635009766,
0.003282727003097534,
0.0032840070724487304,
0.003323367118835449,
0.0032806470394134524,
0.0032846469879150393,
0.0033291270732879637,
0.0032945659160614014,
0.0032710459232330323,
0.0032990469932556153,
0.003285446882247925,
0.0032995269298553465,
0.0032892870903015138,
0.003325126886367798,
0.003296807050704956,
0.0032940869331359863,
0.0033024070262908938,
0.0033132870197296145,
0.003293926954269409,
0.0033115270137786864,
0.00328784704208374,
0.0033368070125579835,
0.003303847074508667,
0.003303046941757202,
0.0032926468849182127,
0.003318247079849243,
0.0032766470909118654,
0.0033064069747924803,
0.0033067269325256347,
0.0032956869602203368,
0.003345927000045776,
0.0033046469688415526,
0.0033350470066070555,
0.003290726900100708,
0.0034211270809173583,
0.0033206470012664795,
0.0033032069206237794,
0.0033006470203399657,
0.003295846939086914,
0.003297446966171265,
0.003299846887588501,
0.003310887098312378,
0.0033003270626068117,
0.0032961668968200684,
0.003282727003097534,
0.003342566967010498,
0.0033056070804595946,
0.0033201670646667483,
0.003287527084350586,
0.0033372869491577147,
0.003293766975402832,
0.0032814459800720214,
0.00329024600982666,
0.003304007053375244,
0.003352647066116333,
0.0033012869358062745,
0.003294887065887451,
0.003294727087020874,
0.00331296706199646,
0.0032956869602203368,
0.0033024070262908938,
0.0032993669509887697,
0.0033014469146728518,
0.0032961668968200684,
0.003291846990585327,
0.0033003270626068117,
0.0032926468849182127,
0.0032790470123291015,
0.003283687114715576,
0.003285446882247925,
0.003292807102203369,
0.0032846469879150393,
0.0033065669536590575,
0.003302886962890625,
0.003293447017669678,
0.003286246061325073,
0.003301285982131958,
0.003298405885696411,
0.003292807102203369,
0.003301767110824585,
0.003291846990585327,
0.003286406993865967,
0.0032801671028137207,
0.0033035271167755125,
0.0032886469364166258,
0.003289927005767822,
0.0032840070724487304,
0.003266247034072876,
0.0032696070671081544,
0.0032680070400238036,
0.003289767026901245,
0.003291367053985596,
0.003300806999206543,
0.0033036870956420898,
0.0033043270111083986,
0.0032926468849182127,
0.003291846990585327,
0.0032926459312438965,
0.003304166078567505,
0.003281286001205444,
0.0033136069774627685,
0.0033033668994903566,
0.003290726900100708,
0.0032785670757293703,
0.003289767026901245,
0.0037380878925323486,
0.0036969680786132814,
0.0037204880714416504,
0.0037249679565429686,
0.0037420868873596193,
0.003722727060317993,
0.0037294480800628663,
0.0038006479740142823,
0.0037667279243469238,
0.003718728065490723,
0.003557447910308838,
0.0034544069766998292,
0.0034214470386505127,
0.003438086986541748,
0.0034889678955078124,
0.003498727083206177,
0.003492966890335083,
0.0035035269260406494,
0.003494887113571167,
0.003421766996383667,
0.0034009668827056885,
0.003457287073135376,
0.003448007106781006,
0.003500488042831421,
0.0035107269287109376,
0.0035124869346618653,
0.0035291280746459963,
0.003510246992111206,
0.003352647066116333,
0.0034147279262542723,
0.0034604868888854982,
0.0034865670204162597,
0.0035201680660247804,
0.003499207019805908,
0.003504966974258423,
0.0032926468849182127,
0.0034016079902648927,
0.003467366933822632,
0.003500967025756836,
0.003474247932434082,
0.0034574470520019533,
0.0035612869262695314,
0.003320007085800171,
0.0032940869331359863,
0.0033012869358062745,
0.003299846887588501,
0.0032840070724487304,
0.0032976069450378416,
0.0033051269054412843,
0.0032883269786834718,
0.0032993669509887697,
0.0033176069259643554,
0.003297766923904419,
0.003290566921234131,
0.003290887117385864,
0.0032940869331359863,
0.003298727035522461,
0.003287687063217163,
0.003280807018280029,
0.003296006917953491,
0.0032923269271850587,
0.0032846469879150393,
0.0032955260276794434,
0.003301925897598267,
0.0032904059886932372,
0.0033096070289611815,
0.003308007001876831,
0.0033014469146728518,
0.0032923269271850587,
0.003292486906051636,
0.003287687063217163,
0.0032883269786834718,
0.0032976069450378416,
0.0032980868816375733,
0.0032995269298553465,
0.0032952070236206056,
0.003291527032852173,
0.003289927005767822,
0.003308007001876831,
0.003291367053985596,
0.0033072071075439455,
0.003296006917953491,
0.003283847093582153,
0.0033027269840240478,
0.0033084869384765623,
0.0032945671081542967,
0.003300326108932495,
0.0032956860065460206,
0.003297126054763794,
0.003286566972732544,
0.0033195269107818602,
0.0032883269786834718,
0.0032883269786834718,
0.003303847074508667,
0.003273287057876587,
0.003297446966171265,
0.0032788870334625243,
0.0032841670513153076,
0.003296967029571533,
0.003282727003097534,
0.0032809669971466063,
0.00330096697807312,
0.0033091270923614503,
0.003291527032852173,
0.0033006470203399657,
0.0033041670322418214,
0.0032683260440826414,
0.003292165994644165,
0.003280005931854248,
0.003278407096862793,
0.0032860870361328125,
0.003290726900100708,
0.0032859270572662353,
0.00328784704208374,
0.0032961668968200684,
0.0033032069206237794,
0.0032851269245147705,
0.0032820870876312256,
0.003265286922454834,
0.003286406993865967,
0.003296807050704956,
0.0033083269596099855,
0.0032955269813537596,
0.003282727003097534,
0.003273447036743164,
0.003284806966781616,
0.0032964870929718016,
0.003292325973510742,
0.0032764859199523925,
0.0032955269813537596,
0.003281446933746338,
0.0032992069721221925,
0.0032980868816375733,
0.0032902469635009766,
0.0032822470664978028,
0.0032940869331359863,
0.003283847093582153,
0.003290566921234131,
0.0033035271167755125,
0.0032886469364166258,
0.0032952070236206056,
0.0033051269054412843,
0.0032710471153259276,
0.003290406942367554,
0.0033003270626068117,
0.003299206018447876,
0.003294886112213135,
0.0032801659107208254,
0.0032680070400238036,
0.003281766891479492,
0.003287367105484009,
0.0032910470962524414,
0.0032800068855285643,
0.003288486957550049,
0.0032788870334625243,
0.0032812869548797608,
0.003290566921234131,
0.0032923269271850587,
0.003280327081680298,
0.0033216071128845215,
0.003280487060546875,
0.0033081669807434083,
0.0032998459339141847,
0.003306406021118164,
0.003317445993423462,
0.003320486068725586,
0.003288326025009155,
0.0033056070804595946,
0.0033075270652770995,
0.0033134469985961913,
0.0032931270599365235,
0.003279846906661987,
0.003278886079788208,
0.0032862470149993897,
0.003510886907577515,
0.003291846036911011,
0.003312325954437256,
0.0033060860633850097,
0.003275367021560669,
0.003281446933746338,
0.0032841670513153076,
0.0033024070262908938,
0.0033043270111083986,
0.003286406993865967,
0.003282567024230957,
0.003294887065887451
],
"count": 297,
"total": 0.98917406129837,
"mean": 0.0033305523949440077,
"p50": 0.0032964870929718016,
"p90": 0.003463238906860352,
"p95": 0.0035112069129943847,
"p99": 0.0037382478523254395,
"stdev": 9.679747067115606e-05,
"stdev_": 2.9063488332476273
},
"throughput": {
"unit": "samples/s",
"value": 600.5009868741679
},
"energy": null,
"efficiency": null
}
}
}