IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
2ac714c verified
raw
history blame
18.3 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": "5",
"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.710016,
"max_global_vram": 68702.69952,
"max_process_vram": 2700.288,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.07059333801269531
],
"count": 1,
"total": 0.07059333801269531,
"mean": 0.07059333801269531,
"p50": 0.07059333801269531,
"p90": 0.07059333801269531,
"p95": 0.07059333801269531,
"p99": 0.07059333801269531,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1175.10144,
"max_global_vram": 68702.69952,
"max_process_vram": 62804.963328,
"max_reserved": 2.097152,
"max_allocated": 0.543744
},
"latency": {
"unit": "s",
"values": [
0.0035641469955444336,
0.003280946969985962,
0.0033027079105377197,
0.0033071870803833008,
0.0033310279846191404,
0.0033111870288848877,
0.0033145480155944824,
0.003319506883621216,
0.0032790279388427734,
0.003289267063140869,
0.003311028003692627,
0.0033102269172668457,
0.003304948091506958,
0.0032604680061340333,
0.003259347915649414,
0.003367027997970581,
0.0033188679218292237,
0.0033012681007385256,
0.0032942280769348146,
0.0032820680141448975,
0.003280147075653076,
0.0032660679817199706,
0.0032910270690917967,
0.0032942280769348146,
0.003281588077545166,
0.0032945480346679686,
0.0036955060958862303,
0.0035366270542144776,
0.0034289469718933106,
0.003353266954421997,
0.0036751859188079833,
0.003615505933761597,
0.003434546947479248,
0.003513746976852417,
0.003281907081604004,
0.0032726280689239504,
0.003262228012084961,
0.003271827936172485,
0.003272308111190796,
0.0032641470432281496,
0.003271347999572754,
0.0033871870040893554,
0.003294388055801392,
0.003286386966705322,
0.0032892680168151857,
0.0034502270221710204,
0.0033039870262145995,
0.003292948007583618,
0.0032799880504608154,
0.0032665479183197023,
0.0032665479183197023,
0.003271826982498169,
0.003287827968597412,
0.003275507926940918,
0.003274228096008301,
0.003286547899246216,
0.0032795069217681884,
0.0032812678813934327,
0.0032831881046295167,
0.003266387939453125,
0.003284467935562134,
0.0032654271125793456,
0.0032911880016326905,
0.00329086709022522,
0.003283348083496094,
0.0032681479454040527,
0.003284946918487549,
0.003287508010864258,
0.0032790269851684572,
0.0032892680168151857,
0.0033334269523620608,
0.003429106950759888,
0.003278707981109619,
0.0032710280418395995,
0.0032923080921173097,
0.003283668041229248,
0.0032870280742645264,
0.0032780680656433105,
0.003492786884307861,
0.003294867992401123,
0.0033060669898986816,
0.0033015880584716796,
0.003360306978225708,
0.003713426113128662,
0.0034116671085357665,
0.0034889469146728515,
0.0033371069431304932,
0.0036948659420013427,
0.0036606268882751463,
0.0034839870929718017,
0.003489587068557739,
0.003707986116409302,
0.003708146095275879,
0.003693105936050415,
0.003682866096496582,
0.0036804659366607667,
0.0036979060173034668,
0.0035081470012664796,
0.003542866945266724,
0.0033913469314575196,
0.0034897470474243163,
0.003627985954284668,
0.003396467924118042,
0.0034071879386901854,
0.00357582688331604,
0.0034463870525360107,
0.003282547950744629,
0.0035529470443725585,
0.0035244669914245605,
0.003281907081604004,
0.003469747066497803,
0.0034163069725036623,
0.003278867959976196,
0.0036303861141204832,
0.0032751879692077637,
0.003572305917739868,
0.00371518611907959,
0.0036899058818817138,
0.0036857459545135496,
0.0036852660179138184,
0.003666866064071655,
0.0037383859157562255,
0.003706546068191528,
0.0036740660667419433,
0.003737746000289917,
0.003729585886001587,
0.003692945957183838,
0.003679666042327881,
0.003709105968475342,
0.003671025991439819,
0.0037348659038543702,
0.0037107059955596923,
0.0036977460384368895,
0.0037270259857177736,
0.0034532670974731445,
0.0036518259048461915,
0.00333182692527771,
0.003532306909561157,
0.003504626989364624,
0.003653907060623169,
0.003734705924987793,
0.0037340660095214846,
0.0037039859294891357,
0.0037028660774230957,
0.003725745916366577,
0.0037099061012268067,
0.0036932659149169923,
0.003699186086654663,
0.0037057459354400634,
0.0037006258964538572,
0.003710546016693115,
0.003714385986328125,
0.0037169458866119385,
0.003734545946121216,
0.003707185983657837,
0.0037359859943389894,
0.003739026069641113,
0.003722225904464722,
0.0037303860187530517,
0.003714385986328125,
0.0037223858833312987,
0.003711345911026001,
0.0037015860080718993,
0.003705106019973755,
0.003685585975646973,
0.0036884660720825197,
0.003683026075363159,
0.0036972661018371583,
0.0036803059577941895,
0.0036948659420013427,
0.003691986083984375,
0.0037049460411071778,
0.0037108659744262695,
0.0036825459003448488,
0.0037007861137390136,
0.003716465950012207,
0.003717106103897095,
0.003705265998840332,
0.003707185983657837,
0.003705585956573486,
0.003708466053009033,
0.0037089459896087647,
0.0037049460411071778,
0.003710386037826538,
0.0037044670581817627,
0.0037100670337677,
0.0036812670230865477,
0.003682387113571167,
0.0036857469081878662,
0.003698225975036621,
0.0036996660232543944,
0.0036835060119628908,
0.0036972661018371583,
0.003712625980377197,
0.0037044670581817627,
0.0037063870429992676,
0.0037167870998382566,
0.0037023859024047853,
0.003701106071472168,
0.003707185983657837,
0.003705265998840332,
0.003705265998840332,
0.003679025888442993,
0.0037263860702514647,
0.003653907060623169,
0.003596307039260864,
0.003315826892852783,
0.0035023870468139646,
0.0034959869384765625,
0.0033812670707702636,
0.003414546966552734,
0.0036511859893798826,
0.0032769479751586913,
0.0032796669006347656,
0.0032678279876708983,
0.0032615880966186525,
0.0032630269527435304,
0.0032615880966186525,
0.0034118270874023437,
0.0032705481052398683,
0.0032734270095825194,
0.0032659080028533934,
0.003265428066253662,
0.0032475080490112305,
0.003275826930999756,
0.00326446795463562,
0.003272788047790527,
0.003283828020095825,
0.003271827936172485,
0.003248788118362427,
0.0032641479969024658,
0.0032599880695343016,
0.0033011069297790526,
0.0032993481159210203,
0.00330126690864563,
0.0032607879638671877,
0.003272787094116211,
0.0032711880207061768,
0.0032911880016326905,
0.0032729470729827882,
0.0032731080055236816,
0.0032559878826141355,
0.003287348031997681,
0.0032705481052398683,
0.003285747051239014,
0.0032691080570220947,
0.003271347999572754,
0.003257267951965332,
0.003277587890625,
0.003283827066421509,
0.0032879879474639892,
0.0032694270610809325,
0.003286708116531372,
0.0032759881019592285,
0.0032926280498504637,
0.0032745480537414553,
0.003283987045288086,
0.003286708116531372,
0.0032921469211578368,
0.003265268087387085,
0.0032790279388427734,
0.0032891080379486085,
0.0032862279415130616,
0.0032665469646453857,
0.003262228012084961,
0.0032843079566955567,
0.0032964680194854734,
0.003275347948074341,
0.0032836670875549317,
0.0032780680656433105,
0.0032774269580841064,
0.0032862279415130616,
0.0032721469402313234,
0.0032627079486846925,
0.0032647879123687746,
0.003273427963256836,
0.0032526280879974366,
0.003257267951965332,
0.003250387907028198,
0.0032871880531311036,
0.0032761480808258057,
0.0033001470565795898,
0.0032779080867767333,
0.003526226043701172,
0.003283668041229248,
0.003279828071594238
],
"count": 286,
"total": 0.9876607801914212,
"mean": 0.0034533593712986767,
"p50": 0.003325267434120178,
"p90": 0.003710226535797119,
"p95": 0.003720945954322815,
"p99": 0.0037362499952316285,
"stdev": 0.00019301139900969853,
"stdev_": 5.589091034482006
},
"throughput": {
"unit": "samples/s",
"value": 579.1462124163105
},
"energy": null,
"efficiency": null
}
}
}