IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d9f3b04 verified
raw
history blame
10.3 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": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582",
"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": 1009.127424,
"max_global_vram": 938.913792,
"max_process_vram": 211362.824192,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0033861203193666,
"mean": 0.007432489780143456,
"stdev": 0.0005546150541782736,
"p50": 0.007175199985504151,
"p90": 0.008005408096313477,
"p95": 0.008528704833984374,
"p99": 0.00924388189315796,
"values": [
0.008307999610900878,
0.008377921104431153,
0.008159359931945801,
0.007232319831848144,
0.007184800148010254,
0.007113440990447998,
0.007191999912261963,
0.007176159858703613,
0.007161281108856201,
0.007755680084228516,
0.007943200111389161,
0.007887680053710938,
0.007897281169891357,
0.007430880069732666,
0.007481279850006103,
0.007334081172943116,
0.007358399868011475,
0.007054240226745606,
0.0070412797927856445,
0.006997920989990234,
0.007013760089874268,
0.007150400161743164,
0.007364640235900879,
0.007283201217651367,
0.007255040168762207,
0.007276480197906494,
0.007270081043243408,
0.007170080184936523,
0.0071049599647521975,
0.007072959899902344,
0.007529440879821777,
0.0070731201171875,
0.007047039985656738,
0.007141600131988526,
0.007069760799407959,
0.007208960056304932,
0.007175199985504151,
0.007094881057739258,
0.007202400207519531,
0.007271999835968017,
0.007051360130310058,
0.007044641017913819,
0.0070731201171875,
0.006947999954223633,
0.007097919940948486,
0.007002561092376709,
0.00702239990234375,
0.0070310401916503906,
0.006949440002441406,
0.007053121089935303,
0.006974559783935547,
0.007052639961242676,
0.007000640869140625,
0.00697599983215332,
0.007159359931945801,
0.0070524802207946775,
0.006953121185302735,
0.007004960060119629,
0.006964000225067138,
0.007038559913635254,
0.006919041156768799,
0.007021279811859131,
0.006916959762573242,
0.007034719944000244,
0.006939361095428467,
0.0070193600654602055,
0.007026400089263916,
0.007018880844116211,
0.007200960159301758,
0.006983200073242188,
0.007018720149993897,
0.006997281074523925,
0.0069961600303649904,
0.007004000186920166,
0.007,
0.007013280868530273,
0.00691919994354248,
0.006944320201873779,
0.007082560062408447,
0.006920320987701416,
0.006964000225067138,
0.007033760070800781,
0.006925761222839355,
0.007010560035705566,
0.007015200138092041,
0.007058559894561767,
0.007741920948028565,
0.007026559829711914,
0.007017280101776123,
0.007002719879150391,
0.0070008010864257815,
0.007003039836883545,
0.006967360019683838,
0.006907360076904297,
0.00797856092453003,
0.007774720191955567,
0.007855999946594238,
0.007835041046142579,
0.007830239772796631,
0.00778000020980835,
0.007557441234588623,
0.0073558402061462405,
0.007765439987182618,
0.00782863998413086,
0.007838400840759277,
0.007972640037536621,
0.008825119972229003,
0.009389760971069337,
0.009244480133056641,
0.009183520317077637,
0.00924272060394287,
0.008980319976806641,
0.008720000267028809,
0.008446721076965332,
0.00815760040283203,
0.00795088005065918,
0.00802816104888916,
0.008005120277404786,
0.008005599975585937,
0.00785952091217041,
0.007824480056762695,
0.007824960231781006,
0.007788321018218994,
0.007811840057373047,
0.007801119804382324,
0.007830880165100097,
0.007829280853271484,
0.00783247995376587,
0.0077972798347473145,
0.007812800884246827,
0.007808479785919189,
0.0077758398056030275,
0.0077472000122070315,
0.007751999855041504,
0.007772640228271484
]
},
"throughput": {
"unit": "samples/s",
"value": 134.54441641771066
},
"energy": null,
"efficiency": null
}
}
}