IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8114a17 verified
raw
history blame
11.8 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": "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.637632,
"max_global_vram": 68702.69952,
"max_process_vram": 48746.102784,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3595625,
"mean": 8.3595625,
"stdev": 0.0,
"p50": 8.3595625,
"p90": 8.3595625,
"p95": 8.3595625,
"p99": 8.3595625,
"values": [
8.3595625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.529984,
"max_global_vram": 68702.69952,
"max_process_vram": 242015.645696,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.0057266783714296,
"mean": 0.007132813321783187,
"stdev": 0.001016769891276867,
"p50": 0.006893423080444336,
"p90": 0.007452301979064942,
"p95": 0.0077035012245178225,
"p99": 0.011164933013915987,
"values": [
0.007452301979064942,
0.007355341911315918,
0.007245742797851563,
0.007308142185211182,
0.007257262229919434,
0.00703790283203125,
0.007040623188018799,
0.007042542934417724,
0.008106380462646485,
0.007003182888031006,
0.007052143096923828,
0.007054543018341065,
0.0069983830451965335,
0.006973103046417236,
0.006983983039855957,
0.01700156021118164,
0.006980463027954102,
0.0069358229637146,
0.0069916629791259765,
0.0069091029167175294,
0.0068875041007995606,
0.006955022811889648,
0.006999183177947998,
0.006927823066711426,
0.006927662849426269,
0.00690574312210083,
0.006918703079223633,
0.006932143211364746,
0.006916143894195557,
0.00689566421508789,
0.0068809428215026855,
0.0068919830322265625,
0.006914702892303467,
0.0068566231727600095,
0.006869584083557129,
0.0068687829971313475,
0.006850862979888916,
0.00685374402999878,
0.006886383056640625,
0.006855823040008545,
0.006852783203125,
0.006873263835906983,
0.006867183208465576,
0.007045582771301269,
0.006861103057861328,
0.006850062847137451,
0.006888144016265869,
0.006832303047180176,
0.006859663009643554,
0.00685038423538208,
0.006852942943572998,
0.006854863166809082,
0.006863183975219726,
0.006839663028717041,
0.00688174295425415,
0.006870062828063965,
0.00684990406036377,
0.006860302925109863,
0.006845263004302979,
0.006859024047851562,
0.00687470293045044,
0.007038543224334717,
0.006946063041687012,
0.006894702911376953,
0.006859023094177246,
0.006846384048461914,
0.006845102787017822,
0.006836143016815186,
0.006850063800811768,
0.006819023132324219,
0.006912783145904541,
0.006847023963928223,
0.006843663215637207,
0.006838383197784424,
0.007177262783050537,
0.006847662925720215,
0.006842544078826904,
0.006843663215637207,
0.006891663074493408,
0.006799344062805176,
0.006843663215637207,
0.006823663234710693,
0.006830863952636719,
0.00685550308227539,
0.006847183227539063,
0.0067835040092468265,
0.006863663196563721,
0.006824303150177002,
0.006840144157409668,
0.006830543041229248,
0.006875022888183594,
0.0068311839103698735,
0.006817583084106445,
0.00683406400680542,
0.006906542778015137,
0.006860143184661866,
0.006860942840576172,
0.00683454418182373,
0.007180622100830078,
0.006855662822723389,
0.006797743797302246,
0.006842702865600586,
0.006879182815551757,
0.006782063961029053,
0.006893423080444336,
0.006898222923278808,
0.006897744178771973,
0.006843344211578369,
0.006838703155517578,
0.0068262238502502445,
0.006841423034667969,
0.013203968048095703,
0.0069703831672668455,
0.0077035012245178225,
0.0077443008422851565,
0.007806701183319092,
0.007419181823730469,
0.007221582889556885,
0.007202062129974365,
0.007091022968292236,
0.007441102027893066,
0.007759181022644043,
0.00746446180343628,
0.0074935808181762695,
0.007264462947845459,
0.007144621849060059,
0.007153422832489014,
0.007687180995941162,
0.00770526123046875,
0.007697581768035889,
0.007647500991821289,
0.007199662208557129,
0.0071055831909179685,
0.007100942134857177,
0.007207662105560303,
0.007319822788238526,
0.007672461986541748,
0.007306861877441406,
0.007252622127532959,
0.00718030309677124,
0.007283182144165039
]
},
"throughput": {
"unit": "samples/s",
"value": 140.19713609299987
},
"energy": null,
"efficiency": null
}
}
}