IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1581a6d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1384.198144, | |
"max_global_vram": 11.10016, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.74540185546875, | |
"mean": 7.74540185546875, | |
"stdev": 0.0, | |
"p50": 7.74540185546875, | |
"p90": 7.74540185546875, | |
"p95": 7.74540185546875, | |
"p99": 7.74540185546875, | |
"values": [ | |
7.74540185546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1484.058624, | |
"max_global_vram": 11.1616, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 1.0032515869140624, | |
"mean": 0.006431099916115786, | |
"stdev": 0.0002364356673413373, | |
"p50": 0.006332540988922119, | |
"p90": 0.0067616598606109616, | |
"p95": 0.006969939708709717, | |
"p99": 0.00720655448436737, | |
"values": [ | |
0.00667358112335205, | |
0.006450860977172851, | |
0.006615340232849121, | |
0.006853260040283203, | |
0.007013419151306152, | |
0.006896779060363769, | |
0.006967979907989502, | |
0.006759339809417724, | |
0.006673900127410889, | |
0.006975819110870361, | |
0.006793739795684814, | |
0.006570381164550781, | |
0.006659180164337158, | |
0.0065703802108764645, | |
0.006465421199798584, | |
0.006648301124572754, | |
0.006534060001373291, | |
0.006468620777130127, | |
0.006584300994873047, | |
0.006199981212615967, | |
0.0061998219490051265, | |
0.00623534107208252, | |
0.006255022048950195, | |
0.006228621006011963, | |
0.006207662105560303, | |
0.006203502178192139, | |
0.006395340919494629, | |
0.00620318078994751, | |
0.006237261772155762, | |
0.006218221187591553, | |
0.006269261837005615, | |
0.0062611007690429685, | |
0.006276782035827637, | |
0.006274860858917236, | |
0.006267501831054688, | |
0.006238380908966065, | |
0.0062499017715454104, | |
0.006254860877990723, | |
0.006227022171020508, | |
0.00621518087387085, | |
0.006185902118682861, | |
0.00623534107208252, | |
0.006223021984100342, | |
0.006204301834106445, | |
0.006213261127471924, | |
0.006212942123413086, | |
0.0062092609405517574, | |
0.007439338207244873, | |
0.006557260990142822, | |
0.006343181133270264, | |
0.006309260845184326, | |
0.006455660820007324, | |
0.006314541816711426, | |
0.0062771010398864745, | |
0.0063107008934020995, | |
0.006293742179870605, | |
0.0063052611351013185, | |
0.006289580821990967, | |
0.006517420768737793, | |
0.006306060791015625, | |
0.006274861812591553, | |
0.006321101188659668, | |
0.006308141231536865, | |
0.006586861133575439, | |
0.006304941177368164, | |
0.00648750114440918, | |
0.006311660766601563, | |
0.00627934217453003, | |
0.006456140995025635, | |
0.006329421043395996, | |
0.006284780979156494, | |
0.006344942092895508, | |
0.006508140087127685, | |
0.006483020782470703, | |
0.006305740833282471, | |
0.006339181900024414, | |
0.006389420986175537, | |
0.006347180843353272, | |
0.006363340854644775, | |
0.006377581119537353, | |
0.006359180927276611, | |
0.006333581924438477, | |
0.006291340827941894, | |
0.006307021141052246, | |
0.006470221042633057, | |
0.006303821086883545, | |
0.006328941822052002, | |
0.00633310079574585, | |
0.006328940868377686, | |
0.006360940933227539, | |
0.006732140064239502, | |
0.006884300231933594, | |
0.006484621047973633, | |
0.006686860084533691, | |
0.006645259857177735, | |
0.006570860862731933, | |
0.006325901031494141, | |
0.006340460777282715, | |
0.006319821834564209, | |
0.006300621032714844, | |
0.006314860820770264, | |
0.006313101768493652, | |
0.0063174209594726565, | |
0.006304300785064697, | |
0.006315822124481201, | |
0.006331981182098389, | |
0.006349580764770508, | |
0.006345901012420654, | |
0.006340301036834717, | |
0.006343021869659424, | |
0.006330221176147461, | |
0.00633310079574585, | |
0.006340460777282715, | |
0.006346062183380127, | |
0.006324300765991211, | |
0.006323020935058593, | |
0.006351340770721436, | |
0.006338541984558106, | |
0.006330221176147461, | |
0.006323340892791748, | |
0.006326381206512451, | |
0.0063679819107055665, | |
0.006306381225585938, | |
0.006315821170806884, | |
0.006298701763153076, | |
0.006345901966094971, | |
0.006377100944519043, | |
0.006726379871368408, | |
0.006691180229187012, | |
0.006575820922851562, | |
0.006772459983825684, | |
0.00634174108505249, | |
0.0063316612243652344, | |
0.006359180927276611, | |
0.0063505411148071286, | |
0.006331662178039551, | |
0.00632926082611084, | |
0.0063204607963562014, | |
0.006324460983276367, | |
0.006314221858978271, | |
0.006335501194000244, | |
0.006324460983276367, | |
0.006307181835174561, | |
0.006311660766601563, | |
0.006316781044006348, | |
0.006321580886840821, | |
0.006335182189941406, | |
0.006618859767913818, | |
0.007161418914794922, | |
0.007155659198760986, | |
0.00719661808013916, | |
0.007218698978424073, | |
0.007037578105926513, | |
0.006808300018310547, | |
0.00670605993270874, | |
0.006763979911804199 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.49439645527596 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |