cuda
/
cuda_inference_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json

IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
d8ab83e
verified
{ | |
"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.240576, | |
"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.145984, | |
"max_global_vram": 639.107072, | |
"max_process_vram": 0.0, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.534528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05716582489013672 | |
], | |
"count": 1, | |
"total": 0.05716582489013672, | |
"mean": 0.05716582489013672, | |
"p50": 0.05716582489013672, | |
"p90": 0.05716582489013672, | |
"p95": 0.05716582489013672, | |
"p99": 0.05716582489013672, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.710962505208298e-05, | |
"ram": 5.3204470465978405e-05, | |
"gpu": 0.00013023149307400022, | |
"total": 0.0002805455885920616 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.446592, | |
"max_global_vram": 670.564352, | |
"max_process_vram": 0.0, | |
"max_reserved": 23.068672, | |
"max_allocated": 10.112 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.002706432104110718, | |
0.0025753600597381594, | |
0.0025651519298553467, | |
0.002668544054031372, | |
0.002528223991394043, | |
0.0025364480018615723, | |
0.0024934399127960207, | |
0.0024862720966339113, | |
0.00252124810218811, | |
0.0024872961044311525, | |
0.0024913918972015382, | |
0.0024802560806274415, | |
0.002500704050064087, | |
0.002499488115310669, | |
0.0024861760139465333, | |
0.0026357760429382322, | |
0.002579456090927124, | |
0.0025825281143188475, | |
0.0025825281143188475, | |
0.0026122241020202636, | |
0.0025866239070892333, | |
0.00262444806098938, | |
0.002540544033050537, | |
0.0025753600597381594, | |
0.002494463920593262, | |
0.0025384960174560547, | |
0.002505728006362915, | |
0.002489343881607056, | |
0.002466815948486328, | |
0.0024872961044311525, | |
0.0024821760654449463, | |
0.002480128049850464, | |
0.0025077760219573975, | |
0.002505728006362915, | |
0.0024995839595794676, | |
0.0024986560344696044, | |
0.002461695909500122, | |
0.002488192081451416, | |
0.0024883201122283937, | |
0.0025599360466003417, | |
0.00252620792388916, | |
0.0025241599082946775, | |
0.002632704019546509, | |
0.0025241599082946775, | |
0.002555903911590576, | |
0.0025169920921325685, | |
0.002513887882232666, | |
0.00250163197517395, | |
0.0025089280605316163, | |
0.0025047039985656738, | |
0.0025128960609436036, | |
0.00251910400390625, | |
0.0026910719871521, | |
0.00256931209564209, | |
0.002632704019546509, | |
0.0028037118911743166, | |
0.0027586560249328613, | |
0.0026306560039520265, | |
0.002604032039642334, | |
0.0025876479148864745, | |
0.0026122241020202636, | |
0.0025917439460754394, | |
0.0025722880363464357, | |
0.002603008031845093, | |
0.0026234560012817383, | |
0.0025886719226837157, | |
0.002597887992858887, | |
0.0026357760429382322, | |
0.0025968639850616456, | |
0.002590719938278198, | |
0.0026132800579071044, | |
0.0025837440490722656, | |
0.0025927679538726807, | |
0.0026266560554504396, | |
0.0025835518836975096, | |
0.002597887992858887, | |
0.0026316800117492677, | |
0.0026163198947906493, | |
0.002590719938278198, | |
0.0025815041065216063, | |
0.00263372802734375, | |
0.00260915207862854, | |
0.002610176086425781, | |
0.002627583980560303, | |
0.002619391918182373, | |
0.0026113600730895995, | |
0.002634752035140991, | |
0.002613248109817505, | |
0.0026019840240478517, | |
0.00268287992477417, | |
0.0028651518821716307, | |
0.0026204159259796142, | |
0.0026378240585327147, | |
0.002648063898086548, | |
0.002761728048324585, | |
0.002579456090927124, | |
0.002606080055236816, | |
0.002527231931686401, | |
0.002530303955078125, | |
0.002497535943984985, | |
0.002497535943984985, | |
0.0025210878849029543, | |
0.002514944076538086, | |
0.0024985599517822264, | |
0.002520064115524292, | |
0.0025251839160919188, | |
0.0025026559829711913, | |
0.0024954879283905027, | |
0.002505728006362915, | |
0.002615295886993408, | |
0.002594815969467163, | |
0.0025876479148864745, | |
0.0026009600162506105, | |
0.0025886719226837157, | |
0.00258351993560791, | |
0.0026408960819244384, | |
0.0026071040630340574, | |
0.0025876479148864745, | |
0.0026122241020202636, | |
0.0026112000942230223, | |
0.002597887992858887, | |
0.0025958399772644043, | |
0.0026009600162506105, | |
0.002594815969467163, | |
0.002590719938278198, | |
0.0026019840240478517, | |
0.0025905280113220214, | |
0.002589695930480957, | |
0.0026009600162506105, | |
0.002727936029434204, | |
0.002586463928222656, | |
0.0026070399284362795, | |
0.0026071040630340574, | |
0.0025958399772644043, | |
0.0026081280708312986, | |
0.0025927679538726807, | |
0.0026019840240478517, | |
0.002604032039642334, | |
0.002606080055236816, | |
0.002610176086425781, | |
0.0026112000942230223, | |
0.002603008031845093, | |
0.0025876479148864745, | |
0.0026204159259796142, | |
0.0026008000373840333, | |
0.0026071040630340574, | |
0.0025968639850616456, | |
0.0026214399337768555, | |
0.002614367961883545, | |
0.0025876479148864745, | |
0.0026255359649658204, | |
0.00263372802734375, | |
0.002604032039642334, | |
0.002634752035140991, | |
0.0026009600162506105, | |
0.0025896320343017577, | |
0.002632704019546509, | |
0.002603008031845093, | |
0.002606080055236816, | |
0.0026357760429382322, | |
0.00263372802734375, | |
0.0026009600162506105, | |
0.002619391918182373, | |
0.0026112000942230223, | |
0.0025917439460754394, | |
0.002615135908126831, | |
0.0026244800090789795, | |
0.002786303997039795, | |
0.0026378240585327147, | |
0.002615295886993408, | |
0.00260915207862854, | |
0.00263372802734375, | |
0.00260099196434021, | |
0.002598912000656128, | |
0.0026224639415740967, | |
0.002613055944442749, | |
0.00260915207862854, | |
0.002624511957168579, | |
0.0026224639415740967, | |
0.0025957119464874267, | |
0.0026214399337768555, | |
0.0026368000507354735, | |
0.002619391918182373, | |
0.0026103360652923583, | |
0.002634687900543213, | |
0.002614272117614746, | |
0.0026224639415740967, | |
0.0026235198974609375, | |
0.002597887992858887, | |
0.002641887903213501, | |
0.002642944097518921, | |
0.002634752035140991, | |
0.002624511957168579, | |
0.0026183679103851318, | |
0.002604192018508911, | |
0.002611135959625244, | |
0.0026039040088653566, | |
0.0025917439460754394, | |
0.002914207935333252, | |
0.002672640085220337, | |
0.0026214399337768555, | |
0.0026255359649658204, | |
0.0026214399337768555, | |
0.0026265599727630616, | |
0.002603008031845093, | |
0.0026019840240478517, | |
0.002548736095428467, | |
0.0027054080963134766, | |
0.0026357760429382322, | |
0.002606080055236816, | |
0.0026255359649658204, | |
0.0026204159259796142, | |
0.0026173439025878906, | |
0.0026214399337768555, | |
0.0025805120468139647, | |
0.00256713604927063, | |
0.0025681920051574708, | |
0.002564095973968506, | |
0.0026818559169769288, | |
0.0025835518836975096, | |
0.0025876479148864745, | |
0.002597887992858887, | |
0.002577408075332642, | |
0.002549760103225708, | |
0.002577408075332642, | |
0.0026009600162506105, | |
0.002574336051940918, | |
0.002610176086425781, | |
0.002642911911010742, | |
0.002598912000656128, | |
0.0026255359649658204, | |
0.002604192018508911, | |
0.0025764799118041994, | |
0.0026224639415740967, | |
0.0026224639415740967, | |
0.002579456090927124, | |
0.0026173439025878906, | |
0.002638848066329956, | |
0.0026009600162506105, | |
0.002924544095993042, | |
0.0026154561042785645, | |
0.002585599899291992, | |
0.0026296319961547853, | |
0.002676543951034546, | |
0.0025917439460754394, | |
0.0026165120601654053, | |
0.002624511957168579, | |
0.002580480098724365, | |
0.0026214399337768555, | |
0.0026255359649658204, | |
0.0025712640285491944, | |
0.002610176086425781, | |
0.0026141119003295897, | |
0.002580319881439209, | |
0.0025968639850616456, | |
0.0026030399799346926, | |
0.002706432104110718, | |
0.0026204159259796142, | |
0.0026192638874053954, | |
0.0025682239532470704, | |
0.0026184959411621094, | |
0.002634624004364014, | |
0.0025815041065216063, | |
0.002627583980560303, | |
0.0026408960819244384, | |
0.002610176086425781, | |
0.002623487949371338, | |
0.002618335962295532, | |
0.0025825281143188475, | |
0.002610176086425781, | |
0.0026112000942230223, | |
0.0026214399337768555, | |
0.0026112000942230223, | |
0.002606080055236816, | |
0.002603008031845093, | |
0.0026009600162506105, | |
0.0025825281143188475, | |
0.0026011199951171877, | |
0.0026224639415740967, | |
0.002634752035140991, | |
0.0026224639415740967, | |
0.0026019840240478517, | |
0.0025855679512023924, | |
0.0026296319961547853, | |
0.0026255359649658204, | |
0.002596927881240845, | |
0.002624511957168579, | |
0.0025958399772644043, | |
0.002610176086425781, | |
0.0025999360084533693, | |
0.002589695930480957, | |
0.0025876479148864745, | |
0.002632704019546509, | |
0.0026818559169769288, | |
0.0026214399337768555, | |
0.002634752035140991, | |
0.002624511957168579, | |
0.002603008031845093, | |
0.0026214399337768555, | |
0.002627583980560303, | |
0.0025835518836975096, | |
0.002598912000656128, | |
0.002533407926559448, | |
0.0024954240322113035, | |
0.0025231359004974367, | |
0.0025292799472808837, | |
0.0025047039985656738, | |
0.002535423994064331, | |
0.0025036799907684325, | |
0.0025169920921325685, | |
0.0025067520141601562, | |
0.0024894399642944338, | |
0.002514944076538086, | |
0.00253439998626709, | |
0.0024881598949432373, | |
0.002590719938278198, | |
0.0026019840240478517, | |
0.0025958399772644043, | |
0.002639872074127197, | |
0.002642944097518921, | |
0.002624511957168579, | |
0.0026195199489593506, | |
0.002624511957168579, | |
0.0026204159259796142, | |
0.0026306560039520265, | |
0.0026163198947906493, | |
0.0026316800117492677, | |
0.0026255359649658204, | |
0.0026501119136810303, | |
0.0026029760837554933, | |
0.0026173439025878906, | |
0.0026203839778900146, | |
0.0026378240585327147, | |
0.002628607988357544, | |
0.002604192018508911, | |
0.002612287998199463, | |
0.002654207944869995, | |
0.0026265599727630616, | |
0.002624511957168579, | |
0.0026102399826049803, | |
0.002604032039642334, | |
0.0026183679103851318, | |
0.002601792097091675, | |
0.0025886080265045165, | |
0.0026296319961547853, | |
0.0026335361003875734, | |
0.0025980160236358644, | |
0.0026122241020202636, | |
0.0026173439025878906, | |
0.002613248109817505, | |
0.0026449921131134033, | |
0.002619391918182373, | |
0.0026081280708312986, | |
0.002620352029800415, | |
0.002611135959625244, | |
0.002579456090927124, | |
0.0026511359214782715, | |
0.002643968105316162, | |
0.0026204159259796142, | |
0.0026316800117492677, | |
0.002624511957168579, | |
0.002639872074127197, | |
0.002633888006210327, | |
0.002619391918182373, | |
0.0026357760429382322, | |
0.002589695930480957, | |
0.0026357119083404543, | |
0.002613248109817505, | |
0.002624511957168579, | |
0.002623487949371338, | |
0.0026479361057281494, | |
0.0026368000507354735, | |
0.0026348159313201902, | |
0.0025958399772644043, | |
0.0027985920906066896, | |
0.0026316800117492677, | |
0.0026408960819244384, | |
0.002624511957168579, | |
0.002723839998245239, | |
0.0026214399337768555, | |
0.0026305921077728273 | |
], | |
"count": 381, | |
"total": 0.9907738556861881, | |
"mean": 0.0026004563141369757, | |
"p50": 0.0026071040630340574, | |
"p90": 0.0026378240585327147, | |
"p95": 0.002668544054031372, | |
"p99": 0.002799616050720215, | |
"stdev": 5.759683378144549e-05, | |
"stdev_": 2.214874115297737 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 769.0957887380424 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 3.2649443989133784e-08, | |
"ram": 1.7840923851728365e-08, | |
"gpu": 4.536964143801678e-08, | |
"total": 9.586000927887899e-08 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 20863757.629957415 | |
} | |
} | |
} | |
} |