
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2fd3c4a
verified
{ | |
"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": 757.579776, | |
"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.45509765625, | |
"mean": 7.45509765625, | |
"stdev": 0.0, | |
"p50": 7.45509765625, | |
"p90": 7.45509765625, | |
"p95": 7.45509765625, | |
"p99": 7.45509765625, | |
"values": [ | |
7.45509765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.307679090277867e-07, | |
"ram": 4.943789285316454e-07, | |
"gpu": 0.0, | |
"total": 1.4251468375594321e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 924.839936, | |
"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.0048574457168578, | |
"mean": 0.005344986413387542, | |
"stdev": 0.00024542633124477865, | |
"p50": 0.005389312028884888, | |
"p90": 0.005617971229553223, | |
"p95": 0.005688473677635192, | |
"p99": 0.006041344132423401, | |
"values": [ | |
0.005710847854614258, | |
0.005793791770935058, | |
0.005662720203399658, | |
0.005445631980895996, | |
0.0054568958282470706, | |
0.005518335819244385, | |
0.005756927967071533, | |
0.005600255966186523, | |
0.005566463947296142, | |
0.00566476821899414, | |
0.006031360149383545, | |
0.005504000186920166, | |
0.005600255966186523, | |
0.005513216018676758, | |
0.0056258559226989744, | |
0.005536767959594726, | |
0.005462016105651855, | |
0.005434368133544922, | |
0.00540880012512207, | |
0.005414912223815918, | |
0.005565440177917481, | |
0.005426176071166992, | |
0.005442560195922852, | |
0.005469183921813964, | |
0.005425151824951172, | |
0.005493760108947754, | |
0.00546611213684082, | |
0.005436416149139404, | |
0.005547008037567139, | |
0.0053309440612792965, | |
0.0054241280555725096, | |
0.005499904155731201, | |
0.0054282240867614745, | |
0.005447679996490478, | |
0.005485568046569824, | |
0.005402624130249023, | |
0.005485568046569824, | |
0.0053821439743042, | |
0.0053821439743042, | |
0.005434368133544922, | |
0.005384191989898681, | |
0.005377024173736572, | |
0.005509119987487793, | |
0.005351424217224121, | |
0.005241856098175048, | |
0.005440512180328369, | |
0.005451776027679443, | |
0.005337088108062744, | |
0.005434368133544922, | |
0.005315584182739258, | |
0.005369855880737305, | |
0.005392384052276611, | |
0.005345280170440674, | |
0.005414912223815918, | |
0.0054579200744628905, | |
0.005437439918518067, | |
0.00557260799407959, | |
0.005513216018676758, | |
0.0055316481590271, | |
0.005595136165618897, | |
0.005475327968597412, | |
0.005468160152435303, | |
0.005499904155731201, | |
0.005536767959594726, | |
0.005666816234588623, | |
0.005478400230407715, | |
0.005386240005493164, | |
0.005588992118835449, | |
0.005903359889984131, | |
0.00566374397277832, | |
0.00572211217880249, | |
0.006278143882751465, | |
0.005787648200988769, | |
0.005692416191101074, | |
0.005484543800354004, | |
0.005530623912811279, | |
0.0056145920753479005, | |
0.005483520030975342, | |
0.005438464164733887, | |
0.005501952171325684, | |
0.005469183921813964, | |
0.005494783878326416, | |
0.005501952171325684, | |
0.0054876160621643065, | |
0.005588992118835449, | |
0.0054609918594360355, | |
0.005550079822540284, | |
0.005633024215698243, | |
0.0056483840942382815, | |
0.005681151866912842, | |
0.005560319900512695, | |
0.0056258559226989744, | |
0.006108160018920898, | |
0.005476352214813233, | |
0.005590015888214111, | |
0.005512191772460938, | |
0.005495808124542236, | |
0.005323775768280029, | |
0.0054568958282470706, | |
0.005585919857025146, | |
0.005400576114654541, | |
0.0054609918594360355, | |
0.005438464164733887, | |
0.005295104026794434, | |
0.005189631938934326, | |
0.005342207908630371, | |
0.005413887977600097, | |
0.005346303939819336, | |
0.005224448204040527, | |
0.005127168178558349, | |
0.005175295829772949, | |
0.005227519989013672, | |
0.005213183879852295, | |
0.005224448204040527, | |
0.005355519771575928, | |
0.005377024173736572, | |
0.005269504070281982, | |
0.0053012480735778805, | |
0.005403647899627686, | |
0.005610496044158936, | |
0.005371903896331787, | |
0.005173247814178467, | |
0.005192704200744629, | |
0.005185535907745361, | |
0.005243904113769531, | |
0.005153791904449463, | |
0.005167103767395019, | |
0.005254144191741943, | |
0.005194752216339111, | |
0.005156864166259765, | |
0.005212160110473632, | |
0.005148672103881836, | |
0.005141503810882568, | |
0.005150720119476319, | |
0.005105663776397705, | |
0.005037055969238281, | |
0.005040128231048584, | |
0.00506879997253418, | |
0.005148672103881836, | |
0.005129216194152832, | |
0.005092351913452148, | |
0.005165056228637695, | |
0.0050022401809692385, | |
0.004983808040618896, | |
0.005004288196563721, | |
0.005015552043914795, | |
0.0050032639503479, | |
0.004989952087402344, | |
0.00501145601272583, | |
0.005074944019317627, | |
0.00501043176651001, | |
0.005000192165374756, | |
0.0050063362121582035, | |
0.005025792121887207, | |
0.005022719860076904, | |
0.005015552043914795, | |
0.005078015804290771, | |
0.00506060791015625, | |
0.005128191947937012, | |
0.005071872234344482, | |
0.0050432000160217285, | |
0.004999167919158935, | |
0.005021696090698242, | |
0.005004288196563721, | |
0.0050462718009948735, | |
0.0050094079971313476, | |
0.005015552043914795, | |
0.005039103984832764, | |
0.005041215896606445, | |
0.004994048118591309, | |
0.004992000102996826, | |
0.005001215934753418, | |
0.005059584140777588, | |
0.0050022401809692385, | |
0.005153791904449463, | |
0.005054463863372802, | |
0.005033984184265137, | |
0.0049797120094299315, | |
0.005001215934753418, | |
0.0050657281875610355, | |
0.005332992076873779, | |
0.005051392078399658, | |
0.00501145601272583, | |
0.005035007953643799, | |
0.0050421757698059086, | |
0.004993023872375488, | |
0.005549056053161621, | |
0.005238783836364746 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 187.09121458107145 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.998896607744065e-08, | |
"ram": 3.27961887022411e-08, | |
"gpu": 1.2353545236363426e-07, | |
"total": 2.1632060714331604e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4622768.090408895 | |
} | |
} | |
} | |
} |