IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
5f1dc95 verified
raw
history blame
23 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": 804.118528,
"max_global_vram": 639.107072,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.05491814422607422
],
"count": 1,
"total": 0.05491814422607422,
"mean": 0.05491814422607422,
"p50": 0.05491814422607422,
"p90": 0.05491814422607422,
"p95": 0.05491814422607422,
"p99": 0.05491814422607422,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.626572291666655e-05,
"ram": 5.2742377181307506e-05,
"gpu": 0.00012885482530599983,
"total": 0.00027786292540397386
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1042.14528,
"max_global_vram": 670.564352,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.002742271900177002,
0.002535423994064331,
0.0024954879283905027,
0.002924544095993042,
0.003081216096878052,
0.002539520025253296,
0.002628544092178345,
0.0027299840450286865,
0.002441215991973877,
0.0025876479148864745,
0.002589695930480957,
0.00240230393409729,
0.0024586238861083985,
0.0024729599952697753,
0.0024576001167297364,
0.002489343881607056,
0.002442239999771118,
0.0024913918972015382,
0.002476032018661499,
0.0024401919841766356,
0.002642944097518921,
0.003017728090286255,
0.0026593279838562013,
0.002610176086425781,
0.0026757121086120605,
0.0025579841136932372,
0.002723839998245239,
0.00262060809135437,
0.0025364480018615723,
0.002610080003738403,
0.002604032039642334,
0.0025538558959960936,
0.002642944097518921,
0.00262556791305542,
0.002554879903793335,
0.002590719938278198,
0.0026296319961547853,
0.002565119981765747,
0.0025968639850616456,
0.0025702400207519532,
0.0025681920051574708,
0.002613248109817505,
0.0025712640285491944,
0.0025702400207519532,
0.002585599899291992,
0.0025569279193878173,
0.002747391939163208,
0.0025999360084533693,
0.0025477120876312258,
0.0025958399772644043,
0.0025753600597381594,
0.002540544033050537,
0.002580480098724365,
0.0026040959358215334,
0.002549760103225708,
0.0027392001152038575,
0.002569216012954712,
0.0025528318881988523,
0.002580480098724365,
0.0025866239070892333,
0.002559999942779541,
0.002574336051940918,
0.002564095973968506,
0.0025630719661712646,
0.0025753600597381594,
0.0025763840675354006,
0.0025538558959960936,
0.0025917439460754394,
0.0025681920051574708,
0.0025528318881988523,
0.0025825281143188475,
0.0025425920486450196,
0.0025702400207519532,
0.00257859206199646,
0.0025362560749053954,
0.002634752035140991,
0.00276582407951355,
0.002658207893371582,
0.002590719938278198,
0.002594815969467163,
0.0025456640720367433,
0.002589695930480957,
0.0026163198947906493,
0.0024524800777435303,
0.002496511936187744,
0.002470911979675293,
0.0024401919841766356,
0.0024729599952697753,
0.0024371199607849123,
0.002481152057647705,
0.0024791359901428223,
0.002430975914001465,
0.002474976062774658,
0.002457632064819336,
0.0025886719226837157,
0.0024862720966339113,
0.002439039945602417,
0.0024605441093444825,
0.0024831039905548096,
0.002441215991973877,
0.0024637439250946047,
0.002466815948486328,
0.002452320098876953,
0.0024729280471801757,
0.0024411199092864992,
0.0024821760654449463,
0.002471935987472534,
0.0024401919841766356,
0.002465791940689087,
0.0024535040855407715,
0.002580480098724365,
0.00245961594581604,
0.002405375957489014,
0.0024268798828125,
0.002420736074447632,
0.0024104959964752195,
0.0024371199607849123,
0.002397183895111084,
0.003136512041091919,
0.002493472099304199,
0.002481152057647705,
0.0024545280933380128,
0.0024830400943756104,
0.002442239999771118,
0.0024576001167297364,
0.0024913918972015382,
0.002463776111602783,
0.0024954879283905027,
0.002431999921798706,
0.0024535040855407715,
0.0024751040935516357,
0.002431999921798706,
0.0024679040908813475,
0.002464767932891846,
0.002448575973510742,
0.002481152057647705,
0.0024688639640808104,
0.002489343881607056,
0.0024698879718780516,
0.0024370880126953127,
0.0024576001167297364,
0.0024533441066741943,
0.002455552101135254,
0.0024872961044311525,
0.002450432062149048,
0.0024750080108642577,
0.0024739840030670165,
0.002438143968582153,
0.00246995210647583,
0.002455552101135254,
0.002561023950576782,
0.0024647040367126467,
0.0025671679973602295,
0.002471935987472534,
0.0024862720966339113,
0.0024238080978393555,
0.002463648080825806,
0.002484224081039429,
0.002469919919967651,
0.0024995839595794676,
0.0024453120231628417,
0.002467839956283569,
0.002470911979675293,
0.0024371840953826903,
0.0024718079566955565,
0.0024433600902557372,
0.0024279038906097413,
0.002470911979675293,
0.0024248321056365967,
0.002446336030960083,
0.0024340479373931886,
0.0023992319107055664,
0.0024289278984069825,
0.002392064094543457,
0.002404383897781372,
0.002451456069946289,
0.002416640043258667,
0.0024340479373931886,
0.002421760082244873,
0.0024330239295959474,
0.0024453120231628417,
0.002416640043258667,
0.002442239999771118,
0.0024401919841766356,
0.0024340479373931886,
0.0024535040855407715,
0.0023911681175231934,
0.0024330239295959474,
0.00243507194519043,
0.0024033279418945314,
0.0024352319240570066,
0.00243507194519043,
0.0024524800777435303,
0.002648063898086548,
0.00243507194519043,
0.0024975039958953856,
0.0024688639640808104,
0.00241977596282959,
0.002455552101135254,
0.0024545280933380128,
0.0024442880153656005,
0.0024596478939056397,
0.0024197120666503906,
0.0024862720966339113,
0.0024545280933380128,
0.002425856113433838,
0.002465791940689087,
0.0024421119689941404,
0.0025661439895629883,
0.0024698879718780516,
0.0024308159351348877,
0.002432032108306885,
0.002426912069320679,
0.0024218239784240723,
0.002451456069946289,
0.002413568019866943,
0.0024698879718780516,
0.0024862720966339113,
0.0024453120231628417,
0.002494463920593262,
0.0024729599952697753,
0.002456576108932495,
0.002465791940689087,
0.0024238080978393555,
0.0024739840030670165,
0.0024739840030670165,
0.0024442880153656005,
0.0024790399074554443,
0.002465791940689087,
0.0024502720832824706,
0.0024933760166168215,
0.0024545280933380128,
0.002467839956283569,
0.002474112033843994,
0.0024177920818328857,
0.0024913918972015382,
0.002479167938232422,
0.0024401919841766356,
0.002480031967163086,
0.00243507194519043,
0.0024627199172973634,
0.002484224081039429,
0.002756608009338379,
0.002577408075332642,
0.0025927679538726807,
0.0025241599082946775,
0.002672640085220337,
0.0025518081188201903,
0.002677759885787964,
0.0025895359516143798,
0.0025671679973602295,
0.0025518081188201903,
0.0025999360084533693,
0.002564095973968506,
0.002541536092758179,
0.002580480098724365,
0.0025169920921325685,
0.002565119981765747,
0.0025763840675354006,
0.0025364480018615723,
0.0025793280601501467,
0.0025874879360198973,
0.002531424045562744,
0.002593791961669922,
0.002611295938491821,
0.0025466880798339846,
0.0026173439025878906,
0.002569216012954712,
0.002540544033050537,
0.002610176086425781,
0.002574336051940918,
0.0025333759784698486,
0.0026059839725494386,
0.0025671679973602295,
0.002539520025253296,
0.0025835518836975096,
0.0025159680843353273,
0.0025999360084533693,
0.002584575891494751,
0.002531327962875366,
0.0025834560394287108,
0.0025763840675354006,
0.002530303955078125,
0.0026163198947906493,
0.002505728006362915,
0.002418623924255371,
0.002501728057861328,
0.002447360038757324,
0.002464767932891846,
0.00247705602645874,
0.00243507194519043,
0.0024494080543518066,
0.002431999921798706,
0.0024586238861083985,
0.0024924159049987795,
0.002450432062149048,
0.002470016002655029,
0.0024698879718780516,
0.002456576108932495,
0.0024841599464416504,
0.002467839956283569,
0.0025876479148864745,
0.0025036799907684325,
0.002494463920593262,
0.002460671901702881,
0.0024698879718780516,
0.0024494080543518066,
0.002494463920593262,
0.0025026559829711913,
0.002467936038970947,
0.0024637439250946047,
0.002455552101135254,
0.0024268798828125,
0.0024830400943756104,
0.0024483840465545654,
0.0024913918972015382,
0.0024524478912353515,
0.002438143968582153,
0.0024954879283905027,
0.002430975914001465,
0.002456576108932495,
0.0024627199172973634,
0.0024186880588531494,
0.002459552049636841,
0.002446336030960083,
0.002437056064605713,
0.00247705602645874,
0.0024391679763793943,
0.0024698879718780516,
0.0024596478939056397,
0.002438143968582153,
0.0024821760654449463,
0.0024576001167297364,
0.002455552101135254,
0.0024739840030670165,
0.0024402880668640136,
0.0024535040855407715,
0.0024586238861083985,
0.002448224067687988,
0.0024750080108642577,
0.00247705602645874,
0.002604032039642334,
0.002490367889404297,
0.002431999921798706,
0.002460671901702881,
0.002457632064819336,
0.002447295904159546,
0.0025169920921325685,
0.0024791040420532227,
0.002464767932891846,
0.0025210878849029543,
0.0024268798828125,
0.0025026559829711913,
0.00250163197517395,
0.002436032056808472,
0.0024913918972015382,
0.0024913599491119386,
0.0024391679763793943,
0.0024954879283905027,
0.002421760082244873,
0.0024698879718780516,
0.0024719998836517333,
0.002430016040802002,
0.00260915207862854,
0.002456511974334717,
0.0024483840465545654,
0.0024586238861083985,
0.0024248321056365967,
0.0024688639640808104,
0.0024401919841766356,
0.0024371199607849123,
0.002460671901702881,
0.0024453120231628417,
0.0024483840465545654,
0.002464767932891846,
0.0024432640075683592,
0.0024638080596923826,
0.0024534080028533935,
0.002438143968582153,
0.002465856075286865,
0.002455552101135254,
0.0024586238861083985,
0.0024688639640808104,
0.002416640043258667,
0.0024688639640808104,
0.0024453120231628417,
0.0024586238861083985,
0.0024821760654449463,
0.002455552101135254,
0.002476128101348877,
0.0025067520141601562,
0.0024371199607849123,
0.0024985599517822264,
0.002471935987472534,
0.0024483840465545654,
0.0024913918972015382
],
"count": 396,
"total": 0.9913957767486568,
"mean": 0.0025035246887592354,
"p50": 0.0024719679355621337,
"p90": 0.0025983999967575076,
"p95": 0.0026309120059013367,
"p99": 0.0027737600803375262,
"stdev": 8.887596921236253e-05,
"stdev_": 3.550033662995754
},
"throughput": {
"unit": "samples/s",
"value": 798.873687557367
},
"energy": {
"unit": "kWh",
"cpu": 3.0073779496263826e-08,
"ram": 1.643132802036595e-08,
"gpu": 4.181052414213199e-08,
"total": 8.831563165876182e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 22646047.618474793
}
}
}
}