IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
a043145 verified
raw
history blame
22.5 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": 803.905536,
"max_global_vram": 639.107072,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.05608857727050781
],
"count": 1,
"total": 0.05608857727050781,
"mean": 0.05608857727050781,
"p50": 0.05608857727050781,
"p90": 0.05608857727050781,
"p95": 0.05608857727050781,
"p99": 0.05608857727050781,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.602899942777552e-05,
"ram": 5.2612477496236585e-05,
"gpu": 0.0001308728824760009,
"total": 0.000279514359400013
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1042.038784,
"max_global_vram": 670.564352,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.0029951999187469483,
0.0029071359634399415,
0.002825216054916382,
0.002737152099609375,
0.002747391939163208,
0.002694144010543823,
0.002619391918182373,
0.002699264049530029,
0.0026593279838562013,
0.00265830397605896,
0.0026521599292755127,
0.0026839039325714112,
0.0026798079013824463,
0.002747328042984009,
0.002743232011795044,
0.0027054080963134766,
0.002703360080718994,
0.002702336072921753,
0.00268287992477417,
0.00268287992477417,
0.002742271900177002,
0.0027013120651245117,
0.0027043840885162354,
0.0028487999439239502,
0.003022847890853882,
0.0027688961029052736,
0.0028190720081329346,
0.0026665599346160887,
0.0026296319961547853,
0.0026593279838562013,
0.00265830397605896,
0.002634752035140991,
0.0027637760639190674,
0.002756608009338379,
0.0027197439670562746,
0.002711551904678345,
0.002770944118499756,
0.002817023992538452,
0.0027310080528259277,
0.0028057599067687986,
0.0028928000926971434,
0.0026050560474395754,
0.0025661439895629883,
0.002584575891494751,
0.0025466880798339846,
0.0025456640720367433,
0.0025825920104980468,
0.0025374720096588135,
0.0025927679538726807,
0.002613248109817505,
0.0025825281143188475,
0.002608031988143921,
0.002615295886993408,
0.0025528318881988523,
0.0025917439460754394,
0.0025722880363464357,
0.0025364480018615723,
0.0025917439460754394,
0.002573312044143677,
0.002623487949371338,
0.002669568061828613,
0.002574336051940918,
0.0028528640270233155,
0.0026920959949493406,
0.002610176086425781,
0.002581536054611206,
0.002687999963760376,
0.0027043840885162354,
0.0026890239715576174,
0.00296345591545105,
0.0027678720951080323,
0.0027299840450286865,
0.00273305606842041,
0.002741247892379761,
0.0027688961029052736,
0.0027667839527130127,
0.0027688961029052736,
0.002762752056121826,
0.0026368000507354735,
0.0026399040222167968,
0.002627583980560303,
0.0025835518836975096,
0.002603008031845093,
0.0025712640285491944,
0.0025384960174560547,
0.0026418559551239012,
0.0026480000019073486,
0.0026725759506225585,
0.0027207679748535154,
0.0027514879703521727,
0.0026746881008148193,
0.002653183937072754,
0.002584575891494751,
0.0025456640720367433,
0.00260915207862854,
0.002615295886993408,
0.0027095038890838623,
0.00278220796585083,
0.002673664093017578,
0.0025753600597381594,
0.0027432959079742433,
0.002623487949371338,
0.0024985599517822264,
0.0025825281143188475,
0.002573312044143677,
0.002540544033050537,
0.0027586560249328613,
0.002614272117614746,
0.0025384960174560547,
0.0025876479148864745,
0.002540544033050537,
0.002510848045349121,
0.002543616056442261,
0.0025323519706726074,
0.0025620479583740234,
0.0026562559604644776,
0.0028129279613494872,
0.0030853118896484377,
0.003673088073730469,
0.0027935359477996827,
0.0026501760482788086,
0.002587615966796875,
0.0026603519916534426,
0.0028579840660095217,
0.0026306560039520265,
0.00263372802734375,
0.0026306560039520265,
0.0025917439460754394,
0.0027504639625549315,
0.0026900479793548586,
0.0026204159259796142,
0.0026839039325714112,
0.0027002880573272704,
0.00260915207862854,
0.0027514879703521727,
0.0027002880573272704,
0.0026275520324707032,
0.0025712640285491944,
0.002564095973968506,
0.0025180160999298097,
0.0025886719226837157,
0.0025825281143188475,
0.0025477120876312258,
0.0025886080265045165,
0.0025866239070892333,
0.0025292799472808837,
0.0025630719661712646,
0.0025538558959960936,
0.0025886080265045165,
0.00268287992477417,
0.0026890239715576174,
0.002707456111907959,
0.0028856320381164553,
0.0028037118911743166,
0.0028815360069274903,
0.0026849279403686525,
0.0027187199592590334,
0.0026951680183410643,
0.002741247892379761,
0.0027586560249328613,
0.002668544054031372,
0.002621407985687256,
0.0025866239070892333,
0.002569216012954712,
0.0026664960384368895,
0.002643968105316162,
0.0026675200462341307,
0.0026398398876190184,
0.0026173439025878906,
0.0025159680843353273,
0.0025456640720367433,
0.002543616056442261,
0.0026664960384368895,
0.0027156479358673097,
0.002584575891494751,
0.002555903911590576,
0.0025292799472808837,
0.0025364480018615723,
0.002496511936187744,
0.0025876479148864745,
0.002582560062408447,
0.002500607967376709,
0.0025282559394836424,
0.0025098559856414795,
0.0024791040420532227,
0.0025231359004974367,
0.002549760103225708,
0.002598912000656128,
0.0025753600597381594,
0.002539520025253296,
0.0025323519706726074,
0.0025456640720367433,
0.002627583980560303,
0.0025036799907684325,
0.002519040107727051,
0.002476032018661499,
0.0024985599517822264,
0.0027156479358673097,
0.0025835518836975096,
0.0026255359649658204,
0.0025968639850616456,
0.0025579519271850585,
0.0026112000942230223,
0.002579456090927124,
0.0026122241020202636,
0.0026357760429382322,
0.0025876479148864745,
0.002603008031845093,
0.0026460158824920654,
0.0026112000942230223,
0.00265830397605896,
0.0026521599292755127,
0.002654207944869995,
0.0026593279838562013,
0.002771967887878418,
0.0027002880573272704,
0.0026972160339355468,
0.0026521599292755127,
0.0026122241020202636,
0.002559999942779541,
0.0026419200897216796,
0.0025804479122161867,
0.0025917439460754394,
0.0026296319961547853,
0.002584575891494751,
0.002609119892120361,
0.0026245439052581788,
0.002589695930480957,
0.0026071040630340574,
0.002653183937072754,
0.0025835518836975096,
0.002603008031845093,
0.0026183679103851318,
0.0025835518836975096,
0.0025876479148864745,
0.0026204159259796142,
0.002584575891494751,
0.0025671679973602295,
0.002577408075332642,
0.0025159680843353273,
0.002565119981765747,
0.002565119981765747,
0.002510848045349121,
0.0025088000297546387,
0.0024729599952697753,
0.002476032018661499,
0.0024985599517822264,
0.002467839956283569,
0.0024913918972015382,
0.002507744073867798,
0.002451456069946289,
0.002500607967376709,
0.0024954879283905027,
0.0024688639640808104,
0.0025292799472808837,
0.0025702400207519532,
0.0025999360084533693,
0.0024924159049987795,
0.0024566400051116944,
0.002496511936187744,
0.0025282559394836424,
0.002446336030960083,
0.0024965438842773436,
0.0024596800804138185,
0.002480128049850464,
0.0024954879283905027,
0.0024627199172973634,
0.0024934399127960207,
0.0024810879230499267,
0.0024545280933380128,
0.0025026559829711913,
0.0024627199172973634,
0.002494463920593262,
0.002497535943984985,
0.002466815948486328,
0.00247705602645874,
0.002494463920593262,
0.002446336030960083,
0.002483232021331787,
0.0024821760654449463,
0.002441215991973877,
0.002496511936187744,
0.002466815948486328,
0.002471935987472534,
0.002480128049850464,
0.0024483840465545654,
0.0024862720966339113,
0.0024586238861083985,
0.0024483840465545654,
0.0024924159049987795,
0.002461695909500122,
0.002467839956283569,
0.002500607967376709,
0.0024524800777435303,
0.0024862720966339113,
0.0024596478939056397,
0.0024750080108642577,
0.0024954879283905027,
0.002476032018661499,
0.0024954879283905027,
0.002500607967376709,
0.0024545280933380128,
0.002513920068740845,
0.002484224081039429,
0.002465791940689087,
0.0025077760219573975,
0.0024739840030670165,
0.002476032018661499,
0.0024913918972015382,
0.002441279888153076,
0.0024872961044311525,
0.002494463920593262,
0.002450432062149048,
0.002481152057647705,
0.002464767932891846,
0.002543616056442261,
0.0024872961044311525,
0.002471935987472534,
0.002497535943984985,
0.002490367889404297,
0.002447360038757324,
0.0024934399127960207,
0.0024637439250946047,
0.0024750080108642577,
0.002483232021331787,
0.0024401919841766356,
0.002480128049850464,
0.0024883201122283937,
0.002520064115524292,
0.002483232021331787,
0.002463776111602783,
0.002476032018661499,
0.0024791040420532227,
0.0024391679763793943,
0.0024780800342559814,
0.0024791040420532227,
0.002442239999771118,
0.0026071040630340574,
0.0024453120231628417,
0.0024698879718780516,
0.002494463920593262,
0.0024524800777435303,
0.0024729599952697753,
0.0024719679355621337,
0.00243507194519043,
0.002476032018661499,
0.0024637439250946047,
0.002464767932891846,
0.002476032018661499,
0.0024401919841766356,
0.0024883201122283937,
0.002480128049850464,
0.0024555840492248536,
0.002476032018661499,
0.0024576001167297364,
0.0024627199172973634,
0.0024883201122283937,
0.002450432062149048,
0.0025077760219573975,
0.0024729599952697753,
0.002438143968582153,
0.0024709439277648924,
0.002490367889404297,
0.00248524808883667,
0.002464767932891846,
0.002451456069946289,
0.0024821760654449463,
0.002470911979675293,
0.002450432062149048,
0.0024750080108642577,
0.002461695909500122,
0.0025047039985656738,
0.002664448022842407,
0.0025886719226837157,
0.002530303955078125,
0.002678783893585205,
0.0025763840675354006,
0.002657279968261719,
0.0025251839160919188,
0.002480128049850464,
0.0025364480018615723,
0.002514944076538086
],
"count": 382,
"total": 0.9894737582206725,
"mean": 0.002590245440368253,
"p50": 0.0025768960714340214,
"p90": 0.0027431360006332397,
"p95": 0.002781695961952209,
"p99": 0.0029694872760772707,
"stdev": 0.00012569126449166234,
"stdev_": 4.852484731091464
},
"throughput": {
"unit": "samples/s",
"value": 772.1276018212628
},
"energy": {
"unit": "kWh",
"cpu": 2.9898956582354826e-08,
"ram": 1.6338041639754943e-08,
"gpu": 4.219846644836728e-08,
"total": 8.843546467047698e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 22615361.466717932
}
}
}
}