
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
41d07a0
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.82656, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 1.0057167053222655, | |
"mean": 0.0061700411369464145, | |
"stdev": 0.00027993963123417695, | |
"p50": 0.006095871925354004, | |
"p90": 0.006369280052185058, | |
"p95": 0.006578278446197509, | |
"p99": 0.007439708213806152, | |
"values": [ | |
0.006985727787017822, | |
0.006560768127441406, | |
0.00658022403717041, | |
0.006363135814666748, | |
0.0063211522102355954, | |
0.006289408206939697, | |
0.006340608119964599, | |
0.006285312175750732, | |
0.006342656135559082, | |
0.006228991985321045, | |
0.0062679038047790524, | |
0.006248447895050049, | |
0.006139935970306397, | |
0.006049791812896729, | |
0.006119423866271972, | |
0.006145023822784424, | |
0.00617574405670166, | |
0.0062197761535644535, | |
0.006184959888458252, | |
0.006199295997619629, | |
0.006171648025512695, | |
0.006161407947540283, | |
0.006450175762176514, | |
0.006423552036285401, | |
0.006453248023986816, | |
0.006339583873748779, | |
0.00636518383026123, | |
0.006316031932830811, | |
0.006288383960723877, | |
0.006190080165863037, | |
0.006137856006622314, | |
0.006072319984436035, | |
0.006030335903167725, | |
0.006112256050109863, | |
0.00608460807800293, | |
0.0060713601112365725, | |
0.00612556791305542, | |
0.006138879776000977, | |
0.006168575763702393, | |
0.006474751949310303, | |
0.006346752166748047, | |
0.006377535820007324, | |
0.006358016014099121, | |
0.006223872184753418, | |
0.006201344013214111, | |
0.006158336162567139, | |
0.006151167869567871, | |
0.0061634559631347655, | |
0.006352896213531494, | |
0.006240255832672119, | |
0.006262784004211426, | |
0.0063539199829101565, | |
0.006358016014099121, | |
0.006115327835083008, | |
0.006106112003326416, | |
0.0061265921592712404, | |
0.006095871925354004, | |
0.006106112003326416, | |
0.006110208034515381, | |
0.00611737585067749, | |
0.00623308801651001, | |
0.006231071949005127, | |
0.006205440044403076, | |
0.006172671794891358, | |
0.0061645121574401855, | |
0.006140927791595459, | |
0.006151167869567871, | |
0.006148096084594727, | |
0.006207488059997559, | |
0.006050816059112549, | |
0.006023168087005615, | |
0.0059023361206054685, | |
0.005886975765228271, | |
0.005985280036926269, | |
0.006253568172454834, | |
0.006067200183868408, | |
0.005824512004852295, | |
0.005803008079528809, | |
0.00582860803604126, | |
0.005832704067230224, | |
0.005971968173980713, | |
0.006793216228485107, | |
0.007400447845458984, | |
0.0074670081138610836, | |
0.0074997758865356446, | |
0.007422976016998291, | |
0.00724889612197876, | |
0.006669312000274658, | |
0.0062975997924804685, | |
0.006082560062408447, | |
0.006141952037811279, | |
0.006051839828491211, | |
0.0060590081214904785, | |
0.00608460807800293, | |
0.0059996161460876465, | |
0.005971968173980713, | |
0.0060405759811401364, | |
0.006004735946655273, | |
0.006001664161682129, | |
0.006103040218353272, | |
0.006017024040222168, | |
0.005993472099304199, | |
0.006104063987731933, | |
0.005991424083709717, | |
0.006051839828491211, | |
0.006005760192871094, | |
0.006033408164978027, | |
0.006042623996734619, | |
0.006025216102600098, | |
0.005967872142791748, | |
0.006024191856384278, | |
0.005991424083709717, | |
0.0060590081214904785, | |
0.005982207775115967, | |
0.00602726411819458, | |
0.006013951778411865, | |
0.006048768043518066, | |
0.0059985918998718265, | |
0.006032383918762207, | |
0.005976064205169678, | |
0.006030335903167725, | |
0.005990399837493897, | |
0.0060293121337890625, | |
0.006012928009033203, | |
0.006042623996734619, | |
0.005987328052520752, | |
0.006081535816192627, | |
0.005993472099304199, | |
0.006008831977844238, | |
0.005976064205169678, | |
0.00601087999343872, | |
0.005967872142791748, | |
0.005994495868682862, | |
0.005945343971252442, | |
0.006008831977844238, | |
0.006007808208465576, | |
0.00597811222076416, | |
0.006277120113372803, | |
0.006041600227355957, | |
0.006020095825195313, | |
0.006416384220123291, | |
0.006370304107666015, | |
0.006106112003326416, | |
0.006011903762817383, | |
0.006116352081298828, | |
0.005992447853088379, | |
0.006093823909759521, | |
0.005976064205169678, | |
0.006178815841674804, | |
0.005967872142791748, | |
0.006047743797302246, | |
0.005966847896575928, | |
0.006062079906463623, | |
0.00597811222076416, | |
0.006072319984436035, | |
0.005981184005737304, | |
0.006077439785003662, | |
0.006011903762817383, | |
0.006094848155975342, | |
0.005980160236358643, | |
0.006044672012329101, | |
0.005975039958953857, | |
0.00602726411819458 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 162.07347371024258 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.865475831616745e-08, | |
"ram": 3.7533833735736736e-08, | |
"gpu": 1.3600364123699434e-07, | |
"total": 2.421922332888985e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4128951.5622375556 | |
} | |
} | |
} | |
} |