IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
708057e verified
raw
history blame
9.07 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"model_type": "deberta-v2",
"model": "microsoft/deberta-v3-base",
"processor": "microsoft/deberta-v3-base",
"device": "cuda",
"device_ids": "0",
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": null,
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.678208,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1362138671875,
"mean": 7.1362138671875,
"stdev": 0.0,
"p50": 7.1362138671875,
"p90": 7.1362138671875,
"p95": 7.1362138671875,
"p99": 7.1362138671875,
"values": [
7.1362138671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.129879222975837e-06,
"ram": 6.036602828672245e-07,
"gpu": 1.648056873999361e-06,
"total": 3.381596379842422e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.007296,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0068675527572633,
"mean": 0.013792706202154292,
"stdev": 0.0003529583627339243,
"p50": 0.013578271865844727,
"p90": 0.014305535697937011,
"p95": 0.014444134712219238,
"p99": 0.014559518585205078,
"values": [
0.014652416229248047,
0.014458880424499512,
0.014062591552734375,
0.013929471969604493,
0.013601792335510255,
0.013337599754333495,
0.013322239875793456,
0.013411328315734864,
0.013521920204162598,
0.013394944190979004,
0.013425663948059082,
0.01346457576751709,
0.013478912353515626,
0.01346566390991211,
0.013466624259948731,
0.013427712440490723,
0.013306879997253418,
0.013316096305847168,
0.014109696388244629,
0.014103520393371581,
0.014434304237365723,
0.014317631721496582,
0.014073856353759765,
0.01425715160369873,
0.014136320114135742,
0.01415782356262207,
0.01400115203857422,
0.014356479644775391,
0.014020575523376464,
0.014097408294677734,
0.014042112350463867,
0.014180352210998535,
0.014523391723632812,
0.014468095779418945,
0.014127039909362793,
0.01409126377105713,
0.014252032279968262,
0.013904895782470703,
0.013988863945007325,
0.014001215934753418,
0.013796352386474609,
0.01395404815673828,
0.014226431846618653,
0.014326784133911133,
0.014103551864624024,
0.013835264205932616,
0.01367142391204834,
0.013553664207458497,
0.013624320030212403,
0.013569024085998535,
0.013547455787658692,
0.01354854393005371,
0.013531135559082032,
0.01353932762145996,
0.013537280082702637,
0.01355673599243164,
0.01353929615020752,
0.013528063774108886,
0.013567999839782715,
0.013545472145080567,
0.013538304328918458,
0.01355571174621582,
0.013558783531188966,
0.013578271865844727,
0.013552639961242676,
0.013537343978881835,
0.013593567848205566,
0.013554688453674316,
0.013526016235351563,
0.0134901762008667,
0.01356601619720459,
0.013543423652648925,
0.013479935646057128
]
},
"throughput": {
"unit": "samples/s",
"value": 72.50208808506407
},
"energy": {
"unit": "kWh",
"cpu": 1.6029517840336755e-07,
"ram": 8.76386528611498e-08,
"gpu": 3.436939686486523e-07,
"total": 5.916277999131696e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1690251.8782024193
}
}
}
}