IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8cdc052 verified
raw
history blame
10.6 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.2.1",
"optimum_benchmark_commit": "3731aa19b0b76022fb42f78436721c579f50c777",
"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.016256,
"max_global_vram": 939.429888,
"max_process_vram": 208959.8976,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 140,
"total": 1.0029834575653074,
"mean": 0.007164167554037912,
"stdev": 0.0002863092259063968,
"p50": 0.007102763652801514,
"p90": 0.007447929811477661,
"p95": 0.007739712214469909,
"p99": 0.008340875339508051,
"values": [
0.008152117729187012,
0.007230682849884033,
0.007482680797576904,
0.007220602989196777,
0.007198042869567871,
0.0069537248611450195,
0.007025403022766113,
0.007021403789520263,
0.006935483932495117,
0.007151483058929443,
0.007131803035736084,
0.006977563858032227,
0.006963483810424805,
0.006977404117584228,
0.0069198040962219235,
0.006994524002075195,
0.0070225238800048825,
0.007006524085998535,
0.007001082897186279,
0.007003324031829834,
0.00700524377822876,
0.006941564083099365,
0.007028284072875976,
0.007016922950744629,
0.007006363868713379,
0.007018683910369873,
0.00713148307800293,
0.007073722839355469,
0.007091164112091064,
0.007186522960662842,
0.007093883037567138,
0.007116443157196045,
0.007168443202972412,
0.0071034832000732425,
0.007144762992858887,
0.0071020441055297855,
0.007134043216705323,
0.007096123218536377,
0.007167162895202636,
0.0072257227897644044,
0.0073881220817565915,
0.007270522117614746,
0.007249563217163086,
0.008666674613952636,
0.008461556434631347,
0.007447321891784668,
0.007344602108001709,
0.007077083110809326,
0.006862205028533935,
0.00718828296661377,
0.007041882991790771,
0.0070175638198852535,
0.007266042232513428,
0.00714108419418335,
0.006886524200439453,
0.007211802959442138,
0.007372921943664551,
0.007254362106323242,
0.007516120910644531,
0.007870199203491211,
0.007739640235900879,
0.007741079807281494,
0.007266363143920898,
0.007220602989196777,
0.007267642021179199,
0.0071231632232666015,
0.007134043216705323,
0.007389401912689209,
0.007081882953643799,
0.007263483047485352,
0.0074534010887146,
0.007352282047271728,
0.007228922843933105,
0.0075791611671447755,
0.0071798028945922856,
0.006991322994232178,
0.006875325202941895,
0.00687308406829834,
0.0070010838508605955,
0.006902844905853272,
0.006909245014190673,
0.007013083934783936,
0.006920764923095703,
0.0070010838508605955,
0.006991162776947022,
0.007008123874664307,
0.007786520004272461,
0.006976603984832764,
0.006975964069366455,
0.006952923774719238,
0.00707740306854248,
0.007022684097290039,
0.006921244144439697,
0.0068828449249267575,
0.006974363803863525,
0.0068446040153503414,
0.007000123977661133,
0.006954683780670166,
0.006977084159851074,
0.006989243984222412,
0.0069722838401794435,
0.0071639628410339355,
0.007545721054077148,
0.0077903599739074705,
0.007733719825744629,
0.007166042804718018,
0.007214521884918213,
0.007310842037200928,
0.007356122016906739,
0.007324923038482666,
0.007213722229003907,
0.007366521835327149,
0.007289402008056641,
0.007326683044433594,
0.007211162090301514,
0.0073361220359802245,
0.007179162979125977,
0.007217722892761231,
0.007336602210998535,
0.0073415617942810055,
0.007339002132415772,
0.007231482982635498,
0.007160603046417236,
0.0072743620872497555,
0.007314842224121093,
0.006951963901519776,
0.006967644214630127,
0.006945563793182373,
0.006914525032043457,
0.006918364048004151,
0.006878523826599121,
0.006973564147949219,
0.006911963939666748,
0.006887004852294922,
0.006880444049835205,
0.0069183650016784665,
0.00688876485824585,
0.006894362926483154,
0.006883325099945069,
0.0068511638641357425
]
},
"throughput": {
"unit": "samples/s",
"value": 139.58355837676828
},
"energy": null,
"efficiency": null
}
}
}