IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b99e9ea verified
raw
history blame
9.88 kB
{
"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.3.1",
"optimum_benchmark_commit": "78f186000310f5748c0db3b53c71221ca44cb3f0",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 1167.101952,
"max_global_vram": 939.343872,
"max_process_vram": 176180.752384,
"max_reserved": 589.299712,
"max_allocated": 439.6928
},
"latency": {
"unit": "s",
"count": 124,
"total": 0.999485953807831,
"mean": 0.008060370595224442,
"stdev": 0.0001869038861745749,
"p50": 0.008036805152893067,
"p90": 0.008340674877166748,
"p95": 0.008410929870605469,
"p99": 0.008538840656280517,
"values": [
0.008617361068725586,
0.008064406394958496,
0.008121044158935546,
0.008082164764404296,
0.008170165061950684,
0.008057525634765625,
0.008097365379333496,
0.008032244682312012,
0.007954647064208984,
0.007982645988464356,
0.007977846145629883,
0.008036245346069336,
0.008048726081848144,
0.008012725830078124,
0.007996406078338623,
0.008063606262207031,
0.008186004638671874,
0.008239764213562012,
0.008175285339355468,
0.008217364311218263,
0.008179603576660156,
0.00813496494293213,
0.008231444358825684,
0.008224404335021973,
0.008160405158996582,
0.008358002662658692,
0.008535760879516602,
0.008412081718444825,
0.008300243377685547,
0.008398002624511718,
0.008278484344482423,
0.008249683380126953,
0.00827944278717041,
0.008276883125305176,
0.008214003562927246,
0.008236883163452148,
0.00829512310028076,
0.008429362297058105,
0.008402802467346192,
0.008451281547546386,
0.008363602638244629,
0.008539760589599609,
0.008475440979003906,
0.008401041984558105,
0.008250802993774413,
0.008160724639892578,
0.008166645050048828,
0.008129364013671874,
0.00811624526977539,
0.008147125244140624,
0.008042325973510742,
0.00807656478881836,
0.00805080509185791,
0.007999125957489014,
0.008102805137634277,
0.008057044982910157,
0.008009045600891114,
0.008073684692382812,
0.008049845695495605,
0.00807320499420166,
0.008022166252136231,
0.008075764656066894,
0.008404402732849122,
0.008206805229187012,
0.008165684700012207,
0.008144405364990235,
0.008098645210266113,
0.008078325271606445,
0.00804360580444336,
0.008037364959716797,
0.008002965927124024,
0.008013365745544433,
0.007945686817169189,
0.007985206127166748,
0.007958645820617677,
0.007965685844421387,
0.007936087131500244,
0.007930167198181152,
0.008045845985412598,
0.007965206146240234,
0.007994165897369385,
0.007965046882629395,
0.00820264434814453,
0.008031444549560547,
0.007968885898590088,
0.007930807113647461,
0.007974006175994874,
0.007949847221374512,
0.007901687145233155,
0.007873366832733155,
0.007851606845855712,
0.007839606761932374,
0.007839288234710693,
0.007846167087554931,
0.007922007083892822,
0.0077682480812072754,
0.00787064790725708,
0.00782712697982788,
0.007815288066864014,
0.007863926887512206,
0.007872726917266846,
0.007839928150177002,
0.007860406875610352,
0.007845046997070313,
0.007853847980499267,
0.007851447105407715,
0.007841526985168457,
0.007873367786407471,
0.007803926944732666,
0.007861527919769287,
0.007873686790466308,
0.007888566970825196,
0.007886006832122802,
0.007859607219696045,
0.007866646766662598,
0.007890966892242432,
0.007926806926727295,
0.00787352705001831,
0.00789704704284668,
0.007885686874389649,
0.00785384702682495,
0.0078104867935180665,
0.00790408706665039,
0.007835766792297364
]
},
"throughput": {
"unit": "samples/s",
"value": 124.06377451087346
},
"energy": null,
"efficiency": null
}
}
}