IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
631ae18 verified
raw
history blame
7.83 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.409152,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0103418292999269,
"mean": 0.014230166609858121,
"stdev": 0.0009309141152701823,
"p50": 0.014169088363647461,
"p90": 0.01477017593383789,
"p95": 0.015979520320892334,
"p99": 0.01819934692382812,
"values": [
0.01589350414276123,
0.017681407928466796,
0.01940787124633789,
0.01606553649902344,
0.015447039604187012,
0.016296960830688476,
0.014073856353759765,
0.013710335731506347,
0.013618176460266113,
0.013695008277893066,
0.013604864120483399,
0.013598719596862792,
0.013639679908752441,
0.013657088279724122,
0.013636608123779297,
0.013614080429077148,
0.013603839874267578,
0.013595647811889648,
0.013637632369995116,
0.013576191902160644,
0.013640640258789062,
0.013642751693725585,
0.013591551780700683,
0.013619199752807617,
0.013629440307617188,
0.013616127967834473,
0.013601792335510255,
0.01389459228515625,
0.014289919853210448,
0.01477017593383789,
0.014253055572509766,
0.014194687843322755,
0.014167039871215821,
0.014205951690673829,
0.014504960060119629,
0.014523391723632812,
0.014295040130615234,
0.014262271881103515,
0.014204928398132324,
0.014169088363647461,
0.014186495780944825,
0.014324735641479493,
0.014181376457214356,
0.013642751693725585,
0.013676544189453126,
0.01360588836669922,
0.013640704154968262,
0.014050304412841797,
0.014240768432617188,
0.014276608467102051,
0.014247936248779297,
0.014206975936889648,
0.014466048240661621,
0.014226431846618653,
0.014146559715270996,
0.014188544273376465,
0.014835712432861328,
0.01425920009613037,
0.014237664222717284,
0.014263296127319336,
0.014216192245483398,
0.014327808380126953,
0.014324799537658691,
0.014191616058349609,
0.014215167999267577,
0.01416598415374756,
0.013847552299499511,
0.013634592056274415,
0.013700096130371094,
0.013735936164855958,
0.013946880340576171
]
},
"throughput": {
"unit": "samples/s",
"value": 70.2732460846409
},
"energy": {
"unit": "kWh",
"cpu": 1.6491486472480093e-07,
"ram": 9.013068041288837e-08,
"gpu": 3.4961061919442396e-07,
"total": 6.046561643321132e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1653832.4737077195
}
}
}
}