
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4796e24
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 792.338432, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.989609375, | |
"mean": 7.989609375, | |
"stdev": 0.0, | |
"p50": 7.989609375, | |
"p90": 7.989609375, | |
"p95": 7.989609375, | |
"p99": 7.989609375, | |
"values": [ | |
7.989609375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4654413152779303e-06, | |
"ram": 1.301846109670025e-06, | |
"gpu": 3.3991693860003017e-06, | |
"total": 7.166456810948257e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1047.687168, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0004705262184146, | |
"mean": 0.005378873796873194, | |
"stdev": 0.00031957570200934026, | |
"p50": 0.0052433919906616205, | |
"p90": 0.005847039937973022, | |
"p95": 0.006192640066146851, | |
"p99": 0.006424934339523316, | |
"values": [ | |
0.006031360149383545, | |
0.006309887886047363, | |
0.006217728137969971, | |
0.006017024040222168, | |
0.006107135772705078, | |
0.006053887844085694, | |
0.006076416015625, | |
0.005959680080413818, | |
0.0062740478515625, | |
0.005440512180328369, | |
0.005244927883148193, | |
0.005241856098175048, | |
0.005255167961120606, | |
0.005216256141662597, | |
0.005237760066986084, | |
0.005212160110473632, | |
0.005227519989013672, | |
0.0052295680046081545, | |
0.005258240222930908, | |
0.00522547197341919, | |
0.005245952129364013, | |
0.005238783836364746, | |
0.0052295680046081545, | |
0.005194752216339111, | |
0.005232639789581299, | |
0.005215231895446777, | |
0.0052367358207702636, | |
0.005362688064575195, | |
0.005442560195922852, | |
0.005405695915222168, | |
0.005437439918518067, | |
0.005411839962005615, | |
0.005393407821655274, | |
0.005419007778167725, | |
0.005232639789581299, | |
0.0052111358642578124, | |
0.005231616020202637, | |
0.005203968048095703, | |
0.0052111358642578124, | |
0.005252096176147461, | |
0.005213183879852295, | |
0.0051968002319335935, | |
0.005238783836364746, | |
0.005215231895446777, | |
0.005187583923339844, | |
0.005182464122772217, | |
0.005256192207336426, | |
0.005232639789581299, | |
0.005251071929931641, | |
0.005260287761688232, | |
0.005265408039093018, | |
0.005203968048095703, | |
0.005258240222930908, | |
0.00521727991104126, | |
0.005223423957824707, | |
0.005253119945526123, | |
0.005234687805175781, | |
0.005219327926635742, | |
0.005251071929931641, | |
0.005254144191741943, | |
0.005206016063690186, | |
0.005198847770690918, | |
0.005231616020202637, | |
0.005210112094879151, | |
0.005234687805175781, | |
0.00517632007598877, | |
0.005213183879852295, | |
0.005183487892150879, | |
0.005174272060394287, | |
0.005203968048095703, | |
0.005154816150665284, | |
0.00515174388885498, | |
0.005164031982421875, | |
0.005141503810882568, | |
0.005167103767395019, | |
0.005144576072692871, | |
0.005138432025909424, | |
0.005126143932342529, | |
0.005132287979125977, | |
0.005163008213043213, | |
0.005145599842071533, | |
0.005135359764099121, | |
0.005201920032501221, | |
0.005116928100585938, | |
0.005111807823181152, | |
0.005119999885559082, | |
0.005153791904449463, | |
0.005144576072692871, | |
0.00511897611618042, | |
0.0051363840103149415, | |
0.005146624088287354, | |
0.005116928100585938, | |
0.005822463989257813, | |
0.005124095916748047, | |
0.005119999885559082, | |
0.005137407779693603, | |
0.0051476478576660155, | |
0.005123072147369385, | |
0.005128191947937012, | |
0.005138432025909424, | |
0.005153791904449463, | |
0.005123072147369385, | |
0.005144576072692871, | |
0.005145599842071533, | |
0.0051435518264770505, | |
0.0051333122253417966, | |
0.005144576072692871, | |
0.005130239963531494, | |
0.005139455795288086, | |
0.005102591991424561, | |
0.005134335994720459, | |
0.005124095916748047, | |
0.005154816150665284, | |
0.005131264209747314, | |
0.00511897611618042, | |
0.005121024131774903, | |
0.005112832069396973, | |
0.005158912181854248, | |
0.0051363840103149415, | |
0.005153791904449463, | |
0.0051968002319335935, | |
0.005180416107177735, | |
0.005179391860961914, | |
0.005204991817474365, | |
0.005512191772460938, | |
0.005525504112243652, | |
0.005454847812652588, | |
0.005384191989898681, | |
0.0054271998405456545, | |
0.005419007778167725, | |
0.005465087890625, | |
0.005391359806060791, | |
0.005431295871734619, | |
0.005385216236114502, | |
0.005583871841430664, | |
0.005440512180328369, | |
0.0053821439743042, | |
0.006561791896820069, | |
0.0058716158866882326, | |
0.006502399921417237, | |
0.006113279819488526, | |
0.006405119895935059, | |
0.006398975849151611, | |
0.006340608119964599, | |
0.006411263942718506, | |
0.006330368041992188, | |
0.00611737585067749, | |
0.005536767959594726, | |
0.005585919857025146, | |
0.005519360065460205, | |
0.005478400230407715, | |
0.005501952171325684, | |
0.005473279953002929, | |
0.005511168003082275, | |
0.005446656227111817, | |
0.005464064121246338, | |
0.005504000186920166, | |
0.005436416149139404, | |
0.005434368133544922, | |
0.005419007778167725, | |
0.005421055793762207, | |
0.005410816192626953, | |
0.005444608211517334, | |
0.005408768177032471, | |
0.005475327968597412, | |
0.005477375984191894, | |
0.005479423999786377, | |
0.00547430419921875, | |
0.0054579200744628905, | |
0.005484543800354004, | |
0.00572211217880249, | |
0.005443583965301513, | |
0.005465087890625, | |
0.005408768177032471, | |
0.005416959762573242, | |
0.005449728012084961, | |
0.005422080039978027, | |
0.005378047943115235, | |
0.005450751781463623, | |
0.005396480083465576, | |
0.005405695915222168, | |
0.005414912223815918, | |
0.005434368133544922, | |
0.00547430419921875, | |
0.005447679996490478, | |
0.005403647899627686 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.9125232834636 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.220642571262265e-08, | |
"ram": 3.3989344404977316e-08, | |
"gpu": 1.3753210537172695e-07, | |
"total": 2.337278754893269e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4278479.825765004 | |
} | |
} | |
} | |
} |