
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8265a55
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 783.966208, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.37777978515625, | |
"mean": 7.37777978515625, | |
"stdev": 0.0, | |
"p50": 7.37777978515625, | |
"p90": 7.37777978515625, | |
"p95": 7.37777978515625, | |
"p99": 7.37777978515625, | |
"values": [ | |
7.37777978515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.40709674306343e-07, | |
"ram": 5.000961848399781e-07, | |
"gpu": 1.7983347719999557e-06, | |
"total": 3.239140631146277e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.568896, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 1.0024565463066102, | |
"mean": 0.005663596306817007, | |
"stdev": 0.00021304246421118356, | |
"p50": 0.005692416191101074, | |
"p90": 0.005895859146118163, | |
"p95": 0.006025420665740967, | |
"p99": 0.0062228479385375976, | |
"values": [ | |
0.0062228479385375976, | |
0.006688767910003662, | |
0.006119423866271972, | |
0.006022143840789795, | |
0.006181888103485108, | |
0.006038527965545654, | |
0.0060631041526794435, | |
0.005806079864501953, | |
0.005963776111602783, | |
0.006051839828491211, | |
0.005852159976959229, | |
0.005873663902282715, | |
0.005811200141906738, | |
0.0057825279235839844, | |
0.005808127880096436, | |
0.0057292799949646, | |
0.005626880168914795, | |
0.005563392162322998, | |
0.005591040134429932, | |
0.005676032066345215, | |
0.0057712640762329105, | |
0.00568012809753418, | |
0.005837823867797852, | |
0.005814271926879883, | |
0.006056960105895996, | |
0.005801983833312988, | |
0.005851136207580566, | |
0.005656576156616211, | |
0.005657599925994873, | |
0.005683199882507324, | |
0.005790719985961914, | |
0.005989376068115234, | |
0.005763072013854981, | |
0.005785600185394287, | |
0.005732351779937744, | |
0.005739520072937012, | |
0.005715968132019043, | |
0.0057077760696411135, | |
0.005700640201568604, | |
0.005750783920288086, | |
0.005803008079528809, | |
0.005744639873504639, | |
0.005764095783233642, | |
0.005626976013183594, | |
0.005575679779052735, | |
0.005582848072052002, | |
0.005640192031860352, | |
0.005735424041748047, | |
0.005679103851318359, | |
0.005760000228881836, | |
0.005697535991668701, | |
0.005692416191101074, | |
0.00572108793258667, | |
0.0057190399169921875, | |
0.005890175819396972, | |
0.005760000228881836, | |
0.005761023998260498, | |
0.005773312091827393, | |
0.005745664119720459, | |
0.005925888061523437, | |
0.005683199882507324, | |
0.005716991901397705, | |
0.005851136207580566, | |
0.005777408123016357, | |
0.005740543842315674, | |
0.005766143798828125, | |
0.0057784318923950195, | |
0.005755904197692871, | |
0.00566476821899414, | |
0.005593088150024414, | |
0.005705728054046631, | |
0.005662720203399658, | |
0.005698560237884521, | |
0.005726208209991455, | |
0.005807104110717773, | |
0.005777408123016357, | |
0.0057190399169921875, | |
0.005793791770935058, | |
0.005647359848022461, | |
0.005909503936767578, | |
0.005724160194396972, | |
0.005788671970367432, | |
0.005715968132019043, | |
0.005727231979370117, | |
0.005675007820129394, | |
0.00571289587020874, | |
0.005807104110717773, | |
0.00576204776763916, | |
0.006022143840789795, | |
0.005791744232177734, | |
0.005855231761932373, | |
0.005866496086120605, | |
0.0062228479385375976, | |
0.005723135948181152, | |
0.005756927967071533, | |
0.005728256225585937, | |
0.005615615844726562, | |
0.0057784318923950195, | |
0.005705728054046631, | |
0.005742591857910156, | |
0.005633024215698243, | |
0.005629951953887939, | |
0.005448703765869141, | |
0.005472256183624268, | |
0.005697535991668701, | |
0.005586944103240967, | |
0.005402624130249023, | |
0.005413887977600097, | |
0.005386240005493164, | |
0.005378047943115235, | |
0.005649407863616943, | |
0.005775360107421875, | |
0.005774335861206055, | |
0.005739520072937012, | |
0.005816319942474365, | |
0.005867519855499268, | |
0.005940224170684814, | |
0.0060026879310607914, | |
0.005904384136199951, | |
0.00553984022140503, | |
0.0055285758972167965, | |
0.005553152084350586, | |
0.005509119987487793, | |
0.005553152084350586, | |
0.005571584224700928, | |
0.005547008037567139, | |
0.0056217598915100095, | |
0.005533696174621582, | |
0.005610496044158936, | |
0.005561344146728516, | |
0.005536767959594726, | |
0.005561344146728516, | |
0.005565440177917481, | |
0.005362688064575195, | |
0.005497856140136719, | |
0.005406720161437988, | |
0.0054568958282470706, | |
0.005399551868438721, | |
0.005368832111358642, | |
0.005420032024383545, | |
0.005372928142547607, | |
0.005352447986602784, | |
0.005389311790466309, | |
0.005369855880737305, | |
0.00537497615814209, | |
0.00542310380935669, | |
0.005433343887329102, | |
0.005355519771575928, | |
0.005404672145843506, | |
0.00536678409576416, | |
0.0053606400489807126, | |
0.0054241280555725096, | |
0.005543935775756836, | |
0.005604351997375488, | |
0.0054579200744628905, | |
0.005416959762573242, | |
0.005411839962005615, | |
0.005388288021087646, | |
0.005371903896331787, | |
0.005368832111358642, | |
0.005385216236114502, | |
0.005361760139465332, | |
0.005406720161437988, | |
0.00537395191192627, | |
0.005404672145843506, | |
0.005381120204925537, | |
0.005371903896331787, | |
0.005468287944793701, | |
0.005406720161437988, | |
0.005420032024383545, | |
0.005399551868438721, | |
0.005467135906219483, | |
0.005500927925109863, | |
0.005434368133544922, | |
0.005401599884033203, | |
0.005402624130249023, | |
0.005398528099060058 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.5662568139517 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.614947837523388e-08, | |
"ram": 3.6163698764782814e-08, | |
"gpu": 1.361205309944124e-07, | |
"total": 2.384337081344291e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4194037.8641269933 | |
} | |
} | |
} | |
} |