IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8d83e01
verified
{ | |
"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.1", | |
"optimum_benchmark_commit": "c1d0b062e90b79e7705510c58cea731c0d90da8a", | |
"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": 1002.172416, | |
"max_global_vram": 1910.919168, | |
"max_process_vram": 240846.024704, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.006104100227356, | |
"mean": 0.007799256590909735, | |
"stdev": 0.00021230348269722646, | |
"p50": 0.007852808952331543, | |
"p90": 0.007943177986145019, | |
"p95": 0.007991274166107178, | |
"p99": 0.008040393562316894, | |
"values": [ | |
0.0081552095413208, | |
0.00790512990951538, | |
0.007912489891052246, | |
0.007906408786773681, | |
0.0079030499458313, | |
0.008035208702087402, | |
0.008042409896850585, | |
0.007980490207672119, | |
0.007993130207061768, | |
0.008013608932495118, | |
0.00798001003265381, | |
0.007993770122528077, | |
0.007976489067077637, | |
0.007988490104675294, | |
0.007978730201721192, | |
0.007968008995056152, | |
0.007936970233917236, | |
0.007853129863739013, | |
0.0073982481956481935, | |
0.007333928108215332, | |
0.007255528926849365, | |
0.0070339288711547855, | |
0.007103847980499268, | |
0.007074409008026123, | |
0.007016808032989502, | |
0.007514249801635742, | |
0.007930408954620362, | |
0.007841609954833984, | |
0.007803528785705566, | |
0.007827690124511719, | |
0.007849129199981689, | |
0.007839049816131592, | |
0.007854729175567628, | |
0.007861130237579346, | |
0.007863049030303954, | |
0.007840970039367675, | |
0.007876169204711915, | |
0.007855850219726563, | |
0.007865128993988037, | |
0.007860330104827881, | |
0.007336009025573731, | |
0.00784368896484375, | |
0.007899690151214599, | |
0.007899370193481445, | |
0.007887049198150635, | |
0.007878890037536621, | |
0.007877768993377686, | |
0.007818890094757081, | |
0.007894568920135498, | |
0.007883210182189942, | |
0.007855049133300781, | |
0.007890250205993652, | |
0.00785280990600586, | |
0.007269768238067627, | |
0.007566569805145263, | |
0.00749984884262085, | |
0.007153128147125244, | |
0.006934729099273682, | |
0.007832969188690185, | |
0.007912650108337402, | |
0.007906249046325683, | |
0.007852650165557862, | |
0.007895689964294433, | |
0.007861608982086182, | |
0.007859210014343261, | |
0.007843529224395752, | |
0.007825769901275636, | |
0.007849608898162842, | |
0.007880169868469239, | |
0.00786224889755249, | |
0.007819369792938232, | |
0.007856968879699708, | |
0.007843050003051757, | |
0.00787152910232544, | |
0.007892650127410888, | |
0.007852969169616699, | |
0.007836810111999512, | |
0.007852808952331543, | |
0.00783808994293213, | |
0.007887528896331788, | |
0.007847529888153076, | |
0.007865128993988037, | |
0.007875689029693603, | |
0.007877130031585694, | |
0.007844328880310059, | |
0.007876009941101074, | |
0.00788128900527954, | |
0.007829929828643799, | |
0.00787808895111084, | |
0.007899690151214599, | |
0.007901288986206055, | |
0.007755370140075684, | |
0.007792008876800537, | |
0.007858729839324952, | |
0.007765129089355469, | |
0.007884009838104248, | |
0.007788329124450683, | |
0.007832170009613037, | |
0.007936968803405761, | |
0.007849450111389161, | |
0.0077300891876220705, | |
0.007803530216217041, | |
0.0077569689750671385, | |
0.00791776990890503, | |
0.007861928939819336, | |
0.007830570220947266, | |
0.00800881004333496, | |
0.007879848957061768, | |
0.00785216999053955, | |
0.007760649204254151, | |
0.007912650108337402, | |
0.007841609001159667, | |
0.007803369998931884, | |
0.007802248954772949, | |
0.007787529945373535, | |
0.0077481689453125, | |
0.007756009101867676, | |
0.007815529823303222, | |
0.007763528823852539, | |
0.007793290138244629, | |
0.007816489219665528, | |
0.0078113689422607425, | |
0.007819048881530762, | |
0.007807370185852051, | |
0.007818249225616455, | |
0.00779504919052124, | |
0.007819369792938232, | |
0.007788329124450683, | |
0.007766409873962403 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.21734845415006 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |