IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c2da0fb
verified
{ | |
"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": "6", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 1070.669824, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49088.966656, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.77335546875, | |
"mean": 8.77335546875, | |
"stdev": 0.0, | |
"p50": 8.77335546875, | |
"p90": 8.77335546875, | |
"p95": 8.77335546875, | |
"p99": 8.77335546875, | |
"values": [ | |
8.77335546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1200.447488, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 251614.806016, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9982769365310667, | |
"mean": 0.008182597840418582, | |
"stdev": 0.0007348401471469663, | |
"p50": 0.008085455894470215, | |
"p90": 0.00826940689086914, | |
"p95": 0.008450888109207152, | |
"p99": 0.0095203975868225, | |
"values": [ | |
0.008202095031738282, | |
0.008223055839538574, | |
0.00846833610534668, | |
0.008530735969543457, | |
0.008572015762329101, | |
0.008541296005249024, | |
0.008452176094055176, | |
0.008426416397094726, | |
0.009772499084472657, | |
0.008118254661560059, | |
0.00809489631652832, | |
0.008122895240783691, | |
0.008103535652160645, | |
0.008072335243225098, | |
0.008059695243835449, | |
0.008019696235656739, | |
0.008018095016479493, | |
0.008012495040893554, | |
0.008050094604492188, | |
0.008062576293945313, | |
0.008074575424194336, | |
0.008088814735412597, | |
0.015973310470581054, | |
0.008055215835571288, | |
0.008035215377807617, | |
0.00809089469909668, | |
0.008097616195678711, | |
0.00812961483001709, | |
0.008111696243286132, | |
0.00811489486694336, | |
0.008110416412353516, | |
0.008073135375976563, | |
0.008063535690307617, | |
0.008064974784851074, | |
0.008094095230102539, | |
0.008084976196289062, | |
0.00804881477355957, | |
0.008067375183105468, | |
0.008053134918212891, | |
0.008023695945739746, | |
0.008019535064697266, | |
0.00810449504852295, | |
0.00809937572479248, | |
0.008218734741210938, | |
0.008183216094970703, | |
0.008091694831848144, | |
0.008082735061645507, | |
0.008099696159362794, | |
0.008031535148620605, | |
0.008100335121154784, | |
0.008058735847473145, | |
0.008047534942626952, | |
0.008111055374145509, | |
0.008115695953369141, | |
0.008099214553833008, | |
0.00808657455444336, | |
0.008047535896301269, | |
0.00802801513671875, | |
0.008087374687194825, | |
0.008056336402893067, | |
0.008138574600219727, | |
0.00824833583831787, | |
0.00827153491973877, | |
0.008198575973510742, | |
0.008090575218200684, | |
0.008136655807495117, | |
0.008135214805603027, | |
0.008120335578918458, | |
0.008165454864501953, | |
0.008175536155700684, | |
0.00825025463104248, | |
0.008194576263427735, | |
0.008277935981750488, | |
0.008418095588684083, | |
0.008242574691772461, | |
0.008171216011047363, | |
0.008135695457458497, | |
0.008085935592651368, | |
0.008092815399169923, | |
0.008097615242004395, | |
0.00795921516418457, | |
0.007988976001739503, | |
0.007969934940338135, | |
0.007988015174865722, | |
0.007964495182037354, | |
0.007924974918365479, | |
0.007930095195770264, | |
0.007947054862976075, | |
0.007927855014801026, | |
0.007964175224304199, | |
0.008347696304321289, | |
0.008347375869750977, | |
0.008159375190734864, | |
0.008077456474304199, | |
0.008068015098571777, | |
0.007966256141662598, | |
0.008129935264587402, | |
0.008050094604492188, | |
0.007999215126037598, | |
0.008030896186828613, | |
0.008051215171813965, | |
0.008116655349731446, | |
0.0080656156539917, | |
0.007996015071868897, | |
0.008066254615783692, | |
0.008077454566955567, | |
0.008097935676574707, | |
0.008066414833068847, | |
0.00806337547302246, | |
0.007996016025543213, | |
0.008235855102539063, | |
0.007954734802246094, | |
0.008028016090393067, | |
0.008028175354003906, | |
0.007979694843292237, | |
0.007957775115966797, | |
0.00795985507965088, | |
0.007968814849853515, | |
0.0080457763671875, | |
0.008007854461669921, | |
0.008015214920043945, | |
0.007960975170135498 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.21057658002228 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |