IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
742be3e verified
raw
history blame
9.98 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "b04fb3c909a5873eadf03d7b46ccfac63afcdf9e",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1003.573248,
"max_global_vram": 1910.92736,
"max_process_vram": 247184.121856,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.00354415845871,
"mean": 0.00784018873795867,
"stdev": 0.0004077178410427443,
"p50": 0.007885532617568969,
"p90": 0.008042236137390137,
"p95": 0.008413828992843627,
"p99": 0.009039299726486207,
"values": [
0.007532331943511963,
0.007584012031555175,
0.00739761209487915,
0.007601771831512451,
0.007779053211212158,
0.007910252094268799,
0.00788785219192505,
0.0078092927932739255,
0.007715692043304443,
0.0076852917671203615,
0.007584012031555175,
0.007541131973266601,
0.007545931816101074,
0.007473291873931885,
0.007492012023925782,
0.007424651145935058,
0.007365292072296143,
0.007346412181854248,
0.007297131061553955,
0.007319530963897705,
0.007321931838989258,
0.007445131778717041,
0.00821185302734375,
0.007723691940307617,
0.007321132183074951,
0.00754177188873291,
0.008205452919006347,
0.008310253143310548,
0.008300494194030762,
0.008017131805419922,
0.010830097198486328,
0.0077937722206115724,
0.00754993200302124,
0.007541932106018066,
0.007526731967926025,
0.0075184121131896976,
0.007527051925659179,
0.007538891792297363,
0.00753521203994751,
0.0075475330352783206,
0.007679051876068115,
0.007628652095794677,
0.007644331932067871,
0.007769933223724365,
0.007853291988372802,
0.008747694015502929,
0.008950414657592774,
0.008748333930969238,
0.008721774101257324,
0.008448493003845215,
0.008100812911987304,
0.007952813148498536,
0.00798753309249878,
0.007973612785339356,
0.007940651893615723,
0.007881133079528809,
0.007843052864074707,
0.007775852203369141,
0.007658892154693604,
0.0075753722190856935,
0.0075948920249938965,
0.007611372947692871,
0.007555692195892334,
0.007579051971435547,
0.007569931983947754,
0.0075697717666625974,
0.007582252025604248,
0.007654091835021973,
0.007718731880187988,
0.007605133056640625,
0.007574252128601074,
0.007553612232208252,
0.007557291984558106,
0.007554411888122559,
0.007566892147064209,
0.007587852001190186,
0.007586091995239258,
0.007588652133941651,
0.0075827322006225585,
0.007550891876220703,
0.009072175025939941,
0.00834945297241211,
0.00790721321105957,
0.007943532943725585,
0.007964332103729248,
0.007953612804412842,
0.007944972991943359,
0.00795889186859131,
0.007917932987213135,
0.007919373035430909,
0.00792545223236084,
0.007978733062744141,
0.007934732913970947,
0.007909451961517334,
0.00794049310684204,
0.007933932781219483,
0.00792273187637329,
0.007940972805023193,
0.007923052787780762,
0.007944171905517577,
0.007926572799682617,
0.00788321304321289,
0.007936172008514404,
0.007935052871704101,
0.007837293148040771,
0.007996172904968261,
0.007943051815032959,
0.00794769287109375,
0.00793777322769165,
0.007928011894226074,
0.00798305320739746,
0.007922732830047607,
0.007941771984100341,
0.007926733016967773,
0.007928332805633546,
0.007916331768035889,
0.00793457317352295,
0.00790625286102295,
0.007938092231750488,
0.007903052806854247,
0.007900172233581543,
0.007954893112182617,
0.007939533233642578,
0.007952971935272217,
0.007942092895507813,
0.00794385290145874,
0.007932490825653076,
0.00789473295211792
]
},
"throughput": {
"unit": "samples/s",
"value": 127.54794985463163
},
"energy": null,
"efficiency": null
}
}
}