IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fac5587
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": "5", | |
"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": 1069.969408, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48425.017344, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2413681640625, | |
"mean": 8.2413681640625, | |
"stdev": 0.0, | |
"p50": 8.2413681640625, | |
"p90": 8.2413681640625, | |
"p95": 8.2413681640625, | |
"p99": 8.2413681640625, | |
"values": [ | |
8.2413681640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.869952, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 250121.99424, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0010883045196537, | |
"mean": 0.007821002379059791, | |
"stdev": 0.007763133291214969, | |
"p50": 0.0068178241252899174, | |
"p90": 0.007517293882369995, | |
"p95": 0.007722580981254577, | |
"p99": 0.022242829599380565, | |
"values": [ | |
0.0077516608238220215, | |
0.007521101951599121, | |
0.007351023197174072, | |
0.007516301155090332, | |
0.007512301921844483, | |
0.007374062061309815, | |
0.0073019018173217775, | |
0.007298542976379395, | |
0.00890733814239502, | |
0.00708046293258667, | |
0.007084463119506836, | |
0.007045903205871582, | |
0.0070339031219482425, | |
0.00706462287902832, | |
0.007025903224945069, | |
0.006987022876739502, | |
0.006986063003540039, | |
0.006961742877960205, | |
0.0069806227684020995, | |
0.007013742923736572, | |
0.006993422985076905, | |
0.007016623020172119, | |
0.006994863033294677, | |
0.00698302412033081, | |
0.007024942874908447, | |
0.007024143218994141, | |
0.006973742961883545, | |
0.006912783145904541, | |
0.09290393829345703, | |
0.007815821170806885, | |
0.00687902307510376, | |
0.006745584011077881, | |
0.0067836627960205075, | |
0.006774384021759033, | |
0.006757742881774902, | |
0.006766543865203857, | |
0.006811183929443359, | |
0.006801103115081787, | |
0.006809584140777588, | |
0.0068350229263305666, | |
0.006807184219360352, | |
0.0068259029388427735, | |
0.006796304225921631, | |
0.006767502784729004, | |
0.006798543930053711, | |
0.006808784008026123, | |
0.006765263080596924, | |
0.006791823863983154, | |
0.00677918291091919, | |
0.006758384227752686, | |
0.006776303768157959, | |
0.006769742965698242, | |
0.006788464069366455, | |
0.006767183780670166, | |
0.00679822301864624, | |
0.006774864196777344, | |
0.006813902854919434, | |
0.006786384105682373, | |
0.006776144027709961, | |
0.006777583122253418, | |
0.006789904117584228, | |
0.006792782783508301, | |
0.006826543807983398, | |
0.006775022983551026, | |
0.006791183948516846, | |
0.006804463863372803, | |
0.007461421966552735, | |
0.006824303150177002, | |
0.0067791838645935056, | |
0.006791022777557373, | |
0.006827663898468017, | |
0.0067886228561401364, | |
0.006793424129486084, | |
0.006749584197998047, | |
0.006791182994842529, | |
0.006816944122314453, | |
0.006767823219299317, | |
0.006753744125366211, | |
0.006810704231262207, | |
0.006785422801971436, | |
0.006785583972930908, | |
0.006761424064636231, | |
0.006763023853302002, | |
0.006832943916320801, | |
0.006788143157958984, | |
0.0067646241188049315, | |
0.006799023151397705, | |
0.006811024188995362, | |
0.006786223888397217, | |
0.006777102947235107, | |
0.006770383834838867, | |
0.006784303188323975, | |
0.006765423774719238, | |
0.006782063961029053, | |
0.00678734302520752, | |
0.006770383834838867, | |
0.006810863018035889, | |
0.006818704128265381, | |
0.006795022964477539, | |
0.006787343978881836, | |
0.006791823863983154, | |
0.006829742908477783, | |
0.0068001441955566405, | |
0.006779822826385498, | |
0.006859824180603027, | |
0.007517101764678955, | |
0.007651181221008301, | |
0.007715820789337158, | |
0.007436781883239746, | |
0.007191983222961426, | |
0.007136302947998047, | |
0.00711262321472168, | |
0.00741198205947876, | |
0.007806381225585937, | |
0.027175134658813476, | |
0.00760190200805664, | |
0.007517742156982422, | |
0.007113582134246827, | |
0.007585102081298828, | |
0.007726221084594726, | |
0.007450861930847168, | |
0.007190062999725342, | |
0.0072916622161865235, | |
0.00716942310333252, | |
0.007095181941986084, | |
0.007036303043365479, | |
0.006836943149566651, | |
0.006861264228820801 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.86084846073348 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |