IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c1ba108 verified
raw
history blame
12 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": "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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1023.700992,
"max_global_vram": 68702.69952,
"max_process_vram": 41995.005952,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.893673828125,
"mean": 7.893673828125,
"stdev": 0.0,
"p50": 7.893673828125,
"p90": 7.893673828125,
"p95": 7.893673828125,
"p99": 7.893673828125,
"values": [
7.893673828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1155.01056,
"max_global_vram": 68702.69952,
"max_process_vram": 216879.77984,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0046126728057863,
"mean": 0.006976476894484625,
"stdev": 0.00037703788937979154,
"p50": 0.00683593487739563,
"p90": 0.007531345081329348,
"p95": 0.007593857097625733,
"p99": 0.007656290588378906,
"values": [
0.007316176891326904,
0.007202256202697754,
0.007275536060333252,
0.007153776168823242,
0.007083055973052979,
0.007108176231384277,
0.007019375801086426,
0.007064815998077393,
0.0072115368843078615,
0.0069563350677490235,
0.0069958558082580564,
0.0069169759750366214,
0.006953135967254638,
0.0069086551666259766,
0.006887856006622314,
0.006907855987548828,
0.006860815048217774,
0.00683841609954834,
0.006872654914855957,
0.006903215885162354,
0.006917935848236084,
0.006861295223236084,
0.006861936092376709,
0.0068145751953125,
0.006830736160278321,
0.006844015121459961,
0.006860496044158936,
0.006860654830932617,
0.0068532958030700685,
0.006969614982604981,
0.006871055126190186,
0.006851376056671143,
0.0068382549285888675,
0.006854896068572998,
0.006878735065460205,
0.006845615863800049,
0.006833614826202393,
0.006809775829315186,
0.006803695201873779,
0.010084182739257812,
0.0070192160606384274,
0.006704814910888672,
0.00679201602935791,
0.00672289514541626,
0.0067556948661804195,
0.006726095199584961,
0.006729935169219971,
0.00674529504776001,
0.006762734889984131,
0.006777935981750488,
0.006756494998931885,
0.006779055118560791,
0.006750095844268799,
0.006971694946289062,
0.0067652959823608395,
0.006746735095977783,
0.0069641761779785155,
0.006991695880889892,
0.006754254817962647,
0.006754895210266113,
0.006799536228179932,
0.006782575130462647,
0.007304176807403564,
0.007293935775756836,
0.007304176807403564,
0.007239535808563232,
0.007193295955657959,
0.007151377201080322,
0.006904494762420654,
0.006793136119842529,
0.0067784152030944825,
0.006789454936981201,
0.0069921760559082035,
0.006796976089477539,
0.006777774810791015,
0.006746574878692627,
0.006743215084075928,
0.006716015815734863,
0.00682929515838623,
0.0067897758483886714,
0.0068192148208618165,
0.006791055202484131,
0.006802415847778321,
0.00680257511138916,
0.006760176181793213,
0.006746254920959473,
0.0067814550399780274,
0.006764494895935059,
0.006754096031188965,
0.006761294841766357,
0.006789134979248047,
0.006733136177062988,
0.00673057508468628,
0.006738414764404297,
0.0067817759513854985,
0.0067177748680114745,
0.006741934776306152,
0.006746416091918945,
0.006738094806671142,
0.006732174873352051,
0.006751054763793945,
0.006783696174621582,
0.006763054847717285,
0.006771535873413086,
0.006765134811401367,
0.006784655094146728,
0.006738255023956299,
0.0067683358192443845,
0.006737935066223145,
0.006746894836425781,
0.007261456966400147,
0.007670257091522217,
0.007570736885070801,
0.0076022582054138185,
0.007564657211303711,
0.007637776851654053,
0.007632017135620117,
0.007406897068023681,
0.007026895999908447,
0.007293937206268311,
0.007580976963043213,
0.007580817222595215,
0.007594097137451172,
0.007587856769561767,
0.007592496871948243,
0.007618897914886474,
0.007558897018432618,
0.007635056972503662,
0.007467057228088379,
0.007259376049041748,
0.0073841772079467774,
0.007161136150360107,
0.007034095764160156,
0.006762415885925293,
0.007004815101623535,
0.006772335052490234,
0.006844015121459961,
0.006697775840759278,
0.006792815208435059,
0.006760175228118896,
0.0067321758270263675,
0.006702895164489746,
0.006763054847717285,
0.0067361750602722165
]
},
"throughput": {
"unit": "samples/s",
"value": 143.33882490036873
},
"energy": null,
"efficiency": null
}
}
}