IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4907ac2 verified
raw
history blame
13.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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": 759.27552,
"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.436041015625,
"mean": 7.436041015625,
"stdev": 0.0,
"p50": 7.436041015625,
"p90": 7.436041015625,
"p95": 7.436041015625,
"p99": 7.436041015625,
"values": [
7.436041015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.39843276388746e-07,
"ram": 4.993269541087389e-07,
"gpu": 1.571667924000087e-06,
"total": 3.010838154497572e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 926.552064,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 188,
"total": 1.003727932929993,
"mean": 0.005338978366648896,
"stdev": 0.0001815455140868952,
"p50": 0.005357568025588989,
"p90": 0.005547827005386353,
"p95": 0.0055981054782867435,
"p99": 0.005792081999778747,
"values": [
0.005610496044158936,
0.005773312091827393,
0.005661695957183838,
0.005560319900512695,
0.0055808000564575196,
0.0055623679161071774,
0.005570559978485107,
0.005545983791351319,
0.005561344146728516,
0.005552127838134766,
0.005534719944000244,
0.005477375984191894,
0.005484543800354004,
0.005430272102355957,
0.005443583965301513,
0.005492735862731934,
0.005401599884033203,
0.005272575855255127,
0.005303296089172363,
0.005294079780578613,
0.005411839962005615,
0.0053821439743042,
0.005443583965301513,
0.0055203838348388675,
0.005463039875030518,
0.005438464164733887,
0.005471231937408447,
0.005387263774871826,
0.005329919815063477,
0.005328896045684814,
0.005476352214813233,
0.005445631980895996,
0.005512191772460938,
0.005448703765869141,
0.005435391902923584,
0.005454847812652588,
0.005454847812652588,
0.0054282240867614745,
0.005447679996490478,
0.005390336036682129,
0.005440512180328369,
0.005450751781463623,
0.005425151824951172,
0.00541593599319458,
0.005282815933227539,
0.005291007995605469,
0.00530841588973999,
0.005337088108062744,
0.005348351955413819,
0.00537395191192627,
0.005390336036682129,
0.005393407821655274,
0.005411839962005615,
0.005451776027679443,
0.005422080039978027,
0.0055285758972167965,
0.005452799797058106,
0.005478400230407715,
0.005465087890625,
0.005434368133544922,
0.005482495784759522,
0.0053606400489807126,
0.005306367874145508,
0.005484543800354004,
0.005469183921813964,
0.005467135906219483,
0.005429247856140137,
0.005458943843841553,
0.005483520030975342,
0.005401599884033203,
0.005307392120361328,
0.0053002238273620605,
0.005354496002197265,
0.005342207908630371,
0.005392384052276611,
0.005705728054046631,
0.006048768043518066,
0.005697535991668701,
0.005506048202514649,
0.005559296131134033,
0.005534719944000244,
0.005502975940704345,
0.005607423782348633,
0.005495808124542236,
0.005347328186035156,
0.005391359806060791,
0.005398528099060058,
0.005496831893920898,
0.005554175853729248,
0.005483520030975342,
0.005471231937408447,
0.00547430419921875,
0.005917695999145508,
0.005421055793762207,
0.005385216236114502,
0.005437439918518067,
0.005437439918518067,
0.005375999927520752,
0.005348351955413819,
0.005508096218109131,
0.005372928142547607,
0.0052899842262268066,
0.005268479824066162,
0.005254144191741943,
0.005181439876556396,
0.005186560153961181,
0.00530841588973999,
0.005337088108062744,
0.0051363840103149415,
0.005067776203155518,
0.005094399929046631,
0.005055488109588623,
0.005121024131774903,
0.005122047901153564,
0.005153791904449463,
0.005492735862731934,
0.005436416149139404,
0.005462016105651855,
0.0054917120933532714,
0.005568511962890625,
0.005675007820129394,
0.005441535949707031,
0.005431295871734619,
0.005379072189331055,
0.005254144191741943,
0.005288959980010987,
0.005274623870849609,
0.005307392120361328,
0.005321728229522705,
0.005285888195037842,
0.005258240222930908,
0.005253119945526123,
0.005074944019317627,
0.005089280128479004,
0.005142528057098389,
0.005141503810882568,
0.005102591991424561,
0.005100543975830078,
0.005245952129364013,
0.005249023914337158,
0.0052295680046081545,
0.005172224044799805,
0.005231616020202637,
0.005194752216339111,
0.005083136081695557,
0.0051036162376403805,
0.005167103767395019,
0.005108736038208008,
0.005139455795288086,
0.00515993595123291,
0.005117951869964599,
0.005073919773101807,
0.005078015804290771,
0.005180416107177735,
0.005111807823181152,
0.005132287979125977,
0.005089280128479004,
0.005115935802459717,
0.00511078405380249,
0.005139455795288086,
0.005144576072692871,
0.005172224044799805,
0.00506060791015625,
0.005185535907745361,
0.005078015804290771,
0.0050841598510742185,
0.005091328144073487,
0.005096447944641113,
0.005075967788696289,
0.00506879997253418,
0.005108736038208008,
0.005083136081695557,
0.005090303897857666,
0.00506060791015625,
0.005142528057098389,
0.005085184097290039,
0.005083136081695557,
0.005071872234344482,
0.005138432025909424,
0.005089280128479004,
0.005072927951812744,
0.005615615844726562,
0.005284863948822022,
0.0052111358642578124,
0.005273600101470947,
0.0052715520858764645,
0.00522649621963501,
0.0052674560546875
]
},
"throughput": {
"unit": "samples/s",
"value": 187.3017516322449
},
"energy": {
"unit": "kWh",
"cpu": 5.98931582702031e-08,
"ram": 3.27413733631818e-08,
"gpu": 1.1947821006060711e-07,
"total": 2.1211274169399204e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4714473.972726572
}
}
}
}