IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
94aa6bf
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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": "d920fe9626db1e7915f6d3574b5b54b0159cd100", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.561024, | |
"max_global_vram": 938.901504, | |
"max_process_vram": 206554.906624, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 1.0065428695678715, | |
"mean": 0.008318536112131167, | |
"stdev": 0.00024683959623408207, | |
"p50": 0.008289263725280762, | |
"p90": 0.00840238380432129, | |
"p95": 0.008428784370422363, | |
"p99": 0.009683373641967771, | |
"values": [ | |
0.008357744216918945, | |
0.008151185035705567, | |
0.0082052640914917, | |
0.008363183975219726, | |
0.008373104095458984, | |
0.008330703735351563, | |
0.008377424240112305, | |
0.00837006378173828, | |
0.008227984428405761, | |
0.008188143730163574, | |
0.008130544662475587, | |
0.00809934425354004, | |
0.008072625160217286, | |
0.00811070442199707, | |
0.008197744369506836, | |
0.008172144889831543, | |
0.008110383987426757, | |
0.008060785293579101, | |
0.008091504096984864, | |
0.00811502456665039, | |
0.00826846408843994, | |
0.008424464225769044, | |
0.008352304458618164, | |
0.008295023918151855, | |
0.008175663948059082, | |
0.01003390121459961, | |
0.00978110122680664, | |
0.008290063858032227, | |
0.008252464294433593, | |
0.00818110466003418, | |
0.008245264053344727, | |
0.008220623970031739, | |
0.008199503898620605, | |
0.00831550407409668, | |
0.008259023666381836, | |
0.008232464790344238, | |
0.008224783897399902, | |
0.008249103546142578, | |
0.008283344268798828, | |
0.008241105079650878, | |
0.008216464042663574, | |
0.008236623764038086, | |
0.008229583740234374, | |
0.008228144645690917, | |
0.008279343605041505, | |
0.00822094440460205, | |
0.008251343727111816, | |
0.008254704475402832, | |
0.00825694465637207, | |
0.008228143692016602, | |
0.008260144233703613, | |
0.008236783981323242, | |
0.008284303665161133, | |
0.008242864608764649, | |
0.00825598430633545, | |
0.008269904136657714, | |
0.008287343978881836, | |
0.008255184173583984, | |
0.008261425018310547, | |
0.008246225357055664, | |
0.008273903846740722, | |
0.008205424308776856, | |
0.008289263725280762, | |
0.00823118495941162, | |
0.00825438404083252, | |
0.00826750373840332, | |
0.00824942398071289, | |
0.008181743621826172, | |
0.008309905052185058, | |
0.008328944206237794, | |
0.008340144157409668, | |
0.008369744300842285, | |
0.008313584327697753, | |
0.008244943618774415, | |
0.008299344062805176, | |
0.008280624389648437, | |
0.008337743759155273, | |
0.008263343811035157, | |
0.008329105377197266, | |
0.008329903602600098, | |
0.008359343528747558, | |
0.008362383842468261, | |
0.008320783615112305, | |
0.00839038372039795, | |
0.008395503044128418, | |
0.008402704238891601, | |
0.009292463302612304, | |
0.008393744468688964, | |
0.008423502922058106, | |
0.008385423660278321, | |
0.008421903610229492, | |
0.00840238380432129, | |
0.008317263603210449, | |
0.00830286407470703, | |
0.008372783660888672, | |
0.008344143867492675, | |
0.008372624397277833, | |
0.008462703704833985, | |
0.008401583671569825, | |
0.008364463806152344, | |
0.008387984275817871, | |
0.00830286407470703, | |
0.008425423622131348, | |
0.008393584251403808, | |
0.008328783988952636, | |
0.008353743553161621, | |
0.008353743553161621, | |
0.008432944297790528, | |
0.008372303962707519, | |
0.008347663879394531, | |
0.008428784370422363, | |
0.008359663963317871, | |
0.008370863914489745, | |
0.008244943618774415, | |
0.008311023712158203, | |
0.007864465236663818, | |
0.007919185161590576, | |
0.008367504119873047, | |
0.008432143211364746, | |
0.008327505111694337, | |
0.008395341873168946 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.21345901734688 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |