
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
42df5cd
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 817.672192, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08064307403564454 | |
], | |
"count": 1, | |
"total": 0.08064307403564454, | |
"mean": 0.08064307403564454, | |
"p50": 0.08064307403564454, | |
"p90": 0.08064307403564454, | |
"p95": 0.08064307403564454, | |
"p99": 0.08064307403564454, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010562661002361098, | |
"ram": 5.787265786628921e-05, | |
"gpu": 0.0001392951114360004, | |
"total": 0.0003027943793259006 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1064.497152, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006713344097137451, | |
0.006461440086364746, | |
0.006351871967315674, | |
0.006418432235717773, | |
0.006418432235717773, | |
0.00643993616104126, | |
0.006449151992797852, | |
0.006174719810485839, | |
0.006158336162567139, | |
0.006140927791595459, | |
0.00618393611907959, | |
0.006128640174865723, | |
0.006147071838378906, | |
0.006115392208099365, | |
0.006198272228240966, | |
0.006177792072296143, | |
0.0062576642036437985, | |
0.006211584091186524, | |
0.006246399879455566, | |
0.006300672054290772, | |
0.006338560104370118, | |
0.006351871967315674, | |
0.006366208076477051, | |
0.006810624122619629, | |
0.006137856006622314, | |
0.006130688190460205, | |
0.0061562881469726565, | |
0.006112256050109863, | |
0.006150144100189209, | |
0.0061521921157836916, | |
0.0062576642036437985, | |
0.006242303848266601, | |
0.006251520156860352, | |
0.006243328094482422, | |
0.006210559844970703, | |
0.006209536075592041, | |
0.006323200225830078, | |
0.006456319808959961, | |
0.006372352123260498, | |
0.006448128223419189, | |
0.006494207859039307, | |
0.00637440013885498, | |
0.006405119895935059, | |
0.006509568214416504, | |
0.0064143362045288085, | |
0.006328320026397705, | |
0.006501376152038574, | |
0.006415359973907471, | |
0.006461440086364746, | |
0.006268928050994873, | |
0.006369279861450195, | |
0.006372352123260498, | |
0.006452223777770996, | |
0.006376448154449463, | |
0.006276095867156982, | |
0.006358016014099121, | |
0.006323200225830078, | |
0.006395904064178467, | |
0.006370304107666015, | |
0.00637337589263916, | |
0.007425024032592774, | |
0.00648089599609375, | |
0.006363135814666748, | |
0.0063805441856384275, | |
0.0063836159706115725, | |
0.006495232105255127, | |
0.007076863765716553, | |
0.006426623821258545, | |
0.006460415840148926, | |
0.006465536117553711, | |
0.006363135814666748, | |
0.006421504020690918, | |
0.0064102401733398436, | |
0.0063539199829101565, | |
0.006315008163452148, | |
0.0062638077735900875, | |
0.006385663986206055, | |
0.006396927833557129, | |
0.006325247764587402, | |
0.00623308801651001, | |
0.005910528182983398, | |
0.005941247940063477, | |
0.006071296215057373, | |
0.005972991943359375, | |
0.005833727836608887, | |
0.006034431934356689, | |
0.006102015972137451, | |
0.006217728137969971, | |
0.006144000053405762, | |
0.006203392028808594, | |
0.006244351863861084, | |
0.006187007904052734, | |
0.00623308801651001, | |
0.006789120197296142, | |
0.006900735855102539, | |
0.007264256000518799, | |
0.007097343921661377, | |
0.006819839954376221, | |
0.006130688190460205, | |
0.006142975807189942, | |
0.006153215885162353, | |
0.0060661759376525876, | |
0.006144000053405762, | |
0.006091775894165039, | |
0.006071296215057373, | |
0.0060026879310607914, | |
0.00608460807800293, | |
0.00613478422164917, | |
0.00607539176940918, | |
0.0060026879310607914, | |
0.006102015972137451, | |
0.005997568130493164, | |
0.0060364799499511715, | |
0.006008831977844238, | |
0.006187007904052734, | |
0.006039552211761475, | |
0.006187007904052734, | |
0.006007808208465576, | |
0.006055935859680176, | |
0.006007808208465576, | |
0.006022143840789795, | |
0.006000639915466309, | |
0.006047743797302246, | |
0.005954559803009033, | |
0.005992447853088379, | |
0.005954559803009033, | |
0.006354944229125976, | |
0.006067200183868408, | |
0.006012928009033203, | |
0.006012928009033203, | |
0.0059985918998718265, | |
0.0060067839622497555, | |
0.006003712177276611, | |
0.005991424083709717, | |
0.006023168087005615, | |
0.005985280036926269, | |
0.005986303806304932, | |
0.005990399837493897, | |
0.006014976024627685, | |
0.0060405759811401364, | |
0.006044672012329101, | |
0.006039552211761475, | |
0.006005760192871094, | |
0.0060631041526794435, | |
0.006022143840789795, | |
0.006034431934356689, | |
0.0059699201583862304, | |
0.00601087999343872, | |
0.005964799880981446, | |
0.0060590081214904785, | |
0.006000639915466309, | |
0.00601087999343872, | |
0.005974016189575195, | |
0.006103040218353272, | |
0.005981184005737304, | |
0.006021120071411133, | |
0.005988351821899414, | |
0.005992447853088379, | |
0.005972991943359375, | |
0.006049791812896729, | |
0.0060364799499511715 | |
], | |
"count": 161, | |
"total": 1.003186242580414, | |
"mean": 0.0062309704508100245, | |
"p50": 0.006177792072296143, | |
"p90": 0.006461440086364746, | |
"p95": 0.006713344097137451, | |
"p99": 0.007164108753204347, | |
"stdev": 0.00025349925680223656, | |
"stdev_": 4.068375204207263 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 320.97728849604806 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.196005240740864e-08, | |
"ram": 3.927511575622739e-08, | |
"gpu": 1.762038446666654e-07, | |
"total": 2.874390128303014e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6957997.7342211455 | |
} | |
} | |
} | |
} |