IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7cbc77a verified
raw
history blame
7.84 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",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.343616,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0002298612594605,
"mean": 0.014288998017992292,
"stdev": 0.000889031349371158,
"p50": 0.014049791812896728,
"p90": 0.014649036884307862,
"p95": 0.01495434284210205,
"p99": 0.018140692634582525,
"values": [
0.020537343978881836,
0.017063936233520507,
0.014871552467346191,
0.014012415885925293,
0.013897727966308594,
0.013969408035278321,
0.013910016059875489,
0.01377894401550293,
0.013865983963012696,
0.014011360168457032,
0.0138854398727417,
0.013856767654418945,
0.014018560409545898,
0.013937664031982423,
0.013912063598632812,
0.01384447956085205,
0.013883392333984374,
0.013739007949829102,
0.013792256355285644,
0.013818880081176758,
0.01445683193206787,
0.014073856353759765,
0.014048255920410157,
0.013834239959716797,
0.014051327705383301,
0.013915136337280273,
0.013891551971435547,
0.013816831588745117,
0.013915136337280273,
0.014014464378356933,
0.01377996826171875,
0.013799424171447755,
0.013814784049987794,
0.013924384117126464,
0.014282784461975097,
0.014167039871215821,
0.013958144187927245,
0.01397657585144043,
0.013914112091064454,
0.013733887672424316,
0.01386291217803955,
0.01360588836669922,
0.01400115203857422,
0.014861344337463379,
0.015022080421447754,
0.015094783782958985,
0.014729215621948242,
0.014640128135681153,
0.014458880424499512,
0.014367744445800782,
0.014402560234069824,
0.014361599922180175,
0.01439641571044922,
0.014361599922180175,
0.01439027214050293,
0.014411775588989258,
0.014408703804016113,
0.014427136421203614,
0.01439027214050293,
0.014363648414611817,
0.014386176109313965,
0.014395392417907715,
0.01437491226196289,
0.014343168258666992,
0.014361599922180175,
0.01437279987335205,
0.014366656303405763,
0.014369791984558105,
0.014367744445800782,
0.01435756778717041
]
},
"throughput": {
"unit": "samples/s",
"value": 69.98391340952172
},
"energy": {
"unit": "kWh",
"cpu": 1.6454273843329793e-07,
"ram": 8.970683184213145e-08,
"gpu": 3.339234026027187e-07,
"total": 5.88172972878148e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1700180.1274659561
}
}
}
}