IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
76722cf verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "4",
"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": "warn",
"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.34.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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1034.248192,
"max_global_vram": 68702.69952,
"max_process_vram": 48000.79872,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.417826171875,
"mean": 8.417826171875,
"stdev": 0.0,
"p50": 8.417826171875,
"p90": 8.417826171875,
"p95": 8.417826171875,
"p99": 8.417826171875,
"values": [
8.417826171875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1163.923456,
"max_global_vram": 68702.69952,
"max_process_vram": 256858.23488,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0023815593719485,
"mean": 0.007425048587940358,
"stdev": 0.00032210428851809947,
"p50": 0.007585413932800293,
"p90": 0.0076521660804748535,
"p95": 0.007685989236831664,
"p99": 0.007738409175872802,
"values": [
0.007590054035186767,
0.007555655002593994,
0.007396134853363037,
0.0074345340728759765,
0.007687334060668945,
0.007662534236907959,
0.007559494972229004,
0.007613574028015137,
0.007726054191589355,
0.007673093795776367,
0.007512454032897949,
0.007604773998260498,
0.007586215019226074,
0.007577414035797119,
0.0074514951705932616,
0.007491814136505127,
0.0075822148323059085,
0.007651494026184082,
0.007468453884124756,
0.007751974105834961,
0.007744773864746094,
0.007694853782653809,
0.007685412883758545,
0.00760397481918335,
0.007647334098815918,
0.007534694194793701,
0.007245096206665039,
0.007347334861755371,
0.007246214866638184,
0.007616933822631836,
0.007569415092468262,
0.007578053951263428,
0.0076177349090576175,
0.007597414016723633,
0.007554214000701904,
0.007575493812561035,
0.007697894096374512,
0.007631333827972412,
0.0075945348739624025,
0.007630214214324951,
0.0076154937744140625,
0.00757245397567749,
0.007612133979797363,
0.007576135158538819,
0.00757901382446289,
0.007589094161987305,
0.007243815898895264,
0.007179174900054932,
0.007157735824584961,
0.006713737010955811,
0.0067495770454406735,
0.006730537891387939,
0.006743176937103272,
0.006711657047271728,
0.006729257106781006,
0.006712777137756348,
0.006744777202606201,
0.0066734180450439455,
0.006743496894836426,
0.00675581693649292,
0.006747336864471436,
0.006730216979980469,
0.006705737113952637,
0.006751498222351074,
0.006672616958618164,
0.006712616920471192,
0.00673181676864624,
0.00668189811706543,
0.0068713359832763676,
0.0070706958770751956,
0.007061895847320557,
0.007328454971313477,
0.007331175804138184,
0.007141735076904297,
0.007018537044525147,
0.007164454936981201,
0.007245416164398193,
0.007263014793395996,
0.007389735221862793,
0.007257734775543213,
0.007444294929504394,
0.007581093788146973,
0.007625093936920166,
0.007590535163879394,
0.007574853897094727,
0.007599654197692871,
0.007649734020233155,
0.007618214130401611,
0.007608934879302979,
0.00765373420715332,
0.00762541389465332,
0.007609893798828125,
0.007594054222106934,
0.007566854953765869,
0.007645254135131836,
0.007581894874572754,
0.007607974052429199,
0.007632133960723877,
0.007625733852386475,
0.007692133903503418,
0.00765325403213501,
0.007604293823242188,
0.0075678138732910155,
0.007603175163269043,
0.007634694099426269,
0.007580453872680664,
0.007595173835754395,
0.007582855224609375,
0.0075782151222229,
0.0075959739685058595,
0.007602054119110108,
0.007654213905334472,
0.007609893798828125,
0.007600774765014648,
0.00758557415008545,
0.007585733890533447,
0.007621893882751465,
0.00759021520614624,
0.007576933860778809,
0.0076247739791870115,
0.007635973930358887,
0.0075820541381835934,
0.007627813816070556,
0.007602694988250732,
0.007611333847045898,
0.007629094123840332,
0.007614054203033447,
0.007585413932800293,
0.007588933944702148,
0.007590373992919922,
0.007583174228668213,
0.007650053977966308,
0.007652614116668701,
0.007627654075622559,
0.007623974800109863
]
},
"throughput": {
"unit": "samples/s",
"value": 134.67925336194884
},
"energy": null,
"efficiency": null
}
}
}