
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e3b701e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.670912, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 1.0031495051383974, | |
"mean": 0.0060068832643017794, | |
"stdev": 0.00020016329854263533, | |
"p50": 0.0059054079055786135, | |
"p90": 0.006282649612426757, | |
"p95": 0.006338355302810668, | |
"p99": 0.006516060104370117, | |
"values": [ | |
0.006903808116912841, | |
0.006348800182342529, | |
0.006425600051879882, | |
0.006407167911529541, | |
0.006498303890228272, | |
0.0063508481979370115, | |
0.006366208076477051, | |
0.006313983917236328, | |
0.006308864116668702, | |
0.006245376110076905, | |
0.0062269439697265625, | |
0.00628223991394043, | |
0.006155263900756836, | |
0.006157375812530517, | |
0.006135807991027832, | |
0.006262784004211426, | |
0.006251520156860352, | |
0.00637440013885498, | |
0.006294528007507324, | |
0.005955584049224853, | |
0.005952511787414551, | |
0.005909503936767578, | |
0.00602726411819458, | |
0.006086656093597412, | |
0.005993472099304199, | |
0.005967872142791748, | |
0.006009856224060059, | |
0.005914624214172363, | |
0.005947391986846923, | |
0.005933055877685547, | |
0.005956607818603516, | |
0.006550528049468994, | |
0.006212607860565185, | |
0.00611737585067749, | |
0.006205440044403076, | |
0.006109183788299561, | |
0.006230016231536865, | |
0.006164480209350586, | |
0.006276095867156982, | |
0.006239232063293457, | |
0.006230016231536865, | |
0.00624128007888794, | |
0.005958655834197998, | |
0.006087679862976075, | |
0.006251520156860352, | |
0.0062679038047790524, | |
0.006207488059997559, | |
0.00628326416015625, | |
0.0061859841346740725, | |
0.006141952037811279, | |
0.006179840087890625, | |
0.006160384178161621, | |
0.0062975997924804685, | |
0.005889023780822754, | |
0.005827583789825439, | |
0.00586137580871582, | |
0.0059054079055786135, | |
0.005852159976959229, | |
0.006179840087890625, | |
0.006154240131378174, | |
0.006221824169158936, | |
0.006253568172454834, | |
0.006302720069885254, | |
0.00623308801651001, | |
0.006271999835968017, | |
0.006171648025512695, | |
0.006273024082183838, | |
0.006153215885162353, | |
0.006291456222534179, | |
0.006135807991027832, | |
0.006048768043518066, | |
0.006095871925354004, | |
0.005913599967956543, | |
0.006023168087005615, | |
0.0060631041526794435, | |
0.005945343971252442, | |
0.005849088191986084, | |
0.005865471839904785, | |
0.0058716158866882326, | |
0.005913599967956543, | |
0.005901311874389649, | |
0.006119423866271972, | |
0.006081535816192627, | |
0.006091775894165039, | |
0.006067200183868408, | |
0.006199295997619629, | |
0.0062873601913452145, | |
0.006111231803894043, | |
0.005944320201873779, | |
0.005949440002441406, | |
0.005855231761932373, | |
0.00587775993347168, | |
0.005853184223175049, | |
0.0058787841796875, | |
0.005836800098419189, | |
0.0058787841796875, | |
0.005834752082824707, | |
0.00582041597366333, | |
0.005984255790710449, | |
0.005873663902282715, | |
0.005881855964660645, | |
0.005829631805419922, | |
0.005851136207580566, | |
0.005792768001556397, | |
0.005881855964660645, | |
0.005830656051635743, | |
0.005937151908874512, | |
0.005847040176391601, | |
0.005880832195281982, | |
0.0058388481140136715, | |
0.005881919860839844, | |
0.005836800098419189, | |
0.005832704067230224, | |
0.005849088191986084, | |
0.005858304023742676, | |
0.005848063945770264, | |
0.005827583789825439, | |
0.005857279777526855, | |
0.005830656051635743, | |
0.00586240005493164, | |
0.005860352039337159, | |
0.005848063945770264, | |
0.005876736164093017, | |
0.005854207992553711, | |
0.00582041597366333, | |
0.0058091521263122555, | |
0.00587775993347168, | |
0.005817344188690185, | |
0.005892096042633056, | |
0.0058009600639343266, | |
0.005880832195281982, | |
0.005814271926879883, | |
0.005843967914581299, | |
0.005817344188690185, | |
0.005846015930175781, | |
0.005822463989257813, | |
0.005850175857543946, | |
0.005837823867797852, | |
0.005830656051635743, | |
0.005839871883392334, | |
0.00582860803604126, | |
0.005832704067230224, | |
0.005817344188690185, | |
0.005860352039337159, | |
0.005798912048339844, | |
0.005833727836608887, | |
0.005805056095123291, | |
0.005818367958068848, | |
0.005852159976959229, | |
0.005859327793121338, | |
0.0058388481140136715, | |
0.00582860803604126, | |
0.005886975765228271, | |
0.005829631805419922, | |
0.005873663902282715, | |
0.005847040176391601, | |
0.005901311874389649, | |
0.00582041597366333, | |
0.0058787841796875, | |
0.005822463989257813, | |
0.005848063945770264, | |
0.00582144021987915, | |
0.005840896129608154, | |
0.005825535774230957, | |
0.005825535774230957, | |
0.005852159976959229, | |
0.005827583789825439 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.47568397789345 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.822651719290113e-08, | |
"ram": 3.716695327299249e-08, | |
"gpu": 1.362064581714297e-07, | |
"total": 2.415999286373233e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4139074.0702624368 | |
} | |
} | |
} | |
} |