IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
25b08f8 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_type": "bert",
"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": "4f83ff1670dec8f273c8beb893e9243ca1209582",
"transformers_version": "4.42.4",
"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": 1015.496704,
"max_global_vram": 938.897408,
"max_process_vram": 220967.927808,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.0024321665763851,
"mean": 0.007109447989903442,
"stdev": 0.00036899638109997863,
"p50": 0.007044302940368652,
"p90": 0.00749582290649414,
"p95": 0.007717580795288086,
"p99": 0.007823597526550291,
"values": [
0.007874221801757812,
0.007722062110900879,
0.007368941783905029,
0.007238543033599854,
0.007643822193145752,
0.00748270320892334,
0.0076047821044921875,
0.007320622920989991,
0.007378703117370606,
0.007246541976928711,
0.007152303218841553,
0.007166062831878662,
0.007097743034362793,
0.007077582836151123,
0.007064143180847168,
0.007044302940368652,
0.006947824001312256,
0.007026382923126221,
0.007029263019561768,
0.007047822952270508,
0.007068623065948487,
0.007016303062438965,
0.007069582939147949,
0.007079184055328369,
0.007006223201751709,
0.0069771032333374025,
0.00699694299697876,
0.006971824169158936,
0.00712574291229248,
0.007138062953948974,
0.007061102867126465,
0.007234062194824219,
0.007252623081207275,
0.00715630292892456,
0.007165263175964356,
0.007191981792449951,
0.007060624122619629,
0.007078702926635742,
0.0070772628784179685,
0.007032783031463623,
0.00697454309463501,
0.010235495567321777,
0.007376142978668213,
0.006907183170318604,
0.006887663841247558,
0.006867823123931885,
0.006839344024658203,
0.007122222900390625,
0.007102063179016113,
0.006915022850036621,
0.006814383983612061,
0.00689470386505127,
0.006832783222198486,
0.0071622228622436526,
0.006808303833007813,
0.006897102832794189,
0.006906703948974609,
0.006960302829742432,
0.006907823085784912,
0.006938864231109619,
0.00681006383895874,
0.007083182811737061,
0.00690190315246582,
0.00700350284576416,
0.00686510419845581,
0.006864303112030029,
0.007179663181304931,
0.006953904151916504,
0.007054703235626221,
0.006862223148345947,
0.0068929438591003415,
0.0068399829864501955,
0.006980303764343262,
0.006838862895965576,
0.0069518241882324215,
0.006966222763061523,
0.006842383861541748,
0.006873743057250976,
0.006958223819732666,
0.006847503185272216,
0.006914224147796631,
0.0068687829971313475,
0.0069489431381225585,
0.006870063781738281,
0.006908783912658692,
0.006841743946075439,
0.006934383869171143,
0.007121741771697998,
0.00749582290649414,
0.007148781776428223,
0.00734302282333374,
0.007356462001800537,
0.0071030230522155765,
0.0071121430397033695,
0.0075118222236633305,
0.007341901779174805,
0.007326862812042236,
0.007347342014312744,
0.0072766227722167965,
0.007355341911315918,
0.007630541801452637,
0.007747661113739013,
0.007556302070617676,
0.0074305419921875,
0.006901264190673828,
0.006992143154144287,
0.006862063884735107,
0.006877102851867676,
0.006808944225311279,
0.006854864120483398,
0.0068191828727722165,
0.006910384178161621,
0.006885423183441162,
0.0077332620620727535,
0.007717580795288086,
0.00769694185256958,
0.0077211008071899415,
0.0077252621650695805,
0.007421582221984863,
0.007267823219299316,
0.007072463035583496,
0.007091982841491699,
0.007112462997436523,
0.007255502223968506,
0.007122063159942627,
0.007166543006896973,
0.007088462829589844,
0.00718686294555664,
0.006857264041900635,
0.006834383010864258,
0.006819344043731689,
0.006786542892456055,
0.006799983024597168,
0.00679966402053833,
0.006801263809204101,
0.006804782867431641,
0.006810863971710205,
0.006794544219970703,
0.006783184051513672,
0.0067763028144836425,
0.0067639870643615724
]
},
"throughput": {
"unit": "samples/s",
"value": 140.65789656526928
},
"energy": null,
"efficiency": null
}
}
}