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
40ad4a6
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.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": 799.25248, | |
"max_global_vram": 639.107072, | |
"max_process_vram": 0.0, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.534528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05673164749145508 | |
], | |
"count": 1, | |
"total": 0.05673164749145508, | |
"mean": 0.05673164749145508, | |
"p50": 0.05673164749145508, | |
"p90": 0.05673164749145508, | |
"p95": 0.05673164749145508, | |
"p99": 0.05673164749145508, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.585187030069413e-05, | |
"ram": 5.251511303897223e-05, | |
"gpu": 0.0001248420443179998, | |
"total": 0.00027320902765766615 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.467072, | |
"max_global_vram": 670.564352, | |
"max_process_vram": 0.0, | |
"max_reserved": 23.068672, | |
"max_allocated": 10.112 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0028743679523468017, | |
0.002708479881286621, | |
0.0026839039325714112, | |
0.002602047920227051, | |
0.002669600009918213, | |
0.0026664960384368895, | |
0.0026224639415740967, | |
0.002653183937072754, | |
0.0026501760482788086, | |
0.002590719938278198, | |
0.0029071359634399415, | |
0.002653183937072754, | |
0.0025753600597381594, | |
0.0025968639850616456, | |
0.002628607988357544, | |
0.002555903911590576, | |
0.002632704019546509, | |
0.0026521599292755127, | |
0.0025681920051574708, | |
0.002634752035140991, | |
0.002643968105316162, | |
0.0025763840675354006, | |
0.002619391918182373, | |
0.002741247892379761, | |
0.0025866239070892333, | |
0.002614272117614746, | |
0.002619391918182373, | |
0.002565119981765747, | |
0.0026920959949493406, | |
0.0026183679103851318, | |
0.002584575891494751, | |
0.0026296319961547853, | |
0.0026255359649658204, | |
0.002561023950576782, | |
0.002614272117614746, | |
0.0026040000915527346, | |
0.002569216012954712, | |
0.002632704019546509, | |
0.002613248109817505, | |
0.002580480098724365, | |
0.00260915207862854, | |
0.0026112000942230223, | |
0.0025661439895629883, | |
0.002613248109817505, | |
0.002586560010910034, | |
0.0025784320831298826, | |
0.0026224639415740967, | |
0.0026050560474395754, | |
0.002594815969467163, | |
0.0026204159259796142, | |
0.0026173439025878906, | |
0.002603008031845093, | |
0.0026183679103851318, | |
0.0026050560474395754, | |
0.002598912000656128, | |
0.0026255359649658204, | |
0.0025947840213775635, | |
0.002597887992858887, | |
0.002623487949371338, | |
0.002584575891494751, | |
0.0025917439460754394, | |
0.0026112000942230223, | |
0.0025855679512023924, | |
0.002623487949371338, | |
0.0026357760429382322, | |
0.0025876479148864745, | |
0.002663424015045166, | |
0.002623487949371338, | |
0.0025712640285491944, | |
0.002614272117614746, | |
0.0026224639415740967, | |
0.0025671679973602295, | |
0.0026213760375976562, | |
0.0026183679103851318, | |
0.0025784320831298826, | |
0.002614272117614746, | |
0.002610176086425781, | |
0.002574336051940918, | |
0.0026224639415740967, | |
0.0026204159259796142, | |
0.0025886719226837157, | |
0.0026255359649658204, | |
0.0026255359649658204, | |
0.002593791961669922, | |
0.0026265599727630616, | |
0.002639872074127197, | |
0.002580480098724365, | |
0.002613248109817505, | |
0.0026081280708312986, | |
0.0025958399772644043, | |
0.002598912000656128, | |
0.0026019840240478517, | |
0.002605024099349976, | |
0.0026112000942230223, | |
0.0025999360084533693, | |
0.0025886719226837157, | |
0.0026357760429382322, | |
0.0027340800762176514, | |
0.0025180160999298097, | |
0.0025886719226837157, | |
0.002481152057647705, | |
0.0025088000297546387, | |
0.002535423994064331, | |
0.002480128049850464, | |
0.0025292799472808837, | |
0.0025425920486450196, | |
0.0024882559776306153, | |
0.0025466880798339846, | |
0.002540544033050537, | |
0.0024883201122283937, | |
0.0025415680408477784, | |
0.00250163197517395, | |
0.002512928009033203, | |
0.002540544033050537, | |
0.002481152057647705, | |
0.0025630719661712646, | |
0.0025364480018615723, | |
0.0024810879230499267, | |
0.002624511957168579, | |
0.002662400007247925, | |
0.0026122241020202636, | |
0.002677759885787964, | |
0.0026654720306396483, | |
0.002603008031845093, | |
0.002664448022842407, | |
0.002661375999450684, | |
0.0025999360084533693, | |
0.0026593279838562013, | |
0.0026378240585327147, | |
0.002585599899291992, | |
0.0026593279838562013, | |
0.002664448022842407, | |
0.002638848066329956, | |
0.002655168056488037, | |
0.0026654720306396483, | |
0.0025917439460754394, | |
0.0026746559143066406, | |
0.0026501119136810303, | |
0.0026019840240478517, | |
0.002664448022842407, | |
0.0026521599292755127, | |
0.002613248109817505, | |
0.0026767361164093018, | |
0.002657279968261719, | |
0.002610176086425781, | |
0.0026511359214782715, | |
0.002661375999450684, | |
0.0026163198947906493, | |
0.002663392066955566, | |
0.0026839039325714112, | |
0.002613248109817505, | |
0.0026767361164093018, | |
0.0026593279838562013, | |
0.002707456111907959, | |
0.002677759885787964, | |
0.0026552319526672364, | |
0.0026142399311065673, | |
0.0026562879085540773, | |
0.002664448022842407, | |
0.0026306560039520265, | |
0.002659264087677002, | |
0.0026715519428253173, | |
0.002606080055236816, | |
0.002664448022842407, | |
0.0026654720306396483, | |
0.002983936071395874, | |
0.0026501119136810303, | |
0.002662400007247925, | |
0.0026449921131134033, | |
0.002613248109817505, | |
0.0026675200462341307, | |
0.002649087905883789, | |
0.0026296319961547853, | |
0.002669568061828613, | |
0.002654207944869995, | |
0.0026368000507354735, | |
0.002668544054031372, | |
0.002651103973388672, | |
0.002627583980560303, | |
0.002661375999450684, | |
0.002649087905883789, | |
0.0026071040630340574, | |
0.002668544054031372, | |
0.0026408960819244384, | |
0.002619391918182373, | |
0.0026604158878326418, | |
0.0026603519916534426, | |
0.0026245760917663575, | |
0.002672640085220337, | |
0.00268287992477417, | |
0.002771967887878418, | |
0.0026859519481658937, | |
0.0026920959949493406, | |
0.0026204159259796142, | |
0.002650144100189209, | |
0.002681823968887329, | |
0.0026593279838562013, | |
0.0026757121086120605, | |
0.002737152099609375, | |
0.002673664093017578, | |
0.0026849279403686525, | |
0.002648063898086548, | |
0.0026040000915527346, | |
0.002676703929901123, | |
0.00268287992477417, | |
0.0026071040630340574, | |
0.0026757121086120605, | |
0.0027146239280700685, | |
0.0026224639415740967, | |
0.0026716160774230956, | |
0.002717695951461792, | |
0.0026510720252990723, | |
0.0026972160339355468, | |
0.0026818559169769288, | |
0.002604032039642334, | |
0.002659359931945801, | |
0.002702336072921753, | |
0.002849792003631592, | |
0.002623487949371338, | |
0.0027248640060424803, | |
0.002648063898086548, | |
0.0026122241020202636, | |
0.002654207944869995, | |
0.0026552319526672364, | |
0.0026193599700927734, | |
0.002663424015045166, | |
0.0026378240585327147, | |
0.0026408960819244384, | |
0.002668544054031372, | |
0.0026440000534057617, | |
0.002614272117614746, | |
0.002668544054031372, | |
0.002639872074127197, | |
0.0026163198947906493, | |
0.0026613121032714846, | |
0.002662400007247925, | |
0.002607136011123657, | |
0.002662400007247925, | |
0.002648063898086548, | |
0.0026081280708312986, | |
0.0026654720306396483, | |
0.0026552319526672364, | |
0.002614272117614746, | |
0.002674623966217041, | |
0.002668544054031372, | |
0.002613248109817505, | |
0.0026716160774230956, | |
0.0026306560039520265, | |
0.0026306560039520265, | |
0.0026470398902893066, | |
0.0026470398902893066, | |
0.0026071040630340574, | |
0.00265830397605896, | |
0.0026296319961547853, | |
0.00263372802734375, | |
0.0026705920696258544, | |
0.0026470398902893066, | |
0.00263372802734375, | |
0.0026552319526672364, | |
0.002663424015045166, | |
0.0026059839725494386, | |
0.0026675200462341307, | |
0.002628607988357544, | |
0.002606080055236816, | |
0.002664448022842407, | |
0.002677759885787964, | |
0.0026183679103851318, | |
0.002653183937072754, | |
0.002653183937072754, | |
0.0027648000717163087, | |
0.002642944097518921, | |
0.002653183937072754, | |
0.002610176086425781, | |
0.0026675200462341307, | |
0.0026562559604644776, | |
0.0026183679103851318, | |
0.0026808319091796875, | |
0.0026552319526672364, | |
0.0026183679103851318, | |
0.0026562879085540773, | |
0.0026951680183410643, | |
0.002613248109817505, | |
0.0026655681133270263, | |
0.0026552319526672364, | |
0.0026378240585327147, | |
0.002648063898086548, | |
0.00265830397605896, | |
0.0026019840240478517, | |
0.00265830397605896, | |
0.0026572160720825196, | |
0.0026173439025878906, | |
0.00263372802734375, | |
0.0026798079013824463, | |
0.0026050560474395754, | |
0.0026521599292755127, | |
0.002669568061828613, | |
0.002593791961669922, | |
0.0026357760429382322, | |
0.002663424015045166, | |
0.0026470398902893066, | |
0.002663424015045166, | |
0.0026531519889831543, | |
0.00260915207862854, | |
0.002678783893585205, | |
0.0026408960819244384, | |
0.0026071040630340574, | |
0.002804735898971558, | |
0.0026675200462341307, | |
0.0026183679103851318, | |
0.0026511359214782715, | |
0.0026562559604644776, | |
0.002610176086425781, | |
0.002663424015045166, | |
0.002632767915725708, | |
0.0026316800117492677, | |
0.0026357760429382322, | |
0.0026521599292755127, | |
0.002606080055236816, | |
0.002706432104110718, | |
0.0026552319526672364, | |
0.0025968639850616456, | |
0.002657279968261719, | |
0.002678879976272583, | |
0.002615295886993408, | |
0.0026470398902893066, | |
0.002673664093017578, | |
0.002632704019546509, | |
0.0026501119136810303, | |
0.0026552319526672364, | |
0.0025927679538726807, | |
0.002657279968261719, | |
0.002648031949996948, | |
0.00259987211227417, | |
0.0026695361137390136, | |
0.0026460158824920654, | |
0.0026183679103851318, | |
0.002649087905883789, | |
0.002686975955963135, | |
0.0026368000507354735, | |
0.0026511359214782715, | |
0.0026654720306396483, | |
0.002642944097518921, | |
0.002623487949371338, | |
0.002648063898086548, | |
0.002619391918182373, | |
0.0026449921131134033, | |
0.002638848066329956, | |
0.002604032039642334, | |
0.002669568061828613, | |
0.0027043840885162354, | |
0.002642944097518921, | |
0.0026122241020202636, | |
0.0026931519508361815, | |
0.0026501119136810303, | |
0.0026306560039520265, | |
0.0027105278968811036, | |
0.002681823968887329, | |
0.0026378240585327147, | |
0.0026808319091796875, | |
0.0026358399391174315, | |
0.0026511359214782715, | |
0.0026552319526672364, | |
0.0026408960819244384, | |
0.0026163840293884277, | |
0.002678783893585205, | |
0.002634752035140991, | |
0.0026183679103851318, | |
0.002648063898086548, | |
0.002638848066329956, | |
0.002613248109817505, | |
0.002649087905883789, | |
0.0026368000507354735, | |
0.0026224639415740967, | |
0.0026408960819244384, | |
0.002669568061828613, | |
0.002615295886993408 | |
], | |
"count": 376, | |
"total": 0.9912745599746707, | |
"mean": 0.002636368510570932, | |
"p50": 0.0026378240585327147, | |
"p90": 0.0026788319349288943, | |
"p95": 0.002698496043682098, | |
"p99": 0.0028159999251365663, | |
"stdev": 5.230533142119242e-05, | |
"stdev_": 1.9839916616916797 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 758.6192870915759 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 3.079116619588714e-08, | |
"ram": 1.682558811881601e-08, | |
"gpu": 4.180955725714289e-08, | |
"total": 8.942631157184602e-08 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 22364782.40962873 | |
} | |
} | |
} | |
} |